﻿/* ================= HERO SECTION ================= */

.maize-hero {
    background: url('../Images/maizebk.jpeg') center/cover no-repeat;
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maize-hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.maize-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.maize-hero p {
    font-size: 1.2rem;
    margin-top: 10px;
}


/* ================= PRODUCT SECTION ================= */

.maize-product-section {
    padding: 70px 5%;
    background: #f9fbf7;
}

.maize-card {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    overflow: hidden;
}

    .maize-card:hover {
        transform: translateY(-5px);
    }

    .maize-card.reverse {
        flex-direction: row-reverse;
    }


/* ================= IMAGE SECTION ================= */

.maize-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .maize-image img {
        width: 100%;
        max-width: 420px;
        height: 450px;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

        .maize-image img:hover {
            transform: scale(1.05);
        }


/* ================= CONTENT ================= */

.maize-content {
    flex: 1;
}

    .maize-content h2 {
        font-size: 2rem;
        color: #2e7d32;
        margin-bottom: 10px;
    }

    .maize-content h4 {
        margin-bottom: 20px;
        color: #555;
        font-weight: 500;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

    .feature-list li {
        margin-bottom: 10px;
        font-weight: 500;
        position: relative;
        padding-left: 20px;
    }

        .feature-list li::before {
            content: "✔";
            position: absolute;
            left: 0;
            color: #2e7d32;
        }


/* ================= TECH BOX ================= */

.tech-box {
    background: #f1f8e9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}


/* ================= BUTTON ================= */

.product-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #ed6c02;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
}

    .product-btn:hover {
        background: #c75a00;
        transform: scale(1.05);
    }


/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {

    .maize-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

        .maize-card.reverse {
            flex-direction: column;
        }

    .maize-image img {
        max-width: 100%;
        height: 240px;
    }

    .maize-hero {
        height: 350px;
    }

        .maize-hero h1 {
            font-size: 2.2rem;
        }

        .maize-hero p {
            font-size: 1rem;
        }
}


/* Mobile */
@media (max-width: 576px) {

    .maize-product-section {
        padding: 50px 15px;
    }

    .maize-card {
        padding: 20px;
        border-radius: 15px;
    }

    .maize-image img {
        height: 200px;
    }

    .maize-content h2 {
        font-size: 1.5rem;
    }

    .maize-content h4 {
        font-size: 0.95rem;
    }

    .product-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .maize-hero {
        height: 300px;
    }

        .maize-hero h1 {
            font-size: 1.8rem;
        }

        .maize-hero p {
            font-size: 0.9rem;
        }
}
