/*
  Nel's Fantasy — Braids & Beauty
  Dark Luxury Theme — rose #c2185b / or #ffd700 / fond #000000
  Inspiré de waiting/index.html
*/

/* ── Reset & Variables ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:        #c2185b;
  --pink-light:  #e91e8c;
  --gold:        #ffd700;
  --gold-dim:    #c9a800;
  --bg:          #000000;
  --bg2:         #0d0008;
  --bg3:         #110010;
  --text:        #ffffff;
  --text-muted:  rgba(255,255,255,0.60);
  --border:      rgba(194,24,91,0.25);
  --card-bg:     rgba(255,255,255,0.04);
  --radius:      16px;
  --trans:       0.3s cubic-bezier(.4,0,.2,1);
  --shadow:      0 10px 40px rgba(0,0,0,0.5);
  --shadow-lg:   0 24px 70px rgba(0,0,0,0.7);
}

html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; }

/* ── Fond animé global ─────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(194,24,91,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(233,30,140,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(255,215,0,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Utilitaires ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(194,24,91,0.15);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}
.nav-brand img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
  box-shadow: 0 0 14px rgba(194,24,91,0.40);
  transition: box-shadow var(--trans), transform var(--trans);
}
.nav-brand img:hover {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(233,30,140,0.60);
}
.nav-brand span { color: var(--text); }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: rgba(255,255,255,0.80);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color var(--trans), background var(--trans);
  position: relative;
  white-space: nowrap;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--trans);
  border-radius: 2px;
}
.nav-menu a:hover { color: var(--gold); background: rgba(255,215,0,0.06); }
.nav-menu a:hover::after { width: calc(100% - 24px); }

/* ── Lang switcher ─────────────────────────────────────────── */
.lang-switcher {
  display: flex;
  gap: 4px;
  border-left: 1px solid var(--border);
  padding-left: 12px;
  margin-left: 6px;
  align-items: center;
}
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 6px;
  padding: 0 !important;
  transition: transform 0.2s;
}
.lang-switcher a .fi {
  width: 22px; height: 16px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.lang-switcher a:hover { transform: scale(1.15); background: transparent !important; }
.lang-switcher a.active-lang { box-shadow: 0 0 0 2px var(--gold); border-radius: 6px; }
.lang-switcher a.active-lang::after { display: none !important; }

/* ── Burger ────────────────────────────────────────────────── */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.burger-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: var(--trans);
}
.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text);
  overflow: hidden;
}

.slider { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.slides { display: flex; height: 100%; transition: transform 0.9s cubic-bezier(0.77,0,0.175,1); }
.slide  { flex: 0 0 100%; background-size: cover; background-position: center; position: relative; }
.slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(13,0,8,0.78) 100%);
}

/* Fallback sans image */
.hero-fallback {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, #1a0010 0%, #0d0008 50%, #1a0010 100%);
}
.hero-fallback::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 35% 50%, rgba(194,24,91,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 75% 30%, rgba(255,215,0,0.07) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 820px;
  animation: fadeInUp 1s ease;
}

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

.hero h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); margin-bottom: 16px; line-height: 1.15; }
.hero p  { font-size: 1.15rem; margin-bottom: 36px; font-weight: 300; opacity: 0.88; }

.slider-dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer; transition: 0.3s; border: none;
}
.dot.active { background: var(--gold); transform: scale(1.4); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 100%);
  color: #fff !important;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.88rem;
  transition: var(--trans);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(194,24,91,0.40);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(194,24,91,0.55);
  opacity: 0.92;
}
.btn-sm { padding: 9px 20px; font-size: 0.78rem; }

/* ═══════════════════════════════════════════════════════════
   SECTIONS GÉNÉRALES
═══════════════════════════════════════════════════════════ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 20px;
  position: relative;
  z-index: 1;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 55px;
  color: var(--text);
}
.section h2::after {
  content: '';
  display: block;
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-text { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); }
.about-text h2 { color: var(--text); margin-bottom: 20px; }

.hours-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--gold);
}
.hours-box h3 { color: var(--gold); margin-bottom: 14px; }
.hours-box p  { color: var(--text-muted); line-height: 1.8; }

/* ═══════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, #1a0010 0%, #3d0026 50%, #1a0010 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 50px 20px;
  position: relative;
  z-index: 1;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px; text-align: center;
}
.stat-num   { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(194,24,91,0.50);
}
.service-card img { width: 100%; height: 240px; object-fit: cover; }
.service-card .content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card .content h3 { color: var(--text); margin-bottom: 8px; }
.service-card .content p  { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

.service-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.service-card-img { position: relative; }
.service-card-img .photo-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(194,24,91,0.85); color: #fff;
  padding: 4px 10px; border-radius: 12px;
  font-size: 0.7rem; font-weight: 700;
}

.reserve-fee     { font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.service-duration { font-size: 0.82rem; color: var(--text-muted); }

.btn-book-card {
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 100%);
  color: #fff;
  border-radius: 50px; font-size: 0.78rem; font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(194,24,91,0.35);
}
.btn-book-card:hover { opacity: 0.88; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════
   BOOKING FORM
═══════════════════════════════════════════════════════════ */
.booking-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 52px 40px;
  max-width: 800px;
  margin: 0 auto;
}
.form-note { color: var(--gold); font-weight: 600; text-align: center; margin-bottom: 24px; }
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px; margin-bottom: 15px;
}

