@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&family=Lato:wght@300;400&display=swap');

:root {
    --bg-color: #F4F1EA;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --accent: #8b7355;
    --header-bg: #111;
    --header-text: #ddd;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Playfair Display', serif;
    --font-ui: 'Lato', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

body.curator-page {
    background-image: linear-gradient(rgba(244, 241, 234, 0.85), rgba(244, 241, 234, 0.85)), url('assets/Web/parchment-bg.webp');
    background-size: cover;
    background-attachment: fixed;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-primary);
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
header {
    background: rgba(30, 28, 22, 0.95);
    /* Dark greenish-brown */
    padding: 1rem 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-center {
    text-align: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #e6dbc3;
    /* Cream */
    letter-spacing: 1px;
    font-weight: 400;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-left ul {
    justify-content: flex-start;
}

.nav-right ul {
    justify-content: flex-end;
}

nav a {
    font-family: var(--font-ui);
    color: #cca876;
    /* Goldish */
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #e6dbc3;
}

/* Buttons */
.btn,
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    color: #cca876;
    border: 1px solid #cca876;
    background: transparent;
    transition: all 0.3s ease;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-align: center;
    border-radius: 50px;
    /* Rounded corners like original */
}

.btn:hover,
.btn-primary:hover {
    background: rgba(204, 168, 118, 0.15);
    /* Subtle dark gold fill */
    border-color: #e6dbc3;
    /* Brightens on hover */
    color: #e6dbc3;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.card {
    text-align: center;
    margin-bottom: 2rem;
}

.card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Exhibit Layout */
.exhibit-hero {
    width: 100%;
    min-height: 65vh;
    max-height: 75vh;
    object-fit: cover;
    object-position: center 30%;
    margin-top: 0;
    display: block;
}

.exhibit-header {
    text-align: center;
    padding: 2rem 5% 3rem 5%;
    border-bottom: 1px solid #d4cfc1;
}

.exhibit-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.exhibit-header p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-secondary);
}

.exhibit-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #d4cfc1;
}

.essay h2 {
    font-family: var(--font-ui);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    border-bottom: 1px solid #d4cfc1;
    padding-bottom: 0.5rem;
    color: #555;
}

.essay p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.curator-notes {
    background: rgba(0, 0, 0, 0.03);
    padding: 2.5rem;
    border: 1px solid #e0dcd0;
}

.curator-notes h2 {
    font-family: var(--font-ui);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: center;
}

.curator-notes ul {
    list-style: none;
}

.curator-notes li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 0.5rem;
    color: #444;
}

.curator-notes li:before {
    content: "►";
    font-size: 0.7rem;
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--accent);
}

/* Sections inside Exhibit */
.exhibit-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #d4cfc1;
}

.exhibit-section-title {
    font-family: var(--font-ui);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-align: center;
    color: #555;
    position: relative;
}

.exhibit-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: #555;
    margin: 1rem auto;
}

.film-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.film-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Selected Works Grid */
.selected-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 3rem 2rem;
    align-items: start;
}

