/* 
==================================================
   SHRINGAR KUNJ - PREMIUM CSS DESIGN SYSTEM
==================================================
*/

:root {
    /* Color Palette */
    --color-maroon: #5a1212;
    --color-maroon-light: #7a1f1f;
    --color-saffron: #f58634;
    --color-saffron-light: #fba96b;
    --color-gold: #d4af37;
    --color-gold-light: #ebd68a;
    --color-cream: #fffaf0;
    --color-dark: #1a1a1a;
    --color-gray: #4a4a4a;
    --color-light-gray: #f5f5f5;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;

    /* Shadows & Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-glow-gold: 0 0 20px rgba(212, 175, 55, 0.4);
    --shadow-glow-saffron: 0 0 20px rgba(245, 134, 52, 0.3);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==================================================
   RESET & BASE STYLES
================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-maroon);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
    outline: none;
}

/* ==================================================
   TYPOGRAPHY
================================================== */
.text-center { text-align: center; }
.text-saffron { color: var(--color-saffron); }
.text-gold { color: var(--color-gold); }
.text-maroon { color: var(--color-maroon); }
.text-white { color: white; }

.heading-xl {
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.heading-lg {
    font-size: clamp(2rem, 3vw, 3.5rem);
    margin-bottom: 1rem;
}

.heading-md {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.body-text {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* ==================================================
   LAYOUT UTILITIES
================================================== */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* ==================================================
   COMPONENTS
================================================== */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 250, 240, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
    background: rgba(255, 250, 240, 0.95);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-maroon);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--color-saffron);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-maroon);
    position: relative;
    padding-bottom: 0.25rem;
    font-size: 1.1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-saffron);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    font-size: 1.25rem;
    color: var(--color-maroon);
}

.nav-icons i {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-icons i:hover {
    color: var(--color-saffron);
    transform: translateY(-2px);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--color-saffron);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow-saffron);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(245, 134, 52, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-maroon);
    border: 2px solid var(--color-gold);
}

.btn-outline:hover {
    background: var(--color-gold);
    color: white;
    box-shadow: var(--shadow-glow-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.7);
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26,26,26,0.3) 0%, rgba(90,18,18,0.6) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
    margin: 0 auto;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow-gold);
    border-color: var(--color-gold);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow-saffron);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(90, 18, 18, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(3px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: white;
    color: var(--color-maroon);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.product-card:hover .quick-view-btn {
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: var(--color-saffron);
    color: white;
}

.product-details {
    padding: 1.5rem;
    text-align: center;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.product-rating {
    color: var(--color-saffron);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.product-price {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-maroon);
    margin-bottom: 1.25rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-saffron);
    color: var(--color-saffron);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-smooth);
    background: transparent;
}

.add-to-cart:hover {
    background: var(--color-saffron);
    color: white;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-saffron);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Category Banners */
.category-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.category-banner:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.category-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.category-link {
    color: var(--color-gold);
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.category-banner:hover .category-title {
    transform: translateY(0);
}

.category-banner:hover .category-link {
    opacity: 1;
    transform: translateY(0);
}

/* About Section Enhancements */
.about-image-wrapper {
    position: relative;
    padding-bottom: 2rem;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 2rem;
    right: -2rem;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-gold);
    border-radius: 20px;
    z-index: -1;
}

.about-image-wrapper img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.feature-list {
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-saffron);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.feature-content p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: white;
    padding: 5rem 0 2rem;
    border-top: 5px solid var(--color-saffron);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--color-saffron);
}

.footer-desc {
    color: #ccc;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links a:hover {
    background: var(--color-saffron);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-saffron);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9rem;
}

/* ==================================================
   ANIMATIONS
================================================== */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Reveal Animation Class */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================================
   RESPONSIVE DESIGN
================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu hidden by default */
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
