/* =========================
   BASIC RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f7f3ee;
    color: #2c2926;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(247, 243, 238, 0.95);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid #e4ddd5;
}

.nav-container {
    width: min(1150px, 90%);
    margin: auto;

    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: #a67c52;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;

    transition: 0.3s;
}

.nav-links a:hover {
    color: #a67c52;
}


/* =========================
   COMMON
========================= */

.section {
    width: min(1150px, 90%);
    margin: auto;
    padding: 100px 0;
}

.small-heading {
    color: #a67c52;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
}

h2 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading p:last-child {
    color: #756e67;
    margin-top: 18px;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;

    background: #2c2926;
    color: white;

    padding: 15px 28px;

    font-size: 14px;
    font-weight: 600;

    border: 1px solid #2c2926;

    transition: 0.3s;
}

.btn:hover {
    background: #a67c52;
    border-color: #a67c52;
    transform: translateY(-2px);
}

.outline-btn {
    display: inline-block;

    margin-top: 20px;

    padding: 13px 25px;

    border: 1px solid #2c2926;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

.outline-btn:hover {
    background: #2c2926;
    color: white;
}


/* =========================
   HERO
========================= */

.hero {
    width: min(1150px, 90%);
    margin: auto;

    min-height: calc(100vh - 78px);

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;
    gap: 70px;

    padding: 70px 0;
}

.hero-content h1 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 1.05;

    margin-bottom: 25px;
}

.hero-content h1 span {
    color: #a67c52;
    display: block;
}

.hero-text {
    max-width: 500px;

    color: #756e67;

    font-size: 17px;

    margin-bottom: 32px;
}

.hero-image {
    height: 600px;
    overflow: hidden;
}

.hero-image img {
    height: 100%;
    object-fit: cover;
}


/* =========================
   COLLECTION
========================= */

.collection {
    border-top: 1px solid #e4ddd5;
}

.product-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.product-card {
    background: white;

    transition: 0.3s;

    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(44, 41, 38, 0.1);
}

.product-image {
    height: 300px;
    overflow: hidden;
}

.product-image img {
    height: 100%;
    object-fit: cover;

    transition: 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 22px;
}

.product-info h3 {
    font-size: 23px;
    margin-bottom: 8px;
}

.product-info p {
    color: #756e67;
    font-size: 14px;

    margin-bottom: 15px;
}

.product-info a {
    color: #a67c52;

    font-size: 13px;
    font-weight: 600;
}


/* =========================
   ABOUT
========================= */

.about {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    height: 600px;
    overflow: hidden;
}

.about-image img {
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p:not(.small-heading) {
    color: #756e67;

    margin-bottom: 15px;
}


/* =========================
   FEATURES
========================= */

.features {
    border-top: 1px solid #e4ddd5;
}

.feature-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.feature-card {
    background: white;

    padding: 40px 30px;

    text-align: center;

    border: 1px solid #eee7df;

    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1e7dc;

    color: #a67c52;

    font-size: 25px;
}

.feature-card h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #756e67;
    font-size: 14px;
}


/* =========================
   CTA
========================= */

.cta {
    background: #2c2926;

    color: white;

    text-align: center;

    padding: 110px 20px;
}

.cta .small-heading {
    color: #c8a47d;
}

.cta h2 {
    max-width: 700px;
    margin: auto;
}

.cta h2 span {
    color: #c8a47d;
}

.cta p:not(.small-heading) {
    color: #d0cbc5;

    margin: 20px auto 30px;

    max-width: 500px;
}

.light-btn {
    background: white;
    color: #2c2926;

    border-color: white;
}

.light-btn:hover {
    background: #c8a47d;
    border-color: #c8a47d;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #211f1d;
    color: white;

    padding: 65px 0 0;
}

.footer-container {
    width: min(1150px, 90%);
    margin: auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1.5fr 1fr;

    gap: 50px;

    padding-bottom: 55px;
}

.footer-brand p {
    color: #aaa49e;
    margin-top: 12px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    font-family: "Playfair Display", serif;

    font-size: 19px;

    margin-bottom: 8px;
}

.footer-column a {
    color: #aaa49e;

    font-size: 14px;

    transition: 0.3s;
}

.footer-column a:hover {
    color: #c8a47d;
}

.footer-bottom {
    border-top: 1px solid #393633;

    width: min(1150px, 90%);
    margin: auto;

    padding: 22px 0;

    color: #817b75;

    font-size: 13px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        height: 500px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-image {
        height: 500px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .nav-container {
        height: auto;

        padding: 18px 0;

        flex-direction: column;

        gap: 15px;
    }

    .nav-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero {
        min-height: auto;

        padding: 55px 0;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-image {
        height: 400px;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 330px;
    }

    .about-image {
        height: 400px;
    }

    .about-content h2 {
        font-size: 38px;
    }

    .cta {
        padding: 80px 20px;
    }

    .cta h2 {
        font-size: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}