/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --veloura-red: #b91c1c;
    --veloura-soft-red: #fca5a5;
    --veloura-muted: #9ca3af;
    --veloura-bg: #000000;
    --veloura-card-bg: #0a0a0a;
    --hero-gradient: radial-gradient(circle at 70% 20%, #4a0000 0%, #150000 45%, #000000 90%);
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease;
}

/* Smooth Scroll for anchor links */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--veloura-bg);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    /* FIX 1: Removing top padding/margin to fix gap below offer bar */
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
}

.text-center { text-align: center; }

/* Container Utility */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================
   2. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    min-height: 85vh; 
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Ensuring no gap */
    margin-top: 0;
    padding-top: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--hero-gradient);
    z-index: -1;
}

.hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0 4rem; 
}

/* Responsive Hero */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-img {
        height: 350px !important;
        margin-top: 2rem;
    }
}

/* Hero Content Styling */
.new-arrival-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(252, 165, 165, 0.3);
    border-radius: 50px;
    color: var(--veloura-soft-red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-style: italic;
    color: var(--veloura-soft-red);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    color: var(--veloura-muted);
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

@media (max-width: 900px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Hero Image & Animation */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--veloura-red);
    filter: blur(100px);
    opacity: 0.4;
    border-radius: 50%;
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

.hero-img {
    height: 550px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.8));
    position: relative;
    z-index: 2;
}

