﻿/* ==========================
   HIYASHRI NATURALS
   STYLE.CSS
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins',sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

/* CONTAINER */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* LINKS */

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

/* ==========================
TOP BAR
========================== */

.top-bar {
    background: #2d5b2d;
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.top-left {
    display: flex;
    gap: 25px;
}

    .top-left span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

.top-right a {
    color: #fff;
    margin-left: 15px;
    transition: .3s;
}

    .top-right a:hover {
        color: #d4af37;
    }

/* ==========================
HEADER
========================== */

header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo img {
    height: 120px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

    .nav-links a {
        color: #333;
        font-weight: 500;
        transition: .3s;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: #2d5b2d;
        }

.mobile-menu {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ==========================
BUTTONS
========================== */

.btn {
    display: inline-block;
    background: #2d5b2d;
    color: #fff;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
    transition: .3s;
}

    .btn:hover {
        background: #d4af37;
        color: #fff;
    }

.btn-light {
    background: #fff;
    color: #2d5b2d;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
}

    .btn-light:hover {
        background: #f5f5f5;
    }

/* ==========================
HERO
========================== */

.hero {
    background: #faf8f2;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-text h4 {
    color: #2d5b2d;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #173717;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.hero-image img {
    border-radius: 20px;
    
    
}

/* ==========================
FEATURES
========================== */

.features {
    padding: 60px 0;
}

    .features .container {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 25px;
    }

.feature-box {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: .3s;
}

    .feature-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

    .feature-box i {
        font-size: 40px;
        color: #d4af37;
        margin-bottom: 15px;
    }

    .feature-box h3 {
        margin-bottom: 10px;
    }

/* ==========================
SECTION TITLE
========================== */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 42px;
        color: #173717;
        position: relative;
    }

        .section-title h2::after {
            content: '';
            width: 80px;
            height: 4px;
            background: #d4af37;
            display: block;
            margin: 15px auto;
            border-radius: 50px;
        }

/* ==========================
CATEGORY
========================== */

.categories {
    padding: 80px 0;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.category-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
    transition: .3s;
    text-align: center;
}

    .category-card:hover {
        transform: translateY(-8px);
    }

    .category-card img {
        height: 220px;
        width: 100%;
        object-fit: cover;
    }

    .category-card h3 {
        margin-top: 20px;
        color: #173717;
    }

    .category-card p {
        padding-bottom: 20px;
        color: #666;
    }

/* ==========================
ABOUT
========================== */

.about-home {
    background: #f9faf7;
    padding: 90px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    width:650px !important;
    height:350px;
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #173717;
}

.about-content p {
    margin-bottom: 25px;
    color: #555;
}

.about-content ul li {
    margin-bottom: 12px;
    font-size: 18px;
}

/* ==========================
PRODUCTS
========================== */

.products {
    padding: 90px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    transition: .3s;
}

    .product-card:hover {
        transform: translateY(-8px);
    }

    .product-card img {
        height: 250px;
        width: 100%;
        object-fit: cover;
    }

    .product-card h3 {
        padding: 20px 20px 10px;
    }

    .product-card p {
        padding: 0 20px;
        color: #2d5b2d;
        font-weight: 600;
    }

    .product-card button {
        width: calc(100% - 40px);
        margin: 20px;
        border: none;
        background: #2d5b2d;
        color: #fff;
        padding: 14px;
        border-radius: 50px;
        cursor: pointer;
        transition: .3s;
    }

        .product-card button:hover {
            background: #d4af37;
        }

/* ==========================
TESTIMONIAL
========================== */

.testimonial {
    padding: 90px 0;
    background: #faf8f2;
    text-align: center;
}

    .testimonial h2 {
        font-size: 40px;
        margin-bottom: 30px;
    }

.testimonial-box {
    max-width: 700px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

    .testimonial-box p {
        font-size: 18px;
        margin-bottom: 15px;
    }

/* ==========================
CTA
========================== */

.cta {
    background: #2d5b2d;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

    .cta h2 {
        font-size: 42px;
        margin-bottom: 25px;
    }

/* ==========================
FOOTER
========================== */

footer {
    background: #173717;
    color: #fff;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

    .footer-grid h3,
    .footer-grid h4 {
        margin-bottom: 20px;
    }

    .footer-grid p {
        color: #ddd;
        margin-bottom: 10px;
    }

    .footer-grid a {
        color: #ddd;
    }

    .footer-grid li {
        margin-bottom: 10px;
    }

    .footer-grid a:hover {
        color: #d4af37;
    }

.copyright {
    text-align: center;
    padding: 25px;
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 50px;
}

/* ==========================
WHATSAPP
========================== */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
}

/* ==========================
ANIMATION
========================== */

.hero-text,
.feature-box,
.category-card,
.product-card {
    animation: fadeUp .8s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================
RESPONSIVE
========================== */

@media(max-width:992px) {

    .hero-content,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .features .container {
        grid-template-columns: repeat(2,1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-text h1 {
        font-size: 42px;
    }
}

@media(max-width:768px) {

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .top-left {
        display: none;
    }

    .features .container,
    .category-grid,
    .product-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .about-content h2,
    .cta h2,
    .testimonial h2 {
        font-size: 30px;
    }

    .logo img {
        height: 120px;
    }
}

.page-banner {
    background: linear-gradient( rgba(23,55,23,.85), rgba(23,55,23,.85) ), url('../images/about-banner.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

    .page-banner h1 {
        font-size: 52px;
        margin-bottom: 15px;
    }

    .page-banner p {
        font-size: 20px;
        opacity: .95;
    }

/* Mobile Menu */

.nav-links.show {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.animate {
    animation: fadeUp .8s ease forwards;
}

