/* ============================================================
   LUMINA PARIS — Shared Stylesheet
   Django static file: {% load static %} {% static 'css/lumina.css' %}
   ============================================================ */

/* ---- Design Tokens ---- */
/* :root {
    --champagne:       #F7F3EE;
    --velvet-rose:     #B47C6E;
    --deep-charcoal:   #1E1C1A;
    --golden-honey:    #C6A43F;
    --cream-marble:    #FFF9F2;
    --sage-mist:       #9CAF88;
    --shadow-soft:     rgba(0, 0, 0, 0.04);
    --shadow-luxury:   rgba(180, 124, 110, 0.12);
} */
:root {
    --champagne:       #F2E9E1;          /* page background  → linen blush      */
    --velvet-rose:     #C2674F;          /* accents/hover    → coral matte      */
    --deep-charcoal:   #231F1B;          /* primary text     → espresso         */
    --golden-honey:    #C8A84B;          /* highlights/CTA   → champagne gold   */
    --cream-marble:    #FAF5EF;          /* card surfaces    → soft parchment   */
    --sage-mist:       #7A8FA6;          /* secondary accent → slate blue       */
    --shadow-soft:     rgba(0, 0, 0, 0.05);
    --shadow-luxury:   rgba(194, 103, 79, 0.13);
}

/* ---- Reset & Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--champagne);
    color: var(--deep-charcoal);
    scroll-behavior: smooth;
    overflow-x: hidden;
}
h1, h2, h3, .serif-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}
h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; position: relative; display: inline-block; }
.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--velvet-rose);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

/* ---- Buttons ---- */
.btn-primary-luxury {
    background: var(--deep-charcoal);
    color: var(--champagne);
    border: none;
    border-radius: 0;
    padding: 14px 36px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-primary-luxury:hover {
    background: var(--velvet-rose);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 12px 24px var(--shadow-luxury);
}
.btn-outline-luxury {
    background: transparent;
    border: 1.5px solid var(--deep-charcoal);
    color: var(--deep-charcoal);
    border-radius: 0;
    padding: 12px 32px;
    font-weight: 500;
    transition: 0.3s;
}
.btn-outline-luxury:hover { background: var(--deep-charcoal); color: var(--champagne); }
.btn-gold {
    background: var(--golden-honey);
    border: none;
    border-radius: 0;
    padding: 12px 28px;
    font-weight: 600;
    color: var(--deep-charcoal);
    transition: 0.3s;
}
.btn-gold:hover { background: #b39238; transform: scale(0.98); }

/* ---- Navigation ---- */
.navbar {
    backdrop-filter: blur(12px);
    background: rgba(247, 243, 238, 0.95);
    transition: all 0.3s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}
.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(247, 243, 238, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--deep-charcoal) !important;
}
.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    color: var(--deep-charcoal) !important;
    position: relative;
    padding: 0.5rem 0 !important;
    margin: 0 1rem;
    transition: 0.2s;
}
.nav-link:hover  { color: var(--velvet-rose) !important; }
.nav-link.active { color: var(--velvet-rose) !important; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1.5px;
    background: var(--velvet-rose);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Mobile offcanvas menu */
.offcanvas-menu { background: var(--cream-marble); width: 280px; }
.offcanvas-menu .nav-link {
    padding: 0.8rem 0 !important;
    margin: 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ---- Cart Badge ---- */
.cart-icon-wrapper { position: relative; display: inline-flex; cursor: pointer; }
.cart-badge {
    position: absolute;
    top: -6px; right: -8px;
    background: var(--golden-honey);
    color: var(--deep-charcoal);
    border-radius: 50%;
    width: 18px; height: 18px;
    font-size: 0.65rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
/* Sticky cart button (catalogue page) */
.sticky-cart-btn {
    position: fixed; bottom: 24px; right: 24px; z-index: 1040;
    background: var(--deep-charcoal); color: white; border-radius: 50%;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: none; transition: all 0.3s;
}
.sticky-cart-btn:hover { background: var(--velvet-rose); transform: scale(1.05); }
.cart-count {
    position: absolute; top: -5px; right: -5px;
    background: var(--golden-honey); color: var(--deep-charcoal);
    border-radius: 50%; width: 22px; height: 22px;
    font-size: 0.7rem; font-weight: bold;
    display: flex; align-items: center; justify-content: center;
}

/* ---- Product Cards (shared between index & catalogue) ---- */
.product-card {
    background: var(--cream-marble);
    padding: 1.5rem;
    transition: all 0.5s ease;
    border: none;
    box-shadow: 0 8px 20px var(--shadow-soft);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 40px var(--shadow-luxury); }
.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: 0.4s;
    margin-bottom: 1rem;
}
/* Homepage product cards keep 4/5 ratio */
.product-card--portrait .product-img { aspect-ratio: 4 / 5; }
.product-card:hover .product-img { filter: grayscale(10%) contrast(108%); }
.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--velvet-rose);
    margin-bottom: 0.5rem;
}
.product-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.product-price { font-weight: 700; font-size: 1.2rem; color: var(--deep-charcoal); }

