:root {
    --brand-dark: #1A262D;
    --brand-light: #fafaee;
    --brand-accent: #666;
}

body {
    background-color: var(--brand-light)!important;
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-dark)!important;
}

.serif-title {
    font-family: 'Crimson Pro', serif; /* Adjust to your specific serif font if different */
    font-weight: 400;
    text-transform: uppercase;
    color: var(--brand-dark)!important;
}

h1,h2,h3,h4,h5,h6,p,a,li,label {
    color: var(--brand-dark)!important;
}

/* --- HEADER --- */
.site-header {
    background-color: var(--brand-dark) !important;
}

.nav-header {
    color: #FFF;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-header:hover {
    color: #CCC;
}

/* --- FORMS & FILTERS --- */
.custom-form-select, .form-control {
    appearance: none;
    background-color: transparent;
    border: 1px solid #CCC;
    border-radius: 4px;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--brand-dark);
    transition: border-color 0.3s ease;
}

.custom-form-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.custom-form-select:focus, .form-control:focus {
    outline: none;
    border-color: var(--brand-dark);
    box-shadow: none;
}

.filter-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* --- BUTTONS --- */
.btn-dark {
    background-color: var(--brand-dark) !important;
    color: #FFF !important;
    border-radius: 4px;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #333 !important;
}

.btn-light-outline {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFF;
    background-color: transparent;
    border: 1px solid #FFF;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-light-outline:hover {
    background-color: #FFF;
    color: var(--brand-dark);
}

/* --- DATES & LINKS --- */
.date-select {
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.date-select:hover {
    color: var(--brand-accent);
}

.time-filter-links span {
    cursor: pointer;
    text-decoration: none !important;
    border-bottom: 1px solid var(--brand-dark);
    padding-bottom: 2px;
    margin-right: 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.time-filter-links span:hover {
    color: var(--brand-accent);
    border-color: var(--brand-accent);
}

/* --- SEARCH BAR --- */
.premium-search-input {
    width: 100%;
    padding: 15px 0;
    font-size: 1.25rem;
    font-family: 'Crimson Pro', serif; /* Matches your premium headers */
    color: var(--brand-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid #CCC;
    outline: none;
    transition: border-color 0.3s ease;
    margin-bottom: 30px;
}

.premium-search-input::placeholder {
    color: #999;
    font-style: italic;
}

.premium-search-input:focus {
    border-bottom-color: var(--brand-dark);
}

/* --- EVENT GRID & CARDS --- */
.event-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.event-grid-card {
    text-decoration: none !important;
    color: var(--brand-dark);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.event-image-wrapper {
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    margin-bottom: 15px;
    aspect-ratio: 4 / 5; /* Keeps all posters a uniform height */
    background-color: #EEE; /* Placeholder while loading */
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.event-grid-card:hover .event-image {
    transform: scale(1.05); /* Smooth zoom effect on hover */
}

/* --- STATUS TAGS --- */
.event-status-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    z-index: 2;
}

.tag-sold-out {
    background-color: var(--brand-dark);
    color: #FFF;
}

.tag-limited {
    background-color: #FFF;
    color: var(--brand-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- CARD TYPOGRAPHY --- */
.event-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--brand-dark);
}

.event-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- ACTION LINK --- */
.event-action-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 15px;
    display: inline-block;
    color: var(--brand-dark);
    border-bottom: 1px solid var(--brand-dark);
    padding-bottom: 2px;
    width: fit-content;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.event-grid-card:hover .event-action-link {
    color: #666;
    border-color: #666;
}

.event-action-link.disabled {
    color: #CCC;
    border-bottom-color: transparent;
}

/* --- PREMIUM HEADER STYLES --- */
.premium-site-header {
    background-color: var(--brand-light); /* Off-white #FAF8F5 */
    border-bottom: 1px solid #E5E5E5;
    position: sticky;
    top: 0;
    z-index: 1050; /* Stays above the sliders */
}

/* Uses CSS Grid to perfectly center the logo while links sit on the right */
.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.header-left {
    justify-self: start;
}

.header-center {
    justify-self: center;
}

.header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 35px;
}

/* Logo Image & CSS Filter Trick */
.header-center img {
    height: 105px;
    display: block;
}

/* Turns the white PNG logo into the dark #1A262D brand color */
.dark-logo-filter, .dark-icon-filter {
    filter: brightness(0) saturate(100%) invert(11%) sepia(18%) saturate(1474%) hue-rotate(162deg) brightness(96%) contrast(92%);
}

/* Nav Links */
.desktop-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.desktop-nav .nav-link:hover {
    color: var(--brand-accent); /* Soft grey hover */
}

/* Profile Button */
.profile-icon-btn {
    background-color: var(--brand-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.profile-icon-btn:hover {
    background-color: #333;
    transform: scale(1.05);
}

.profile-icon-btn img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1); /* Forces SVG to white */
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    justify-self: end;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--brand-dark);
    transition: 0.3s ease;
}

/* Hamburger Animation */
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-dropdown {
    display: none;
    flex-direction: column;
    background-color: #FFF;
    border-top: 1px solid #E5E5E5;
    padding: 20px 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.mobile-nav-dropdown.active {
    display: flex;
}

.mobile-nav-dropdown .nav-link {
    padding: 15px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-dark);
    text-decoration: none;
    border-bottom: 1px solid #F0F0F0;
}

.mobile-nav-dropdown .profile-link {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: none;
    padding-top: 20px;
}

.mobile-nav-dropdown .profile-link img {
    width: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none; /* Hide standard links */
    }
    .mobile-menu-toggle {
        display: flex; /* Show Hamburger */
    }
    .header-container {
        display: flex;
        justify-content: space-between;
        padding: 15px 25px;
    }
    .header-left {
        display: none; /* Disables Grid spacing on mobile */
    }
    .mobile-nav-dropdown {
        padding: 10px 25px;
    }
}
@media (max-width: 600px) {
    .header-center img {
        height: 60px;
    }
}
/* --- PREMIUM FADE SLIDER --- */
.premium-fade-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background-color: var(--brand-dark);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.fade-slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fade-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s; /* The magic crossfade */
    z-index: 1;
}

