/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Import compact font for navigation */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;600;700&display=swap');

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: #fff;
    padding: 12px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
}

.hamburger {
    display: inline-block;
    width: 25px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s;
}

/* Top Header - Sticky */
.top-header {
    background: #fff;
    padding: 5px 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: -webkit-sticky;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
    /* No transition on the header itself — prevents Firefox from
       briefly marking child elements as invisible during transition */
    width: 100%;
}

.top-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 3px 0 0;
}

/* Do NOT animate logo height — this is the #1 cause of Firefox flicker */
.top-header.scrolled .logo-section .logo {
    height: 70px;
}

.top-header.scrolled .nav-row {
    padding: 4px 0;
}

/* Add padding to body to prevent content jump */

/* Logo Row */
.logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 2px;
    flex-wrap: wrap;
}

.logo-section {
    flex-shrink: 0;
    order: 1;
    min-width: 100px;
}

.logo-section .logo {
    height: 90px;
    width: auto;
    display: block;
}

.header-image-section {
    flex: 1;
    max-width: 800px;
    order: 2;
}

.header-banner {
    width: 100%;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.cta-button {
    flex-shrink: 0;
    margin-left: auto;
    order: 3;
}

.cta-button .btn-primary {
    background: #d4a574;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    white-space: nowrap;
}

.cta-button .btn-primary:hover {
    background: #c39563;
}

/* Navigation Row */
.nav-row {
    border-top: 1px solid #eee;
    padding: 4px 0;
}

.main-nav-legacy {
    width: 100%;
}

.main-nav-legacy ul {
    list-style: none;
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.main-nav-legacy ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
    font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.main-nav-legacy ul li a:hover {
    color: #d4a574;
}

/* Submenu Styles */
.has-submenu {
    position: relative;
}

.submenu-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.submenu-toggle i {
    font-size: 10px;
    transition: transform 0.3s;
}

.has-submenu.active .submenu-toggle i {
    transform: rotate(180deg);
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    min-width: 220px;
    z-index: 1000;
    padding: 15px 0;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.has-submenu.active .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.submenu li {
    display: block;
    width: 100%;
}

.submenu li a {
    display: block;
    padding: 12px 25px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
    white-space: nowrap;
}

.submenu li a:hover {
    background: #f9f9f9;
    color: #d4a574;
    padding-left: 30px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* .hero-overlay moved to individual page CSS files to avoid conflicts */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-button-link {
    margin-bottom: 20px;
}

.hero-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.hero-link-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-icon {
    font-size: 24px;
    color: #fff;
}

.hero-title-link {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.hero-title-link:hover {
    opacity: 0.8;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
}

/* Events Section */
.events-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(195, 149, 99, 0.2) 100%);
    z-index: 0;
    transition: all 0.4s ease;
}

.event-card:hover::before {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.4) 0%, rgba(195, 149, 99, 0.4) 100%);
}

.event-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: all 0.4s ease;
}

.event-card:hover .event-card-overlay {
    background: rgba(0, 0, 0, 0.05);
}

.event-card-content {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.event-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.4);
}

.event-card:hover .event-card-content {
    transform: scale(1.1);
}

.event-card .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    animation: ripple-animation 0.6s;
    z-index: 10;
}

@keyframes ripple-animation {
    from {
        opacity: 1;
        transform: scale(0);
    }
    to {
        opacity: 0;
        transform: scale(10);
    }
}

.event-card h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}

.event-card h2 a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.event-card h2 a:hover {
    opacity: 0.8;
}

.event-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.event-register-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.event-icon {
    font-size: 20px;
    color: #fff;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 150px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    min-height: 500px;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 165, 116, 0.2);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    color: #d4a574;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #333;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #d4a574;
    color: #fff;
}

/* Featured Events */
.featured-events {
    padding: 80px 0;
    background: #f9f9f9;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.featured-card {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0) 0%, rgba(195, 149, 99, 0) 100%);
    z-index: 1;
    transition: all 0.4s ease;
    pointer-events: none;
}

