/* ── Design System — Snooze Style Co. Brand ────────────────────────────── */
:root {
    /* Core Brand Colours (extracted from logo) */
    --primary:      #2D3F5E; /* Deep Navy — SNOOZE text, moon, circle */
    --primary-dark: #1E2D45; /* Darker navy for hover states */
    --accent:       #C9A96E; /* Warm Gold — "Style" script, stars */
    --accent-light: #E8D5B0; /* Pale gold tint */

    /* Backgrounds */
    --bg-cream: #F5F0EB;   /* Warm off-white — logo background */
    --bg-white: #FDFAF7;   /* Slightly warm white for cards */
    --bg-navy:  #2D3F5E;   /* Full navy sections */

    /* Text */
    --text-main:  #2D3F5E; /* Navy for primary text */
    --text-muted: #7A8599; /* Muted blue-grey */
    --text-light: #F5F0EB; /* Cream for text on dark */

    /* Secondary — same as accent for consistency */
    --secondary: #C9A96E;

    /* Utility */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm:  0 2px 8px rgba(45, 63, 94, 0.06);
    --shadow-md:  0 6px 20px rgba(45, 63, 94, 0.10);
    --shadow-lg:  0 16px 40px rgba(45, 63, 94, 0.14);
    --border:     1px solid rgba(45, 63, 94, 0.12);
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

/* Script accent — matches "Style" in logo */
.script-font {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    color: var(--accent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utility classes */
.text-muted  { color: var(--text-muted); }
.text-main   { color: var(--text-main); }
.text-accent { color: var(--accent); }

/* Footer override — warm cream matching logo bg */
footer {
    background: var(--bg-white) !important;
    border-top: var(--border) !important;
    color: var(--text-main);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
header {
    background: rgba(245, 240, 235, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

/* Logo — mirrors logo typography: SNOOZE in serif caps + Style in script */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 1px;
    text-decoration: none;
}

.logo-snooze {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
}

.logo-style {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 0;
    margin-left: 2px;
}

.logo-co {
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    vertical-align: super;
    margin-left: 3px;
    font-weight: 600;
}

nav ul {
    display: flex;
    gap: 2.5rem;
}

nav ul li a {
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    position: relative;
    padding-bottom: 4px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: var(--transition);
}

nav ul li a:hover { color: var(--accent); }
nav ul li a:hover::after { width: 100%; }

.nav-icons {
    display: flex;
    gap: 1.5rem;
    font-size: 1.1rem;
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../assets/images/hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--primary);
    color: var(--text-light);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn:hover {
    background: transparent;
    color: var(--text-light);
    border-color: var(--accent);
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
}

/* Featured Section */
.section {
    padding: 6rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title .eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.75rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-family: 'Cormorant Garamond', serif;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.5px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-item {
    transition: var(--transition);
    padding: 0.5rem 0;
}

.contact-item:hover {
    transform: translateX(5px);
}

.product-img {
    height: 350px;
    overflow: hidden;
    position: relative;
}

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

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

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.product-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.product-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.product-tag {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent-light);
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 0.6rem;
    background: rgba(201,169,110,0.08);
}

/* ── Benefit Cards ───────────────────────────────────────────────────────── */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    background: var(--primary);
    padding: 3.5rem 5%;
    border-radius: 24px;
    margin: 0 5% 6rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.015) 0px,
        rgba(255,255,255,0.015) 1px,
        transparent 1px,
        transparent 20px
    );
}

.benefit-item {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.benefit-item:last-child { border-right: none; }

.benefit-item i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    display: block;
}

.benefit-item h4 {
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.5px;
}

.benefit-item p {
    font-size: 0.82rem;
    color: rgba(245,240,235,0.7);
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
}

/* ── Banner Section ───────────────────────────────────────────────────────── */
.promo-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1a2d4a 100%);
    color: white;
    padding: 7rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    border-radius: 32px;
    margin: 0 5% 6rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.promo-banner::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 60px solid rgba(201,169,110,0.08);
    right: -100px;
    top: -100px;
    pointer-events: none;
}

.promo-content {
    flex: 1;
}

.promo-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: #fff;
}

.promo-content h2 span { color: var(--accent); }

.promo-img {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 3px solid rgba(201,169,110,0.3);
}

/* ── Slider & Categories ─────────────────────────────────────────────────── */
.category-wrapper {
    position: relative;
    padding: 0 2rem;
}

