/* Theme: Modern – app-style, 3-column, Inter font, contained layout */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body.theme-modern {
    background: #0f172a;
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, sans-serif;
}

body.theme-modern .site-header,
body.theme-modern header.site-header {
    background: #1e293b;
    border-bottom: 1px solid #334155;
    padding: 0.75rem 0;
}

/* Custom logo with black background: match header to black so logo doesn’t show a visible box */
body.theme-modern .site-header.site-header--custom-logo {
    background: #000000;
    border-bottom-color: #334155;
}

body.theme-modern .site-header .hamburger,
body.theme-modern .logo-hero .hamburger-hero {
    color: #e2e8f0;
}

body.theme-modern .site-header .hamburger:hover,
body.theme-modern .logo-hero .hamburger-hero:hover {
    color: #60a5fa;
}

/* Mobile menu – match Modern template */
body.theme-modern .mobile-menu {
    background: #1e293b;
    border-right: 1px solid #334155;
}

body.theme-modern .mobile-menu a,
body.theme-modern .mobile-menu .mobile-menu-section-label {
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
}

body.theme-modern .mobile-menu a:hover {
    color: #60a5fa;
}

body.theme-modern .mobile-menu .mobile-submenu {
    border-left-color: #334155;
}

body.theme-modern .mobile-menu .mobile-submenu a,
body.theme-modern .mobile-menu .nav-dropdown-item {
    color: #94a3b8;
}

body.theme-modern .mobile-menu .mobile-submenu a:hover,
body.theme-modern .mobile-menu .nav-dropdown-item:hover {
    color: #60a5fa;
}

body.theme-modern .mobile-menu .nav-dropdown-loading {
    color: #64748b;
}

body.theme-modern .menu-overlay {
    background: rgba(15, 23, 42, 0.75);
}

body.theme-modern .container {
    max-width: 1100px;
}

body.theme-modern .logo-hero,
body.theme-modern .page-home .logo-hero {
    background: #1e293b;
    padding: 1.5rem 2rem;
}

body.theme-modern .logo-hero-image {
    max-height: 52px;
}

body.theme-modern .section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: 0.02em;
    text-transform: none;
    border-bottom: 2px solid #3b82f6;
    color: #f8fafc;
    margin-bottom: 2rem;
}

body.theme-modern .nav-links {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
}

body.theme-modern .nav-links a,
body.theme-modern .shows-contact-link a {
    color: #cbd5e1;
}

body.theme-modern .nav-links a:hover,
body.theme-modern .nav-links a.active,
body.theme-modern .shows-contact-link a:hover {
    color: #60a5fa;
    border-color: #60a5fa;
    text-shadow: none;
}

/* 3-column grid: desktop only; mobile uses same layout as normal SCS (home.css) */
@media (min-width: 769px) {
    body.theme-modern .shows-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    body.theme-modern .card-title {
        font-family: 'Inter', sans-serif;
        font-size: 1.1rem;
    }

    body.theme-modern .card-price {
        font-family: 'Inter', sans-serif;
    }
}

@media (min-width: 1025px) {
    body.theme-modern .shows-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

body.theme-modern .show-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
}

body.theme-modern .show-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

body.theme-modern .card-title {
    font-weight: 600;
    color: #f8fafc;
}

body.theme-modern .card-venue {
    color: #94a3b8;
}

body.theme-modern .card-description {
    color: #cbd5e1;
}

body.theme-modern .card-price {
    color: #38bdf8;
    text-shadow: none;
}

body.theme-modern .why-book-section {
    background: #1e293b;
    padding: 2.5rem 0;
}

body.theme-modern .why-book-section .section-title {
    font-size: 1.5rem;
}

body.theme-modern .why-book-list {
    color: #cbd5e1;
}

body.theme-modern .cta-section-content,
body.theme-modern .cta-section-content p {
    color: #cbd5e1;
}

body.theme-modern .cta-section-content a {
    color: #60a5fa;
}

body.theme-modern .cta-section-content a:hover {
    color: #93c5fd;
}

/* Override design-system neon cyan: all h2/h3 in main content use dark blue */
body.theme-modern .layout-main h2,
body.theme-modern .layout-main h3 {
    color: #1e40af !important;
    border-bottom-color: #1e40af;
}

body.theme-modern .cta-section-content h2,
body.theme-modern .cta-section-content h3 {
    color: #1e40af !important;
    border-bottom-color: #1e40af;
}