.fade-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.fade-slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Rich cinematic gradient */
.fade-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(26, 38, 45, 0.95) 0%, rgba(26, 38, 45, 0.4) 60%, transparent 100%);
    z-index: 3;
}

/* Content Positioning */
.fade-slide-content {
    position: absolute;
    bottom: 60px; /* Space for nav lines */
    left: 0;
    width: 100%;
    padding: 0 5%;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #FFF;
}

.fade-slide-text h2 {
    font-size: 3rem;
    margin-bottom: 5px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-family: 'Crimson Pro', serif;
    text-transform: uppercase;
    color: white!important;
}

.slide-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 1.5px;
    font-weight: 400;
    text-transform: uppercase;
    color: #E5E5E5!important;
}

.btn-light-outline.disabled {
    opacity: 0.5;
    border-color: #999;
    color: #999;
    cursor: not-allowed;
}

/* --- MINIMALIST CONTROLS --- */
.fade-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #FFF;
    width: 50px;
    height: 50px;
    z-index: 5;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-arrow:hover {
    opacity: 1;
}

.prev-arrow { left: 2%; }
.next-arrow { right: 2%; }
.prev-arrow:hover { transform: translate(-5px, -50%); }
.next-arrow:hover { transform: translate(5px, -50%); }

/* --- SLEEK NAVIGATION LINES --- */
.fade-nav-lines {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.nav-line {
    width: 40px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.4s ease, width 0.4s ease;
}

.nav-line:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.nav-line.active {
    background-color: #FFF;
    width: 60px; /* Expands slightly when active */
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .premium-fade-slider { height: 60vh; }
    .fade-slide-text h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .fade-slide-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .fade-arrow { display: none; /* Hide arrows on mobile to prefer swiping/lines */ }
    .fade-nav-lines { bottom: 15px; }
}

/* --- PREMIUM FILTER PANEL --- */
.premium-filter-panel {
    background-color: #FFF;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #EAEAEA;
}

/* Redefining the Search Bar for the Panel */
.filter-search-wrapper .premium-search-input {
    margin-bottom: 0;
    padding-top: 5px;
    font-size: 1.5rem;
}

/* 3-Column Grid for Dropdowns */
.filter-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

/* Quick Dates Area */
.filter-quick-dates {
    border-top: 1px solid #F0F0F0;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-width: 0; /* CRITICAL FIX: Allows the flex child to shrink instead of overflowing the page */
}

.quick-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* The magic scrolling container without the ugly scrollbar */
.quick-date-scroll-container {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px; /* Room for focus rings */
    width: 100%; /* CRITICAL FIX: Forces it to stay inside the white panel */
    -webkit-overflow-scrolling: touch; /* Adds smooth momentum scrolling on iOS */
    
    /* Hides scrollbar in Firefox and IE */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hides scrollbar in Chrome/Safari */
.quick-date-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Styling the buttons */
.date-pill {
    background-color: #F5F5F5;
    border: 1px solid transparent;
    color: var(--brand-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.date-pill:hover {
    background-color: var(--brand-dark);
    color: #FFF;
}

.pill-divider {
    width: 1px;
    height: 25px;
    background-color: #DDD;
    margin: 0 5px;
}

.text-link-pill {
    background: transparent;
    border: none;
    color: var(--brand-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 8px 10px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.text-link-pill:hover {
    color: #666;
    border-bottom-color: #666;
}

/* Fix Autocomplete Display Positioning */
#display {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFF;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .filter-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .premium-filter-panel {
        padding: 20px;
    }
    .filter-grid-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .filter-quick-dates {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* --- PREMIUM FEATURES SECTION --- */
.premium-features-section {
    margin: 80px auto;
    max-width: 1200px;
    padding: 0 20px;
    border-top: 1px solid #E5E5E5;
    padding-top: 60px;
}

.premium-features-section .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--brand-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-decoration: none !important;
    display: block;
    border-radius: 4px;
    overflow: hidden;
}

.feature-img-wrapper {
    position: relative;
    aspect-ratio: 1 / 1; /* Creates perfect editorial squares */
    overflow: hidden;
    background-color: var(--brand-dark);
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Permanent delicate dark wash so white text is always legible */
.feature-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 38, 45, 0.3);
    transition: background 0.4s ease;
    z-index: 1;
}

.feature-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFF;
    width: 90%;
    z-index: 2;
}

.feature-content h4 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
}

.feature-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFF;
    opacity: 0; /* Hidden by default */
    transform: translateY(15px); /* Pushed down slightly */
    display: inline-block;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

/* --- THE HOVER ANIMATIONS --- */
.feature-card:hover .feature-img-wrapper img {
    transform: scale(1.08); /* Slow, premium zoom */
}

.feature-card:hover .feature-overlay {
    background: rgba(26, 38, 45, 0.55); /* Darkens on hover */
}

.feature-card:hover .feature-content h4 {
    transform: translateY(-5px); /* Title moves up slightly */
}

.feature-card:hover .feature-link {
    opacity: 1; /* Link fades in */
    transform: translateY(0); /* Link slides up into place */
    border-bottom-color: #FFF;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .premium-features-section {
        margin: 50px auto;
        padding-top: 40px;
    }
    .premium-features-section .section-title {
        font-size: 1.5rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-img-wrapper {
        aspect-ratio: 4 / 3; /* Changes to rectangles on mobile to save vertical scrolling */
    }
    .feature-link {
        opacity: 1; /* Always show the link on mobile since there is no hover */
        transform: translateY(0);
        border-bottom-color: rgba(255,255,255,0.5);
    }
}


/* --- FOOTER SECTION --- */
.site-footer {
    background-color: #fafaee; /* Matches your background */
    border-top: 1px solid #e5e5e5; /* Top dividing line */
    padding: 80px 20px 40px; /* Generous top padding */
    color: #1a262d!important;
  
    /* Ensure it sits above the fixed nav area but below content */
    position: relative;
    z-index: 10;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px; /* Space between links and bottom copyright */
  }
  
  /* Logo takes up the left third */
  .footer-logo {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }
  
  /* Links take up the right portion */
  .footer-links {
    width: 60%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
  }
  
  .footer-column {
    flex: 1;
  }
  
  .footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #1a262d;
    font-family: "Montserrat", sans-serif;
  }
  
  .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif;
  }
  
  .footer-list li {
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: #444;
    font-family: "Montserrat", sans-serif;
  }
  
  .footer-list a {
    color: #444;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-family: "Montserrat", sans-serif;
  }
  
  .footer-list a:hover {
    opacity: 0.6;
  }
  
  /* Bottom Legal Section */
  .footer-bottom {
    border-top: 1px solid #e5e5e5; /* Dividing line above copyright */
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-legal p {
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 0.5px;
    font-family: "Monserrat", sans-serif;
    margin-bottom: 0;
  }
  
  .footer-icon img {
    height: 100px;
    width: auto;
    display: block;
  }
  
  .footer-logo img {
    width: 100px;
  }

  @media (max-width: 992px) {
  
    .footer-main {
        flex-direction: column;
      }
    
      .footer-logo {
        width: 100%;
        margin-bottom: 50px;
      }
    
      .footer-links {
        width: 100%;
        flex-wrap: wrap; /* Allows columns to wrap on smaller tablets */
      }
    
      .footer-column {
        min-width: 200px;
        margin-bottom: 40px;
      }
    }

    @media (max-width: 768px) {
        
  .footer-links {
    flex-direction: column;
    gap: 0;
  }

  .footer-bottom {
    flex-direction: column-reverse; /* Puts icon above text on mobile */
    gap: 20px;
    align-items: flex-start;
  }

  .footer-legal p {
    line-height: 1.6;
  }

}

@media (max-width: 600px) {
.footer-main {
    margin-bottom: 0;
  }
}/* --- WHAT3WORDS SUBTLE LINK --- */
.w3w-link {
    color: #888 !important; /* A soft, subtle grey */
    font-size: 0.85rem; /* Slightly smaller than the main address text */
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .w3w-link:hover {
    color: #1a262d !important; /* Darkens on hover to match the standard text */
  }

  /* --- INDIVIDUAL EVENT PAGE STYLES --- */

/* Hero Image Overlap */
.event-hero-banner {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 350px;
    background-color: var(--brand-dark);
    overflow: hidden;
}

.event-hero-banner .hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.event-hero-banner .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, var(--brand-light) 0%, transparent 100%);
}

