/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary: #1a1a1a;       /* Deep Black */
    --gold: #c5a059;          /* Muted Luxury Gold */
    --white: #ffffff;
    --off-white: #fcfcfc;
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--off-white);
    color: var(--primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--white); z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.6s ease;
}
.loader-logo img { width: 100px; animation: breathe 2s infinite ease-in-out; }

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.7; }
}

/* --- HEADER --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 15px 30px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo img { height: 60px; display: block; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--primary); font-size: 12px;
    font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px;
    position: relative; transition: color 0.3s;
}
.nav-links a.active, .nav-links a:hover { color: var(--gold); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px;
    background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hamburger */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.bar { width: 25px; height: 2px; background: var(--primary); transition: 0.3s; }

/* --- HERO --- */
.hero {
    padding: 160px 20px 80px; text-align: center;
    background: linear-gradient(to bottom, #fff, var(--off-white));
}
.hero h1 {
    font-family: 'Playfair Display', serif; font-size: 3rem;
    color: var(--primary); margin-bottom: 15px;
}
.hero p { color: #666; max-width: 600px; margin: 0 auto; font-weight: 300; }

/* --- GRID --- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 30px; }
.section-title {
    text-align: center; font-family: 'Playfair Display', serif;
    font-size: 2.2rem; margin: 60px 0 40px;
}
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px; margin-bottom: 80px;
}

/* --- CARD --- */
.product-card {
    background: transparent; border: none; position: relative;
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); }

.card-img {
    height: 350px; overflow: hidden; position: relative;
    border-radius: 4px; box-shadow: var(--shadow-sm);
}
.card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease;
}
.product-card:hover .card-img img { transform: scale(1.1); }

.badge {
    position: absolute; top: 10px; left: 10px;
    background: #fff; padding: 5px 10px; font-size: 10px;
    text-transform: uppercase; font-weight: 600; letter-spacing: 1px;
}

.overlay-btn {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 15px; background: rgba(255,255,255,0.9);
    transform: translateY(100%); transition: transform 0.3s ease;
}
.product-card:hover .overlay-btn { transform: translateY(0); }

.btn-buy {
    display: block; width: 100%; text-decoration: none;
    background: var(--primary); color: #fff; padding: 10px 0;
    text-align: center; font-size: 11px; text-transform: uppercase;
    letter-spacing: 1px; transition: 0.3s;
}
.btn-buy:hover { background: var(--gold); }

.card-info { padding-top: 15px; text-align: left; }
.card-info h5 {
    font-family: 'Playfair Display', serif; font-size: 1.1rem;
    color: var(--primary); margin-bottom: 5px;
}
.card-info ul { list-style: none; font-size: 0.85rem; color: #777; margin-bottom: 5px; }
.price { font-size: 1rem; font-weight: 600; color: var(--gold); }


/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 768px) {
    /* Navigation Menu Fix */
    .nav-links {
        position: fixed; top: 60px; right: -100%; width: 70%; height: 100vh;
        background: #fff; flex-direction: column; justify-content: flex-start;
        padding-top: 50px; transition: 0.4s; box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
    
    /* Product Card Fix */
    .card-img { height: 280px; }
    
    /* Button ko Hamesha Visible Rakho */
    .overlay-btn {
        transform: translateY(0) !important; /* Force Visible */
        background: rgba(255, 255, 255, 0.8); /* Halki safed patti taake button clear dikhe */
        padding: 10px;
        bottom: 0;
    }

    /* Mobile par button solid black rahega taake click karne ka dil kare */
    .btn-buy {
        background: var(--primary); 
        color: #fff;
        border: none;
    }
}
/* Animations */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: 1s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* --- PREMIUM FOOTER --- */
footer {
    background-color: #0f0f0f; /* Pitch Black */
    color: #b0b0b0;
    padding: 80px 0 30px;
    margin-top: 100px;
    border-top: 3px solid var(--gold); /* Gold Line at Top */
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1400px; margin: 0 auto; padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 4 Columns responsive */
    gap: 40px;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; color: var(--gold);
    margin-bottom: 25px; letter-spacing: 1px;
}

.footer-col p { line-height: 1.8; margin-bottom: 15px; color: #888; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    color: #b0b0b0; text-decoration: none;
    transition: 0.3s; display: inline-block;
}
.footer-col ul li a:hover { color: var(--gold); transform: translateX(5px); }

/* Social Icons */
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a {
    display: flex; justify-content: center; align-items: center;
    width: 40px; height: 40px; border: 1px solid #333;
    color: #fff; text-decoration: none; border-radius: 50%;
    transition: 0.4s;
}
.social-links a:hover {
    background: var(--gold); border-color: var(--gold);
    color: #000; transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center; margin-top: 60px; padding-top: 20px;
    border-top: 1px solid #222; font-size: 0.8rem; letter-spacing: 1px;
}
.footer-bottom p { margin-bottom: 5px; }
.footer-bottom span { color: var(--gold); font-weight: 500; }

/* Mobile Fix */
@media (max-width: 768px) {
    footer { padding: 50px 0 20px; text-align: center; }
    .social-links { justify-content: center; }
    .footer-col h4 { margin-bottom: 15px; margin-top: 20px; }
}

