/* ========================================
   GENERAL
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff7f9;
    color: #3b2931;
    min-height: 100vh;
}

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

button {
    font-family: inherit;
}


/* ========================================
   NAVIGATION
======================================== */

.navbar {
    width: 90%;
    max-width: 1400px;
    margin: 20px auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #df6f91;
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

nav a {
    font-size: 15px;
    font-weight: 600;
    padding-bottom: 8px;

    transition: color 0.2s ease;
}

nav a:hover {
    color: #df6f91;
}

nav a.active {
    color: #3b2931;
    border-bottom: 3px solid #df6f91;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-buttons button {
    border: none;
    padding: 10px 22px;

    border-radius: 30px;

    font-weight: 700;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-buttons button:hover {
    transform: translateY(-2px);
}

.login {
    background: white;
    color: #3b2931;

    border: 1px solid #3b2931 !important;
}

.signup {
    background: #df6f91;
    color: white;

    box-shadow:
        0 6px 15px rgba(223, 111, 145, 0.25);
}


/* ========================================
   MAIN
======================================== */

main {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}


/* ========================================
   HERO
======================================== */

.hero {
    min-height: 390px;

    margin-top: 40px;

    border-radius: 30px;

    background:
        linear-gradient(
            120deg,
            #f8c7d7,
            #eca0bb
        );

    display: flex;
    align-items: center;

    overflow: hidden;

    position: relative;

    box-shadow:
        0 15px 40px rgba(150, 70, 95, 0.08);
}


/* Decorative circle */

.hero::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    left: -120px;
    bottom: -170px;
}


/* Decorative sparkle */

.hero::after {
    content: "✦";

    position: absolute;

    right: 44%;
    top: 35px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 28px;
}


/* Hero text */

.hero-text {
    width: 52%;

    padding: 60px;

    position: relative;
    z-index: 2;
}

.small-title {
    font-size: 12px;

    letter-spacing: 2px;

    font-weight: 800;

    color: #9c536b;

    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(45px, 5vw, 70px);

    line-height: 0.95;

    letter-spacing: -2px;

    margin-bottom: 20px;
}

.hero-text > p:not(.small-title) {
    max-width: 430px;

    line-height: 1.6;

    margin-bottom: 28px;

    color: #553640;
}


/* Hero button */

.hero-button {
    display: inline-block;

    background: #ffffff;

    color: #3b2931;

    padding: 13px 27px;

    border-radius: 30px;

    font-weight: 700;

    box-shadow:
        0 7px 20px rgba(120, 50, 70, 0.12);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(120, 50, 70, 0.18);
}


/* Hero image */

.hero-image {
    width: 48%;
    height: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    position: relative;
}

.hero-image img {
    width: 90%;
    max-height: 390px;
    
    border-radius: 30 px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 15px 20px rgba(90, 40, 55, 0.15)
        );

    transition:
        transform 0.4s ease;
}

.hero:hover .hero-image img {
    transform:
        translateY(-5px)
        scale(1.02);
}


/* ========================================
   GALLERY
======================================== */

.gallery-section {
    margin-top: 55px;
}

.section-heading {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 22px;
}

.section-heading h2 {
    font-size: 26px;
}

.section-heading a {
    color: #df6f91;

    font-weight: 700;

    transition:
        color 0.2s ease;
}

.section-heading a:hover {
    color: #b84f72;
}


/* Gallery grid */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


/* Artwork cards */

.art-card {
    background: white;

    border-radius: 25px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(120, 50, 70, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.art-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 15px 35px rgba(120, 50, 70, 0.14);
}


/* Artwork images */

.art-card img {
    width: 100%;
    height: 270px;

    display: block;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

.art-card:hover img {
    transform: scale(1.04);
}


/* Artwork information */

.art-info {
    padding: 18px 20px 20px;
}

.art-info h3 {
    font-size: 17px;

    margin-bottom: 5px;
}

.art-info p {
    font-size: 13px;

    color: #a16c7c;
}


/* ========================================
   ABOUT + CATEGORIES
======================================== */

.info-section {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;

    margin: 55px 0;
}

.about-card,
.categories-card {
    background: white;

    border-radius: 25px;

    padding: 35px;

    box-shadow:
        0 8px 25px rgba(120, 50, 70, 0.08);
}


/* Small pink labels */

.card-label {
    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 800;

    color: #df6f91;

    margin-bottom: 12px;
}


/* Headings */

.about-card h2,
.categories-card h2 {
    font-size: 27px;

    margin-bottom: 18px;
}


/* About text */

.about-card p:not(.card-label) {
    line-height: 1.6;

    color: #684651;

    margin-bottom: 15px;

    max-width: 550px;
}


/* Learn more */

.about-card > a {
    display: inline-block;

    margin-top: 5px;

    color: #df6f91;

    font-weight: 700;

    transition:
        color 0.2s ease;
}

.about-card > a:hover {
    color: #b84f72;
}


/* ========================================
   CATEGORIES
======================================== */

.category {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 16px 0;

    border-bottom:
        1px solid #f3dce3;
}

.category:last-child {
    border-bottom: none;
}

.category span {
    font-size: 25px;

    font-weight: 800;

    color: #df6f91;

    min-width: 35px;
}

.category p {
    font-weight: 700;

    color: #4d343d;
}


/* ========================================
   CONTACT
======================================== */

.contact-section {
    text-align: center;

    background:
        linear-gradient(
            135deg,
            #f7cad9,
            #f1aec3
        );

    border-radius: 30px;

    padding: 60px 25px;

    margin-bottom: 55px;

    box-shadow:
        0 10px 30px rgba(120, 50, 70, 0.07);
}


.contact-section h2 {
    font-size: 35px;

    margin-bottom: 12px;
}


.contact-section > p {
    color: #684651;

    margin-bottom: 25px;
}


/* Contact button */

.contact-button {
    display: inline-block;

    background: #3b2931;

    color: white;

    padding: 14px 28px;

    border-radius: 30px;

    font-weight: 700;

    max-width: 90%;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-button:hover {
    transform: translateY(-3px);

    background: #5a3b46;

    box-shadow:
        0 8px 20px rgba(59, 41, 49, 0.18);
}


/* ========================================
   FOOTER
======================================== */

footer {
    text-align: center;

    padding: 30px;

    color: #a16c7c;

    font-size: 13px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    nav {
        gap: 20px;
    }

    .hero {
        flex-direction: column;

        text-align: center;

        padding-top: 30px;
    }

    .hero-text {
        width: 100%;

        padding:
            40px
            30px
            20px;
    }

    .hero-text > p:not(.small-title) {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        width: 80%;

        height: 280px;
    }

    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .info-section {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .navbar {
        width: 92%;

        flex-wrap: wrap;

        gap: 20px;
    }

    .logo {
        font-size: 19px;
    }

    nav {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 20px;
    }

    nav a {
        font-size: 13px;
    }

    .nav-buttons {
        gap: 5px;
    }

    .nav-buttons button {
        padding:
            8px
            15px;

        font-size: 12px;
    }

    main {
        width: 92%;
    }

    .hero {
        margin-top: 25px;

        border-radius: 25px;
    }

    .hero-text {
        padding:
            35px
            20px
            15px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-image {
        width: 100%;

        height: 240px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .art-card img {
        height: 300px;
    }

    .about-card,
    .categories-card {
        padding: 28px 23px;
    }

    .contact-section {
        padding:
            45px
            20px;

        border-radius: 25px;
    }

    .contact-section h2 {
        font-size: 28px;
    }

    .contact-button {
        line-height: 1.4;
    }

    footer {
        padding:
            25px
            15px;
    }
}