.featured-card:hover::before {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(195, 149, 99, 0.2) 100%);
}

.featured-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 165, 116, 0.4);
}

.featured-image {
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-card .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.5);
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    animation: ripple-animation 0.6s;
    z-index: 10;
}

.featured-content {
    padding: 30px;
    text-align: center;
}

.tickets-status {
    color: #d4a574;
    font-weight: bold;
    margin-bottom: 10px;
}

.featured-content h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.event-date {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.btn-tertiary {
    display: inline-block;
    background: #fff;
    color: #333;
    border: 2px solid #333;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 5px;
    transition: all 0.3s;
}

.btn-tertiary:hover {
    background: #333;
    color: #fff;
}

/* Stats Section */
.stats-section {
    padding: 5px 0 80px;
    background: #fff;
    text-align: center;
}

.stats-section h2 {
    font-size: 42px;
    margin-bottom: 10px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .stats-section h2 {
        white-space: normal;
    }
}

.stats-intro {
    font-size: 18px;
    color: #666;
    max-width: 900px;
    margin: 0 auto 20px;
}

.stats-year {
    font-size: 72px;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 20px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    overflow-x: auto;
    padding: 20px 0;
}

.stat-item {
    padding: 20px;
    flex: 0 0 auto;
    min-width: 150px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

.stats-section .btn-primary {
    background: linear-gradient(135deg, #d4a574 0%, #c39563 100%);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-section .btn-primary:hover {
    background: linear-gradient(135deg, #c39563 0%, #b38552 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

/* Engaged Section */
.engaged-section {
    padding: 80px 0;
    background: linear-gradient(rgba(212, 165, 116, 0.3), rgba(212, 165, 116, 0.3)),
                url('https://static.wixstatic.com/media/d9e883_4ff67bcad8d7473cb1ad2cf65ad2fe3c~mv2.jpg/v1/fill/w_1200,h_600,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/d9e883_4ff67bcad8d7473cb1ad2cf65ad2fe3c~mv2.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.engaged-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.engaged-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 300;
}

.engaged-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.engaged-section .btn-primary {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    color: #d4a574;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.engaged-section .btn-primary:hover {
    background: linear-gradient(135deg, #d4a574 0%, #c39563 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 165, 116, 0.4);
    z-index: 1;
}

.newsletter-section .container {
    position: relative;
    z-index: 2;
}

.newsletter-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #fff;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn-submit {
    background: #d4a574;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #c39563;
}

.form-message {
    margin-top: 20px;
    color: #4CAF50;
    font-weight: bold;
}

/* Event Dates Section */
.event-dates-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}

.dates-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.event-dates-section .container {
    position: relative;
    z-index: 2;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: end;
}

.date-card {
    text-align: center;
    position: relative;
}

.date-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.date-info {
    margin-top: 20px;
}

.year {
    font-size: 24px;
    font-weight: 700;
    color: #d4a574;
}

.date {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
}

.city {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.anniversary-text {
    font-size: 24px;
    font-weight: 700;
    color: #d4a574;
    margin-top: 20px;
}

/* Media Section */
.media-section {
    padding: 10px 0 80px;
    background: #f9f9f9;
    text-align: center;
    overflow: hidden;
}

.media-section .container {
    max-width: 100%;
    padding: 0;
}

.media-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.media-scroll-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 768px) {
    .media-scroll-container {
        padding: 0 60px;
    }
}

@media (max-width: 480px) {
    .media-scroll-container {
        padding: 0 50px;
    }
}

.media-logos-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 60px;
    padding: 30px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d4a574 #f1f1f1;
}

@media (max-width: 768px) {
    .media-logos-grid {
        gap: 40px;
        padding: 20px 5px;
    }
}

.media-logos-grid::-webkit-scrollbar {
    height: 8px;
}

.media-logos-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.media-logos-grid::-webkit-scrollbar-thumb {
    background: #d4a574;
    border-radius: 10px;
}

.media-logos-grid::-webkit-scrollbar-thumb:hover {
    background: #c39563;
}

.media-logo {
    flex: 0 0 auto;
    max-width: 300px;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: #d4a574;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.scroll-btn:hover {
    background: #c39563;
    transform: translateY(-50%) scale(1.1);
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

@media (max-width: 768px) {
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .scroll-left {
        left: 5px;
    }
    
    .scroll-right {
        right: 5px;
    }
}

/* New Dates Section */
.new-dates-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.new-dates-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.3) 0%, rgba(195, 149, 99, 0.5) 100%);
    z-index: 1;
}

.new-dates-section .container {
    position: relative;
    z-index: 2;
}

.section-tag {
    color: #d4a574;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.new-dates-section h2 {
    font-size: 42px;
    margin-bottom: 30px;
}

.dates-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.new-dates-section .btn-primary {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    color: #d4a574;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.new-dates-section .btn-primary:hover {
    background: linear-gradient(135deg, #d4a574 0%, #c39563 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer {
    background: #222;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
}

.footer-social a {
    color: #fff;
    font-size: 28px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    color: #d4a574;
    background: rgba(212, 165, 116, 0.2);
    transform: translateY(-3px);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-nav ul li a:hover {
    color: #d4a574;
}

.copyright {
    text-align: center;
    color: #999;
    font-size: 14px;
}

/************************* FOOTER ***************************************/
/* ========== FOOTER ========== */
.main-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-brand p {
    margin-bottom: 24px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    color: var(--gray-400);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    font-weight: 600;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--gray-400);
    font-size: 14px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.footer-bottom-left p {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: none;
}

.footer-bottom-right {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.footer-bottom-right a {
    color: var(--gray-500);
    text-decoration: none;
}

.footer-bottom-right a:hover {
    color: var(--primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/************************ ENDS HERE *************************************/


/* Responsive Design */
@media (max-width: 1024px) {
    .main-nav-legacy {
        display: none;
    }
    
    .main-nav-legacy.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 998;
        padding: 30px 20px 20px;
        overflow-y: auto;
    }
    
    /* Logo container in mobile menu */
    .main-nav-legacy.active::before {
        content: '';
        display: block;
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        background-image: url('https://static.wixstatic.com/media/254a3d_1e15408b21e34612a5468d47d32675ad~mv2.png/v1/fill/w_119,h_134,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/BRIDAL%20FASHION%20WEEK%20LOGO_edited.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
    
    .main-nav-legacy.active > ul {
        position: relative;
        margin-top: 30px;
    }
    
    /* Brand name text below logo - NO BORDER */
    .main-nav-legacy.active > ul::before {
        content: 'BRIDAL FASHION WEEK';
        display: block;
        text-align: center;
        font-size: 11px;
        font-weight: 700;
        color: #d4a574;
        letter-spacing: 2px;
        margin-bottom: 10px;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .main-nav-legacy.active ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .main-nav-legacy.active .has-submenu {
        width: 100%;
    }
    
    .main-nav-legacy.active .submenu {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        margin: 10px 0 0 0;
        border-radius: 5px;
        transform: none;
        padding: 10px 0;
    }
    
    .main-nav-legacy.active .submenu::before {
        display: none;
    }
    
    .main-nav-legacy.active .submenu-toggle {
        justify-content: center;
        width: 100%;
    }
    
    .main-nav-legacy.active .submenu li a {
        text-align: center;
        padding: 10px 20px;
    }
    
    .main-nav-legacy.active .submenu li a:hover {
        padding-left: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .header-image-section {
        display: none;
    }
    
    .logo-row {
        padding-right: 0;
        justify-content: space-between;
        width: 100%;
        flex-wrap: nowrap;
    }
    
    .logo-section {
        flex: 0 0 auto;
        max-width: calc(100% - 140px);
    }
    
    .logo-section .logo {
        max-width: 100%;
        height: auto;
        max-height: 80px;
    }
    
    .cta-button {
        flex: 0 0 auto;
        margin-left: 10px;
        margin-right: 60px;
    }
    
    .cta-button .btn-primary {
        padding: 8px 16px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .stats-section h2,
    .engaged-section h2,
    .new-dates-section h2 {
        font-size: 28px;
    }
    
    .stats-year {
        font-size: 48px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .featured-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .dates-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-section .logo {
        height: 70px;
    }
    
    .cta-button .btn-primary {
        padding: 7px 12px;
        font-size: 10px;
    }
    
    .cta-button {
        margin-right: 60px;
    }
}

@media (max-width: 480px) {
    .logo-section .logo {
        height: 60px;
    }
    
    .logo-row {
        gap: 10px;
        padding-right: 0;
    }
    
    .cta-button .btn-primary {
        padding: 6px 10px;
        font-size: 9px;
        white-space: nowrap;
    }
    
    .cta-button {
        margin-right: 60px;
        margin-left: 5px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .event-card h2,
    .featured-content h3 {
        font-size: 24px;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 380px) {
    .logo-section .logo {
        height: 50px;
    }
    
    .logo-section {
        min-width: 80px;
    }
    
    .cta-button .btn-primary {
        padding: 5px 8px;
        font-size: 8px;
    }
    
    .cta-button {
        margin-right: 55px;
    }
}

@media (max-width: 320px) {
    .logo-section .logo {
        height: 45px;
    }
    
    .logo-section {
        min-width: 70px;
    }
    
    .cta-button .btn-primary {
        padding: 4px 6px;
        font-size: 7px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card,
.featured-card,
.stat-item {
    animation: fadeIn 0.6s ease-out;
}

/* Submenu hover functionality */
.has-submenu:hover .submenu,
.has-submenu.submenu-open .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-toggle {
    cursor: pointer;
}

.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Mobile submenu */
@media (max-width: 768px) {
    .has-submenu.submenu-open .submenu {
        display: block;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* MOBILE MENU COMPLETE FIX */
@media (max-width: 1024px) {
    /* Submenu on mobile - initially hidden */
    .main-nav-legacy.active .has-submenu .submenu {
        display: none;
    }
    
    /* Show submenu when parent has submenu-open class */
    .main-nav-legacy.active .has-submenu.submenu-open .submenu {
        display: block !important;
    }
    
    /* Menu list items on mobile */
    .main-nav-legacy.active ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-nav-legacy.active ul li a {
        display: block;
        padding: 15px 20px;
        color: #333;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
    }
    
    .main-nav-legacy.active ul li a:hover {
        color: #d4a574;
        background: #f9f9f9;
    }
}
/* ========================================
   HAMBURGER MENU COMPLETE FIX
   ======================================== */

/* Hamburger button container */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger icon */
.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hamburger lines */
.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

/* X animation when active */
.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile menu spacing fixes */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .main-nav-legacy.active ul li {
        margin-bottom: 8px !important;
    }
    
    .main-nav-legacy.active ul li a {
        padding: 12px 20px !important;
        display: block;
        font-size: 16px !important;
    }
    
    .main-nav-legacy.active .submenu li {
        margin-bottom: 5px !important;
    }
    
    .main-nav-legacy.active .submenu li a {
        padding: 10px 20px 10px 40px !important;
    }
}

/* ========================================
   BUTTON TEXT COLOR FIXES
   ======================================== */

/* Primary button - Gold background with WHITE text */
.btn-primary {
    background: linear-gradient(135deg, #d4a574 0%, #c39563 100%);
    color: #fff !important;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212,165,116,0.4);
    color: #fff !important;
}

/* Secondary button - Transparent with BLACK text */
.btn-secondary {
    background: transparent;
    color: #000 !important;
    border: 3px solid #000;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #000;
    color: #fff !important;
    transform: translateY(-3px);
}

/* Tertiary button - White background with BLACK text */
.btn-tertiary {
    background: #fff;
    color: #000 !important;
    border: 2px solid #000;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-tertiary:hover {
    background: #000;
    color: #fff !important;
    transform: translateY(-3px);
}

/* Submit button - Gold background with WHITE text */
.btn-submit {
    background: linear-gradient(135deg, #d4a574 0%, #c39563 100%);
    color: #fff !important;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212,165,116,0.4);
    color: #fff !important;
}

/* Ensure all button text is readable */
button, a.btn-primary, a.btn-secondary, a.btn-tertiary {
    text-decoration: none !important;
}

/* Event Cards Background Images */
.event-card-la {
    background-image: url('https://static.wixstatic.com/media/d9e883_78ee711de1574a2399f639a10c57ee2d~mv2.jpg/v1/fill/w_600,h_450,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/d9e883_78ee711de1574a2399f639a10c57ee2d~mv2.jpg');
}

.event-card-sv {
    background-image: url('https://static.wixstatic.com/media/d9e883_78ee711de1574a2399f639a10c57ee2d~mv2.jpg/v1/fill/w_600,h_450,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/d9e883_78ee711de1574a2399f639a10c57ee2d~mv2.jpg');
}

.event-card-van {
    background-image: url('https://static.wixstatic.com/media/d9e883_ac6c84bee2bd467fa4b5f5bb0a7e52a2~mv2.jpg/v1/fill/w_600,h_450,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/d9e883_ac6c84bee2bd467fa4b5f5bb0a7e52a2~mv2.jpg');
}

/* NAVIGATION FIXES */
.site-header .logo img {
    height: 140px !important;
    width: auto !important;
}

.main-nav-legacy ul li a {
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    transition: all 0.3s !important;
    position: relative !important;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #d4a574;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.main-nav ul li a:hover::after {
    transform: scaleX(1);
}

.main-nav-legacy ul li a:hover {
    color: #d4a574 !important;
}

.main-nav ul li a.active {
    color: #d4a574 !important;
    font-weight: 700 !important;
}

/* COMPACT NAVIGATION - ONE LINE */
.site-header .logo img {
    height: 140px !important;
    width: auto !important;
}

.main-nav-legacy ul {
    display: flex;
    gap: 5px !important;
}

.main-nav ul li {
    margin: 0 !important;
}

.main-nav-legacy ul li a {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 12px !important;
    transition: all 0.3s !important;
    position: relative !important;
    white-space: nowrap !important;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #d4a574;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.main-nav ul li a:hover::after {
    transform: scaleX(1);
}

.main-nav-legacy ul li a:hover {
    color: #d4a574 !important;
}

.main-nav ul li a.active {
    color: #d4a574 !important;
    font-weight: 700 !important;
}

/* Dropdown */
.main-nav .dropdown {
    position: relative;
}

.main-nav .submenu {
    gap: 0 !important;
}

.main-nav .submenu li a {
    padding: 8px 12px !important;
}

/* ── Firefox / Cross-browser Header Stability ────────────────────────────────
   Prevents logo and header banner from flickering or hiding on initial paint.
   Uses explicit dimensions and transforms all transitions off until paint. */

.top-header {
    contain: layout style;
}

.logo-section {
    flex: 0 0 auto;
    min-width: 60px;
    min-height: 54px;
}

.logo-section a {
    display: inline-block;
    line-height: 0;
}

.logo-section .logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 80px;
    width: auto;
    max-width: none;
    /* Force GPU layer — prevents Firefox from dropping the element on first paint */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: auto;
    /* Ensure image never shrinks to 0 while loading */
    min-height: 54px;
    min-width: 54px;
}

.header-image-section {
    flex: 1;
    overflow: hidden;
    min-height: 54px;
}

.header-banner {
    display: block;
    width: 100%;
    height: auto;
    /* Prevent banner reflow flicker */
    transform: translateZ(0);
}

/* ── Background image flicker fix (bride-groom, models, etc.) ────────────────
   Using background-attachment:fixed can cause repaints in Firefox/Safari.
   Replace with a pseudo-element approach that avoids main-thread painting. */
.bg-fixed-stable {
    position: relative;
    isolation: isolate;
}
.bg-fixed-stable::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform;
}



/* ================================================================
   TICKETS PAGE — Hero + Cards
================================================================ */
.tickets-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-image: url('https://static.wixstatic.com/media/d9e883_ba4d2ca489ae4ffea7e9e01095c1533f~mv2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}
.tickets-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}
.tickets-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 80px 20px;
    color: #fff;
}
.tickets-hero-content h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 18px;
}
.tickets-hero-content p {
    font-size: clamp(15px, 2vw, 20px);
    opacity: 0.9;
    margin-bottom: 28px;
}
.tickets-hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.tickets-hero-badges span {
    background: rgba(212,165,116,0.85);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.tickets-cards-section {
    padding: 70px 20px 90px;
    background: #f9f9f9;
}
.tickets-section-heading {
    text-align: center;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.tickets-section-sub {
    text-align: center;
    font-size: 17px;
    color: #64748b;
    margin-bottom: 50px;
}
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.ticket-card-new {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
}
.ticket-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.ticket-card-img-wrap { overflow: hidden; }
.ticket-card-img-wrap img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.ticket-card-new:hover .ticket-card-img-wrap img { transform: scale(1.04); }
.ticket-card-body {
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.ticket-status-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #94a3b8;
    text-transform: uppercase;
    margin: 0;
}
.ticket-city {
    font-size: 26px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 2px;
    margin: 0;
}
.ticket-date {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    margin: 0;
}
.ticket-btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
    padding: 13px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}
.ticket-vendor-btn {
    background: transparent;
    border: 2px solid #d4a574;
    color: #d4a574 !important;
}
.ticket-vendor-btn:hover {
    background: #d4a574;
    color: #fff !important;
}

/* ================================================================
   BRIDE-GROOM PAGE — Hero
================================================================ */
.bg-hero-section {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-image: url('https://static.wixstatic.com/media/254a3d_1e15408b21e34612a5468d47d32675ad~mv2.png');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
}
.bg-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.40);
}
.bg-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 80px 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.bg-hero-content h1 {
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.bg-hero-content p {
    font-size: clamp(15px, 2vw, 20px);
    opacity: 0.92;
}

/* ================================================================
   GALLERY PAGE — Hero
================================================================ */
.gallery-hero {
    position: relative;
    height: 420px;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-image: url('https://static.wixstatic.com/media/d9e883_e8553d5756c84714834dbe58e3e9a63a~mv2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    margin-bottom: 60px;
    overflow: hidden;
}
.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.gallery-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 90px 20px;
    color: #fff;
}
.gallery-hero-content h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 12px;
}
.gallery-hero-content p {
    font-size: clamp(15px, 2vw, 19px);
    opacity: 0.9;
}

/* ================================================================
   HOME TICKET CARD — both buttons always visible
================================================================ */
.home-ticket-card-content .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* ================================================================
   STABLE BACKGROUND (prevents Firefox/Safari flicker)
   Use background-attachment:scroll instead of fixed on all pages
================================================================ */
.bg-section-stable {
    background-attachment: scroll !important;
}


/* ================================================================
   DEFINITIVE CROSS-BROWSER LOGO FIX (Firefox, Safari, Chrome)
   Root causes of logo flickering:
   1. height/opacity CSS transitions on logo during page paint
   2. Parent element having display:none or opacity:0 during load
   3. will-change creating isolated stacking context too early
   Solution: hard-code all visibility states, no transitions, no will-change
================================================================ */

/* The logo and its wrapper must NEVER be hidden, animated, or transitioned */
.logo-section {
    flex: 0 0 auto !important;
    min-width: 80px !important;
    min-height: 80px !important;
    display: flex !important;
    align-items: center !important;
}

.logo-section a {
    display: block !important;
    line-height: 0;
}

.logo-section .logo {
    /* Hard dimensions — no transitions, no min/max conflicts */
    height: 80px !important;
    width: auto !important;
    /* Force visible at ALL times */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* No transitions that could hide the logo mid-paint */
    transition: none !important;
    animation: none !important;
    /* Prevent Firefox compositing drops */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Also lock the scrolled state — same height keeps the element stable */
.top-header.scrolled .logo-section .logo {
    height: 70px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
}

.header-banner {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: none !important;
}

/* Ensure the header itself never hides children during paint */
.top-header {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    contain: layout style;
}