.category-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-left: 1.2rem;
    border-left: 3px solid var(--accent);
    color: var(--primary);
    letter-spacing: 0.5px;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
}

.product-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    padding: 1rem;
    scroll-snap-type: x mandatory;
}

.product-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.product-slider .product-card {
    min-width: 320px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border: var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

@media (max-width: 768px) {
    .product-slider .product-card {
        min-width: 260px;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
}

/* Story Section */
.story-section {
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 8rem;
}

.story-grid.reverse {
    direction: rtl;
}

.story-grid.reverse .story-content {
    direction: ltr;
}

.story-content h2 {
    font-size: 3rem;
    margin: 1.5rem 0;
    line-height: 1.2;
}

.story-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.story-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.story-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.story-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 3rem;
    background: var(--bg-white);
    border: var(--border);
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-card.promise {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.feature-card.promise p {
    color: rgba(245, 240, 235, 0.85);
}

.feature-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.feature-card.promise i {
    color: var(--accent);
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.story-list {
    margin-top: 1.5rem;
}

.story-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.story-list li::before {
    content: '•';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Updates */
@media (max-width: 992px) {
    .story-grid, .story-grid.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr; /* Reset direction for mobile stacking */
    }
    
    .story-section .container {
        padding: 0 5%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }
    
    .nav-links {
        display: none; /* Hide standard nav */
    }
    
    .mobile-toggle {
        display: block !important;
        cursor: pointer;
        font-size: 1.5rem;
    }
    
    .hero {
        height: 70vh;
        padding: 0 5%;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 4rem 5%;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .story-content h2 {
        font-size: 2.2rem;
    }
    
    .story-features {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .product-img {
        height: 250px;
    }
    
    .promo-banner {
        flex-direction: column;
        padding: 3rem 5%;
        text-align: center;
        margin: 0 5% 4rem;
    }
    
    .promo-content h2 {
        font-size: 2.2rem;
    }
    
    .promo-img {
        width: 100%;
        height: 300px !important;
    }
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
}

.mobile-menu.active {
    top: 0;
}

.mobile-menu a {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary);
    letter-spacing: 1px;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
}

/* ── Lightbox ─────────────────────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(10, 10, 10, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 80vw;
    width: 100%;
}

.lightbox-img-wrap {
    width: 100%;
    max-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 16px;
    user-select: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-img-wrap img.slide-out-left  { opacity: 0; transform: translateX(-60px); }
.lightbox-img-wrap img.slide-out-right { opacity: 0; transform: translateX(60px); }
.lightbox-img-wrap img.slide-in-left  { animation: slideInLeft 0.25s ease forwards; }
.lightbox-img-wrap img.slide-in-right { animation: slideInRight 0.25s ease forwards; }

@keyframes slideInLeft  { from { opacity:0; transform: translateX(60px);  } to { opacity:1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity:0; transform: translateX(-60px); } to { opacity:1; transform: translateX(0); } }

.lightbox-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0 0.5rem;
}

.lightbox-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lightbox-counter {
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    color: rgba(245,240,235,0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lightbox-dots {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.lightbox-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

.lightbox-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

.lightbox-nav {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.08);
}

.lightbox-nav:disabled {
    opacity: 0.25;
    cursor: default;
    transform: none;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-close:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    transform: rotate(90deg);
}

/* Hide nav arrows when only one image */
.lightbox.single-image .lightbox-nav,
.lightbox.single-image .lightbox-dots {
    display: none;
}

/* Product card — pointer cursor to signal clickability */
.product-card {
    cursor: pointer;
}

@media (max-width: 768px) {
    .lightbox-stage { max-width: 95vw; }
    .lightbox-nav { width: 40px; height: 40px; font-size: 0.9rem; }
    .lightbox-name { font-size: 1rem; }
}

/* ── Lightbox — action buttons row ────────────────────────────────────────── */
.lightbox-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.lightbox-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 2rem;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    white-space: nowrap;
}

.lightbox-buy-btn i {
    font-size: 1.2rem;
}

/* WhatsApp */
.lightbox-buy-wa {
    background: #25D366;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.lightbox-buy-wa:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* Instagram */
.lightbox-buy-ig {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 20px rgba(220, 39, 67, 0.4);
}

.lightbox-buy-ig:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(220, 39, 67, 0.55);
}

.lightbox-buy-btn:active {
    transform: translateY(0);
    filter: brightness(1);
}

@media (max-width: 768px) {
    .lightbox-buy-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.88rem;
    }
}

