﻿/* ===== Products Section ===== */
.products-section {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(135deg, #fff9c4, #e8f5e9);
    font-family: 'Roboto', sans-serif;
}

.products-container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
    text-align: center;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

/* Grid layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Product card styles */
.product-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
}

    .product-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 15px;
        transition: transform 0.5s ease;
    }

    .product-card h3 {
        font-size: 22px;
        font-weight: 700;
        margin: 15px 0 10px;
    }

    .product-card p {
        font-size: 16px;
        color: #555;
        line-height: 1.6;
        margin-bottom: 15px;
    }

.btn-view-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: #43a047;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

    .btn-view-more:hover {
        background-color: #388e3c;
        transform: translateY(-5px);
    }

/* Different colors per product */
.product-card.seed h3 {
    color: #2e7d32;
}

.product-card.pheromone h3 {
    color: #f57c00;
}

.product-card.solar h3 {
    color: #1565c0;
}

.product-card.soil h3 {
    color: #6a1b9a;
}

.product-card.biofertilizer h3 {
    color: #d32f2f;
}

/* Hover effects */
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

    .product-card:hover img {
        transform: scale(1.08) rotate(1deg);
    }

/* Fade-in animation */
.product-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .product-card img {
        height: 180px;
    }
}
