/* Modern Experience Detail Page Styles */

/* CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-dark: #2d3748;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Experience Main Container */
.experience-main {
    background: var(--bg-primary);
}

/* Hero Section with Parallax */
.experience-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 120px 0 80px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.breadcrumb-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-main {
    margin-top: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.hero-meta-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-meta-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

/* Image Gallery Section */
.image-gallery-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.image-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 500px;
}

.gallery-main {
    grid-row: span 2;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.gallery-side {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-main:hover .gallery-image,
.gallery-side:hover .gallery-image {
    transform: scale(1.05);
}

/* Experience Content Section */
.experience-content {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Content */
.main-content {
    background: var(--bg-primary);
}

.itinerary-section {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.itinerary-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
}

.itinerary-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Day Cards */
.day-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.day-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.day-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.day-number {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.day-header-content {
    flex: 1;
}

.day-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.day-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Inline Links */
.inline-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 0 2px;
    border-radius: 3px;
}

.inline-link:hover {
    color: #5a67d8;
    background: rgba(102, 126, 234, 0.1);
    border-bottom-color: #667eea;
    text-decoration: none;
}

.inline-link::after {
    content: ' ↗';
    font-size: 0.8em;
    opacity: 0.7;
}

/* Hotel Info */
.hotel-info {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.hotel-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hotel-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Places List */
.places-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.place-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.place-item:hover {
    box-shadow: var(--shadow-md);
    border-color: #667eea;
    transform: translateX(4px);
}

.place-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.place-icon.restaurant { background: linear-gradient(135deg, #ff6b6b, #ee5a52); }
.place-icon.museum { background: linear-gradient(135deg, #4ecdc4, #44a08d); }
.place-icon.shopping { background: linear-gradient(135deg, #45b7d1, #96c93d); }
.place-icon.scenic { background: linear-gradient(135deg, #96ceb4, #feca57); }
.place-icon.concert { background: linear-gradient(135deg, #feca57, #ff9ff3); }
.place-icon.football { background: linear-gradient(135deg, #ff9ff3, #54a0ff); }

.place-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.place-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Transportation */
.transportation-list {
    margin-top: 1rem;
    padding-left: 1rem;
}

.transportation-item {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.4;
}

.transportation-item::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    position: relative;
}

.sticky-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.sidebar-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.sidebar-card:hover {
    box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Quick Info */
.quick-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
}

.quick-info-item:last-child {
    border-bottom: none;
}

.quick-info-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
    min-width: 0;
}

.quick-info-value {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-align: right;
    min-width: fit-content;
    white-space: nowrap;
}

/* Location Card */
.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.location-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Booking Card */
.booking-card {
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.booking-card h3 {
    color: white;
}

.booking-card h3::after {
    background: rgba(255, 255, 255, 0.3);
}

.booking-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.booking-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.booking-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Loading and Error States */
.loading, .error {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.loading h2, .error h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.loading p, .error p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.error {
    color: #e53e3e;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr 1fr;
        height: 400px;
    }
    
    .gallery-main {
        grid-row: span 1;
    }
    
    .sticky-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 100px 0 60px;
    }
    
    .hero-meta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        height: 300px;
        gap: 1rem;
    }
    
    .itinerary-section {
        padding: 1.5rem;
    }
    
    .day-card {
        padding: 1.5rem;
    }
    
    .place-item {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .place-icon {
        align-self: center;
    }
    
    .content-grid {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .itinerary-section {
        padding: 1rem;
    }
    
    .day-card {
        padding: 1rem;
    }
    
    .sidebar-card {
        padding: 1rem;
    }
    
    .image-gallery {
        padding: 0 1rem;
    }
}

/* Smooth scrolling and animations */
html {
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.day-card {
    animation: fadeInUp 0.6s ease-out;
}

.day-card:nth-child(2) { animation-delay: 0.1s; }
.day-card:nth-child(3) { animation-delay: 0.2s; }
.day-card:nth-child(4) { animation-delay: 0.3s; }
.day-card:nth-child(5) { animation-delay: 0.4s; } 