/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Enhanced Black & Gold Theme */
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --dark-gray: #2d2d2d;
    --medium-gray: #444444;
    --light-gray: #f8f8f8;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #888888;
    --text-light-gray: #cccccc;
    
    /* Enhanced Gold Colors */
    --primary-gold: #D4AF37;
    --gold-light: #E8C260;
    --gold-dark: #B8941F;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #E8C260 50%, #B8941F 100%);
    --gold-glow: rgba(212, 175, 55, 0.3);
    --gold-glow-light: rgba(212, 175, 55, 0.1);
    
    /* Accent Colors */
    --accent-blue: #3498db;
    --accent-green: #2ecc71;
    --accent-red: #e74c3c;
    --accent-purple: #9b59b6;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px var(--gold-glow);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container Width */
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--text-gray);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-fast);
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--gold-gradient);
    color: var(--primary-black);
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 1.25;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-normal);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background-color: var(--primary-black);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.69);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    border-radius: var(--radius-md);
    color: var(--primary-black);
    font-size: 1.4rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--primary-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-top: 3px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-light-gray);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.nav-link i {
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--text-light);
    background: rgba(212, 175, 55, 0.1);
}

.nav-link.active {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* User Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-left: auto;
}

.search-container {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text-light-gray);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-fast);
}

.search-toggle:hover {
    color: var(--primary-gold);
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: var(--secondary-black);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.search-container:hover .search-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--primary-black);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-family: var(--font-primary);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.search-btn {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light-gray);
    cursor: pointer;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.user-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--text-light-gray);
    font-size: 1.125rem;
    transition: all var(--transition-normal);
}

.user-action-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.cart-count, .wishlist-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary-gold);
    color: var(--primary-black);
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
}

.menu-icon {
    width: 24px;
    height: 18px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}



/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 3rem 0 0;
    background: var(--primary-black);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.section-title {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    font-family: var(--font-secondary);
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light-gray);
    font-size: 1.125rem;
}

/* Product Filter Tabs */
.product-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-md);
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light-gray);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
}

.filter-tab:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

.filter-tab.active {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--primary-black);
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 products per line */
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.product-card {
    background: var(--secondary-black);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 aspect ratio ke liye */
    overflow: hidden;
    background: var(--primary-black);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}


.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    font-family: var(--font-secondary);
    line-height: 1.3;
}

.product-description {
    font-size: 0.9375rem;
    color: var(--text-light-gray);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-gray);
}

.product-meta i {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.btn-details .fa-search {
    color: var(--primary-gold); /* Apne pasand ka color code yahan dalein */
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.original-price {
    font-size: 0.875rem;
    color: var(--text-gray);
    text-decoration: line-through;
}

.original-price::before {
    content: '₹';
    font-size: 0.8em;
    margin-right: 1px;
}

.product-actions {
    display: flex;
    justify-content: center; 
    gap: 1rem;               
    width: 100%;             
}

.btn-buy {
    background: var(--gold-gradient);
    color: var(--primary-black);
    border: none;
    min-width: 100px;
    margin: 0;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-details {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
    margin: 0;

}

.btn-details:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: var(--space-xxl);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: var(--gold-gradient);
    color: var(--primary-black);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary i {
    transition: transform var(--transition-normal);
}

.btn-secondary:hover i {
    transform: translateX(5px);
}



/* ==========================================================================
   SIMPLIFIED FOOTER BOTTOM
   ========================================================================== */

.footer-bottom {
    /* Top border line - matching your gold theme subtle version */
    border-top: 1px solid rgba(212, 175, 55, 0.1); 
    padding: 30px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}

.copyright p {
    color: var(--text-gray);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 0;
}


.copyright span{
  color: var(--primary-gold);
}


/* Responsive: thodi aur spacing mobile par */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 25px 15px 15px;
    }
}

/* Responsive Alignment */
@media (max-width: 480px) {
    .footer-contact-list li {
        justify-content: center;
        text-align: left;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .brand-col, .contact-form-col { align-items: center; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 20px; }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: var(--space-md);
    }
}

@media (max-width: 992px) {
    .products-section {
        padding: var(--space-xl) 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--space-sm);
        margin-bottom: var(--space-lg);
    }
    
    .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .product-footer {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
    
    .product-actions {
        width: 100%;
    }
    
    .product-actions .btn-small {
        flex: 1;
        text-align: center;
    }
    
    .product-image {
        height: 200px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: var(--space-xl);
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-title {
        font-size: 1.125rem;
    }
    
    .current-price {
        font-size: 1.25rem;
    }
    
    .btn-small {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation for product cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }


/* Loading State */
.loading-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-xxl);
}

.loading-spinner {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error State */
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-xxl);
}

.error-message i {
    font-size: 4rem;
    color: var(--accent-red);
    margin-bottom: var(--space-md);
}

.error-message h3 {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.error-message p {
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
}

/* No Products Found */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 13rem 0 13rem;
}

.no-products i {
    font-size: 4rem;
    color: var(--text-gray);
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.no-products h3 {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.no-products p {
    color: var(--text-gray);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-red);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

/* Product Header */
.product-header {
    margin-bottom: var(--space-sm);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.product-rating i {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

.rating-value {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

.reviews-count {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Product Pricing */
.product-pricing {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-secondary);
}

.current-price::before {
    content: '₹';
    font-size: 0.8em;
    margin-right: 1px;
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-decoration: line-through;
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--secondary-black);
    color: var(--text-light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-gold);
    z-index: 9999;
    animation: slideInRight 0.3s ease-out;
}

.notification i {
    color: var(--primary-gold);
    font-size: 1.25rem;
}

.notification-success {
    border-left-color: var(--accent-green);
}

.notification-success i {
    color: var(--accent-green);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Product Card Animation */
.product-card.animated {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .product-rating {
        flex-wrap: wrap;
    }
    
    .product-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .notification {
        left: 20px;
        right: 20px;
        animation: slideInUp 0.3s ease-out;
    }
    
    @keyframes slideInUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}