/* Floating Animation */
.floating-anim {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--veloura-red);
    color: white;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(185, 28, 28, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================
   3. SCENT STORIES SECTION (UPDATED)
   ========================================= */
.scent-stories-section {
    background-color: #050505;
    padding: 6rem 0;
    border-top: 1px solid rgba(185, 28, 28, 0.1);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--veloura-muted);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* FIX 5: Mobile Responsive Scent Stories (Side-by-Side View) */
@media (max-width: 900px) {
    .hero-section{
        padding-top: 4rem;
    }
    .scent-stories-section {
        padding: 3rem 0;
    }

    .stories-grid {
        grid-template-columns: 1fr ; /* Force 2 columns */
        gap: 1.5rem;
    }
    
    .story-card {
        padding: 1.25rem;
        border-radius: 14px;
    }
    
    .story-title {
        font-size: 1.25rem !important;
    }
    
    .story-tag {
        font-size: 0.6rem;
        margin-bottom: 0.5rem;
    }
    
    .story-text {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .story-image-container {
        position: relative;
        top: auto;
        height: 220px !important;
        order: -1;
        margin-bottom: 1.5rem;
    }
    
    .overlay-title {
        font-size: 1.25rem !important;
    }
    .story-overlay-text {
        bottom: 1.25rem;
        left: 1.25rem;
    }
}

.story-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

/* FIX 2: Static card - Only background change on active, no movement */
.story-card.active {
    background: rgba(185, 28, 28, 0.08);
    border-color: rgba(185, 28, 28, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.active-dot, .inactive-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition);
}

.active-dot {
    background-color: var(--veloura-red);
    box-shadow: 0 0 10px var(--veloura-red);
}

.inactive-dot {
    background-color: rgba(255, 255, 255, 0.1);
}

.story-title {
    font-size: 1.75rem;
    color: #fff;
    margin: 0;
}

.story-card:hover .story-title {
    color: var(--veloura-soft-red);
}

.story-tag {
    color: var(--veloura-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* FIX 2: Details always visible (no expand/collapse) */
.story-details.static-details {
    display: block;
    opacity: 0.7;
    margin-top: 0.5rem;
    transition: opacity 0.3s;
}

.story-card.active .story-details {
    opacity: 1;
}

.story-text {
    color: var(--veloura-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Dynamic Image */
.story-image-container {
    position: relative;
    /* FIX 2: Reduced height */
    height: 450px; 
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 100px;
}

.story-display-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    pointer-events: none;
}

.story-overlay-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    pointer-events: none;
}

.overlay-subtitle {
    color: var(--veloura-soft-red);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.overlay-title {
    font-size: 2rem;
    color: #fff;
}

/* =========================================
   4. QUIZ SECTION
   ========================================= */
.quiz-section {
    background: linear-gradient(135deg, #1a0505 0%, #000000 100%);
    padding: 6rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quiz-banner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quiz-icon-circle {
    width: 64px;
    height: 64px;
    background-color: var(--veloura-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    box-shadow: 0 0 20px rgba(185, 28, 28, 0.4);
}

/* FIX 3: Icon styles inside circle */
.quiz-icon-circle svg {
    width: 32px;
    height: 32px;
}

.btn-white {
    background-color: #fff;
    color: #000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-white:hover {
    background-color: var(--veloura-soft-red);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================
   5. FEATURED COLLECTION
   ========================================= */
.featured-section {
    padding: 6rem 0;
    background-color: var(--veloura-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* FIX 5: Mobile Featured Grid (2 Columns) */
@media (max-width: 600px) {
    .product-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 1rem;
    }
    
    .btn-quick-add {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
}

.product-card {
    cursor: pointer;
}

.product-img-box {
    background-color: var(--veloura-card-bg);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    margin-bottom: 1rem;
}

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

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-add {
    background: var(--veloura-red);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .btn-quick-add {
    transform: translateY(0);
}

.btn-quick-add:hover {
    background-color: #991b1b;
}

.product-info {
    text-align: center;
}

.product-info h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.product-info p {
    color: var(--veloura-soft-red);
    font-weight: 500;
}

/* =========================================
   6. FRAGRANCE NOTES
   ========================================= */
.notes-section {
    padding: 6rem 0;
    background-color: #080202;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .notes-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .notes-grid { grid-template-columns: repeat(2, 1fr); }
    /* Last item (Spicy) ko center karne ke liye agar odd number ho */
    .note-item:last-child:nth-child(odd) {
        grid-column: span 2; /* Full width if needed, or keep standard */
    }

}

.note-item {
    text-align: center;
    cursor: default;
}

.note-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(185, 28, 28, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--veloura-soft-red);
    background: rgba(185, 28, 28, 0.05);
    transition: var(--transition);
}

/* FIX 4: Ensure SVGs inside notes are visible */
.note-icon svg {
    width: 32px;
    height: 32px;
}

.note-item:hover .note-icon {
    transform: scale(1.1);
    border-color: var(--veloura-red);
    background: rgba(185, 28, 28, 0.2);
}

.note-item h4 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.note-item p {
    color: var(--veloura-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   7. MODAL STYLES
   ========================================= */
/* .modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}


.modal-overlay.active .quiz-card {
    transform: translateY(0);
} */
.quiz-card {
    background: #0f0505;
    border: 1px solid rgba(185, 28, 28, 0.3);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    box-shadow: 0 0 50px rgba(185, 28, 28, 0.1);
}

.quiz-option {
    display: block;
    width: 100%;
    padding: 0.8rem;
    margin: 0.75rem 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.2s;
}

.quiz-option:hover {
    background: var(--veloura-red);
    border-color: var(--veloura-red);
}

/* =========================================
   8. AUTH & TOAST STYLES (NEW)
   ========================================= */

/* Auth Modal Specifics */
/* .auth-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    text-align: left;
}

.auth-header {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1.5rem;
    color: var(--veloura-muted);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.active {
    color: #fff;
    background: rgba(185, 28, 28, 0.1);
    border-bottom: 2px solid var(--veloura-red);
}

.auth-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    color: #fff;
    border-radius: 8px;
    outline: none;
}

.auth-input:focus {
    border-color: var(--veloura-red);
}

.full-width { width: 100%; margin-top: 1rem; }

.auth-footer {
    text-align: center;
    color: var(--veloura-muted);
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 1rem;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--veloura-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}
.modal-close-btn:hover { color: #fff; } */

/* TOAST NOTIFICATION */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(10, 10, 10, 0.95);
    border-left: 4px solid var(--veloura-red);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    min-width: 250px;
    transform: translateX(100%);
    animation: slideIn 0.3s forwards, fadeOut 0.5s forwards 3.5s;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-success i {
    color: var(--veloura-red);
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
}

/* Helper Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-200 { animation-delay: 0.2s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}