/* =========================================================
   GLOBAL SETTINGS & VARIABLES
   ========================================================= */

:root {
    --bg: #ffffff;
    --text: #1f1f1f;
    --muted: #777777;
    --accent: #dd6a22;
    --accent-soft: rgba(221, 106, 34, 0.08);
    --border: #e6e6e6;
    --radius: 14px;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    --font-heading: "Playfair Display", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    text-align: justify;
    background: var(--bg);
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}


/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 6vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.logo {
    height: 60px;
}

.main-nav {
    display: flex;
    gap: 1rem;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 999px;
    transition: 0.25s;
    font-size: 0.9rem;
}

.main-nav a:hover {
    background: var(--accent-soft);
}

.main-nav a.active {
    background: var(--accent);
    color: white;
}

/* -------- HERO REFINEMENT -------- */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-name {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-family: var(--font-heading);
    margin: 0.5rem 0 0.3rem;
}

.hero-tag {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 550px;
    margin: 0.5rem 0 1rem;
    line-height: 1.45;
}

.hero-body {
    max-width: 550px;
    color: var(--muted);
    margin-bottom: 2rem;
}

/* -------- HERO IMAGE -------- */

.hero-image-container {
    display: flex;
    justify-content: center;
}

.hero-image-frame {
    width: 420px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-soft);
    box-shadow: var(--shadow);
    transition: transform .5s ease;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-frame:hover {
    transform: scale(1.05);
}

/* -------- STAT BAR -------- */

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.stat-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.06em;
}

/* -------- MOBILE -------- */
@media(max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-image-frame {
        width: 260px;
        margin: 2rem auto;
    }
}

/* -------- FADE ANIMATION -------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* =========================================================
   SECTIONS, GRID, TYPOGRAPHY
   ========================================================= */

.section {
    padding: 4rem 6vw;
    max-width: 1200px;
    margin: auto;
}

.section-heading h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.9rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.pull-quote {
    margin: 1.4rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
    font-style: italic;
    font-size: 1rem;
    color: var(--text);
    opacity: 0.9;
}

.styled-list {
    margin-top: 1rem;
    padding-left: 1.3rem;
    line-height: 1.7;
}

.about-panel hr {
    margin: 1.5rem 0;
    opacity: 0.4;
}



/* =========================================================
   HERO SECTION
   ========================================================= */
.centered-name {
    text-align: left;
    letter-spacing: 0.02em;
    line-height: 1.15;
    width: 100%;
    display: block;
}



.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-top: 5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--muted);
}

.hero-body {
    max-width: 480px;
    margin-bottom: 2rem;
    color: var(--text);
}

/* HERO IMAGE PLACEHOLDER */
.hero-image-placeholder {
    width: 100%;
    max-width: 430px;
    aspect-ratio: 3/4;
    border-radius: 22px;
    background: #f7f3ef;
    box-shadow: var(--shadow);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.25s;
    text-decoration: none;
}

.btn.primary {
    background: var(--accent);
    color: white;
}

.btn:hover {
    opacity: 0.85;
}


/* =========================================================
   ABOUT SECTION
   ========================================================= */

.two-column {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

.about-panel {
    background: #faf8f7;
    border: 1px solid var(--border);
    padding: 1.8rem;
    border-radius: 20px;
}

.about-panel ul {
    padding-left: 1.2rem;
    margin-top: 0.5rem;
}


/* =========================================================
   EXHIBITION CARDS
   ========================================================= */

.cards-grid {
    margin-top: 2rem;
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: white;
    box-shadow: var(--shadow);
}

.card-image {
    height: 190px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 1.3rem;
}

.card-title {
    font-size: 1.1rem;
    margin: 0.4rem 0;
}

.card-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
}


/* =========================================================
   TESTIMONIAL SECTION
   ========================================================= */

.testimonial-learn {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}


/* =========================================================
   ARTWORK GRID (WITH CROPPED THUMBNAILS)
   ========================================================= */

.art-grid {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

}


/* ⬇⬇ UNIFORM CROPPED THUMBNAIL FIX (Option 3) ⬇⬇ */
.art-image-wrap {
    width: 100%;
    height: 380px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    background: #f8f8f8;
    justify-content: center;
    align-items: center;
}

.art-image-wrap img {
    height: 100%;
    width: auto;
    object-fit: cover;
    image-rendering: auto;
    transition: transform 0.4s ease;
}

.art-card:hover img {
    transform: scale(1.05);
}

/* Responsive Thumbnail Scaling */
@media(max-width: 1024px) {
    .art-image-wrap {
        height: 300px;
    }
}

@media(max-width: 600px) {
    .art-image-wrap {
        height: 230px;
    }
}

/* Artwork Meta */
.art-meta {
    padding-top: 0.9rem;
}

.art-category {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
}

.art-title {
    margin: 0.2rem 0;
    font-size: 1rem;
}

.art-price {
    font-size: 0.9rem;
    color: var(--accent);
}


/* =========================================================
   NEWSLETTER
   ========================================================= */

.newsletter {
    background: #faf8f7;
    padding: 3rem 6vw;
    border-top: 1px solid var(--border);
}

.newsletter-form {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
}

.contact-form .field {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    text-align: center;
    padding: 1.8rem;
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}


/* =========================================================
   LIGHTBOX (FULL IMAGE VIEW)
   ========================================================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

.lightbox-img {
    max-width: 87%;
    max-height: 84vh;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--accent);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 14px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}


/* =========================================================
   RESPONSIVE FIXES
   ========================================================= */

@media(max-width: 950px) {

    .hero,
    .two-column,
    .testimonial-learn,
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESPONSIVE FIX — GLOBAL TYPOGRAPHY & SPACING
   ========================================================= */

@media (max-width: 1200px) {

    .section,
    .hero {
        padding-left: 4vw;
        padding-right: 4vw;
    }
}

/* ================= Tablet (Landscape + Portrait) ================= */
@media (max-width: 990px) {

    /* Make hero stack neatly */
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
        padding-top: 4rem;
        gap: 2rem;
    }

    .hero-text {
        margin: auto;
        max-width: 500px;
    }

    .hero-image-frame {
        width: 280px;
        margin: 0 auto 2rem auto;
    }

    /* Ensure name stays readable */
    .hero-name,
    .split-name {
        font-size: clamp(2rem, 7vw, 3.6rem);
        text-align: left;
    }

    /* Stats spacing */
    .hero-stats {
        gap: 1.5rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .testimonial-learn {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* ================= Large Phones ================= */
@media (max-width: 720px) {

    .site-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.4rem;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero-name {
        font-size: clamp(1.9rem, 8vw, 3.2rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-body {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Artwork grid clean spacing */
    .art-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    /* Improve card spacing */
    .art-meta {
        text-align: center;
    }

    .art-title {
        font-size: 1.1rem;
    }
}

/* ================= Small Phones ================= */
@media (max-width: 480px) {

    .hero {
        gap: 1.5rem;
    }

    .hero-name {
        font-size: clamp(1.6rem, 10vw, 2.8rem);
    }

    .hero-image-frame {
        width: 200px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .pull-quote {
        font-size: 0.9rem;
    }

    footer {
        text-align: center;
    }
}

/* ===========================
   MOBILE NAVIGATION
=========================== */

.menu-btn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
}

/* Hide nav on mobile initially */
@media (max-width: 900px) {

    .main-nav {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: white;
        padding: 1.2rem 1.5rem;
        display: none;
        flex-direction: column;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
        z-index: 10000;
    }

    .main-nav.show {
        display: flex;
    }

    .menu-btn {
        display: block;
    }
}