.event-page-container {
    margin-top: -80px; /* Pulls the white card up over the banner */
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

/* 2-Column Grid Layout */
.event-layout-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    align-items: start;
}

.event-main-details {
    background-color: #FFF;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.event-main-title {
    font-size: 2.8rem;
    margin-bottom: 5px;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.event-rating-icon {
    height: 30px;
    object-fit: contain;
}

.event-date-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-accent);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.event-guidance {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #F9F9F9;
    border-left: 3px solid #DDD;
}

.event-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

/* --- TICKET SIDEBAR WIDGET --- */
.ticket-card {
    background-color: #FFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #EAEAEA;
    position: sticky;
    top: 100px; /* Keeps it on screen while scrolling left column */
}

.ticket-meta-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.meta-value {
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    color: var(--brand-dark);
}

.ticket-divider {
    border: 0;
    border-top: 1px solid #EAEAEA;
    margin: 30px 0;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #555;
    align-items: center;
    border-bottom: 1px dashed #EAEAEA;
    padding-bottom: 8px;
}

.price-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.price-row .strike {
    text-decoration: line-through;
    color: #AAA;
    margin-right: 5px;
}

.special-tag {
    font-size: 0.65rem;
    background-color: var(--brand-dark);
    color: #FFF;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    font-style: normal;
    letter-spacing: 0.5px;
}

