/* ------------------ Products Page Styling ------------------ */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: #333;
    padding: 2px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.logo img{
    height: 60px;
}

.logo a {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #f15a22;
}

.products-hero {
    background: url('../images/prod.png') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.products-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}
.products-hero h1 span {
    color: #ff4b2b;
}


.products-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    z-index: 1;
    position: relative;
    animation: fadeInDown 1s ease-in-out;
}

.products-section {
    padding: 60px 10%;
    background-color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.product-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.product-box img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-box h3 {
    font-size: 1.2rem;
    color: #d92323;
}
.back-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 25px;
    background: #d92323;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #b71c1c;
}

@media (max-width: 768px) {
    .design-hero h1 {
        font-size: 2rem;
    }

    .design-content {
        padding: 40px 8%;
    }
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .products-hero h1 {
        font-size: 2rem;
        padding: 0 10px;
    }
    .products-section {
        padding: 40px 5%;
    }
}