input, select, textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(194,24,91,0.30);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--trans), background var(--trans);
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.30); }
input:focus, select:focus, textarea:focus {
  border-color: var(--pink);
  background: rgba(194,24,91,0.07);
}
select option { background: #1a0010; color: #fff; }

/* ═══════════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════════ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: 0.4s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(194,24,91,0.50);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: 0.3s;
}
.gallery-overlay-icon { font-size: 1.8rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   LIGHTBOXES
═══════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-content img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lb-close {
  position: absolute; top: 20px; right: 24px;
  color: white; background: none; border: none;
  font-size: 2rem; cursor: pointer;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: white; background: rgba(255,255,255,0.10);
  border: none; width: 50px; height: 50px;
  border-radius: 50%; cursor: pointer; font-size: 1.2rem;
  transition: background 0.2s;
}
.lb-nav:hover { background: rgba(194,24,91,0.50); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.service-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.service-lightbox.open { display: flex; }
.service-lb-inner {
  background: #110010;
  border: 1px solid var(--border);
  border-radius: 20px; max-width: 700px; width: 100%; overflow: hidden;
}
.service-lb-img img { width: 100%; height: 340px; object-fit: cover; }
.service-lb-body { padding: 28px; }
.service-lb-body h3 { color: var(--gold); font-size: 1.5rem; margin-bottom: 10px; }
.service-lb-body p  { color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.service-lb-close {
  position: absolute; top: 20px; right: 24px;
  color: white; background: none; border: none;
  font-size: 2rem; cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════════════════════ */
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 26px; border-radius: 20px;
}
.review-avatar {
  width: 36px; height: 36px;
  background: rgba(194,24,91,0.20);
  color: var(--pink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.review-stars { color: var(--gold); font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq-item { border-bottom: 1px solid var(--border); padding: 15px 0; }
.faq-question {
  width: 100%; text-align: left;
  background: none; border: none;
  padding: 10px 0; font-size: 1.05rem; font-weight: 600;
  color: var(--text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Inter', sans-serif;
}
.faq-icon { transition: 0.3s; color: var(--pink); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-muted); line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT INFO CARDS
═══════════════════════════════════════════════════════════ */
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  text-align: center;
}
.info-card strong { display: block; color: var(--pink); margin-bottom: 6px; }
.info-card p, .info-card a { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; }
.info-card a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: #0d0008;
  border-top: 1px solid var(--border);
  color: var(--text);
  padding: 60px 20px 20px;
  position: relative;
  z-index: 1;
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--gold); margin-bottom: 12px;
}
.footer-brand p { color: var(--text-muted); line-height: 1.7; font-size: 0.92rem; }
.footer-col h4 {
  color: var(--gold); font-size: 0.88rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px; padding-top: 20px;
  text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════════════════════════
   AUTH PAGES (login / register / account)
═══════════════════════════════════════════════════════════ */
.auth-wrap {
  max-width: 480px; margin: 60px auto;
  padding: 48px 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.auth-wrap h2 { color: var(--gold); text-align: center; margin-bottom: 30px; }
.auth-wrap .btn { width: 100%; margin-top: 20px; text-align: center; }
.auth-link { text-align: center; margin-top: 18px; font-size: 0.9rem; color: var(--text-muted); }
.auth-link a { color: var(--pink); font-weight: 600; text-decoration: none; }

/* ── Alerts ─── */
.alert { padding: 14px 20px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: rgba(194,24,91,0.12); color: var(--gold);  border: 1px solid var(--border); }
.alert-error   { background: rgba(220,38,38,0.12); color: #f87171;       border: 1px solid rgba(220,38,38,0.3); }

/* ── Blog ─── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 30px; }
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--trans);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(194,24,91,0.45); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-body h3 { color: var(--text); margin-bottom: 10px; font-size: 1.15rem; }
.blog-card-body p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.blog-meta { font-size: 0.78rem; color: var(--gold-dim); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Fade-in animation ─────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: 0.65s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .burger-btn { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(0,0,0,0.97);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 24px 20px 30px;
    gap: 4px;
    z-index: 999;
  }
  .nav-menu.active { display: flex; }
  .nav-menu a { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; }
  .lang-switcher {
    border-left: none; padding-left: 0;
    padding-top: 16px; border-top: 1px solid var(--border);
    width: 100%; justify-content: center; margin-left: 0;
  }
  .hero { height: 75vh; }
  .section { padding: 60px 20px; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .booking-wrap { padding: 32px 20px; }
}
