/* ====================================================================
   La robe de ma vie Oran — Bridal Boutique
   Palette: Ivoire / Nude / Or champagne / Charcoal
   ==================================================================== */

:root {
  --c-ivory: #faf6f0;
  --c-ivory-2: #f3ebdf;
  --c-nude: #e8d5c5;
  --c-nude-deep: #d8b89c;
  --c-gold: #c9a97a;
  --c-gold-deep: #a98856;
  --c-charcoal: #2d2a26;
  --c-charcoal-soft: #4a4540;
  --c-line: rgba(45, 42, 38, 0.12);
  --c-whatsapp: #25d366;

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-arabic: "Cairo", "Tajawal", "Noto Sans Arabic", sans-serif;

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 12px rgba(45, 42, 38, 0.06);
  --shadow-md: 0 8px 32px rgba(45, 42, 38, 0.10);
  --shadow-lg: 0 24px 64px rgba(45, 42, 38, 0.18);

  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-charcoal);
  background: var(--c-ivory);
  -webkit-font-smoothing: antialiased;
}

body[lang="ar"], body[dir="rtl"] {
  font-family: var(--font-arabic);
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-charcoal);
  margin: 0 0 0.6em;
}

body[lang="ar"] h1,
body[lang="ar"] h2,
body[lang="ar"] h3,
body[lang="ar"] h4 {
  font-family: var(--font-arabic);
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}

.section { padding: 80px 0; }
.section--narrow { padding: 56px 0; }
.section--ivory-2 { background: var(--c-ivory-2); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--c-charcoal-soft);
  max-width: 640px;
  margin: 0 auto 56px;
}

/* ============== HEADER ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--c-charcoal);
  letter-spacing: 0.02em;
}

.nav-brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--c-charcoal);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-gold-deep);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle:hover { border-color: var(--c-gold); color: var(--c-gold-deep); }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-charcoal);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--c-ivory);
  z-index: 40;
  padding: 32px 24px;
  transform: translateY(-100%);
  transition: transform 0.32s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-charcoal);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 16px;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-charcoal);
  color: var(--c-ivory);
}
.btn-primary:hover {
  background: var(--c-gold-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--c-gold);
  color: var(--c-charcoal);
}
.btn-gold:hover {
  background: var(--c-gold-deep);
  color: var(--c-ivory);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-charcoal);
  border: 1px solid var(--c-charcoal);
}
.btn-ghost:hover {
  background: var(--c-charcoal);
  color: var(--c-ivory);
}

.btn-whatsapp {
  background: var(--c-whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: #1ebe5b; }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(45, 42, 38, 0.55) 0%, rgba(45, 42, 38, 0.15) 60%, rgba(201, 169, 122, 0.25) 100%),
    url("../images/bridal-gown-princess-style.jpg") center/cover no-repeat;
  color: var(--c-ivory);
  padding: 120px 0 80px;
}

.hero-inner { max-width: 720px; }

.hero h1 {
  color: #fff;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.6);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* Inner page hero — shorter, photographic */
.page-hero {
  position: relative;
  min-height: 44vh;
  background-color: var(--c-ivory-2);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 120px 0 56px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,42,38,0.55) 0%, rgba(45,42,38,0.35) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: #fff;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.92);
  max-width: 560px;
  font-size: 1.05rem;
}

/* ============== USP / TROIS COLONNES ============== */
.usp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 8px;
}

.usp-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-gold);
}
.usp-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--c-ivory-2);
  display: grid;
  place-items: center;
  color: var(--c-gold-deep);
}
.usp-icon svg { width: 28px; height: 28px; }
.usp-card h3 { margin-bottom: 8px; }
.usp-card p {
  color: var(--c-charcoal-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* ============== COLLECTION GRID ============== */
.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.dress-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dress-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dress-card .img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.dress-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dress-card:hover img { transform: scale(1.05); }
.dress-card-body {
  padding: 20px 22px 24px;
}
.dress-card-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  margin-bottom: 6px;
}
.dress-card h3 {
  font-style: italic;
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.dress-card p {
  font-size: 0.92rem;
  color: var(--c-charcoal-soft);
  margin: 0 0 16px;
}

/* ============== ABOUT / SPLIT ============== */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.split-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split-img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.split h2 { margin-bottom: 16px; }
.split p { color: var(--c-charcoal-soft); }
.split .signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--c-gold-deep);
  margin-top: 8px;
}

