/* ============================================
   OVAL PALACE RESORT — PAGES STYLESHEET
   Testimonials & Events Shared Styles
   ============================================ */

/* ---------- PAGE HERO ---------- */
.page-hero {
    position: relative;
    height: clamp(350px, 50vh, 550px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    contain: paint;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(4, 10, 24, 0.7) 0%,
        rgba(4, 10, 24, 0.85) 60%,
        rgba(4, 10, 24, 1) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px; /* Space for fixed navbar */
    text-align: center;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
}

.page-breadcrumb a {
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.page-breadcrumb a:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.page-breadcrumb a i {
    width: 16px;
    height: 16px;
    margin-top: -2px; /* Optical alignment for uppercase */
}

.page-breadcrumb > i {
    color: rgba(255, 255, 255, 0.3);
    width: 14px;
    height: 14px;
}

.page-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 750px;
    line-height: 1.7;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ---------- VIDEO MODAL REFINEMENTS ---------- */
#videoModal {
    display: none;
    position: fixed !important;
    z-index: 200000 !important; /* Extremely high to beat any footer/nav */
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(25px);
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    border: none !important; /* Escape global .modal border */
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#videoModal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-close:hover {
    background: var(--gold);
    color: var(--bg-primary);
    transform: rotate(90deg);
}

.modal-content {
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.9);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

#videoModal.active .modal-content {
    transform: scale(1);
}

.modal-content video {
    width: 100%;
    height: 100%;
    max-height: 85vh;
    display: block;
    object-fit: contain; /* Handles both Portrait and Landscape */
}

/* Portrait override for Reels */
.modal-content.portrait {
    max-width: 450px;
    aspect-ratio: 9/16;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        border-radius: 0;
    }
    .modal-close {
        top: 20px;
        right: 20px;
    }
}

.section-header-centered .section-subtitle {
    margin: 0 auto;
}

/* ---------- MILESTONE BANNER ---------- */
.milestone-section {
    padding: 80px 0 40px;
    contain: paint;
}

.milestone-banner {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .milestone-banner {
        padding: 40px 24px;
        border-radius: var(--radius-lg);
    }
}

.milestone-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.milestone-content {
    position: relative;
    z-index: 1;
}

.milestone-badge {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 1.8rem;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
}

.milestone-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.milestone-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 32px;
}

.milestone-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 480px) {
    .milestone-stats {
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }
}

.milestone-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.milestone-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
}

.milestone-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ---------- VOICE OF INFLUENCE: VIDEO REELS ---------- */
.vip-testimonials-section {
    padding: var(--section-padding);
    background: #050505;
    position: relative;
    overflow: hidden;
}

.vip-reels-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .vip-reels-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 320px;
    }
}

/* ---------- PREMIUM INSIGHTS FEATURED ---------- */
.premium-insights-section {
    padding: 100px 0;
    background: #000;
}

.insight-featured-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.insight-visual {
    position: relative;
    height: 600px;
}

.insight-video-wrap {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.insight-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 10;
}

.insight-video-wrap:hover .insight-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--gold);
}

.insight-video-wrap:hover .insight-play-btn i {
    stroke: var(--bg-primary);
}

.insight-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insight-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 30px 0;
}

.insight-author h4 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.insight-author p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.insight-actions {
    margin-top: 50px;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    background: var(--gold);
    color: var(--bg-primary);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.3);
}

@media (max-width: 1024px) {
    .insight-featured-card {
        grid-template-columns: 1fr;
    }
    .insight-visual {
        height: 450px;
    }
    .insight-content {
        padding: 50px 30px;
    }
    .insight-quote {
        font-size: 1.5rem;
    }
}

.reel-card {
    position: relative;
    width: 320px;
    height: 560px; /* 9:16 Ratio */
    max-width: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

@media (max-width: 480px) {
    .reel-card {
        width: 100%;
        height: auto;
        aspect-ratio: 9/16;
        max-height: 80vh;
        border-radius: 20px;
    }
}

.reel-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 40px 80px rgba(201, 168, 76, 0.15);
}

.reel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.5s ease;
}

.reel-card:hover video {
    opacity: 1;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(201, 168, 76, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    opacity: 0;
    transition: all 0.4s ease;
}

.reel-card:hover .reel-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.reel-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 5px;
}

.reel-info p {
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.reel-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(201, 168, 76, 0.2);
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ---------- IMPROVED TESTIMONIAL GRID ---------- */
.testimonials-page {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    contain: paint;
}

.testimonials-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .testimonials-masonry {
        grid-template-columns: 1fr;
    }
}

.testimonial-card-full {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-smooth);
}

.testimonial-card-full:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.testimonial-card-full.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), var(--bg-card));
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.testimonial-meta h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-meta span {
    font-size: 0.8rem;
    color: var(--gold);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-left: auto;
}

.testimonial-rating i {
    width: 16px;
    height: 16px;
    color: var(--gold);
    fill: var(--gold);
}

.testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-footer {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.testimonial-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.testimonial-footer span i {
    width: 14px;
    height: 14px;
}

/* ---------- CELEBRATION GALLERY ---------- */
.celebration-gallery-section {
    padding: var(--section-padding);
    contain: paint;
}

.celebration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.celebration-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.upload-placeholder {
    background: var(--bg-card);
    border: 2px dashed var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.upload-placeholder:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
    transform: translateY(-2px);
}

.upload-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.upload-placeholder-content i {
    width: 36px;
    height: 36px;
    color: var(--gold);
    opacity: 0.6;
}

.upload-placeholder-content span {
    font-size: 0.82rem;
    font-weight: 500;
}

.upload-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 20px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.upload-note i {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

/* ---------- TRUST SECTION ---------- */
.trust-section {
    padding: 40px 0 60px;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    contain: paint;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-banner-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-banner-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-banner-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- EVENTS OVERVIEW ---------- */
.events-overview {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    contain: paint;
}

.events-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-smooth);
}

.event-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.event-card.featured-event {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), var(--bg-card));
}

.event-card-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    min-width: 80px;
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    min-width: 80px;
}

.event-day {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.event-month {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.event-icon-wrapper {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
}

.event-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.event-card-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.event-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.event-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card-hover);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
}

.event-tag i {
    width: 12px;
    height: 12px;
}

/* ---------- EVENTS GALLERY ---------- */
.events-gallery-section {
    padding: var(--section-padding);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* ---------- MOMENTS OF EXCELLENCE GRID ---------- */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.moment-item {
    position: relative;
    height: 300px;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.moment-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 168, 76, 0.1);
}

.moment-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.moment-item:hover video {
    opacity: 1;
}

.moment-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.4s ease;
}

.moment-play-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 168, 76, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.moment-item:hover .moment-play-icon {
    transform: scale(1.1);
    background: var(--gold);
    color: var(--bg-primary);
}

@media (max-width: 480px) {
    .moments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .moment-item {
        height: 250px;
    }
}

.gallery-filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-filter-btn:hover {
    border-color: var(--border-gold);
    color: var(--gold);
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-primary);
    border-color: var(--gold);
    font-weight: 600;
}

.events-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.event-gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-gallery-item:hover img {
    transform: scale(1.08);
}

/* Nav active state */
.nav-links a.active {
    color: var(--gold) !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .milestone-stats {
        gap: 32px;
    }
    
    .celebration-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Modal Responsiveness */
@media (max-width: 768px) {
    .modal-content {
        width: 95% !important;
        max-width: 400px !important;
    }
}

@media (max-width: 1024px) {
    .navbar .nav-links {
        display: none; /* Force hamburger menu earlier to prevent overlap */
    }
    .nav-hamburger {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: 120px;
        align-items: center;
        text-align: center;
    }

    .page-breadcrumb {
        justify-content: center;
    }

    .page-hero-subtitle {
        margin: 0 auto;
    }

    .milestone-banner {
        padding: 32px 24px;
        text-align: center;
    }

    .milestone-badge {
        margin: 0 auto 20px;
    }

    .milestone-stats {
        justify-content: center;
        gap: 24px;
    }

    .testimonials-masonry {
        grid-template-columns: 1fr;
    }

    .celebration-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
        gap: 20px;
    }

    .event-card-visual {
        flex-direction: row;
        gap: 16px;
    }

    .events-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    }

    .milestone-banner {
        padding: 32px;
    }

    .cta-banner-buttons {
        flex-direction: column;
        align-items: center;
    }

    .gallery-filter {
        gap: 6px;
    }

    .gallery-filter-btn {
        padding: 8px 16px;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 300px;
    }

    .celebration-grid {
        grid-template-columns: 1fr;
    }

    .events-gallery-grid {
        grid-template-columns: 1fr;
    }

    .milestone-stats {
        flex-direction: column;
        gap: 16px;
    }
}
/* ---------- ABOUT & LEADERSHIP ---------- */
.about-intro {
    padding: var(--section-padding);
    background: var(--bg-primary);
    contain: paint;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    border: 1px solid var(--border-gold);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--gold);
    color: var(--bg-primary);
    padding: 30px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge span:first-child {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.about-experience-badge span:last-child {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.leadership-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    contain: paint;
}

.leadership-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.leader-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}

.leader-card.reverse {
    grid-template-columns: 1.5fr 1fr;
}

.leader-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.leader-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.leader-card:hover .leader-image-wrap img {
    transform: scale(1.05);
}

