@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Montserrat:wght@300;400&display=swap');

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

:root {
    --bg:       #ffffff;
    --text:     #1a1a1a;
    --muted:    #666666;
    --light:    #888888;
    --border:   rgba(0, 0, 0, 0.1);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Montserrat', Arial, sans-serif;
    --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── HEADER ──────────────────────────────────────────────── */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.logo a {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 44px;
}

nav a {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.25s ease;
}

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

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* ─── HOME SLIDESHOW ──────────────────────────────────────── */

.slideshow-wrapper {
    margin-top: var(--header-h);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px;
}

.slideshow-container {
    position: relative;
    width: 66.666%;
    height: calc(100vh - var(--header-h) - 96px);
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}


/* Arrows */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.75);
    border: none;
    color: #1a1a1a;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
    z-index: 10;
    outline: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
}

.slide-prev { left: 16px; }
.slide-next { right: 16px; }

/* Dots */
.slide-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    border: none;
    outline: none;
}

.dot.active {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.25);
}

/* ─── HOME FOOTER ─────────────────────────────────────────── */

.home-footer {
    padding: 22px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
}

.copyright {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

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

.social-links a {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.25s ease;
}

.social-links a:hover { color: var(--text); }

/* ─── INNER PAGES ─────────────────────────────────────────── */

.inner-page {
    padding-top: var(--header-h);
    min-height: 100vh;
    background: var(--bg);
}

/* ─── ABOUT ───────────────────────────────────────────────── */

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--header-h));
    padding: 48px 0;
}

.about-image {
    position: sticky;
    top: calc(var(--header-h) + 48px);
    height: calc(100vh - var(--header-h) - 96px);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    padding: 72px 72px 72px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h1 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--light);
    margin-bottom: 44px;
}

.about-content p {
    font-size: 13px;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
}

.about-content p:last-child { margin-bottom: 0; }

.about-content em {
    font-style: normal;
    color: var(--text);
    letter-spacing: 0.04em;
}

/* ─── EXHIBITIONS ─────────────────────────────────────────── */

.exhibitions-layout {
    padding: 72px 120px 100px;
    max-width: 960px;
}

.page-heading {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--light);
    margin-bottom: 64px;
}

.exhibition-list { list-style: none; }

.exhibition-item {
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 40px;
    align-items: baseline;
}

.exhibition-item:first-child { border-top: 1px solid var(--border); }

.exhibition-years {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light);
    padding-top: 3px;
}

.exhibition-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    color: var(--text);
}

.exhibition-desc {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
}

/* ─── PAGE FOOTER (inner pages) ──────────────────────────── */

.inner-footer {
    padding: 28px 120px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.inner-footer .copyright {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--light);
}

.inner-footer .social-links {
    display: flex;
    gap: 28px;
}

.inner-footer .social-links a {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--light);
    transition: color 0.25s ease;
}

.inner-footer .social-links a:hover { color: var(--text); }

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 900px) {
    header { padding: 0 24px; }

    nav {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 190;
    }

    nav.open { display: flex; }

    nav ul {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    nav a { font-size: 12px; letter-spacing: 0.3em; }

    .menu-toggle { display: flex; z-index: 210; }

    .about-layout { grid-template-columns: 1fr; }

    .about-image {
        position: relative;
        height: 60vw;
        min-height: 260px;
        top: 0;
    }

    .about-content { padding: 48px 28px 60px; }

    .exhibitions-layout { padding: 48px 28px 80px; }

    .exhibition-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .inner-footer {
        padding: 28px 28px;
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .home-footer { padding: 18px 24px; }

    .slideshow-wrapper {
        padding: 0;
    }

    .slideshow-container {
        width: 100%;
        height: calc(100vh - var(--header-h));
    }

    .slide-btn { font-size: 32px; padding: 12px 16px; }
}

@media (max-width: 480px) {
    .logo a { font-size: 13px; letter-spacing: 0.22em; }
    .slide-dots { bottom: 24px; }
}
