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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f1e8;
    color: #1f4d3a;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

/* Navbar */

.navbar {
    width: 90%;
    margin: 30px auto;
    padding: 20px 40px;
    background-color: #ffffff;
    border: 1px solid #d8cfb8;
    border-radius: 18px;
    border-top: 8px solid #1f4d3a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.logo {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #1f4d3a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #1f4d3a;
    font-size: 17px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #8c7a4f;
}

/* Navbar Actions */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-btn {
    text-decoration: none;
    color: #1f4d3a;
    font-weight: 600;
    transition: 0.3s;
}

.login-btn:hover {
    color: #8c7a4f;
}

.signup-btn {
    text-decoration: none;
    background: #1f4d3a;
    color: white;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.signup-btn:hover {
    background: #16382b;
}

.cart-icon {
    position: relative;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #8c7a4f;
    color: white;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 50%;
    font-weight: bold;
}

.btn {
    text-decoration: none;
    border: 1px solid #d8cfb8;
    padding: 12px 28px;
    border-radius: 10px;
    color: #1f4d3a;
    font-weight: bold;
    transition: 0.3s;
    background-color: #fcfaf5;
}

.btn:hover {
    background: #1f4d3a;
    color: white;
}


.hero {
    width: 90%;
    margin: 60px auto 80px;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 420px;
}

.hero-text h1 {
    font-size: 72px;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #1f4d3a;
}

.hero-text h1 span {
    display: block;
    color: #8c7a4f;
    font-style: italic;
    margin-bottom: 8px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: #8c7a4f;
    margin-bottom: 28px;
    max-width: 380px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1.4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 820px;
    height: 620px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}
.small-tag,
.section-tag {
    color: #8c7a4f;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}


.hero-text h1 span {
    color: #8c7a4f;
    font-style: italic;
}

.hero-description {
    font-size: 21px;
    line-height: 1.7;
    max-width: 560px;
    color: #8c7a4f;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    background: #1f4d3a;
    color: white;
    padding: 16px 30px;
    border-radius: 10px;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #16382b;
}

.hero-link {
    text-decoration: none;
    color: #8c7a4f;
    font-weight: bold;
}



.floating-card,
.product-card,
.story-text,
.story-box,
.testimonial-card,
.comment-form {
    background-color: #ffffff;
    border: 1px solid #d8cfb8;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.floating-card {
    position: absolute;
    padding: 16px 20px;
    width: 190px;
}

.floating-card h4 {
    margin-bottom: 6px;
    font-size: 18px;
    color: #1f4d3a;
}

.floating-card p {
    color: #8c7a4f;
    font-size: 14px;
    line-height: 1.5;
}

.card-one {
    top: 12%;
    left: 0;
}

.card-two {
    bottom: 10%;
    right: 0;
}



.featured-products,
.testimonials,
.comments-section {
    width: 90%;
    margin: 100px auto;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #1f4d3a;
}

.section-title p {
    color: #8c7a4f;
    line-height: 1.7;
}

/* Product Cards */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    padding: 24px;
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    margin: 0 auto 20px;
    border-radius: 18px;
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1f4d3a;
}

.product-card p {
    color: #8c7a4f;
    line-height: 1.6;
    margin-bottom: 14px;
}

.product-card span {
    display: block;
    font-weight: bold;
    color: #1f4d3a;
    margin-bottom: 18px;
    font-size: 18px;
}

.product-card a {
    display: inline-block;
    text-decoration: none;
    color: white;
    background: #1f4d3a;
    padding: 12px 24px;
    border-radius: 10px;
    transition: 0.3s;
}

.product-card a:hover {
    background: #16382b;
}



.brand-story {
    width: 90%;
    margin: 100px auto;
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.story-text,
.story-box {
    flex: 1;
    padding: 40px;
}

.story-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #1f4d3a;
}

.story-text p,
.story-box li {
    color: #8c7a4f;
    line-height: 1.9;
    font-size: 18px;
}

.story-box h3 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #1f4d3a;
}

.story-box ul {
    padding-left: 20px;
}



.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    padding: 30px;
}

.testimonial-card p {
    line-height: 1.8;
    color: #8c7a4f;
    margin-bottom: 18px;
    font-size: 17px;
}

.testimonial-card h4 {
    color: #1f4d3a;
    font-size: 16px;
}



.comment-form {
    max-width: 850px;
    margin: 0 auto;
    padding: 35px;
}

.input-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #d8cfb8;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
    background: #fcfaf5;
}

.comment-form textarea {
    min-height: 180px;
    resize: vertical;
    margin-bottom: 20px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #8c7a4f;
    box-shadow: 0 0 6px rgba(200, 169, 81, 0.35);
}

.comment-form button {
    background: #1f4d3a;
    color: white;
    border: none;
    padding: 15px 28px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.comment-form button:hover {
    background: #16382b;
}



.footer {
    margin-top: 80px;
    text-align: center;
    padding: 40px 20px;
    background: #1f4d3a;
    color: white;
}

.footer h3 {
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* Responsive */

@media (max-width: 992px) {
    .hero,
    .brand-story {
        flex-direction: column;
    }

    .products-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

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

    .input-row {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .hero-image img {
        width: 65%;
    }

    .floating-card {
        position: static;
        margin: 15px 0;
        width: 100%;
        max-width: 260px;
    }

    .hero-image {
        flex-direction: column;
    }
}