.add-to-cart-icon {
    background: transparent;
    border: 1px solid var(--deep-charcoal);
    border-radius: 50%;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--deep-charcoal);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}
.add-to-cart-icon:hover { background: var(--deep-charcoal); color: var(--champagne); transform: scale(1.05); }
.add-to-cart-icon.added { background: var(--velvet-rose); border-color: var(--velvet-rose); color: white; }

.quick-view-btn {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: 0.2s;
    opacity: 0;
    transform: scale(0.8);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.product-card:hover .quick-view-btn { opacity: 1; transform: scale(1); }
.quick-view-btn:hover { background: var(--golden-honey); color: white; }

/* ---- Filter Sidebar (catalogue) ---- */
.filter-card {
    background: var(--cream-marble);
    padding: 1.5rem;
    border: none;
    box-shadow: 0 4px 20px var(--shadow-soft);
    position: sticky;
    top: 100px;
}
.filter-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.filter-category { list-style: none; padding: 0; margin: 0 0 1.5rem 0; }
.filter-category li { margin-bottom: 0.75rem; }
.filter-category label {
    cursor: pointer;
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; transition: 0.2s;
}
.filter-category label:hover { color: var(--velvet-rose); }
.filter-category input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--velvet-rose);
    cursor: pointer;
}
.category-count { margin-left: auto; color: #999; font-size: 0.75rem; }
.reset-filter-btn {
    background: transparent;
    border: 1px solid var(--deep-charcoal);
    border-radius: 0;
    padding: 8px 16px; font-size: 0.8rem; width: 100%; transition: 0.2s;
}
.reset-filter-btn:hover { background: var(--deep-charcoal); color: white; }

/* ---- No Results ---- */
.no-results { text-align: center; padding: 4rem; background: var(--cream-marble); }

/* ---- Homepage Sections ---- */
.hero-section {
    background: linear-gradient(135deg, #FFF9F2 0%, #F2EBE3 100%);
    min-height: 90vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding-top: 80px;
}
.hero-section::before {
    content: '';
    position: absolute; top: -50%; right: -10%; width: 70%; height: 140%;
    background: radial-gradient(circle, rgba(180,124,110,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.carousel-fade .carousel-item { transition: opacity 0.8s ease-in-out; }
.carousel-control-prev-icon,
.carousel-control-next-icon { background-color: rgba(30,28,26,0.5); border-radius: 0; padding: 20px; }

.catalogue-hero {
    background: linear-gradient(135deg, #2C2A28 0%, #1E1C1A 100%);
    padding: 140px 0 80px;
    margin-bottom: 3rem;
    position: relative; overflow: hidden;
}
.catalogue-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://placehold.co/1920x400/2C2A28/FFFFFF?text=Pattern') repeat;
    opacity: 0.05;
}

.service-card {
    background: var(--cream-marble);
    padding: 2rem; text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}
.service-card:hover { background: white; transform: translateY(-4px); box-shadow: 0 12px 24px var(--shadow-luxury); }
.service-icon { font-size: 2.8rem; color: var(--velvet-rose); margin-bottom: 1rem; }

.testimonial-card {
    background: white; padding: 2rem;
    border-radius: 0;
    box-shadow: 0 4px 12px var(--shadow-soft);
    height: 100%;
    border-left: 4px solid var(--golden-honey);
}

/* ---- Accordion ---- */
.accordion-button:not(.collapsed) { background-color: var(--champagne); color: var(--velvet-rose); font-weight: 600; }
.accordion-button:focus { box-shadow: none; border-color: var(--golden-honey); }

/* ---- Footer ---- */
footer { background: var(--deep-charcoal); color: #D4C9C0; }
footer a { color: #D4C9C0; transition: 0.2s; text-decoration: none; }
footer a:hover { color: var(--golden-honey); }

/* ---- Offcanvas / Modals ---- */
.offcanvas, .modal-content { background-color: var(--cream-marble); border-radius: 0; border: none; }

/* ---- Fixed UI Elements ---- */
.sticky-booking-btn {
    position: fixed; bottom: 24px; right: 24px; z-index: 1040;
    background: var(--velvet-rose); color: white; border-radius: 40px;
    padding: 14px 28px;
    box-shadow: 0 12px 28px rgba(180, 124, 110, 0.4);
    border: none; font-weight: 600; backdrop-filter: blur(4px);
    transition: all 0.3s;
}
.sticky-booking-btn:hover { background: var(--deep-charcoal); transform: scale(1.03); }

.back-to-top {
    position: fixed; bottom: 100px; right: 24px;
    width: 44px; height: 44px;
    background: var(--deep-charcoal); color: white;
    border: none; border-radius: 0;
    opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 1030;
    display: flex; align-items: center; justify-content: center;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--velvet-rose); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-section { min-height: 70vh; padding-top: 100px; }
    .catalogue-hero { padding: 100px 0 50px; }
    .filter-card { position: relative; top: 0; margin-bottom: 1.5rem; }
}
