﻿/* ==================== Herbicides Page Styles ==================== */
/* SAME DESIGN AS INSECTICIDES PAGE – Professional Catalog Layout */

/* Reset */
.herbicides-hero,
.herbicides-products,
.herbicides-container,
.herbicides-card,
.herbicides-hero *,
.herbicides-products * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body:has(.herbicides-hero) {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
}

/* =====================================================
   HERO SECTION
===================================================== */

.herbicides-hero {
    width: 100%;
    background-color: #eef2f0;
}

.herbicides-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
    align-items: center;
}

.herbicides-hero__image {
    background: url('/Content/Images/farmer-pesticide1.jpg') center center no-repeat;
    background-size: cover;
    background-color: #e9efe8;
    min-height: 520px;
}

.herbicides-hero__content {
    background: linear-gradient(135deg, #ffffff, #f8faf7);
    padding: 3rem 4rem;
    display: flex;
    align-items: center;
}

.herbicides-hero__text {
    max-width: 540px;
    margin: auto;
}

.herbicides-hero__badge {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #2b6e3c;
    background: rgba(43, 110, 60, 0.1);
    padding: 6px 16px;
    border-radius: 40px;
    display: inline-block;
    margin-bottom: 18px;
}

.herbicides-hero__text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.herbicides-hero__text p {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 30px;
}

/* Buttons */
.herbicides-btn {
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.herbicides-btn--primary {
    background: #2b6e3c;
    color: white;
    box-shadow: 0 6px 18px rgba(43, 110, 60, 0.25);
}

    .herbicides-btn--primary:hover {
        background: #1f5a2e;
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(43, 110, 60, 0.3);
    }

.herbicides-btn--outline {
    background: transparent;
    border: 2px solid #2b6e3c;
    color: #2b6e3c;
}

    .herbicides-btn--outline:hover {
        background: rgba(43, 110, 60, 0.08);
        transform: translateY(-2px);
    }

/* =====================================================
   PRODUCTS SECTION
===================================================== */

.herbicides-products {
    padding: 70px 0;
    background: white;
}

.herbicides-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 24px;
}

.herbicides-products__header {
    text-align: center;
    margin-bottom: 45px;
}

    .herbicides-products__header h2 {
        font-size: 2.6rem;
        font-weight: 700;
    }

    .herbicides-products__header p {
        color: #5a6e5a;
        font-size: 1.1rem;
    }

.herbicides-highlight {
    color: #2b6e3c;
    position: relative;
    display: inline-block;
}

/* =====================================================
   GRID + EQUAL HEIGHT CARDS
===================================================== */

.herbicides-products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.herbicides-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid #edf2ea;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

    .herbicides-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 40px rgba(0, 0, 0, 0.10);
    }

/* =====================================================
   IMAGE AREA — SAME SIZE EVERY CARD
===================================================== */

.herbicides-card__img {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: linear-gradient(180deg, #f7faf6, #edf3ea);
    border-bottom: 1px solid #eef2e6;
    overflow: hidden;
}

    .herbicides-card__img img {
        max-width: 100%;
        max-height: 120%;
        object-fit: contain;
        transform: scale(1.05);
        transition: transform 0.35s ease;
        filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.10));
    }

/* Subtle hover zoom */
.herbicides-card:hover .herbicides-card__img img {
    transform: scale(1.10);
}

/* =====================================================
   CARD INFO (Equal Height)
===================================================== */

.herbicides-card__info {
    padding: 22px 18px 26px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.herbicides-card__name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2937;
}

.herbicides-card__comp {
    font-size: 0.8rem;
    color: #2b6e3c;
    background: #e9f3e6;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 500;
}

.herbicides-card__packing {
    font-size: 0.75rem;
    background: #fff4d8;
    padding: 6px 16px;
    border-radius: 30px;
    color: #a5721e;
    display: inline-block;
    font-weight: 500;
}

/* =====================================================
   TOAST NOTIFICATION
===================================================== */

.herbicides-toast {
    visibility: hidden;
    min-width: 320px;
    background-color: #2b6e3c;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 14px 24px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    white-space: nowrap;
}

    .herbicides-toast.show {
        visibility: visible;
        opacity: 1;
    }

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 992px) {
    .herbicides-hero__grid {
        grid-template-columns: 1fr;
    }

    .herbicides-hero__image {
        min-height: 360px;
    }

    .herbicides-hero__content {
        text-align: center;
        padding: 40px 24px;
    }

    .herbicides-hero__text h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    .herbicides-products {
        padding: 50px 0;
    }

    .herbicides-card__img {
        height: 240px;
        padding: 20px;
    }

    .herbicides-products__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .herbicides-hero__text h1 {
        font-size: 1.8rem;
    }

    .herbicides-toast {
        min-width: 280px;
        white-space: normal;
        font-size: 0.85rem;
        padding: 12px 20px;
    }
}
