/* ========================================
   Photo Gallery Section (GLASSMORPHIC)
   ======================================== */
.gallery-section {
    padding: var(--spacing-xl) 0;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-container {
    padding: 2rem;
}

.gallery-slideshow {
    position: relative;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--backdrop-blur-heavy));
    -webkit-backdrop-filter: blur(var(--backdrop-blur-heavy));
    border: 2px solid var(--glass-border);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(10, 10, 30, 0.5) 0%, rgba(30, 30, 60, 0.5) 100%);
}

.gallery-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
    gap: 1.5rem;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image-wrapper {
    width: 100%;
    max-width: 800px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 4px solid rgba(78, 205, 196, 0.4);
    background: rgba(0, 0, 0, 0.5);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.slide-image:hover {
    transform: scale(1.02);
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(156, 39, 176, 0.1));
    border-radius: 15px;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    color: var(--accent-teal);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.6));
}

.placeholder-text {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-align: center;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--backdrop-blur));
    border: 2px solid var(--glass-border-bright);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-nav:hover {
    background: var(--glass-bg-light);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

.gallery-nav i {
    width: 28px;
    height: 28px;
    color: var(--accent-teal);
    filter: drop-shadow(0 0 8px rgba(78, 205, 196, 0.6));
}

.gallery-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.gallery-dot:hover {
    background: rgba(78, 205, 196, 0.5);
    transform: scale(1.2);
}

.gallery-dot.active {
    background: var(--accent-teal);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.8);
    transform: scale(1.3);
}

.gallery-caption {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.6s ease;
}

.caption-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.caption-text {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Timeline Section (GLASSMORPHIC)
   ======================================== */
.timeline-section {
    padding: var(--spacing-xl) 0;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container {
    padding: 2rem;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, 
        var(--accent-teal) 0%, 
        var(--primary-rose) 50%, 
        var(--accent-gold) 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
}

.timeline-events {
    position: relative;
}

.timeline-event {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpCard 0.8s ease forwards;
}

.timeline-event:nth-child(1) { animation-delay: 0.1s; }
.timeline-event:nth-child(2) { animation-delay: 0.2s; }
.timeline-event:nth-child(3) { animation-delay: 0.3s; }
.timeline-event:nth-child(4) { animation-delay: 0.4s; }
.timeline-event:nth-child(5) { animation-delay: 0.5s; }
.timeline-event:nth-child(6) { animation-delay: 0.6s; }
.timeline-event:nth-child(7) { animation-delay: 0.7s; }
.timeline-event:nth-child(8) { animation-delay: 0.8s; }

.timeline-event.left .timeline-content {
    margin-right: 50%;
    padding-right: 4rem;
    text-align: right;
}

.timeline-event.right .timeline-content {
    margin-left: 50%;
    padding-left: 4rem;
    text-align: left;
}

.timeline-content {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    padding: var(--spacing-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    transform: scale(1.02);
    border-color: var(--glass-border-bright);
    box-shadow: 0 12px 40px rgba(78, 205, 196, 0.3);
}

.timeline-content.future {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
}

.timeline-content.future:hover {
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.5);
}

.timeline-dot {
    position: absolute;
    top: 2rem;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-rose));
    border: 4px solid var(--glass-bg-strong);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.7);
    z-index: 10;
}

.timeline-event.left .timeline-dot {
    right: -4rem;
    transform: translateX(50%);
}

.timeline-event.right .timeline-dot {
    left: -4rem;
    transform: translateX(-50%);
}

.timeline-content.future .timeline-dot {
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-rose));
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    animation: futurePulse 2s ease-in-out infinite;
}

@keyframes futurePulse {
    0%, 100% {
        transform: translateX(50%) scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
    }
    50% {
        transform: translateX(50%) scale(1.2);
        box-shadow: 0 0 30px rgba(255, 215, 0, 1);
    }
}

.timeline-date {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-teal);
    background: rgba(78, 205, 196, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(78, 205, 196, 0.4);
}

.timeline-content.future .timeline-date {
    color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.timeline-content.future .timeline-title {
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-description {
    font-family: var(--font-script);
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.timeline-icon {
    font-size: 2.5rem;
    margin-top: var(--spacing-sm);
    filter: drop-shadow(0 0 10px rgba(78, 205, 196, 0.6));
}

.timeline-content.future .timeline-icon {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7));
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .slideshow-wrapper {
        height: 700px;
    }
    
    .slide-image-wrapper {
        max-width: 100%;
        height: 450px;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-title {
        font-size: 1.6rem;
    }
    
    .slide-caption {
        font-size: 1.1rem;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-nav i {
        width: 24px;
        height: 24px;
    }

    .timeline-line {
        left: 2rem;
    }

    .timeline-event.left .timeline-content,
    .timeline-event.right .timeline-content {
        margin-left: 4rem;
        margin-right: 0;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        text-align: left;
    }

    .timeline-event.left .timeline-dot,
    .timeline-event.right .timeline-dot {
        left: 2rem;
        right: auto;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .slideshow-wrapper {
        height: 280px;
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
    }

    .gallery-nav.prev {
        left: 0.5rem;
    }

    .gallery-nav.next {
        right: 0.5rem;
    }

    .timeline-date {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .timeline-title {
        font-size: 1.5rem;
    }

    .timeline-description {
        font-size: 1rem;
    }
}
