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

html {
    background-color: #e2e1d5;
}

body {
    background-color: #e2e1d5;
    font-family: Georgia, 'Times New Roman', serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-left: 100px;
    margin-right: 100px;
}

/* ── Header ──────────────────────────────── */

.site-header {
    position: relative;
    width: 100%;
    overflow: visible;
    z-index: 10;
}

.header-band {
    display: block;
    width: 100%;
    height: auto;
}

.header-balloon {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    z-index: 11;
}

.header-home-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 28%;
    height: 100%;
    z-index: 12;
}

/* ── Nav ─────────────────────────────────── */

.site-nav {
    background-color: #e2e1d5;
    padding: 14px 0;
    border-bottom: 1px solid rgba(100, 130, 140, 0.4);
    position: relative;
    z-index: 5;
}

.site-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.site-nav a {
    text-decoration: none;
    color: #6b8a99;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-nav a:hover {
    color: #3d6070;
}

/* ── Nav active state ────────────────────── */

.site-nav li.active a {
    color: #3d6070;
    font-weight: bold;
}

/* ── Main content ────────────────────────── */

.site-content {
    flex: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}


/* ── Text pages ──────────────────────────── */

.text-content h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6b8a99;
    margin-bottom: 30px;
}

.text-content p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    max-width: 700px;
    margin-bottom: 20px;
}

/* ── Two-column page layout ──────────────── */

.about-layout {
    display: flex;
    gap: 0;
    align-items: flex-start;
    min-height: 400px;
}

.about-left {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.about-right {
    flex: 1;
    border-left: 1px solid rgba(100, 130, 140, 0.4);
    padding-left: 50px;
}

.section-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: normal;
    font-style: italic;
    color: #6b8a99;
    margin-top: 100px;
    margin-bottom: 40px;
}

.artist-name {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: normal;
    color: #6b8a99;
    margin-bottom: 20px;
}

.about-left p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-style: italic;
    line-height: 1.9;
    color: #6b8a99;
    margin-bottom: 20px;
}

.about-portrait {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.about-right p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.about-right a {
    color: #6b8a99;
    font-size: 17px;
    text-decoration: none;
}

.about-right a:hover {
    text-decoration: underline;
}

.home-hero {
    display: block;
    width: 100%;
    height: auto;
}

.about-clown,
.about-gravure {
    width: 220px;
    height: auto;
    margin-top: auto;
    padding-top: 40px;
}

/* ── Gallery ─────────────────────────────── */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transform: scale(1.1);
    transition: opacity 0.2s ease;
}

.gallery-item:hover img {
    opacity: 0.85;
}

.gallery-grid--zoom .gallery-item img {
    transform: scale(1.25);
}

/* ── Lightbox ────────────────────────────── */

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

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

.lightbox-img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.6;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    background: none;
    border: none;
    color: #fff;
    font-size: 70px;
    cursor: pointer;
    padding: 0 24px;
    opacity: 0.5;
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

/* ── Footer ──────────────────────────────── */

.site-footer {
    position: relative;
    padding-top: 20px;
}

.footer-dessin {
    display: block;
    margin-left: auto;
    margin-right: 60px;
    height: 150px;
    width: auto;
    margin-bottom: -8px;
    position: relative;
    z-index: 2;
}

.footer-line {
    height: 1px;
    background-color: rgba(100, 130, 140, 0.6);
    position: relative;
    z-index: 1;
}

/* Contact form */
.contact-form {
    margin-top: 30px;
    max-width: 500px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #6b8a99;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #555;
    border: 1px solid rgba(100, 130, 140, 0.4);
    border-radius: 4px;
    padding: 8px 10px;
    background-color: #f5f4ee;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6b8a99;
}

.form-submit {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background-color: #6b8a99;
    border: none;
    border-radius: 4px;
    padding: 10px 28px;
    cursor: pointer;
}

.form-submit:hover {
    background-color: #3d6070;
}

.footer-name {
    text-align: right;
    padding: 8px 60px 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    letter-spacing: 3px;
}

.footer-name::before {
    content: "© ";
}

/* ── Tablet ───────────────────────────────── */

@media (max-width: 900px) {
    body {
        margin-left: 30px;
        margin-right: 30px;
    }

    .site-nav ul {
        gap: 20px;
        flex-wrap: wrap;
    }

    .about-left {
        width: 200px;
    }

    .about-right {
        padding-left: 30px;
    }

    .section-title {
        font-size: 32px;
        margin-top: 50px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* ── Mobile ───────────────────────────────── */

@media (max-width: 600px) {
    body {
        margin-left: 12px;
        margin-right: 12px;
    }

    .site-nav ul {
        gap: 12px 18px;
        padding: 0 10px;
    }

    .site-nav a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .about-layout {
        flex-direction: column;
        min-height: auto;
    }

    .about-left {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }

    .about-clown,
    .about-gravure {
        width: 120px;
        margin-top: 0;
        padding-top: 0;
    }

    .about-right {
        border-left: none;
        border-top: 1px solid rgba(100, 130, 140, 0.4);
        padding-left: 0;
        padding-top: 24px;
        margin-top: 10px;
    }

    .section-title {
        font-size: 26px;
        margin-top: 24px;
        margin-bottom: 20px;
    }

    .artist-name {
        font-size: 22px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .gallery-item img {
        height: 140px;
    }

    .footer-dessin {
        height: 90px;
        margin-right: 20px;
    }

    .footer-name {
        padding: 8px 20px 16px;
    }

    .contact-form {
        max-width: 100%;
    }
}
