/* Color Palette */
:root {
    --gold: #D4AF37;
    --black: #000000;
    --dark-grey: #1a1a1a;
}

body {
    background-color: var(--black);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

/* Navbar Customization */
.custom-nav {
    /* padding: 20px 0; */
    transition: all 0.4s ease;
}

/* Logo Styling */
.logo {
    /* font-family: 'Playfair Display', serif; */
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.8rem;
}

.logo span {
    color: var(--gold);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--gold) !important;
}

/* Gold Button for Navbar */
.gold-btn {
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    padding: 8px 20px !important;
    transition: 0.3s;
}

.gold-btn:hover {
    background: var(--gold);
    color: var(--black) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2)), 
                url('Images/hero.png');
    background-size: cover;
    background-position: center;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.hero-text h1 span {
    color: var(--gold);
}

.text-gold {
    color: var(--gold);
    letter-spacing: 5px;
}

/* Utility Buttons */
.btn-gold {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    font-weight: 600;
    border-radius: 0;
}

.btn-gold:hover {
    background-color: #bfa030;
    color: var(--black);
}

.btn-outline-light {
    border-radius: 0;
}

/* Change navbar color on scroll (optional via JS) */
.nav-scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
    border-bottom: 1px solid var(--gold);
}

/* =========================================
   Categories Section Styling
   ========================================= */

.categories-section {
    background-color: var(--black); /* Maintain the dark theme */
    position: relative;
    overflow: hidden;
}

/* Section Title Highlight */
.categories-section h2 span {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

/* Category Card Base */
.category-card {
    position: relative;
    display: block;
    width: 100%;
    height: 380px; /* Uniform height for all cards */
    overflow: hidden; /* Important for the zoom effect */
    border-radius: 4px; /* Slight curve, not round */
    transition: transform 0.3s ease;
}

/* Subtle "lift" effect when the card is hovered */
.category-card:hover {
    transform: translateY(-5px);
}

/* The image wrapper (for zooming) */
.category-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Background Image styling and zoom animation */
.category-bg {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps image aspect ratio but fills the box */
    object-position: top center; /* Focuses on the top/center of the garment */
    transition: transform 0.6s ease;
}

/* Overlay to darken the image (Glassmorphism look) */
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

/* Hover State: Image Zoom and Overlay Darken */
.category-card:hover .category-bg {
    transform: scale(1.08); /* Slow zoom in */
}

.category-card:hover::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.95) 100%);
}

/* Content (Text) overlaid on the image */
.category-content {
    position: absolute;
    bottom: 25px; /* Stick content near the bottom */
    left: 20px;
    right: 20px;
    z-index: 3;
    color: #fff;
    text-align: center;
}

/* Gold Category Titles */
.category-title {
    font-family: 'Playfair Display', serif; /* Use the elegant serif font */
    color: var(--gold);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

/* Small description text */
.category-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: #f1f1f1;
    text-transform: capitalize;
    margin: 0;
}

.gold-line {
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    margin-top: 10px;
}

.product-card {
    transition: 0.4s;
}

.product-img-box {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid #333;
}

.product-img-box img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.product-card:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}

/* View Details Button on Hover */
.view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gold);
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0;
    transition: 0.4s;
    border: none;
}

.product-card:hover .view-btn {
    opacity: 1;
}

.product-info h5 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 5px;
}

.product-info .price {
    color: var(--gold);
    font-weight: bold;
}

@keyframes pop {
    0% { transform: translate(50%, -50%) scale(1); }
    50% { transform: translate(50%, -50%) scale(1.5); }
    100% { transform: translate(50%, -50%) scale(1); }
}

.animate-pop {
    animation: pop 0.3s ease-out;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 10;
}
.wishlist-btn:hover { background: #D4AF37; color: #000; }
.wishlist-btn.active { color: #ff4757; } /* Red color for saved items */

/* Footer Custom Styles */
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { 
        color: #888; 
        text-decoration: none; 
        font-size: 0.9rem; 
        transition: 0.3s; 
    }
    .footer-links a:hover { color: #D4AF37; padding-left: 5px; }
    
    .social-icon {
        width: 35px;
        height: 35px;
        background: #111;
        border: 1px solid #333;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #D4AF37;
        border-radius: 50%;
        text-decoration: none;
        transition: 0.3s;
    }
    .social-icon:hover {
        background: #D4AF37;
        color: #000;
        transform: translateY(-3px);
    }
    
    .location-box {
        background: rgba(255, 255, 255, 0.02);
        transition: 0.3s;
    }
    .location-box:hover {
        border-color: #D4AF37 !important;
    }