/* ═══════════════════════════════════════════════
   DzExplore — Feuille de styles principale
   Palette : bleu #0A4C7A · or #E8C97D · crème #F9F6F0 · vert #2D7A5F
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #0A4C7A;
  --blue-lt: #1A6FAD;
  --gold:    #E8C97D;
  --gold-dk: #C9A84C;
  --cream:   #F9F6F0;
  --green:   #2D7A5F;
  --slate:   #3A3A4A;
  --white:   #ffffff;
  --shadow:  0 4px 24px rgba(0,0,0,.09);
  --radius:  14px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--slate); overflow-x: hidden; }

/* ── LANG BAR ── */
.lang-bar { background: var(--blue); padding: 6px 0; text-align: center; }
.lang-inner { display: inline-flex; align-items: center; gap: 8px; }
.lang-label { font-size: 0.8rem; }
.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.75);
  border-radius: 20px; padding: 3px 12px; font-size: 0.75rem; cursor: pointer;
  font-family: 'Inter','Noto Sans Arabic',sans-serif; transition: all .2s;
}
.lang-btn.active, .lang-btn:hover { background: var(--gold); color: var(--blue); border-color: var(--gold); font-weight: 600; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
  background: rgba(10,76,122,.15);
  backdrop-filter: blur(8px);
  transition: all .3s;
}
#navbar.scrolled {
  top: 0; background: rgba(10,76,122,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  padding: 12px 48px;
}
.nav-logo {
  font-family: 'Playfair Display', serif; font-size: 1.6rem;
  font-weight: 900; color: var(--gold); text-decoration: none; letter-spacing: -0.5px;
}
.nav-logo span { color: var(--white); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 0.87rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold); color: var(--blue); border: none;
  border-radius: 9px; padding: 10px 22px; font-weight: 700;
  font-size: 0.87rem; cursor: pointer; transition: all .2s;
  font-family: 'Inter', sans-serif; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--gold-dk); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.4); border-radius: 9px;
  padding: 10px 20px; font-weight: 500; font-size: 0.87rem;
  cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-blue {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue); border-radius: 10px;
  padding: 12px 32px; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif;
}
.btn-outline-blue:hover { background: var(--blue); color: #fff; }
.btn-gold {
  background: var(--gold); color: var(--blue); border: none;
  border-radius: 9px; padding: 11px 24px; font-weight: 700;
  cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif;
}
.btn-gold:hover { background: var(--gold-dk); }
.full { width: 100%; }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed; inset: 0; background: var(--blue); z-index: 300;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; transform: translateX(100%); transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { color: #fff; text-decoration: none; font-size: 1.3rem; font-weight: 600; }
.mobile-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* ── HERO ── */
.hero {
  min-height: 100vh; position: relative; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,76,122,.65) 0%, rgba(10,76,122,.3) 50%, rgba(58,58,74,.7) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; width: 100%; }
.hero-badge {
  display: inline-block; background: rgba(232,201,125,.18);
  border: 1px solid rgba(232,201,125,.5); color: var(--gold);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 18px; border-radius: 40px; margin-bottom: 22px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 900;
  color: var(--white); line-height: 1.06; margin-bottom: 18px;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-sub { color: rgba(255,255,255,.8); font-size: 1.08rem; font-weight: 300; margin-bottom: 40px; line-height: 1.65; }

/* SEARCH BOX */
.search-box {
  background: var(--white); border-radius: 18px; overflow: visible;
  box-shadow: 0 24px 64px rgba(0,0,0,.28); max-width: 780px; margin: 0 auto 40px;
}
.search-tabs { display: flex; background: #f5f2ec; border-radius: 18px 18px 0 0; overflow-x: auto; scrollbar-width: none; }
.search-tabs::-webkit-scrollbar { display: none; }
.stab {
  flex-shrink: 0; padding: 13px 20px; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; border: none; background: none; color: #888;
  transition: all .2s; white-space: nowrap; font-family: 'Inter', sans-serif;
}
.stab.active { color: var(--blue); border-bottom: 2.5px solid var(--blue); background: var(--white); }
.search-fields {
  display: flex; align-items: center; padding: 14px 16px; gap: 0;
  flex-wrap: wrap;
}
.sfield { flex: 1; min-width: 120px; padding: 4px 14px; position: relative; }
.sfield label { display: block; font-size: 0.68rem; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.sfield input { width: 100%; border: none; outline: none; font-size: 0.92rem; color: var(--slate); font-family: 'Inter', sans-serif; background: none; }
.sfield input::placeholder { color: #bbb; }
.sfield-divider { width: 1px; height: 36px; background: #e8e4dc; flex-shrink: 0; }
.search-go {
  background: var(--blue); color: var(--white); border: none;
  border-radius: 12px; padding: 14px 28px; font-weight: 700;
  font-size: 0.92rem; cursor: pointer; white-space: nowrap;
  margin-left: 8px; transition: background .2s; font-family: 'Inter', sans-serif;
}
.search-go:hover { background: var(--blue-lt); }

/* Search suggest */
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
  z-index: 50; display: none; overflow: hidden;
}
.suggest-item { padding: 10px 16px; font-size: 0.88rem; cursor: pointer; transition: background .15s; }
.suggest-item:hover { background: #f0f7ff; color: var(--blue); }

/* STATS */
.hero-stats { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; }
.hstat { text-align: center; padding: 8px 24px; }
.hstat strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 900; color: var(--gold); }
.hstat span { font-size: 0.72rem; color: rgba(255,255,255,.6); letter-spacing: .5px; text-transform: uppercase; }
.hstat-sep { width: 1px; background: rgba(255,255,255,.2); margin: 8px 0; }

/* HERO DOTS */
.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: all .2s; }
.dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ── SECTIONS COMMONS ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; flex-wrap: wrap; gap: 16px; }
.sec-eye { font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.sec-head h2, .sec-head--row h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; color: var(--blue); line-height: 1.2;
}

/* ── CATEGORIES ── */
.section-categories { background: var(--white); padding: 80px 0; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.cat-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 26px 14px; text-align: center; cursor: pointer;
  transition: all .25s; border: 1.5px solid transparent;
}
.cat-card:hover {
  border-color: var(--blue); background: #e8f4ff;
  transform: translateY(-4px); box-shadow: 0 8px 28px rgba(10,76,122,.12);
}
.cat-card--gold { background: #fff8e8; }
.cat-card--gold:hover { border-color: var(--gold-dk); background: #fff3d0; }
.cat-icon { font-size: 2rem; margin-bottom: 10px; }
.cat-name { font-weight: 700; font-size: 0.84rem; color: var(--slate); margin-bottom: 4px; }
.cat-count { font-size: 0.72rem; color: #aaa; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.reveal.visible { opacity: 1; transform: none; }

/* ── FILTER BAR ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.fbtn {
  padding: 7px 18px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid #e0dbd0; background: var(--white);
  color: #777; transition: all .2s; font-family: 'Inter', sans-serif;
}
.fbtn.active, .fbtn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── FEATURED / LISTINGS ── */
.section-featured { background: var(--cream); padding: 80px 0; }
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; margin-bottom: 40px; }
.listing-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.listing-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.13); }
.lc-img { height: 210px; overflow: hidden; position: relative; }
.lc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.listing-card:hover .lc-img img { transform: scale(1.06); }
.lc-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10,76,122,.88); color: var(--white);
  font-size: 0.68rem; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; letter-spacing: .4px;
}
.lc-fav {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.92); border: none;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: 1rem; cursor: pointer; display: grid;
  place-items: center; transition: background .2s;
}
.lc-fav:hover { background: var(--white); }
.lc-body { padding: 16px 18px 18px; }
.lc-loc { font-size: 0.7rem; color: var(--green); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 5px; }
.lc-name { font-family: 'Playfair Display', serif; font-size: 1.08rem; font-weight: 700; color: var(--slate); margin-bottom: 10px; line-height: 1.3; }
.lc-foot { display: flex; justify-content: space-between; align-items: center; }
.lc-stars { font-size: 0.82rem; color: var(--gold-dk); font-weight: 600; }
.lc-stars small { color: #bbb; font-weight: 400; }
.lc-price { font-weight: 700; color: var(--blue); font-size: 0.92rem; }
.load-more-wrap { text-align: center; }

/* ── MAP TEASER ── */
.section-map-teaser { background: var(--blue); padding: 80px 48px; }
.map-teaser-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 60px; align-items: center; flex-wrap: wrap; justify-content: center; }
.map-teaser-text { max-width: 440px; }
.map-teaser-text .sec-eye { color: var(--gold); }
.map-teaser-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 700; color: var(--white); margin-bottom: 14px; }
.map-teaser-text p { color: rgba(255,255,255,.7); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.map-teaser-preview { flex: 1; min-width: 280px; }
.wilaya-bubbles { position: relative; height: 300px; }
.wb {
  position: absolute; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  border-radius: 50px; padding: 10px 18px; font-size: 0.8rem; font-weight: 600;
  text-align: center; line-height: 1.3; cursor: pointer;
  transition: all .25s; animation: floatB 5s ease-in-out infinite alternate;
}
.wb:hover { background: var(--gold); color: var(--blue); border-color: var(--gold); }
.wb small { display: block; font-weight: 400; font-size: 0.7rem; opacity: .75; }
.wb1 { top:10px;  left:10%;  animation-delay:0s; }
.wb2 { top:20px;  left:52%;  animation-delay:.6s; }
.wb3 { top:90px;  left:5%;   animation-delay:1.1s; }
.wb4 { top:100px; left:55%;  animation-delay:.3s; }
.wb5 { top:180px; left:15%;  animation-delay:.8s; }
.wb6 { top:190px; left:58%;  animation-delay:1.4s; }
.wb7 { top:250px; left:5%;   animation-delay:.5s; }
.wb8 { top:255px; left:50%;  animation-delay:1s; }
@keyframes floatB {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

/* ── REVIEWS ── */
.section-reviews { background: var(--white); padding: 80px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; margin-bottom: 48px; }
.review-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 24px; border: 1.5px solid #f0ede8;
}
.rev-stars { color: var(--gold-dk); font-size: 1rem; margin-bottom: 12px; }
.rev-text { font-size: 0.88rem; color: #555; line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.rev-author { display: flex; align-items: center; gap: 12px; }
.rev-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-weight: 700; font-size: 0.85rem; display: grid; place-items: center;
}
.rev-author strong { font-size: 0.88rem; color: var(--slate); }
.rev-author small { color: #aaa; font-size: 0.75rem; }

/* ADD REVIEW */
.add-review-box {
  background: var(--cream); border-radius: 18px;
  padding: 36px; max-width: 600px; margin: 0 auto;
  border: 1.5px solid #e8e4dc;
}
.add-review-box h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--blue); margin-bottom: 20px; }
.star-picker { display: flex; gap: 8px; margin-bottom: 18px; }
.sp { font-size: 2rem; color: #ddd; cursor: pointer; transition: color .15s; }
.sp.active { color: var(--gold-dk); }
.rev-input {
  width: 100%; border: 1.5px solid #e0dbd0; border-radius: 10px;
  padding: 11px 14px; font-size: 0.9rem; font-family: 'Inter', sans-serif;
  outline: none; margin-bottom: 12px; resize: vertical; background: var(--white);
  transition: border .2s; box-sizing: border-box;
}
.rev-input:focus { border-color: var(--blue); }
.rev-success { color: var(--green); font-weight: 600; margin-top: 10px; font-size: 0.9rem; }

/* ── HOW IT WORKS ── */
.section-how { background: #f0f7ff; padding: 80px 0; }
.how-grid { display: flex; align-items: flex-start; gap: 16px; max-width: 1000px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.how-step { text-align: center; max-width: 200px; padding: 16px; }
.how-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  font-size: 1.6rem; display: grid; place-items: center;
  margin: 0 auto 16px; box-shadow: 0 6px 20px rgba(10,76,122,.25);
}
.how-step h3 { font-weight: 700; color: var(--blue); margin-bottom: 8px; font-size: 1rem; }
.how-step p { font-size: 0.83rem; color: #777; line-height: 1.6; }
.how-arrow { font-size: 1.6rem; color: #cce0f0; margin-top: 24px; }

/* ── NEWSLETTER ── */
.section-newsletter { background: linear-gradient(135deg, var(--green) 0%, #1a5940 100%); padding: 64px 24px; }
.newsletter-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.newsletter-inner p { color: rgba(255,255,255,.75); margin-bottom: 24px; }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.nl-form input {
  flex: 1; min-width: 220px; border: none; border-radius: 10px;
  padding: 13px 18px; font-size: 0.92rem; font-family: 'Inter', sans-serif; outline: none;
}

/* ── FOOTER ── */
footer { background: var(--slate); color: rgba(255,255,255,.6); padding: 64px 48px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--gold); margin-bottom: 12px; }
.footer-logo span { color: var(--white); }
.footer-brand p { font-size: 0.84rem; line-height: 1.7; max-width: 220px; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { font-size: 1.2rem; text-decoration: none; transition: transform .2s; display: block; }
.social-links a:hover { transform: scale(1.2); }
.footer-col h4 { color: var(--white); font-size: 0.84rem; font-weight: 700; margin-bottom: 14px; letter-spacing: .5px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 0.82rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; max-width: 1200px; margin: 0 auto; font-size: 0.78rem; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: none; align-items: center; justify-content: center;
  z-index: 500; padding: 24px;
}
.modal {
  background: var(--white); border-radius: 20px;
  padding: 40px; max-width: 460px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,.25); position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal--booking { max-width: 500px; }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: #f5f2ec; border: none; width: 32px; height: 32px;
  border-radius: 50%; font-size: 1rem; cursor: pointer;
  display: grid; place-items: center; color: var(--slate);
  transition: background .2s;
}
.modal-close:hover { background: #e8e4dc; }
.mform-field { margin-bottom: 14px; }
.mform-field label { display: block; font-size: 0.78rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.mform-field input {
  width: 100%; border: 1.5px solid #e0dbd0; border-radius: 10px;
  padding: 11px 14px; font-size: 0.9rem; font-family: 'Inter', sans-serif;
  outline: none; transition: border .2s; box-sizing: border-box;
}
.mform-field input:focus { border-color: var(--blue); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--slate); color: var(--white); padding: 12px 24px;
  border-radius: 40px; font-size: 0.88rem; font-weight: 500;
  z-index: 900; opacity: 0; transition: all .3s; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── RTL (Arabic) ── */
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .sec-head--row { flex-direction: row-reverse; }
[dir="rtl"] .lc-badge { left: auto; right: 12px; }
[dir="rtl"] .lc-fav  { right: auto; left: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  #navbar { padding: 14px 20px; top: 32px; }
  #navbar.scrolled { padding: 12px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .how-arrow { display: none; }
  .how-grid { gap: 24px; }
}

@media (max-width: 640px) {
  .hero { padding: 100px 16px 60px; }
  .search-fields { flex-direction: column; }
  .sfield-divider { display: none; }
  .sfield { padding: 6px 12px; }
  .search-go { margin: 8px 12px 12px; width: calc(100% - 24px); }
  .hstat-sep { display: none; }
  section, .section-categories, .section-featured, .section-reviews, .section-how { padding: 56px 0; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  footer { padding: 48px 24px 24px; }
  .section-map-teaser { padding: 60px 24px; }
  .wilaya-bubbles { height: 220px; }
  .map-teaser-preview { display: none; }
}
