/* Bibi Lou Chaussures - Custom Styles (Natura template, chaussures femme) */

/* ===== FONTS ===== */
body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.font-display {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== BIBI LOU COLOR PALETTE ===== */
/* Primary: Dusty rose / terracotta - élégant chaussures femme */
.bg-primary {
    background-color: #b07d7a;
}
.bg-primary-dark {
    background-color: #8f615e;
}
.bg-primary-light {
    background-color: #d4a5a2;
}
.text-primary {
    color: #b07d7a;
}
.text-primary-dark {
    color: #8f615e;
}
.text-primary-light {
    color: #e8c9c6;
}
.border-primary {
    border-color: #b07d7a;
}

/* Background: Cream */
.bg-cream {
    background-color: #faf9f7;
}
.bg-cream-dark {
    background-color: #f5f3f0;
}
.text-cream {
    color: #faf9f7;
}

/* Accent: Charcoal */
.bg-charcoal {
    background-color: #2c2c2c;
}
.text-charcoal {
    color: #2c2c2c;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-up { animation: fadeUp 0.6s ease-out forwards; }
.animate-fade-up-delay { animation: fadeUp 0.6s ease-out 0.2s forwards; opacity: 0; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }

/* ===== HEADER ===== */
#header {
    background-color: rgba(44, 44, 44, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
#header.scrolled {
    background-color: rgba(44, 44, 44, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}
#mobile-menu.open {
    display: block;
}

/* ===== CARD HOVER ===== */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
}

/* ===== HERO OVERLAY ===== */
.hero-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

/* ===== CATEGORY OVERLAY ===== */
.category-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

/* ===== SHADOW ===== */
.shadow-soft {
    box-shadow: 0 2px 8px -2px rgb(0 0 0 / 0.08), 0 4px 16px -4px rgb(0 0 0 / 0.06);
}

/* ===== STAT NUMBER ===== */
.stat-number {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}
@media (min-width: 768px) {
    .stat-number { font-size: 3rem; }
}

/* ===== TESTIMONIAL CAROUSEL (MOBILE) ===== */
#testimonial-carousel { position: relative; }
#testimonial-track { display: flex; transition: transform 0.3s ease; }
#testimonial-track > div { flex: 0 0 100%; padding: 0 1rem; }
.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #d6d3d1;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.testimonial-dot.active { background-color: #b07d7a; }

/* ===== FOCUS / ACCESSIBILITY ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #b07d7a;
    outline-offset: 2px;
}

/* ===== SELECTION ===== */
::selection { background-color: #b07d7a; color: white; }
::-moz-selection { background-color: #b07d7a; color: white; }

strong { font-weight: 600; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