.selected-works .artwork:first-child {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* Make the first artwork slightly larger or break the grid */
.selected-works .artwork:first-child {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.selected-works .artwork:first-child img {
    aspect-ratio: 16 / 9;
    object-position: center 25%;
}

/* Allow other artworks to fall into the 3-column flow naturally */
.selected-works .artwork {
    text-align: center;
}

.artwork img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.artwork h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.artwork p {
    font-size: 0.85rem;
    color: #666;
}

/* The Studio */
.studio-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.studio-section img {
    max-width: 600px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.studio-section p {
    font-style: italic;
    max-width: 600px;
}

/* Next Exhibit */
.next-exhibit {
    background-color: #222;
    color: #fff;
    padding: 4rem 5%;
    text-align: center;
}

.next-exhibit-label {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.next-exhibit h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
}

.next-exhibit a {
    color: #fff;
}

/* Close Button for Exhibit */
.close-exhibit {
    position: fixed;
    top: 25px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.close-exhibit:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Footer */
footer {
    background-image: url('assets/Web/Footer.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 4rem 5%;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

footer .footer-content {
    position: relative;
    z-index: 2;
}

footer h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

footer p {
    font-size: 0.9rem;
    color: #ccc;
}

/* Forms */
form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.7);
}

button[type="submit"] {
    background-color: var(--text-primary);
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 2px;
}

button[type="submit"]:hover {
    background-color: #333;
}

/* Hero Section Home */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: center center;
    object-fit: cover;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.40);
    /* 40% opacity dark overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    /* Reduced width to act as a plaque */
    padding: 2rem;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 300;
    /* Made slightly lighter/thinner */
    font-size: 3.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    /* Ensure exact cap matching */
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    color: #e6dbc3;
    /* Matches the title color in the menu bar */
    white-space: nowrap;
    /* Forces onto a single line */
}

.hero p {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    /* Increased line-height for museum label feel */
    color: #e6dbc3;
    /* Tie it into the Goldish cream */
}

.microcopy {
    display: block;
    font-family: var(--font-ui);
    text-transform: uppercase;
    font-size: 0.75rem;
    /* Made slightly larger per request */
    letter-spacing: 2px;
    margin-top: 1rem;
    color: #e6dbc3;
    /* Brighter per request */
    opacity: 0.9;
}

/* Featured Exhibit Home */
.featured-exhibit {
    text-align: center;
    padding: 3rem 5% 4rem 5%;
    /* Adjusted padding for better gallery wall flow */
    max-width: 1200px;
    margin: 0 auto;
}

.featured-exhibit img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.featured-exhibit h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.featured-exhibit p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

@media (max-width: 768px) {

    /* --- Header: stack logo above nav --- */
    header {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        justify-items: center;
        text-align: center;
        padding: 0.8rem 5%;
        gap: 0.4rem;
    }

    .logo-center {
        order: -1;
        /* Logo first */
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-left,
    .nav-right {
        width: 100%;
    }

    .nav-left ul,
    .nav-right ul {
        justify-content: center;
        gap: 1.2rem;
    }

    nav a {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    /* --- Hero --- */
    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        white-space: normal !important;
        font-size: 2.2rem !important;
        letter-spacing: 0.08em;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .btn,
    .btn-primary {
        padding: 0.9rem 1.8rem !important;
        font-size: 0.8rem;
    }

    /* --- Exhibit page --- */
    .exhibit-content {
        grid-template-columns: 1fr;
    }

    .exhibit-header h1 {
        font-size: 2rem;
    }

    /* --- Sections padding --- */
    section,
    .archive-section,
    .theater-section,
    .statement-section {
        padding: 60px 5% !important;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* --- Featured exhibitions grid --- */
    .featured-exhibitions div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* --- Archive grid --- */
    .archive-grid {
        grid-template-columns: 1fr !important;
    }

    /* --- Selected works --- */
    .selected-works {
        grid-template-columns: 1fr !important;
    }

    /* --- Grid 2 (theater) --- */
    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* --- Featured card images consistent --- */
    .featured-card .img-wrapper,
    .featured-card img {
        aspect-ratio: 4/3;
        object-fit: cover;
    }

    /* --- Next exhibit --- */
    .next-exhibit h2 {
        font-size: 1.8rem;
    }

    /* --- Footer --- */
    footer h2 {
        font-size: 1.4rem;
    }

    /* --- Statement text --- */
    .statement-text {
        font-size: 1.05rem !important;
    }

    /* --- Featured exhibitions heading --- */
    .featured-exhibitions h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {

    /* --- Header even more compact --- */
    header {
        padding: 0.6rem 4%;
    }

    .logo {
        font-size: 1.1rem;
    }

    nav a {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .nav-left ul,
    .nav-right ul {
        gap: 0.8rem;
    }

    /* --- Hero --- */
    .hero {
        min-height: 55vh;
    }

    .hero h1 {
        font-size: 1.8rem !important;
        letter-spacing: 0.05em;
    }

    .hero p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }

    .microcopy {
        font-size: 0.5rem !important;
    }

    /* --- Sections padding --- */
    section,
    .archive-section,
    .theater-section,
    .statement-section {
        padding: 40px 4% !important;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* --- Exhibit pages --- */
    .exhibit-header h1 {
        font-size: 1.6rem;
    }

    .exhibit-header p {
        font-size: 1rem;
    }

    .exhibit-hero {
        min-height: 40vh;
    }

    /* --- Curator page hero --- */
    .curator-hero .hero-content h1 {
        font-size: 2rem !important;
    }

    /* --- Featured exhibitions heading --- */
    .featured-exhibitions h2 {
        font-size: 1.6rem !important;
    }

    .featured-exhibitions p {
        font-size: 1rem !important;
    }
}

/* ---------- HOMEPAGE UPDATES ---------- */

/* Featured Exhibit */
.current-exhibit-label {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.featured-exhibit {
    text-align: center;
    padding: 2rem 5% 4rem 5%;
    /* Reduced top padding to sit closer to hero */
}

.featured-container {
    max-width: 1200px;
    /* Same max-width used everywhere */
    margin: 0 auto;
}

.featured-link,
.featured-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.featured-link:hover,
.featured-card:hover {
    opacity: 0.95;
}

.featured-link img,
.featured-card img {
    width: 100%;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.featured-link h2,
.featured-card h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.featured-link p,
.featured-exhibit p.current-exhibit-label {
    /* Keep tagline centered */
    color: var(--text-secondary);
}

.featured-link p:not(.current-exhibit-label) {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
}


/* Archive Section */
.archive-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    align-items: start;
}

.archive-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.archive-tile:hover {
    opacity: 0.9;
}

.archive-tile .img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Enforce consistent aspect ratio */
    overflow: hidden;
    margin-bottom: 1.5rem;
    /* Consistent spacing below image */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.archive-tile .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.archive-tile h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.archive-tile p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}


/* Theater Section */
.theater-section {
    padding: 4rem 5%;
    background: rgba(255, 255, 255, 0.4);
}

.max-width-container {
    max-width: 1200px;
    /* match archive grid width */
    margin: 0 auto 3rem auto;
}

/* Statement Section */
.statement-section {
    padding: 6rem 5%;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.statement-text {
    font-size: 1.3rem;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
    color: var(--text-secondary);
}


/* Footer Updates */
.main-footer {
    border-top: 1px solid #d4cfc1;
    /* Thin divider */
    padding: 5rem 5%;
    /* Increased padding */
}


/* ---------- USER FINAL TOUCHES ---------- */

/* GLOBAL STANDARD ADJUSTMENTS */
section,
.archive-section,
.theater-section,
.statement-section {
    padding: 120px 5% !important;
    /* Top margin consistent at 120px */
}

.btn,
.btn-primary {
    padding: 1.2rem 2.8rem !important;
    /* Increased padding */
    border-radius: 50px !important;
    /* Pill shape standard */
}

.section-title {
    letter-spacing: 2px !important;
    font-weight: 400 !important;
}


/* 1. HERO SECTION */
.hero::after {
    background: rgba(0, 0, 0, 0.25) !important;
    /* Reduced opacity */
}

.hero h1 {
    margin-bottom: 1.8rem !important;
    /* Increased space between title and subtitle */
}

.hero p {
    margin-bottom: 3.5rem !important;
    /* Increased space between subtitle and button */
}

.microcopy {
    font-size: 0.6rem !important;
    /* Smaller text */
    letter-spacing: 3.5px !important;
    /* Increased letter spacing */
    opacity: 0.5 !important;
    /* Reduced opacity */
}


/* 2. CURRENT EXHIBIT SECTION */
.current-exhibit-label {
    margin-bottom: 0.5rem !important;
    /* Reduced space between label and image */
}

.featured-link img,
.featured-card img {
    transition: transform 0.4s ease, filter 0.4s ease !important;
    /* Hover effect transitions */
}

.featured-link:hover img,
.featured-card:hover img {
    transform: scale(1.03) !important;
    /* Slight zoom */
    filter: brightness(0.85) !important;
    /* Subtle dark overlay */
}

.featured-link h2 {
    font-size: 2.8rem !important;
    /* Slightly larger title */
    letter-spacing: -0.01em !important;
    /* Reduced tracking */
}

.featured-link p:not(.current-exhibit-label) {
    font-size: 1.05rem !important;
    /* Slightly smaller subtitle */
    color: #999 !important;
    /* Slightly lighter color */
}


/* 3. ARCHIVE SECTION */
.archive-grid {
    row-gap: 5rem !important;
    /* Increased spacing between rows */
}

.archive-tile:hover {
    opacity: 1 !important;
    /* Removed global lighten hover */
}

.archive-tile .img-wrapper {
    margin-bottom: 1.2rem !important;
    /* Reduced space between image and title */
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.archive-tile:hover .img-wrapper {
    transform: scale(1.03) !important;
    /* Slight zoom */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    /* Soft shadow increase */
}

.archive-tile h3 {
    font-size: 1.4rem !important;
    /* Slightly larger headings */
    letter-spacing: -0.01em !important;
    /* Reduced tracking */
}

.archive-tile p {
    font-size: 0.85rem !important;
    /* Smaller subtitles */
    color: #999 !important;
    /* Slightly lighter color */
}

.archive-section>div:last-child {
    margin-top: 4rem !important;
    /* Increased top margin for VIEW ALL button */
}


/* 4. THEATER SECTION */
.theater-section .section-title {
    margin-bottom: 0.5rem !important;
    /* Reduced space between title and subtitle */
}

.theater-section .film-container {
    transition: transform 0.4s ease !important;
    cursor: pointer !important;
    /* Pointer cursor on video */
}

.theater-section .film-container:hover {
    transform: scale(1.02) !important;
    /* Slight scale on hover */
}


/* 5. QUOTE / STATEMENT SECTION */
.statement-text {
    line-height: 2 !important;
    /* Increased line height */
    max-width: 800px !important;
    /* Wider text block */
    margin-bottom: 2rem !important;
    /* Reduced spacing before button */
}


/* 6. FOOTER SECTION */
.main-footer {
    padding: 3rem 5% !important;
    /* Reduced vertical padding */
}

.main-footer h2 {
    font-size: 1.7rem !important;
    /* Reduced logo size */
}

.main-footer p {
    color: #f4f1ea !important;
    /* Increased copyright contrast */
}

/* ---------- LIGHTBOX (SELECTED WORKS) ---------- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.selected-works .artwork img {
    transition: filter 0.3s ease;
}

.selected-works .artwork img:hover {
    filter: brightness(1.1);
}

/* ---------- CURATOR CONTACT ---------- */
.curator-contact {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e0dcd0;
}

.curator-contact p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.curator-contact .contact-email {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #cca876;
    margin-bottom: 0;
}