.leader-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.leader-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.leader-designation {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.leader-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.leader-bio p {
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 50px 40px;
    border-radius: var(--radius-xl);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(201, 168, 76, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.value-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(201, 168, 76, 0.1);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 64px;
    height: 64px;
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.5s ease;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.value-card:hover .value-icon {
    background: var(--gold);
    color: var(--bg-primary);
    transform: rotateY(360deg);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
}

.value-icon i {
    width: 28px;
    height: 28px;
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1024px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .leader-card, .leader-card.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .leader-name {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- PROJECT SITE & LOCATION ---------- */
.project-site-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.project-site-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.project-site-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.project-site-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.project-site-visual:hover img {
    transform: scale(1.05);
}

.project-site-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
}

.location-icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.location-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.location-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.location-highlight {
    color: var(--gold);
    font-weight: 600;
}

.values-grid-mini {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 1024px) {
    .project-site-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: auto;
        min-height: 400px;
        padding: 140px 0 80px;
    }

    .page-hero-title {
        font-size: 2.8rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }

    .milestone-banner {
        padding: 32px 24px;
    }

    .milestone-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .phase-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .project-site-section {
        padding: 60px 0;
    }

    .location-title {
        font-size: 1.6rem;
    }

    .values-grid-mini {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 2.2rem;
    }

    .page-breadcrumb {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .location-card {
        padding: 24px;
    }
}


/* ---------- SOCIAL MOMENTUM GRID ---------- */
.social-momentum-section {
    padding: 100px 0;
    background: #050505;
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 50px;
}

.ig-post {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0a1224;
    display: block;
    cursor: pointer;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ig-post img, .ig-post video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ig-post-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.ig-post:hover .ig-post-overlay {
    opacity: 1;
}

.ig-post:hover img, .ig-post:hover video {
    transform: scale(1.1);
}

.ig-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.ig-text {
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.ig-post:hover .ig-icon,
.ig-post:hover .ig-text {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .ig-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ---------- VIDEO LOADERS & PREVIEWS ---------- */
.video-loader {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #050505 25%, #0a0a0a 50%, #050505 75%);
    background-size: 200% 100%;
    animation: video-shimmer 2s infinite linear;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.5s ease;
}

@keyframes video-shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.video-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-loader-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(201, 168, 76, 0.1);
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.2);
}

@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

video.lazy {
    opacity: 0;
    transition: opacity 1.2s ease;
}

video.lazy.loaded {
    opacity: 1;
}

video.lazy.load-error {
    background: #050505 url('images/hero-2.jpg') center/cover no-repeat;
    filter: grayscale(100%) brightness(0.3);
    opacity: 1;
}

.reel-card video, .ig-post video, .insight-video-wrap video {
    background: #000;
}

/* ---------- SOCIAL CONNECT STRIP ---------- */
.social-connect-strip {
    padding: 100px 0;
    background: #030303;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-card:hover::before {
    opacity: 1;
}

.social-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.social-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.social-card-icon i {
    width: 24px;
    height: 24px;
}

.social-card-ig .social-card-icon {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
    color: #fff;
}

.social-card-yt .social-card-icon {
    background: #FF0000;
    color: #fff;
}

.social-card-fb .social-card-icon {
    background: #1877F2;
    color: #fff;
}

.social-card-li .social-card-icon {
    background: #0A66C2;
    color: #fff;
}

.social-card-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.social-card-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.social-card-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.social-card-arrow {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.social-card:hover .social-card-arrow {
    color: var(--gold);
    transform: translate(3px, -3px);
}

@media (max-width: 1024px) {
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .social-links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .social-card {
        padding: 18px 20px;
    }
}

/* ---------- CORE PERFORMANCE & MOBILE SWIPING STYLES ---------- */

/* Horizontal swipe for mobile VIP Reels */
@media (max-width: 768px) {
    .vip-reels-container {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 20px !important;
        padding: 20px 24px !important;
        max-width: 100vw !important;
        margin-left: -24px !important;
        margin-right: -24px !important;
        scrollbar-width: none !important; /* Hide scrollbar for clean UI */
    }
    .vip-reels-container::-webkit-scrollbar {
        display: none !important;
    }
    .reel-card {
        scroll-snap-align: center !important;
        flex-shrink: 0 !important;
        width: 280px !important;
        height: 490px !important; /* Premium aspect-ratio */
        margin: 0 !important;
        transform: none !important; /* Avoid hover shift on scroll */
    }
    .reel-card:hover {
        transform: translateY(-5px) scale(1.01) !important;
    }
}

/* Horizontal swipe for mobile phase timeline navigation */
@media (max-width: 768px) {
    .phase-nav {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        flex-wrap: nowrap !important;
        padding: 10px 24px 20px !important;
        margin-left: -24px !important;
        margin-right: -24px !important;
        scrollbar-width: none !important;
        gap: 12px !important;
    }
    .phase-nav::-webkit-scrollbar {
        display: none !important;
    }
    .phase-btn {
        scroll-snap-align: start !important;
        flex-shrink: 0 !important;
        padding: 12px 20px !important;
        font-size: 0.88rem !important;
        transform: none !important;
    }
    .phase-btn.active {
        transform: scale(1.02) !important;
    }
}

/* Tablet columns for masonry grid and gallery wall */
@media (max-width: 1024px) {
    .phase-gallery-wall {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .testimonials-masonry {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 600px) {
    .phase-gallery-wall {
        grid-template-columns: 1fr !important;
    }
    .testimonials-masonry {
        grid-template-columns: 1fr !important;
    }
}

/* VIP Reels and Insights mobile responsiveness fixes */
@media (max-width: 480px) {
    .insight-visual {
        height: 320px !important;
    }
    .insight-content {
        padding: 35px 24px !important;
    }
    .insight-quote {
        font-size: 1.35rem !important;
        margin: 20px 0 !important;
    }
    .milestone-banner {
        padding: 35px 20px !important;
    }
}
