﻿body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #fafafa;
    color: #333;
    height:0px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.responsive-banner {
    background-image: url('../images/men-perfume-banner.jpg'); 
/*    background-color:aquamarine;*/
    background-size: cover;
    background-position: center;
    background-repeat:no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: #fff;
}

    .responsive-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
    }

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

    .banner-content h1 {
        font-size: 48px;
        font-weight: bold;
        color: #d4af37;
    }

    .banner-content p {
        font-size: 18px;
        margin: 15px 0;
    }

/*Product Card CSS*/

/* ✅ Section Header */
.products-section{
    padding-bottom:50px;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 80px;
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* 🎯 Flexbox for Product Cards */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 85%;
    margin: auto;
}

/* 🧩 Individual Product Card */
.product-card {
    flex: 1 1 250px;
    max-width: 300px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .product-card img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

/* 🏷️ Badges */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff8c00;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
}

    .badge.discount {
        top: 35px;
        background: #4caf50;
    }

    .badge.offer {
        top: 60px;
        background: #d32f2f;
    }

/* 📌 Product Info */
.product-info {
    margin-top: 10px;
}

    .product-info .category {
        font-size: 12px;
        color: #777;
        text-transform: uppercase;
    }

    .product-info h3 {
        font-size: 18px;
        font-weight: bold;
        margin: 5px 0;
    }

    .product-info .rating {
        font-size: 14px;
        color: #ff9800;
    }

    .product-info .price {
        font-size: 16px;
        font-weight: bold;
        margin: 5px 0;
    }

.old-price {
    text-decoration: line-through;
    color: #999;
}

/* 🛒 Add to Cart Button */
.add-to-cart {
    display: block;
    width: 100%;
    padding: 10px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
}

    .add-to-cart:hover {
        background: #444;
    }
    a{
        text-decoration:none;
    }

/* 🔗 View All Button */
.view-all {
    text-align: center;
    margin-top: 30px;
}

    .view-all button {
        padding: 10px 20px;
        border: 1px solid black;
        background: white;
        color: black;
        cursor: pointer;
        font-size: 16px;
        font-weight: normal;
        border-radius: 5px;
        width: 250px !important;
    }

        .view-all button:hover {
            background: black;
            color: white;
        }

/* 📱 Responsive */
@media (max-width: 768px) {
    .product-card {
        max-width: 90%;
    }
}
