/* =========================================================
   JYOTI SEEDS - INDEX PAGE CSS
========================================================= */

/* =========================================================
   HERO
========================================================= */

.hero {
    background: var(--cream);
}

.hero-grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
}

.eyebrow {
    display: block;
    margin-bottom: 17px;
    font-size: 10px;
    letter-spacing: 2.5px;
    font-weight: 800;
    color: var(--green2);
}

h1, h2, h3 {
    font-family: "Manrope", sans-serif;
    line-height: 1.06;
    margin: 0;
}

h1 {
    font-size: clamp(48px, 6.7vw, 84px);
    letter-spacing: -4px;
}

h2 {
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -3px;
}

h3 {
    font-size: 22px;
}

em {
    font-family: Georgia, serif;
    color: var(--green2);
    font-weight: 400;
}

.hero p {
    max-width: 600px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
    margin: 25px 0;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    font-size: 11px;
    font-weight: 800;
    color: #556258;
}

/* HERO IMAGE */

.hero-visual {
    height: 500px;
    border-radius: 35px 35px 35px 110px;
    position: relative;
    overflow: hidden;
    background: #dceba8;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* =========================================================
   COMMON SECTIONS
========================================================= */

.section {
    padding: 100px 0;
}

.section-title, .shop-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 45px;
}

.section-title p {
    max-width: 390px;
    color: var(--muted);
}

/* =========================================================
   CATEGORIES
========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-grid button {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 23px;
    padding: 25px;
    text-align: left;
    cursor: pointer;
    transition: 0.2s;
}

.category-grid button:hover {
    border-color: var(--green2);
    transform: translateY(-4px);
}

.category-grid b, .category-grid small {
    display: block;
}

.category-grid b {
    font-size: 17px;
    margin-top: 15px;
}

.category-grid small {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
}

/* =========================================================
   SHOP
========================================================= */

.shop {
    background: #f1f4e9;
}

.shop-controls {
    display: flex;
    gap: 8px;
}

.shop-controls input, .shop-controls select {
    border: 1px solid #d6ded1;
    background: #ffffff;
    border-radius: 999px;
    padding: 12px 15px;
    outline: none;
}

/* =========================================================
   PRODUCTS
========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.2s;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(38, 66, 43, 0.09);
}

.product-card-img {
    height: 210px;
    background: #edf7e8;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card-info {
    padding: 20px;
}

.product-card-tag {
    display: inline-block;
    background: #e5f5e4;
    color: #08732c;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.product-card-info h3 {
    font-size: 19px;
    margin: 12px 0 6px;
}

.product-card-info p {
    color: #777777;
    font-size: 14px;
    line-height: 1.5;
    min-height: 42px;
}

.product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 17px;
}

.product-card-price {
    font-size: 14px;
    color: #08742d;
    font-weight: bold;
}

.product-card-btn {
    background: #18763a;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 7px;
    font-weight: bold;
    white-space: nowrap;
    transition: 0.2s;
}

.product-card-btn:hover {
    background: #0f5e2d;
}

.empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
}

/* =========================================================
   VIEW MORE
========================================================= */

.home-product-grid.show-limited .product-card:nth-child(n + 11) {
    display: none;
}

.view-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.view-more-btn {
    min-width: 180px;
    border: 1px solid var(--green);
    color: var(--green);
    background: #ffffff;
}

.view-more-btn:hover {
    background: var(--green);
    color: #ffffff;
}

/* =========================================================
   WHY JYOTI
========================================================= */

.why {
    background: #173c27;
    color: #ffffff;
}

.why .eyebrow {
    color: var(--lime);
}

.center {
    text-align: center;
}

.center em {
    color: #bddc76;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 55px;
}

.why-grid > div {
    padding: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.why-grid > div:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.why-grid span {
    color: var(--lime);
    font-weight: 800;
    font-size: 12px;
}

.why-grid h3 {
    margin: 12px 0 7px;
}

.why-grid p {
    color: #c5d1c8;
    font-size: 13px;
    margin: 0;
    line-height: 1.7;
}

/* =========================================================
   ABOUT
========================================================= */

.about {
    background: #ffffff;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-art {
    height: 450px;
    border-radius: 35px 100px 35px 35px;
    overflow: hidden;
    box-shadow: 25px 25px 0 #e9ece2;
}

.seed-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about p {
    color: var(--muted);
    line-height: 1.75;
}

/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 90px;
}

.contact p {
    color: var(--muted);
    line-height: 1.75;
}

.phones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0;
}

.phones a {
    background: #ffffff;
    padding: 13px 16px;
    border-radius: 999px;
    color: var(--green);
    font-weight: 800;
    font-size: 13px;
}

.contact form {
    background: #ffffff;
    padding: 28px;
    border-radius: 28px;
    display: grid;
    gap: 12px;
}

.contact form input, .contact textarea {
    border: 1px solid #d9e0d5;
    border-radius: 13px;
    padding: 14px;
    outline: none;
}

.contact textarea {
    min-height: 100px;
    resize: vertical;
}

#formMsg {
    font-size: 12px;
    color: var(--green);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
    .hero-grid, .two-col, .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 70px 0;
    }

    .hero-visual {
        height: 400px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title, .shop-head {
        display: block;
    }

    .shop-controls {
        margin-top: 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-grid > div:nth-child(odd) {
        border-right: none;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {
    h1 {
        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        height: 350px;
        border-radius: 28px;
    }

    .section {
        padding: 70px 0;
    }

    .category-grid, .product-grid {
        grid-template-columns: 1fr;
    }

    .shop-controls {
        flex-direction: column;
    }

    .shop-controls input, .shop-controls select {
        width: 100%;
    }

    .view-more-btn {
        width: 100%;
    }

    .product-card-img {
        height: 230px;
    }
}