
/* =========================
   GLOBAL STYLES
========================= */

:root {
    --pink: #D9A6B0;
    --dark-pink: #B97888;
    --light-pink: #F4E5E7;
    --ivory: #FAF7F3;
    --white: #FFFFFF;
    --charcoal: #292426;
    --gray: #777174;
    --line: #E9DFDC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--ivory);
    color: var(--charcoal);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.container {
    width: 88%;
    max-width: 1200px;
    margin: auto;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--dark-pink);
    margin-bottom: 20px;
}


/* =========================
   NAVBAR
========================= */

.header {
    background: var(--ivory);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 29px;
    font-weight: 700;
}

.logo span {
    color: var(--dark-pink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--dark-pink);
}

.nav-links .nav-contact {
    background: var(--charcoal);
    color: var(--white);
    padding: 13px 25px;
    border-radius: 3px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 27px;
    cursor: pointer;
    color: var(--charcoal);
}


/* =========================
   HERO SECTION
========================= */

.hero {
    min-height: 620px;
    padding: 85px 6%;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 65px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.13;
    font-weight: 500;
    margin-bottom: 25px;
}

.hero h1 span,
.intro h2 span,
.section-heading h2 span,
.about-content h2 span,
.contact-content h2 span {
    color: var(--dark-pink);
}

.hero-description {
    font-size: 14px;
    line-height: 1.9;
    color: var(--gray);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 25px;
    font-size: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--dark-pink);
    color: white;
}

.btn-primary:hover {
    background: var(--charcoal);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--charcoal);
}

.btn-outline:hover {
    background: var(--charcoal);
    color: white;
}

.hero-image {
    position: relative;
    max-width: 470px;
    width: 100%;
    height: 490px;
    justify-self: center;
}

.hero-image img {
    height: 100%;
    object-position: center;
    border-radius: 220px 220px 5px 5px;
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--ivory);
    padding: 15px 20px;
}

.image-caption span {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--dark-pink);
}

.image-caption p {
    font-family: 'Playfair Display', serif;
    margin-top: 5px;
    font-size: 15px;
}

.hero-decoration {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 400px;
    color: rgba(217, 166, 176, 0.08);
    right: -20px;
    bottom: -100px;
    pointer-events: none;
}


/* =========================
   INTRODUCTION
========================= */

.intro {
    text-align: center;
    padding-top: 110px;
    padding-bottom: 110px;
    max-width: 850px;
}

.intro h2 {
    font-size: clamp(32px, 4vw, 49px);
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 22px;
}

.intro > p:last-child {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.9;
    max-width: 650px;
    margin: auto;
}


/* =========================
   GALLERY
========================= */

.gallery-section {
    background: var(--white);
    padding: 100px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 40px;
    gap: 20px;
}

.section-heading h2 {
    font-size: 46px;
    font-weight: 500;
}

.section-subtitle {
    color: var(--gray);
    font-size: 13px;
}

.gallery-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--line);
    padding: 11px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--dark-pink);
    color: white;
    border-color: var(--dark-pink);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 25px;
}

.art-card {
    transition: 0.3s;
    animation: fadeIn 0.4s ease;
}

.art-card img {
    height: 340px;
    background: var(--light-pink);
    transition: 0.4s;
}

.art-card:hover img {
    transform: translateY(-5px);
}

.art-info {
    padding-top: 16px;
}

.art-info h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}

