/* Product Page Hero Section */
.product-banner {
    background: linear-gradient(
        rgba(0, 0, 0, 0.7), 
        rgba(0, 0, 0, 0.7)
    ), url('../images/product-hero.jpg') no-repeat center center; /* Replace with your hero image */
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-banner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffd700; /* Gold highlight for premium feel */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.8);
    animation: fadeIn 1.5s ease-in-out;
}

.product-banner p {
    font-size: 1.2rem;
    color: #f0f0f0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeIn 2s ease-in-out;
}

.product-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.product-banner h1, .product-banner p {
    position: relative;
    z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-banner {
        padding: 4rem 1.5rem;
    }

    .product-banner h1 {
        font-size: 2.5rem;
    }

    .product-banner p {
        font-size: 1rem;
    }
}

/* Keyframes for Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Categories Filter Section */
.categories-filter {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    border-top: 5px solid #ffd700; /* Add a gold border for a premium look */
    border-bottom: 5px solid #ffd700;
}

.categories-filter h2 {
    font-size: 2.5rem;
    color: #333;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.categories-filter .d-flex {
    gap: 1rem; /* Consistent spacing between buttons */
    flex-wrap: wrap;
    justify-content: center;
}

.categories-filter a {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background-color: #fff;
    border: 2px solid #ffd700; /* Gold border for buttons */
    border-radius: 50px;
    text-transform: capitalize;
    transition: all 0.3s ease-in-out;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add subtle shadow for depth */
}

.categories-filter a:hover {
    background-color: #ffd700; /* Gold fill on hover */
    color: #fff;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5); /* Stronger shadow on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.categories-filter a.active {
    background-color: #ffd700; /* Active state button */
    color: #fff;
    border-color: #ffd700;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .categories-filter h2 {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .categories-filter a {
        font-size: 0.9rem; /* Slightly smaller buttons */
        padding: 0.7rem 1.2rem;
    }
}
/* Products Grid Section */
.products-grid {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.products-grid .row {
    margin: 0 auto;
    justify-content: center;
}

/* Product Card */
.products-grid .card {
    background-color: #fff;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: center;
}

.products-grid .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Product Image */
.products-grid .card-img-top {
    max-height: 200px;
    object-fit: cover;
    border-bottom: 5px solid #ffd700; /* Gold border for premium look */
    transition: transform 0.3s ease;
}

.products-grid .card:hover .card-img-top {
    transform: scale(1.1);
}

/* Card Body */
.products-grid .card-body {
    padding: 1.5rem;
}

.products-grid .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.products-grid .text-muted {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.products-grid .fw-bold {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1rem;
}

.products-grid .card-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Button Styling */
.products-grid .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(45deg, #ffd700, #ffae00);
    border: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
}

.products-grid .btn-primary:hover {
    background: linear-gradient(45deg, #ffae00, #ffd700);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

/* No Products Message */
.products-grid .text-muted {
    font-size: 1.2rem;
    color: #888;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .products-grid {
        padding: 2rem 1rem;
    }

    .products-grid .card-img-top {
        max-height: 150px;
    }

    .products-grid .card-title {
        font-size: 1.2rem;
    }

    .products-grid .fw-bold {
        font-size: 1rem;
    }

    .products-grid .btn-primary {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}
