/* ================== OUR PRODUCTS SECTION =================== */
.product_container {
    background: #1e1e2d; /* Dark Theme */
    padding: 5rem 2rem;
    text-align: center;
}

/* HEADING STYLES */
.product_container h2 {
    font-size: 2.8rem;
    color: #ff9800;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.product_container p {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: #d5d5d5;
    line-height: 1.6;
}

/* PRODUCT GRID */
.product_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

/* PRODUCT CARD */
.product_card {
    background: #29293d;
    border-radius: 12px;
    overflow: hidden;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(255, 152, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* MAKE ALL IMAGES SAME SIZE */
.product_card img {
    width: 100%;
    height: 250px; /* Fixed Height for Uniformity */
    object-fit: cover; /* Prevents distortion */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* HOVER EFFECT */
.product_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.3);
}

.product_card:hover img {
    transform: scale(1.05);
}

/* PRODUCT TITLE */
.product_card h4 {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #ff9800;
    font-weight: bold;
}

/* =================== RESPONSIVE DESIGN =================== */

/* Tablets (1024px) */
@media screen and (max-width: 1024px) {
    .product_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product_container h2 {
        font-size: 2.5rem;
    }

    .product_container p {
        font-size: 1.1rem;
    }
}

/* Mobile Screens (600px) */
@media screen and (max-width: 600px) {
    .product_grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .product_container h2 {
        font-size: 2rem;
    }

    .product_container p {
        font-size: 1rem;
    }

    .product_card {
        padding: 1rem;
    }

    /* Fix for Small Screen Images */
    .product_card img {
        height: auto; /* Allows image to scale naturally */
        max-height: 320px; /* Prevents it from becoming too large */
        width: 100%;
        object-fit: cover; /* Shows the full image without cropping */
    }
}