.art-info p {
    color: var(--dark-pink);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.art-card.hide {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   ABOUT SECTION
========================= */

.about-section {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 90px;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 120px;
}

.about-image {
    height: 470px;
    background: var(--light-pink);
    padding: 15px;
}

.about-image img {
    height: 100%;
}

.about-content h2 {
    font-size: 46px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-content > p:not(.eyebrow) {
    font-size: 13px;
    color: var(--gray);
    line-height: 2;
    margin-bottom: 17px;
}

.text-link {
    display: inline-block;
    color: var(--dark-pink);
    font-weight: 600;
    font-size: 13px;
    margin-top: 12px;
    border-bottom: 1px solid var(--dark-pink);
    padding-bottom: 6px;
}


/* =========================
   CONTACT SECTION
========================= */

.contact-section {
    background: var(--charcoal);
    color: var(--white);
    text-align: center;
    padding: 110px 20px;
}

.contact-content {
    max-width: 750px;
}

.contact-content .eyebrow {
    color: var(--pink);
}

.contact-content h2 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 22px;
}

.contact-content > p:not(.eyebrow) {
    font-size: 14px;
    color: #C7BFC1;
    line-height: 1.9;
    max-width: 550px;
    margin: 0 auto 30px;
}

.btn-light {
    background: var(--pink);
    color: var(--charcoal);
}

.btn-light:hover {
    background: var(--white);
    transform: translateY(-3px);
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #211D1F;
    color: var(--white);
    padding: 45px 0 25px;
    text-align: center;
}

.footer-content > p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 14px;
    color: #BDB3B6;
    margin-top: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0 35px;
}

.social-links a {
    font-size: 12px;
    color: var(--pink);
}

.social-links a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid #40383B;
    padding-top: 22px;
    color: #A99FA2;
    font-size: 11px;
}


/* =========================
   TABLET RESPONSIVENESS
========================= */

@media (max-width: 900px) {

    .hero {
        gap: 35px;
        padding: 70px 5%;
    }

    .hero-image {
        height: 400px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section {
        gap: 40px;
    }

    .about-image {
        height: 400px;
    }

}


/* =========================
   MOBILE RESPONSIVENESS
========================= */

@media (max-width: 650px) {

    .container {
        width: 90%;
    }

    .navbar {
        height: 70px;
    }

    .logo {
        font-size: 25px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--ivory);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 5% 20px;
        border-bottom: 1px solid var(--line);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 14px 0;
    }

    .nav-links .nav-contact {
        display: inline-block;
        padding: 12px 20px;
        margin-top: 8px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 65px 5% 50px;
        gap: 45px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-image {
        height: 420px;
        max-width: 380px;
    }

    .hero-decoration {
        font-size: 250px;
    }

    .intro {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .intro h2 {
        font-size: 34px;
    }

    .gallery-section {
        padding: 75px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .section-subtitle {
        margin-top: 12px;
    }

    .gallery-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 13px;
        font-size: 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 12px;
    }

    .art-card img {
        height: 210px;
    }

    .art-info h3 {
        font-size: 16px;
    }

    .art-info p {
        font-size: 9px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .about-image {
        height: 350px;
    }

    .about-content h2 {
        font-size: 37px;
    }

    .contact-section {
        padding: 85px 15px;
    }

    .contact-content h2 {
        font-size: 40px;
    }

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 360px) {

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .art-card img {
        height: 175px;
    }

    .filter-btn {
        padding: 9px 10px;
    }

}

/* GALLERY EXPANSION */

.art-card.hidden-art {
    display: none;
}

.gallery-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

#show-less {
    display: none;
}

@media (max-width: 650px) {
    .gallery-actions {
        flex-wrap: wrap;
    }
}

/* ARTWORK LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 17, 19, 0.96);
    z-index: 1000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 60px 80px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 850px;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
}

.lightbox-caption {
    color: white;
    margin-top: 18px;
}

.lightbox-caption h3 {
    font-size: 23px;
    font-weight: 500;
}

.lightbox-caption p {
    color: var(--pink);
    font-size: 12px;
    margin-top: 6px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    background: none;
    border: none;
    color: white;
    font-size: 42px;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 15px;
}

.lightbox-arrow:hover,
.lightbox-close:hover {
    color: var(--pink);
}

.lightbox-arrow.prev {
    left: 20px;
}

.lightbox-arrow.next {
    right: 20px;
}

@media (max-width: 650px) {

    .lightbox {
        padding: 55px 45px;
    }

    .lightbox-content img {
        max-height: 70vh;
    }

    .lightbox-arrow {
        font-size: 22px;
        padding: 5px;
    }

    .lightbox-arrow.prev {
        left: 5px;
    }

    .lightbox-arrow.next {
        right: 5px;
    }

    .lightbox-close {
        right: 15px;
        top: 10px;
    }

}