/* About page: ensure dark background and readable headings */
body.theme-modern.page-about .layout-main,
body.theme-modern.page-about .container {
    background: transparent;
}
body.theme-modern.page-about .layout-main h2,
body.theme-modern.page-about .layout-main h3,
body.theme-modern.page-about .cta-section-content h2,
body.theme-modern.page-about .cta-section-content h3 {
    color: #1e40af !important;
    border-bottom-color: #1e40af;
}

body.theme-modern .trust-section {
    background: rgba(30, 41, 59, 0.6);
    padding: 2rem;
}

body.theme-modern .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

body.theme-modern .trust-item h3 {
    color: #f1f5f9;
}

body.theme-modern .trust-item p {
    color: #94a3b8;
}

body.theme-modern .cta-section {
    background: #1e293b;
    border-top: 1px solid #334155;
    border-bottom: none;
    padding: 2.5rem 2rem;
}

body.theme-modern .hero-cta,
body.theme-modern .btn.primary {
    background: #2563eb !important;
    color: #fff !important;
    border: none !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

body.theme-modern .hero-cta:hover,
body.theme-modern .btn.primary:hover {
    background: #3b82f6 !important;
}

body.theme-modern .card-button {
    background: transparent !important;
    color: #60a5fa !important;
    border: 1px solid #60a5fa !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

body.theme-modern .show-card-link:hover .card-button {
    background: #2563eb !important;
    color: #fff !important;
    border-color: #2563eb !important;
}

/* Prevent default link hover (cyan glow / pink) from affecting card text */
body.theme-modern .show-card-link:hover .card-title {
    color: #f8fafc;
    text-shadow: none;
}
body.theme-modern .show-card-link:hover .card-description {
    color: #cbd5e1;
    text-shadow: none;
}
body.theme-modern .show-card-link:hover .card-price {
    color: #38bdf8;
    text-shadow: none;
}
body.theme-modern .show-card-link:hover .card-venue {
    color: #94a3b8;
    text-shadow: none;
}

body.theme-modern footer {
    background: #0f172a;
    border-top: 1px solid #334155;
}

body.theme-modern footer a:hover {
    color: #60a5fa;
}

body.theme-modern .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

body.theme-modern .footer-grid h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #f1f5f9;
}

body.theme-modern .footer-grid p,
body.theme-modern .footer-grid a {
    color: #94a3b8;
}

body.theme-modern .footer-bottom {
    color: #94a3b8;
}

body.theme-modern .footer-legal {
    color: #64748b;
}

body.theme-modern .footer-newsletter-input {
    border-color: #334155;
    background: #1e293b;
    color: #e2e8f0;
}

body.theme-modern .footer-newsletter-input::placeholder {
    color: #64748b;
}

body.theme-modern .footer-newsletter-input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

body.theme-modern .footer-newsletter-btn {
    background: #3b82f6;
    color: #fff;
}

body.theme-modern .footer-newsletter-btn:hover {
    background: #60a5fa;
}

body.theme-modern .footer-bottom {
    border-top-color: #334155;
}

body.theme-modern .footer-copy,
body.theme-modern .footer-powered {
    color: #94a3b8;
}

/* Tonight's Performances CTA bar + next performance date bar – Modern blue */
body.theme-modern .tonight-cta-bar {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-bottom-color: rgba(96, 165, 250, 0.4);
    color: #60a5fa;
}
body.theme-modern .tonight-cta-bar:hover {
    background: rgba(59, 130, 246, 0.2);
}
body.theme-modern .tonight-cta-bar-btn {
    border-color: #60a5fa;
}
body.theme-modern .tonight-cta-bar:hover .tonight-cta-bar-btn {
    background: rgba(96, 165, 250, 0.2);
}
/* Show subsite next-performance CTA – Modern blue */
body.theme-modern .show-subsite-next-cta {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-bottom-color: rgba(96, 165, 250, 0.4);
    color: #60a5fa;
}
body.theme-modern .show-subsite-next-cta:hover {
    background: rgba(59, 130, 246, 0.2);
}
body.theme-modern .show-subsite-next-cta-btn {
    border-color: #60a5fa;
}
body.theme-modern .show-subsite-next-cta:hover .show-subsite-next-cta-btn {
    background: rgba(96, 165, 250, 0.2);
}
/* Show hero: event date buttons on overlay – Modern blue */
body.theme-modern .hero-date-btn {
    background: rgba(30, 41, 59, 0.95);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.6);
}
body.theme-modern .hero-date-btn:hover {
    background: rgba(30, 41, 59, 0.98);
    border-color: #60a5fa;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.25);
}
body.theme-modern .hero-more-dates {
    color: #60a5fa;
    border-bottom-color: rgba(96, 165, 250, 0.7);
}
body.theme-modern .hero-more-dates:hover {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}
body.theme-modern .show-hero-overlay .starting-price {
    color: #38bdf8;
}
body.theme-modern .show-card-next-performance {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border-bottom-color: rgba(96, 165, 250, 0.3);
}
/* Cycle CTA colors – Modern template blues */
body.theme-modern .shows-grid .show-card:nth-child(4n+1) .card-cta-text,
body.theme-modern .venue-sidebar-shows .venue-sidebar-show-card:nth-child(4n+1) .venue-sidebar-show-cta-text { color: #60a5fa; }
body.theme-modern .shows-grid .show-card:nth-child(4n+2) .card-cta-text,
body.theme-modern .venue-sidebar-shows .venue-sidebar-show-card:nth-child(4n+2) .venue-sidebar-show-cta-text { color: #38bdf8; }
body.theme-modern .shows-grid .show-card:nth-child(4n+3) .card-cta-text,
body.theme-modern .venue-sidebar-shows .venue-sidebar-show-card:nth-child(4n+3) .venue-sidebar-show-cta-text { color: #3b82f6; }
body.theme-modern .shows-grid .show-card:nth-child(4n+4) .card-cta-text,
body.theme-modern .venue-sidebar-shows .venue-sidebar-show-card:nth-child(4n+4) .venue-sidebar-show-cta-text { color: #93c5fd; }
body.theme-modern .card-cta-highlight--sold-out { color: #fbbf24; }
body.theme-modern .card-cta-highlight--available { color: #38bdf8; }
body.theme-modern .card-cta-highlight--accent { color: #60a5fa; }

/* Shows Tonight page – match Modern palette */
body.theme-modern .tonight-page .section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f8fafc;
}

body.theme-modern .tonight-date {
    color: #cbd5e1;
}

body.theme-modern .tonight-empty {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

body.theme-modern .tonight-empty p {
    color: #cbd5e1;
}

body.theme-modern .tonight-item {
    background: #1e293b;
    border-color: #334155;
}

body.theme-modern .tonight-item:hover {
    border-color: #60a5fa;
    background: rgba(59, 130, 246, 0.08);
}

body.theme-modern .tonight-time {
    color: #60a5fa;
}

body.theme-modern .tonight-show {
    color: #f8fafc;
}

body.theme-modern .tonight-cta {
    border-color: #60a5fa;
    color: #60a5fa;
}

body.theme-modern .tonight-item:hover .tonight-cta {
    background: rgba(96, 165, 250, 0.15);
}

body.theme-modern .nav-dropdown-menu {
    background: #1e293b;
    border-color: #334155;
}

body.theme-modern .preview-banner {
    background: #1e3a5f;
    border-bottom-color: #334155;
    color: #e0f2fe;
}

body.theme-modern .preview-banner-exit {
    color: #7dd3fc;
}

/* Show page: match theme card and text colors */
body.theme-modern .section-card {
    background: #1e293b;
    border-color: #334155;
}

body.theme-modern .section-card h2 {
    color: #60a5fa;
}

body.theme-modern .about-content p,
body.theme-modern .about-content ul,
body.theme-modern .about-content ol {
    color: #cbd5e1;
}

body.theme-modern .about-content a,
body.theme-modern .read-more {
    color: #60a5fa;
}

/* Follow section icons */
body.theme-modern .show-social-links.social-links--icons a {
    background: #334155;
    color: #e2e8f1;
}

body.theme-modern .show-social-links.social-links--icons a:hover {
    background: #60a5fa;
    color: #fff;
}

/* Hero social: ensure visible on show page (AllMotown / themed sites) */
body.theme-modern .show-hero-social {
    position: absolute;
    top: 1rem;
    right: 1rem;
    left: auto;
    bottom: auto;
    display: flex;
    justify-content: flex-end;
    z-index: 20;
}

body.theme-modern .show-hero-social-links.social-links--icons a {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

body.theme-modern .show-hero-social-links.social-links--icons a:hover {
    background: #60a5fa;
    color: #fff;
}

@media (max-width: 768px) {
    body.theme-modern .show-hero-social {
        display: none;
    }
}

/* ===== MOBILE OPTIMIZATION (all theme templates) ===== */
@media (max-width: 768px) {
    body.theme-modern {
        overflow-x: hidden;
        max-width: 100%;
    }

    body.theme-modern .container {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
        max-width: 100%;
    }

    body.theme-modern footer {
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100%;
    }

    body.theme-modern .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    body.theme-modern .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    /* Show layout on mobile = same as normal SCS (home.css); theme only changes colors above */

    body.theme-modern .trust-grid {
        grid-template-columns: 1fr;
    }

}
