/* Products Section Styles */
.products-section {
    padding: 80px 0;
    background-color: transparent;
}

.section-title {
    text-align: center;
    color: #ffffff;
    margin-bottom: 60px;
    font-size: 3rem;
    font-weight: 700;
}

/* Product Categories */
.product-category {
    margin-bottom: 60px;
}

.product-category h2 {
    color: white;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.product-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%; /* Make width responsive */
    max-width: 450px; /* Keep a max width for larger screens */
    height: 4px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 0, 0, 1) 50%, rgba(255, 255, 255, 0));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.6),
    0 0 30px rgba(255, 255, 255, 0.4);
}

/* Product Items Grid */
.product-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.product-item {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(100, 100, 100, 0.5);
    border-radius: 10px;
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.1),
        0 0 0 4px rgba(0, 0, 0, 0.2),
        0 0 0 6px rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.product-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 20%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.5) 80%,
        rgba(0, 0, 0, 0.6) 100%);
    opacity: 0.7;
    z-index: 3;
    pointer-events: none;
}

.product-item h3 {
    padding: 15px;
    color: #2c3e50;
    font-size: 1.2rem;
}

.product-item p {
    padding: 0 15px 20px;
    color: #fff;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .product-category h2 {
        font-size: 1.8rem;
    }
    
    .product-item img {
        height: 200px;
    }
    
    .product-item h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .product-category h2 {
        font-size: 1.5rem;
    }
    
    .product-item img {
        height: 180px;
    }
}
