/* ========================================
   BRAND COLORS - Natalie Forrester / Colours of Ulysses
   ======================================== */
:root {
    /* Base Colors */
    --base-white: #FFFFFF;
    --base-gray: #F5F5F5;
    --base-dark: #222222;
    
    /* Primary Identity Colors */
    --purple: #2B6985;
    --blue: #1E88E5;
    --green: #43A047;
    
    /* Supporting Colors */
    --pink-light: #F8BBD0;
    --yellow-light: #FFF176;
    --orange: #FB8C00;
    --red: #C62828;
    
    /* UI Assignments */
    --primary: var(--purple);
    --primary-dark: #4a1470;
    --secondary: var(--blue);
    --accent: var(--green);
    --text-dark: var(--base-dark);
    --text-light: #555555;
    --background: var(--base-white);
    --background-off: var(--base-gray);
    --border: #e0e0e0;
    
    /* Typography */
    --font-serif: Georgia, 'Times New Roman', Times, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--purple);
    color: white;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.25rem 5%;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-name {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    background: var(--base-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--purple);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ========================================
   HERO SECTION WITH PARALLAX
   ======================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-fallback,
.hero-fallback-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero.video-fallback .hero-video {
    display: none;
}

.hero.video-fallback .hero-fallback-js {
    display: block !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  /*  background: linear-gradient(135deg, rgba(106,27,154,0.5) 0%, rgba(30,136,229,0.4) 100%); */
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    color: white;
}

.hero-intro {
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.project-name {
    /*font-style: italic;*/
    font-weight: 500;
    
}

.hero-milestone {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1.5px solid white;
    cursor: pointer;
}

.btn-primary:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: black;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1.5px solid white;
}

.btn-secondary:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: black;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--purple);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1.5px solid var(--purple);
}

.btn-outline:hover {
    background: var(--purple);
    color: white;
}

.scroll-hint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    color: white;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* ========================================
   INTRO SECTION
   ======================================== */
.intro-section {
    background: var(--background);
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-section .lead {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

/* ========================================
   FEATURED SECTION
   ======================================== */
.featured-section {
    background: var(--background-off);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.text-center {
    text-align: center;
}

/* ========================================
   MAILING SECTION
   ======================================== */
.mailing-section {
    background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    color: white;
    text-align: center;
}

.mailing-content {
    max-width: 600px;
    margin: 0 auto;
}

.mailing-content h2 {
    color: white;
}

.mailing-content h2::after {
    background: white;
}

.mailing-form .form-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mailing-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.mailing-form .btn-primary {
    background: var(--base-dark);
    color: white;
}

.mailing-form .btn-primary:hover {
    background: var(--base-white);
    color: var(--purple);
}

.form-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* ========================================
   PAGE HERO
   ======================================== */
.page-hero {
    padding: 12rem 0 4rem;
    background: var(--background-off);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 1rem auto 0;
}

/* ========================================
   ABOUT COU PAGE
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about-text h2 {
    margin-top: 2rem;
}

.about-text h2:first-of-type {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.stat-box {
    background: var(--background-off);
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--purple);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.artist-bio {
    background: var(--background-off);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.bio-image img {
    width: 100%;
    border-radius: 12px;
}

/* ========================================
   GALLERY PAGE
   ======================================== */




.filter-btn:hover,
.filter-btn.active {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
}





.artwork-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}


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












/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 34, 34, 0.98);
    z-index: 2000;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-modal img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-info {
    margin-top: 1.5rem;
    text-align: center;
    color: white;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--purple);
}

/* ========================================
   EXHIBITIONS PAGE
   ======================================== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.exhibition-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.exhibition-item.featured {
    background: var(--background-off);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.exhibition-year {
    font-weight: 500;
    color: var(--purple);
    font-size: 1.1rem;
}

.exhibition-content h3 {
    margin-bottom: 0.25rem;
}

.exhibition-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.exhibition-description {
    color: var(--text-light);
}

.exhibition-image-placeholder img {
    width: 100%;
    border-radius: 8px;
    margin-top: 1rem;
}

/* ========================================
   PRESS PAGE
   ======================================== */
.press-grid {
    max-width: 800px;
    margin: 0 auto;
}