.passed-msg {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
    padding: 15px;
    background: #F9F9F9;
    border-radius: 4px;
}

.alert-banner {
    background-color: #ff4444;
    color: #FFF;
    text-align: center;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Disabled buttons */
.btn-dark.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .event-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .event-page-container {
        margin-top: -40px;
    }
    .ticket-card {
        position: static; /* Disables sticky sidebar on mobile */
    }
}

@media (max-width: 600px) {
    .event-main-details {
        padding: 30px 20px;
    }
    .event-main-title {
        font-size: 2.2rem;
    }
    .ticket-card {
        padding: 30px 20px;
    }
}

/* --- SEATING MAP STYLES --- */

/* Seat Legend */
.premium-seat-legend {
    background: #FFF;
    padding: 20px 30px;
    border-radius: 8px;
    border: 1px solid #EAEAEA;
}

.legend-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.seat-swatch {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
}

.seat-swatch.available { border: 2px solid #CCC; background: #FFF; }
.seat-swatch.selected { background: var(--brand-dark); }
.seat-swatch.booked { background: #EAEAEA; }
.seat-swatch.waiting { background: #999; }

/* The Map Container */
.seating-plan-card {
    background: #FFF;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid #EAEAEA;
    overflow-x: auto;
    margin-bottom: 100px; /* Space for the sticky submit bar */
}

/* Screen Indicator */
.screen-indicator-wrapper {
    margin: 0 auto 40px auto;
    text-align: center;
}

.screen-indicator {
    height: 8px;
    background: linear-gradient(to bottom, #EAEAEA, #F5F5F5);
    border-radius: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.screen-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.mobile-scroll-hint {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: var(--brand-accent);
    margin-bottom: 20px;
}

.seat-row-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #999;
    line-height: 25px; /* Matches seat height to center text */
}

/* Individual Seats */
input[type=checkbox].hidden {
    opacity: 0 !important;
    z-index: 2;
    cursor: pointer;
}

.seat label {
    width: 25px;
    height: 25px;
    border-radius: 4px;
    border: 1px solid #CCC;
    background: #FFF;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.seat label:hover {
    border-color: var(--brand-dark);
}

/* State Classes */
.selected-seat {
    background: var(--brand-dark) !important;
    border-color: var(--brand-dark) !important;
}

.seat label.unavailable {
    background: #EAEAEA !important;
    border-color: transparent !important;
    cursor: not-allowed;
    box-shadow: none;
}

.seat label.waiting-list {
    background: #999 !important;
    border-color: transparent !important;
}

/* STICKY SUBMIT BAR */
.premium-sticky-submit {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-dark);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    width: 90%;
    max-width: 600px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.premium-sticky-submit.hidden {
    transform: translate(-50%, 100px);
    opacity: 0;
    pointer-events: none;
}

.submit-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submit-info {
    color: #FFF!important;
}

.submit-info span#sticky_total_value {
    color: #FFF!important;
}


.submit-text {
    font-family: 'Crimson Pro', serif;
    font-size: 1.2rem;
    color: #FFF!important;
}

/* Waiting List Form */
.premium-waiting-list {
    background: #FFF!important;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
    max-width: 500px;
    margin: 10vh auto;
}

.waiting-list-form-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.waiting-list-form-close:hover { color: var(--brand-dark); }
.waiting-list-note { font-size: 0.8rem; color: #666; font-style: italic; }

/* --- QUANTITY SELECTION STYLES --- */
.ticket-quantity-card {
    background: #FFF;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid #EAEAEA;
    max-width: 600px; /* Keeps the input from getting too wide on desktop */
}

.custom-quantity-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-quantity-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--brand-dark);
    font-weight: 500;
}

.premium-number-input {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-dark);
    background-color: transparent;
    border: 1px solid #CCC;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.premium-number-input:focus {
    border-color: var(--brand-dark);
}

.premium-number-input:disabled {
    background-color: #F9F9F9;
    color: #999;
    cursor: not-allowed;
}

.sold-out-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff4444;
    letter-spacing: 1px;
    margin: 10px 0 0 0;
}

/* --- PREMIUM LOGIN MODAL --- */

/* 1. Z-Index Fixes (Forces modal above the sticky header) */
.premium-modal {
    z-index: 1060 !important;
}

.modal-backdrop {
    z-index: 1055 !important;
}

/* 2. Modal Container Styles */
.premium-modal-content {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background-color: #FFF;
}

.modal-cover-img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
}

.premium-modal-body {
    padding: 50px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #999;
    transition: color 0.3s ease;
    padding: 0;
}

.premium-modal-close:hover {
    color: var(--brand-dark);
}

.modal-logo {
    max-width: 60px;
    margin-bottom: 10px;
}

/* 3. Typography & Forms */
.modal-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.premium-input {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--brand-dark);
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.premium-input:focus {
    border-color: var(--brand-dark);
    box-shadow: none;
}

/* 4. Dividers and Alerts */
.modal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #999;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #EAEAEA;
}

.modal-divider span {
    padding: 0 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.modal-alert-error {
    background-color: #ff4444;
    color: #FFF;
    padding: 12px 15px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .premium-modal-body {
        padding: 40px 20px;
    }
}