/* ============== STEPS ============== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px 28px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px;
  inset-inline-start: 24px;
  background: var(--c-gold);
  color: var(--c-charcoal);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.step h3 { margin-top: 4px; margin-bottom: 6px; }
.step p { color: var(--c-charcoal-soft); margin: 0; font-size: 0.95rem; }

/* ============== TESTIMONIALS ============== */
.tlist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.tcard {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--c-line);
  position: relative;
}
.tcard::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  inset-inline-start: 18px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--c-gold);
  opacity: 0.3;
}
.tcard p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-charcoal);
  line-height: 1.55;
  margin: 8px 0 16px;
}
.tcard footer {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--c-charcoal-soft);
  letter-spacing: 0.04em;
}
.tcard footer span {
  display: block;
  font-size: 0.72rem;
  color: var(--c-gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 2px;
}

/* ============== GALLERY ============== */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery a:hover img { transform: scale(1.06); }

/* ============== CONTACT ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact-info {
  background: var(--c-ivory-2);
  padding: 36px 28px;
  border-radius: var(--radius-md);
}
.contact-info dl {
  margin: 0;
  display: grid;
  gap: 18px;
}
.contact-info dt {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info dd {
  margin: 0;
  font-size: 1.02rem;
  color: var(--c-charcoal);
}
.contact-info dd a { border-bottom: 1px dotted var(--c-gold); }
.contact-info dd a:hover { color: var(--c-gold-deep); }

.contact-form {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
}
.contact-form h3 { margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-charcoal-soft);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--c-ivory);
  color: var(--c-charcoal);
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
  margin-top: 32px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* ============== HOURS TABLE ============== */
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.hours td {
  padding: 8px 0;
  border-bottom: 1px dashed var(--c-line);
}
.hours td:last-child {
  text-align: end;
  color: var(--c-gold-deep);
  font-weight: 600;
}
.hours tr:last-child td { border-bottom: 0; }
.hours .closed { color: #b04a4a; }

/* ============== FAQ ============== */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  cursor: pointer;
}
.faq summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-style: normal;
  color: var(--c-gold-deep);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 12px;
  color: var(--c-charcoal-soft);
  font-size: 0.95rem;
}

/* ============== STICKY ACTIONS ============== */
.sticky-actions {
  position: fixed;
  bottom: 16px;
  inset-inline-end: 16px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sticky-actions a {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-charcoal);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}
.sticky-actions a.wa { background: var(--c-whatsapp); }
.sticky-actions a:hover { transform: scale(1.06); }
.sticky-actions svg { width: 26px; height: 26px; }

/* ============== FOOTER ============== */
.site-footer {
  background: var(--c-charcoal);
  color: rgba(250, 246, 240, 0.8);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.footer-grid a { display: block; padding: 6px 0; color: rgba(250, 246, 240, 0.8); transition: color 0.15s ease; }
.footer-grid a:hover { color: var(--c-gold); }
.footer-bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.55);
}
.footer-bottom a { color: var(--c-gold); }

.social {
  display: flex;
  gap: 12px;
}
.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 240, 0.25);
  display: grid;
  place-items: center;
  padding: 0;
}
.social a:hover { border-color: var(--c-gold); }
.social svg { width: 16px; height: 16px; }

/* ============== UTILITY / ANIMATIONS ============== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }

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

/* RTL flips */
body[dir="rtl"] .nav-links a.active::after { left: auto; right: 0; }

/* ============== RESPONSIVE ============== */
@media (min-width: 720px) {
  .usp { grid-template-columns: repeat(3, 1fr); }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tlist { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero { min-height: 90vh; }
}

@media (min-width: 980px) {
  :root { --header-h: 88px; }
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 112px 0; }
}