.press-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.press-item.featured {
    background: var(--background-off);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
}

.press-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.press-publication {
    font-size: 0.85rem;
    color: var(--purple);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.press-excerpt {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.read-more {
    color: var(--purple);
    text-decoration: none;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

.press-kit {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-off);
    border-radius: 12px;
    text-align: center;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--purple);
}

/* ========================================
   ENQUIRY PAGE
   ======================================== */
.enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.enquiry-info ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.enquiry-info .note {
    font-size: 0.9rem;
    background: var(--background-off);
    padding: 1rem;
    border-radius: 8px;
}

/* ========================================
   FORMS
   ======================================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox label {
    display: inline;
    margin-left: 0.5rem;
    font-weight: normal;
}

.form-group.checkbox input {
    width: auto;
}

.field-hint {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* ========================================
   FOOTER
   ======================================== */
/* Footer Styles - Redesigned */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 5%;
    margin-top: 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Left Column */
.footer-info h3 {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.footer-info p {
    opacity: 0.7;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-style: italic;
    margin-bottom: 1.5rem !important;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 110%, #fdf497, #fdf497, #fd5949, #d6249f, #285AEB);
    transform: translateY(-3px);
}

.social-icon.facebook:hover {
    background: #1877F2;
    transform: translateY(-3px);
}

.social-icon.youtube:hover {
    background: #FF0000;
    transform: translateY(-3px);
}

.social-icon.tiktok:hover {
    background: #000000;
    transform: translateY(-3px);
}

.social-icon.tiktok:hover svg {
    fill: #00f2ea;
}

.social-icon.linkedin:hover {
    background: #0077B5;
    transform: translateY(-3px);
}

.footer-legal {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-top: 1rem;
}

/* Right Column - Signup Form */
.footer-signup h4 {
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-signup p {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.signup-input {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.1);
    color: white;
}

.signup-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.signup-input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
}

.signup-btn {
    background: #2B6985;
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    background: #1E88E5;
    transform: translateY(-2px);
}

.signup-note {
    font-size: 0.7rem;
    opacity: 0.4;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-signup h4 {
        text-align: center;
    }
}





/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .about-grid,
    .bio-grid,
    .contact-grid,
    .enquiry-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 2rem;
}

.footer-social {
    justify-content: center;
}

.footer-signup h4 {
    text-align: center;
}
   
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    #mainNav.active .nav-links,
    .nav-links.active {
        display: flex !important;
    }
    
    .exhibition-item,
    .press-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .exhibition-year,
    .press-date {
        margin-bottom: 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .featured-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .scroll-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .page-hero {
        padding: 8rem 0 2rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Footer Styles - Redesigned */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 5%;
    margin-top: 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Left Column */
.footer-info h3 {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.footer-info p {
    opacity: 0.7;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-style: italic;
    margin-bottom: 1.5rem !important;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Social Icon Hover Colors */
.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 110%, #fdf497, #fdf497, #fd5949, #d6249f, #285AEB);
    color: white;
    transform: translateY(-3px);
}

.social-icon.facebook:hover {
    background: #1877F2;
    color: white;
    transform: translateY(-3px);
}

.social-icon.youtube:hover {
    background: #FF0000;
    color: white;
    transform: translateY(-3px);
}

.social-icon.tiktok:hover {
    background: #000000;
    color: #00f2ea;
    transform: translateY(-3px);
}

.social-icon.tiktok:hover svg {
    fill: #00f2ea;
}

.social-icon.linkedin:hover {
    background: #0077B5;
    color: white;
    transform: translateY(-3px);
}

.footer-legal {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-top: 1rem;
}

/* Right Column - Signup Form */
.footer-signup h4 {
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-signup p {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.signup-input {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
}

.signup-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.signup-input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    border: none;
}

.signup-btn {
    background: #2B6985;
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    background: #1E88E5;
    transform: translateY(-2px);
}

.signup-note {
    font-size: 0.7rem;
    opacity: 0.4;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-signup h4 {
        text-align: center;
    }
}

/* ========================================
   MOBILE NAVIGATION HARD FIX
   Keeps burger above hero/popup layers and opens the UL when #mainNav.active is toggled.
   ======================================== */
@media (max-width: 768px) {
    header {
        z-index: 10000 !important;
        overflow: visible !important;
    }

    .header-container {
        position: relative;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .site-title-link,
    .site-title {
        min-width: 0;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 10003 !important;
        width: 44px;
        height: 44px;
        padding: 0;
        pointer-events: auto !important;
        touch-action: manipulation;
    }

    #mainNav {
        position: static;
        z-index: 10002 !important;
    }

    #mainNav .nav-links {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 1rem) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 10002 !important;
        background: #ffffff !important;
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1.25rem !important;
        text-align: center !important;
        border: 1px solid var(--border) !important;
        box-shadow: 0 12px 24px rgba(0,0,0,0.14) !important;
    }

    #mainNav.active .nav-links,
    #mainNav .nav-links.active {
        display: flex !important;
    }

    .hero-overlay,
    .hero-video,
    .hero-fallback,
    .hero-fallback-js,
    .about-hero-overlay,
    .about-hero-image,
    .contact-hero-overlay,
    .contact-hero-image,
    .enquiry-hero-overlay,
    .enquiry-hero-image,
    .exhibitions-hero-overlay,
    .exhibitions-hero-image,
    .press-hero-overlay,
    .press-hero-image {
        pointer-events: none !important;
    }
}

/* ========================================
   MOBILE HEADER / HERO SAFE AREA FIX
   Prevents the fixed mobile header from covering hero images/text.
   Also improves text readability on bright hero images.
   ======================================== */
@media (max-width: 768px) {
    :root {
        --mobile-header-safe-area: 82px;
    }

    body {
        padding-top: var(--mobile-header-safe-area) !important;
    }

    header {
        padding: 0.7rem 5% !important;
        min-height: var(--mobile-header-safe-area) !important;
    }

    .site-name {
        font-size: 1rem !important;
        line-height: 1.15 !important;
        letter-spacing: 0.07em !important;
    }

    .site-subtitle {
        font-size: 0.68rem !important;
        line-height: 1.25 !important;
    }

    .hero,
    .about-hero,
    .contact-hero,
    .enquiry-hero,
    .exhibitions-hero,
    .press-hero {
        margin-top: 0 !important;
        min-height: 360px !important;
    }

    .hero {
        min-height: calc(100svh - var(--mobile-header-safe-area)) !important;
    }

    .about-hero,
    .contact-hero,
    .enquiry-hero,
    .exhibitions-hero,
    .press-hero {
        height: 42svh !important;
        min-height: 320px !important;
    }

    .hero-content,
    .about-hero-content,
    .contact-hero-content,
    .enquiry-hero-content,
    .exhibitions-hero-content,
    .press-hero-content {
        z-index: 3 !important;
        padding: 1.5rem 1rem !important;
        max-width: 92vw !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.55) !important;
    }

    .hero-content h1,
    .about-hero-content h1,
    .contact-hero-content h1,
    .enquiry-hero-content h1,
    .exhibitions-hero-content h1,
    .press-hero-content h1 {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        color: #ffffff !important;
    }

    .hero-tagline,
    .hero-milestone,
    .hero-intro,
    .about-hero-content p,
    .contact-hero-content p,
    .enquiry-hero-content p,
    .exhibitions-hero-content p,
    .press-hero-content p {
        color: #ffffff !important;
        opacity: 1 !important;
    }

    .hero-overlay,
    .about-hero-overlay,
    .contact-hero-overlay,
    .enquiry-hero-overlay,
    .exhibitions-hero-overlay,
    .press-hero-overlay {
        /*background: linear-gradient(135deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.34) 100%) !important;*/
        z-index: 1 !important;
    }

    #mainNav .nav-links {
        top: calc(100% + 0.55rem) !important;
    }
}

@media (max-width: 420px) {
    :root {
        --mobile-header-safe-area: 76px;
    }

    .site-name {
        font-size: 0.9rem !important;
        letter-spacing: 0.055em !important;
    }

    .site-subtitle {
        font-size: 0.62rem !important;
    }

    .about-hero,
    .contact-hero,
    .enquiry-hero,
    .exhibitions-hero,
    .press-hero {
        height: 38svh !important;
        min-height: 280px !important;
    }
}
