/* ===============================
   GLOBAL VARIABLES (GREEN TRAVEL)
================================ */
:root{
  --bg:#f7f8fa;
  --card:#ffffff;
  --muted:#6b7280;

  --primary:#2a9d8f;
  --primary-dark:#1f776d;
  --accent:#e9c46a;
  --dark:#264653;
}

/* ===============================
   BASE
================================ */
body{
  background:var(--bg);
  color:var(--dark);
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

html{
  scroll-behavior:smooth;
}

.scroll-target{
  scroll-margin-top:96px;
}

a{text-decoration:none}
img{max-width:100%}

/* Skip link (a11y) */
.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  z-index:9999;
  background:#fff;
  color:#000;
  padding:10px 14px;
  border-radius:10px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.skip-link:focus{ left:10px; }

/* Visible focus for keyboard users */
:focus-visible{
  outline:3px solid rgba(233,196,106,.95);
  outline-offset:2px;
}

/* ===============================
   HERO
================================ */
/* ===============================
   NAVBAR
================================ */
/* ===============================
   NAVBAR DEFAULT (ALL PAGES)
================================ */


/* ===============================
   HOME ONLY – NAVBAR OVER HERO
================================ */


/* ===============================
   HERO FULL WIDTH
================================ */
.hero-home{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  background:transparent;
  display:flex;
  align-items:center;
  padding-top:80px; /* espace navbar */
}

/* Ireland hero fallback background (ensures first slide look even if slider fails) */
.theme-ireland .hero-home{
  background:transparent;
}

/* Hero slider (4 images) */
.hero-slider{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.hero-slide{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .9s ease, transform 1.2s ease;
}

.hero-slide.active{
  opacity:1;
  transform:scale(1);
}

.hero-arrows{
  position:absolute;
  inset:auto 0 50%;
  transform:translateY(50%);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 18px;
  z-index:3;
  pointer-events:none;
}

.hero-arrows .arrow{
  pointer-events:auto;
  width:46px;
  height:46px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  font-size:22px;
  cursor:pointer;
  user-select:none;
  transition:transform .2s ease, background .2s ease;
  padding:0;
  line-height:1;
}

.hero-arrows .arrow:hover{
  background:rgba(0,0,0,.5);
  transform:scale(1.04);
}

.hero-dots{
  position:absolute;
  left:50%;
  bottom:20px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:3;
}

.hero-dots .dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.25);
  cursor:pointer;
  padding:0;
  display:inline-block;
}

.hero-dots .dot.active{
  background:#fff;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(0,0,0,.45),
    rgba(38,70,83,.65)
  );
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:1200px;
}

/* Hero typography + CTA */
.hero-kicker{
  display:inline-block;
  padding:6px 12px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.75rem;
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(8px);
  margin-bottom:14px;
}

.hero-headline{
  text-wrap:balance;
  text-shadow:0 8px 30px rgba(0,0,0,.35);
}

/* Morocco hero headline sizing: emphasize first phrase */
.hero-headline .hero-headline-main,
.hero-headline .hero-headline-sub{
  display:block;
}

.theme-morocco .hero-headline .hero-headline-main{
  font-size:clamp(2.2rem, 3.6vw, 3.3rem);
  line-height:1.06;
}

.theme-morocco .hero-headline .hero-headline-sub{
  margin-top:.35rem;
  font-size:clamp(1.15rem, 1.6vw, 1.6rem);
  line-height:1.2;
  font-weight:600;
  opacity:.96;
}

.hero-tagline{
  max-width:860px;
  margin-left:auto;
  margin-right:auto;
  color:rgba(255,255,255,.92);
}

.hero-ctas{
  margin:18px 0 22px;
}

/* Ireland hero headline sizing: match Morocco style (main/sub lines) */
.theme-ireland .hero-headline .hero-headline-main,
.theme-ireland .hero-headline .hero-headline-sub{
  display:block;
}

.theme-ireland .hero-headline .hero-headline-main{
  font-size:clamp(2.1rem, 3.3vw, 3.1rem);
  line-height:1.08;
}

.theme-ireland .hero-headline .hero-headline-sub{
  margin-top:.35rem;
  font-size:clamp(1.1rem, 1.55vw, 1.5rem);
  line-height:1.2;
  font-weight:600;
  opacity:.96;
}

.btn-outline-light{
  border-width:2px;
}

.hero-features{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.hero-feature{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
  color:#fff;
  font-weight:600;
}

.hero-feature i{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(233,196,106,.22);
  color:#fff;
}

/* Reveal animation (used by home + sections) */
.reveal{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .6s ease, transform .6s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal,
  .reveal.is-visible{
    transition:none;
    transform:none;
    opacity:1;
  }
}

/* Text white */
.hero-home .nav-link,
.hero-home .navbar-brand{
  color:#fff !important;
}
.tour-cover-square{
  width:100%;
  max-height:420px;   /* 👈 réduit la hauteur */
  object-fit:cover;
  border-radius:16px;
}

.gallery-thumb{
  height:120px;
  object-fit:cover;
  cursor:pointer;
  transition:.25s;
}
.gallery-thumb:hover{
  transform:scale(1.05);
}
/* BLOG */
.blog-card img{
  height:220px;
  object-fit:cover;
}

.blog-content{
  font-size:1.05rem;
  line-height:1.8;
}

.gallery-thumb{
  height:140px;
  object-fit:cover;
  cursor:pointer;
  transition:.25s;
}

.gallery-thumb:hover{
  transform:scale(1.05);
}

/* NAVBAR OVER HERO */
.navbar-hero{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:transparent !important;
}



/* Formulaire */
.hero-search input {
  border-radius: 8px;
}

.hero-search button {
  border-radius: 8px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-home {
    min-height: 90vh;
    text-align: center;
  }

  .hero-ctas .btn{
    width:100%;
    margin:6px 0 !important;
  }
}
/* ===============================
   NAVBAR
================================ */
.navbar{
  padding:14px 0;
}
.navbar-nav .nav-link{
  position:relative;
  font-weight:500;
}
.navbar-nav .nav-link::after{
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:#fff;
  transition:.3s;
}
.navbar-nav .nav-link:hover::after{
  width:100%;
}

/* ===============================
   CARDS
================================ */
.card{
  border:0;
  border-radius:14px;
  overflow:hidden;
  transition:.25s;
}
.card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
}
.card-img-top{
  height:220px;
  object-fit:cover;
}

/* prices */
.price-old{
  text-decoration:line-through;
  color:var(--muted);
}
.price-new{
  color:#dc2626;
  font-weight:700;
}
.price{
  font-weight:700;
  color:var(--primary);
}

/* ===============================
   BUTTONS
================================ */
.btn-primary{
  background:var(--primary);
  border:0;
}
.btn-primary:hover{
  background:var(--primary-dark);
}

/* ===============================
   BOOKING CTA
================================ */
.booking-cta{
  background:
    linear-gradient(rgba(38,70,83,.85), rgba(38,70,83,.85)),
    url("/static/img/booking-bg.jpg") center/cover no-repeat;
  color:#fff;
  padding:80px 0;
}

/* ===============================
   FOOTER
================================ */
.site-footer{
  background:
    linear-gradient(rgba(103, 103, 103, 0.382), rgba(15,23,42,.85)),
    url("/static/img/footer-bg.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color:#e5e7eb;
  padding:80px 0 40px;
  min-height: 280px;
}

/* Morocco footer uses hero-ma background */
.theme-morocco .site-footer{
  background:
    linear-gradient(rgba(0,0,0,.35), rgba(15,23,42,.88)),
    url("/static/img/hero-ma.jpg?v=20260402_2") center/cover no-repeat;
}

/* Ireland footer uses hero2-ir background */
.theme-ireland .site-footer{
  background:
    linear-gradient(rgba(0,0,0,.20), rgba(15,23,42,.82)),
    url("/static/img/hero2-ir.jpg?v=20260402_2") center/cover no-repeat;
}
.site-footer h5{color:#fff}
.site-footer a{color:#cbd5e1}
.site-footer a:hover{color:#fff}

/* ===============================
   FLOATING BUTTONS
================================ */
/* ===============================
   FLOATING ACTION BUTTONS
================================ */
.floating-contact{
  position:fixed;
  right:20px;
  bottom:20px;
  display:flex;
  flex-direction:column;
  gap:14px;
  z-index:1200;
}

.floating-contact a{
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:1.3rem;
  box-shadow:0 12px 28px rgba(0,0,0,.25);
  transition:.3s;
  opacity:.92;
}

.floating-contact a:hover{
  transform:scale(1.08);
}

.btn-whatsapp{
  background:#25d366;
}

.btn-chatbot{
  background:#2a9d8f;
  border-radius:50%;
}

/* ===============================
   ANIMATION
================================ */
@keyframes fadeUp{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:none}
}
.card,.hero{animation:fadeUp .45s ease both}
.navbar-custom{
  background:linear-gradient(90deg,#264653,#2a9d8f);
}
/* ================= CHAT MODAL ================= */
.chat-widget{
  position:fixed;
  right:24px;
  bottom:100px;
  width:340px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 30px 60px rgba(0,0,0,.25);
  overflow:hidden;
  display:none;
  z-index:2000;
}

.chat-header{
  background:linear-gradient(135deg,#2a9d8f,#1f776d);
  color:#fff;
  padding:14px 18px;
  font-weight:600;
}

.chat-messages{
  height:260px;
  padding:14px;
  overflow-y:auto;
  background:#f8fafc;
}

.chat-input{
  display:flex;
  gap:8px;
  padding:12px;
  border-top:1px solid #e5e7eb;
}

.chat-input input{
  flex:1;
  border:1px solid #d1d5db;
  border-radius:10px;
  padding:10px;
}

.chat-input button{
  background:#2a9d8f;
  color:#fff;
  border:none;
  border-radius:10px;
  padding:10px 16px;
}

.msg.bot{
  background:#e6f4f1;
  color:#264653;
}

.msg.user{
  background:#2a9d8f;
  color:#fff;
}
.price,
.price-new,
.text-primary{
  color:#2a9d8f !important;
  font-weight:700;
}

.btn-primary{
  background:#2a9d8f;
  border:none;
}

.btn-primary:hover{
  background:#1f776d;
}
/* ================= TOUR GALLERY ================= */

.main-image-wrapper{
  width:100%;
  overflow:hidden;
  border-radius:18px;
}

.main-tour-image{
  width:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:18px;
  transition:opacity .3s ease;
}

/* COLLAGE GRID */
.gallery-collage{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(110px,1fr));
  gap:12px;
  margin-top:10px;
}

.gallery-item{
  height:110px;
  object-fit:cover;
  border-radius:14px;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
}

.gallery-item:hover{
  transform:scale(1.08);
  box-shadow:0 12px 28px rgba(0,0,0,.25);
}
/* ================= BLOG IMAGE ================= */

.blog-main-image-wrapper{
  width:100%;
  overflow:hidden;
  border-radius:18px;
}

.blog-main-image{
  width:100%;
  max-height:360px;   /* 👈 hauteur contrôlée */
  object-fit:cover;
  border-radius:18px;
  transition:opacity .3s ease;
}

/* ================= BLOG COLLAGE ================= */

.blog-gallery-collage{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(100px,1fr));
  gap:10px;
  margin-bottom:30px;
}

.blog-gallery-item{
  height:100px;
  object-fit:cover;
  border-radius:12px;
  cursor:pointer;
  transition:.25s ease;
}

.blog-gallery-item:hover{
  transform:scale(1.07);
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}
/* ================= IMAGE UNIQUE (QUALITÉ MAX) ================= */
/* IMAGE UNIQUE BLOG (PAS D'ÉTIREMENT) */
.image-single-wrapper{
  width:100%;
  text-align:center;
}

.image-single{
  max-width:100%;
  max-height:520px;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:18px;
  background:#f8fafc;
}

/* IMAGE PRINCIPALE (GALERIE) */
.image-main{
  width:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:18px;
  transition:opacity .3s ease;
}

/* ================= COLLAGE GRID ================= */
.image-collage{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(110px,1fr));
  gap:12px;
  margin-top:12px;
}

.image-collage-item{
  height:110px;
  object-fit:cover;
  border-radius:14px;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
}

.image-collage-item:hover{
  transform:scale(1.08);
  box-shadow:0 12px 28px rgba(0,0,0,.25);
}
/* IMAGE SQUARE (BLOG + TOUR) */
.image-square{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:18px;
  background:#f3f4f6;
}

/* IMAGE UNIQUE */
.image-single{
  max-width:100%;
  max-height:520px;
  object-fit:contain;
  border-radius:18px;
}

/* COLLAGE */
.image-collage{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(110px,1fr));
  gap:12px;
}
.image-collage-item{
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:14px;
  cursor:pointer;
  transition:.25s;
}
.image-collage-item:hover{
  transform:scale(1.08);
}
/* FORCE SQUARE IMAGE (BLOG + TOUR) */
.image-square{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:18px;
  background:#f3f4f6;
}

/* BLOG MAIN IMAGE */
.blog-main-image{
  max-height:420px;
}

/* BLOG GALLERY */
.blog-gallery-collage{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:12px;
}

.blog-gallery-item{
  cursor:pointer;
  transition:.25s;
}
.blog-gallery-item:hover{
  transform:scale(1.06);
}
/* ===============================
   AUTH PAGES (LOGIN / REGISTER)
================================ */
/* ===== STICKY FOOTER ===== */
.layout-root{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* ===== AUTH HERO ===== */
.auth-hero{
  position:relative;
  min-height:calc(100vh - 80px);
  background:url("../img/hero1.jpeg") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Auth backgrounds per site */
.theme-morocco .auth-hero{
  background:url("../img/hero1.jpeg") center/cover no-repeat;
}

.theme-ireland .auth-hero{
  background:url("../img/hero1.jpeg") center/cover no-repeat;
}

/* Hide footer on auth pages (login/register) */
body[data-page="auth"] .site-footer{
  display:none;
}

.auth-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(0,0,0,.55),
    rgba(38,70,83,.75)
  );
}

.auth-container{
  position:relative;
  z-index:2;
  width:100%;
  max-width:420px;
  padding:20px;
}

.auth-card{
  background:#fff;
  border-radius:18px;
  padding:36px;
  box-shadow:0 30px 60px rgba(0,0,0,.35);
  animation:fadeUp .5s ease;
}

.auth-title{
  font-weight:700;
  text-align:center;
  margin-bottom:8px;
}

.auth-subtitle{
  text-align:center;
  color:#6b7280;
  margin-bottom:24px;
}

.auth-footer{
  text-align:center;
  font-size:.95rem;
}

.auth-footer a{
  color:var(--primary);
  font-weight:600;
}
/* ===============================
   AUTH FORM – PROFESSIONAL
================================ */

.auth-card label{
  font-size:0.85rem;
  font-weight:500;
  color:#374151;
  margin-bottom:4px;
}

.auth-card input{
  width:100%;
  border:1px solid #d1d5db;
  border-radius:4px;              /* ⬅️ PAS ARRONDI */
  padding:10px 12px;
  font-size:0.95rem;
}

.auth-card input::placeholder{
  color:#9ca3af;
  font-size:0.9rem;
}

.auth-card input:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 1px rgba(42,157,143,.2);
}

/* Supprimer aides Django */
.auth-card .helptext,
.auth-card ul.errorlist{
  display:none;
}

/* Form control styling for auth forms */
.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="email"]{
  width:100% !important;
  border:1px solid #d1d5db !important;
  border-radius:6px !important;
  padding:10px 12px !important;
  font-size:0.95rem !important;
  background:#fff !important;
  transition:all .2s ease !important;
}

.auth-card input[type="text"]:focus,
.auth-card input[type="password"]:focus,
.auth-card input[type="email"]:focus{
  outline:none !important;
  border-color:var(--primary) !important;
  box-shadow:0 0 0 3px rgba(181,126,220,.14) !important;
  background:#f8fafc !important;
}

.auth-card input[type="text"]::placeholder,
.auth-card input[type="password"]::placeholder,
.auth-card input[type="email"]::placeholder{
  color:#9ca3af !important;
  font-size:0.9rem !important;
}

/* Remove default styling from Django form */
.auth-card input{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
}

/* Button improvements */
.btn-primary.w-100{
  font-weight:600;
  letter-spacing:0.3px;
  transition:all .3s ease;
  border-radius:6px;
}

.btn-primary.w-100:active{
  transform:scale(0.98);
}
/* ================= BLOG GALLERY PRO ================= */

.blog-gallery-wrapper{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
}

.blog-gallery-grid{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc(33.333% - 12px);
  gap:12px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding-bottom:6px;
}

.blog-gallery-grid::-webkit-scrollbar{
  display:none;
}

.gallery-image{
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:14px;
  cursor:pointer;
  transition:.25s;
}

.gallery-image:hover{
  transform:scale(1.05);
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}

/* NAV BUTTONS */
.gallery-nav{
  background:#fff;
  border:none;
  width:42px;
  height:42px;
  border-radius:50%;
  box-shadow:0 8px 20px rgba(0,0,0,.2);
  font-size:22px;
  cursor:pointer;
  transition:.25s;
}

.gallery-nav:hover{
  background:#2a9d8f;
  color:#fff;
}

.gallery-nav.left{left:-10px}
.gallery-nav.right{right:-10px}
/* ================= COMMENTS ================= */

.comments-section{
  max-width:800px;
}

.comments-box{
  max-height:280px;           /* ≈ 3 commentaires visibles */
  overflow-y:auto;
  padding-right:6px;
}

.comment-item{
  padding:12px 0;
  border-bottom:1px solid #e5e7eb;
}

.comment-item strong{
  color:#264653;
}

.comment-date{
  font-size:0.8rem;
  color:#9ca3af;
  margin-left:6px;
}

.comment-item p{
  margin:6px 0 0;
  font-size:0.95rem;
  line-height:1.6;
}
/* ===== TOUR IMAGE FIX ===== */
.tour-main-image{
  max-height:400px !important;
    width:700px !important;

  object-fit:cover !important;
  border-radius:18px !important;
  display:block;
}
/* ===== BOOKING DATE INPUT ===== */
.booking-date{
  border:2px solid #d1d5db;
  border-radius:8px;
  padding:10px 12px;
  font-weight:500;
  transition:.25s;
}

.booking-date:focus{
  outline:none;
  border-color:#2a9d8f;
  box-shadow:0 0 0 3px rgba(42,157,143,.15);
  background:#f0fdfa;
}

/* Icône calendrier */
.booking-date::-webkit-calendar-picker-indicator{
  filter:invert(38%) sepia(19%) saturate(1000%) hue-rotate(125deg);
  cursor:pointer;
}
/* ===============================
   BOOKING DATE – PROFESSIONAL
================================ */

.booking-date{
  border:1.5px solid #d1d5db;
  border-radius:10px;
  padding:12px 14px;
  font-size:0.95rem;
  font-weight:500;
  background:#ffffff;
  color:#264653;
  transition:all .25s ease;
}

/* Hover */
.booking-date:hover{
  border-color:#2a9d8f;
}

/* Focus */
.booking-date:focus{
  outline:none;
  border-color:#2a9d8f;
  box-shadow:0 0 0 4px rgba(42,157,143,.15);
  background:#f0fdfa;
}

/* Calendar icon (Webkit browsers) */
.booking-date::-webkit-calendar-picker-indicator{
  background-color:transparent;
  cursor:pointer;
  filter:
    invert(36%)
    sepia(19%)
    saturate(900%)
    hue-rotate(125deg);
  opacity:0.85;
}

/* Remove ugly inner shadow */
.booking-date::-webkit-inner-spin-button,
.booking-date::-webkit-clear-button{
  display:none;
}
.booked-badge{
  position:absolute;
  top:12px;
  right:12px;
  width:72px;
  z-index:10;
}

/* Tour image with overlay effect */
.tour-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* Booking hero image (fixed height, cover, premium overlay) */
.booking-hero-media{
  border-radius: 18px;
  height: 420px;
  background: #0b1220;
}

.booking-hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(15,23,42,.10), rgba(15,23,42,.60));
  pointer-events:none;
  z-index:2;
}

.booking-hero-media .tour-booking-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:0;
  margin:0;
  position:relative;
  z-index:1;
  transform: scale(1.01);
  filter: brightness(0.92) contrast(1.05);
  transition: transform .35s ease, filter .35s ease;
}

.booking-hero-media:hover .tour-booking-image{
  transform: scale(1.05);
  filter: brightness(0.98) contrast(1.08);
}

@media (max-width: 991.98px){
  .booking-hero-media{ height: 320px; }
}
@media (max-width: 575.98px){
  .booking-hero-media{ height: 240px; }
}

.tour-booking-image {
  position: relative;
  z-index: 1;
  filter: brightness(0.85) contrast(1.05);
  transition: filter 0.3s ease;
}
.fa-location-dot {
  font-size: 0.9rem;
}

.card:hover .fa-location-dot {
  color: #198754; /* vert Bootstrap */
}

.tour-booking-image:hover {
  filter: brightness(0.9) contrast(1.1);
}

/* Booking content polish */
.booking-feature{
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.booking-feature:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15,23,42,.10) !important;
}

.booking-section{
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  background: rgba(255,255,255,.88);
}

/* ===============================
   BOOKING PAGE (Modern UI)
================================ */
.booking-sidebar{
  position: sticky;
  top: 92px;
}

.booking-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(42,157,143,.12);
  color:var(--primary);
  font-size:18px;
}

.booking-trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.booking-trust .trust-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  color:#0f172a;
  font-weight:600;
  font-size:.85rem;
}

.booking-trust .trust-item i{
  color:var(--primary);
}

.payment-options{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.payment-option{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid #e5e7eb;
  background:#fff;
  cursor:pointer;
  transition:.2s;
}

.payment-option:hover{
  border-color:rgba(42,157,143,.55);
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}

.payment-option input{
  margin-top:4px;
}

.payment-option-body{
  display:flex;
  flex-direction:column;
  line-height:1.25;
}

.payment-option-title{
  font-weight:800;
  color:#0f172a;
}

.payment-option-sub{
  font-size:.85rem;
  color:#64748b;
}

@media (max-width: 991.98px){
  .booking-sidebar{
    position: static;
    top:auto;
  }
}

/* Larger booked logo for booking page */
.booked-logo-large {
  width: 140px !important;
  height: auto;
  z-index: 20;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  animation: bounce-in 0.6s ease-out;
}

@keyframes bounce-in {
  0% {
    transform: scale(0.8) rotate(-15deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}
/* ===============================
   BOOKED OVERLAY – CENTER & LARGE
================================ */

.booked-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.35);
  z-index:5;

  /* 🔑 TRÈS IMPORTANT */
  pointer-events:none;
}

.booked-overlay img{
  width:70%;
  max-width:260px;
  height:auto;
  opacity:0.95;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,0.45));
  animation:bookedPop .5s ease-out;

  /* sécurité */
  pointer-events:none;
}


/* Animation pro */
@keyframes bookedPop{
  0%{
    transform:scale(0.85);
    opacity:0;
  }
  100%{
    transform:scale(1);
    opacity:1;
  }
}
/* ===============================
   AVAILABLE TOURS – PRO SECTION
================================ */

.available-tours-section {
  padding: 46px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.55));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

@media (max-width: 575.98px){
  .available-tours-section{
    padding: 34px 16px;
  }
}

/* Title */
.section-title {
  font-size: 2.1rem;
  color: #264653;
  letter-spacing: 0.3px;
}

/* Elegant divider line */
.section-divider {
  width: 90px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    #2a9d8f,
    #e9c46a
  );
}

/* Improve card balance */
.available-tours-section .card {
  background: #ffffff;
}

.available-tours-section .tour-card{
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.available-tours-section .tour-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

/* Tour meta chips */
.available-tours-section .badge.text-bg-light {
  background: rgba(255, 255, 255, 0.88) !important;
  color: #222 !important;
  font-weight: 600;
  border-color: rgba(0,0,0,0.10) !important;
}

.theme-ireland .available-tours-section .badge.text-bg-light {
  background: rgba(255, 255, 255, 0.78) !important;
}

/* Short description */
.available-tours-section .tour-desc{
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price row helpers */
.available-tours-section .price-inline{
  flex-wrap: wrap;
}
.available-tours-section .price-prefix,
.available-tours-section .price-suffix{
  font-weight: 600;
}

/* Reduce image dominance */
.available-tours-section .card-img-top {
  height: 210px;
  object-fit: cover;
}

/* Card content spacing */
.available-tours-section .card-body {
  padding: 18px 20px 20px;
}

/* Card title */
.available-tours-section h5 {
  font-weight: 700;
  margin-bottom: 6px;
}

/* Destination text */
.available-tours-section .text-muted {
  font-size: 0.92rem;
}

.available-tours-section .tour-activity-preview{
  display: grid;
  gap: 10px;
}

.available-tours-section .tour-activity-preview-item{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 1));
}

.available-tours-section .tour-activity-preview-item img{
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Button alignment */
.available-tours-section .btn-sm {
  padding: 6px 14px;
  font-weight: 600;
}
/* ===============================
   NAVBAR – ACTIVE & HOVER WHITE
================================ */

/* Couleur texte */
.navbar-main .nav-link{
  color:#ffffff !important;
}

/* Hover */
.navbar-main .nav-link:hover{
  color:#ffffff !important;
}

/* Active (page courante) */
.navbar-main .nav-link.active,
.navbar-main .nav-link:focus{
  color:#ffffff !important;
}

/* Soulignement animé toujours blanc */
.navbar-main .nav-link::after{
  background:#ffffff;
}
/* ===============================
   LITEPICKER – GREEN SELECTION
================================ */

/* Jour sélectionné */
.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date {
  background: #2a9d8f !important;
  color: #fff !important;
  border-radius: 8px;
}

/* Plage sélectionnée */
.litepicker .container__days .day-item.is-in-range {
  background: rgba(42, 157, 143, 0.25) !important;
  color: #264653 !important;
}

/* Hover */
.litepicker .container__days .day-item:hover {
  background: rgba(42, 157, 143, 0.35) !important;
  color: #264653 !important;
}

/* Tooltip (11 nights) */
.litepicker .container__tooltip {
  background: #2a9d8f !important;
  color: #fff !important;
  border-radius: 6px;
}
.available-tours-section {
  scroll-margin-top: 100px; /* évite navbar fixe */
}
/* ================= CHATBOT ================= */
.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 320px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  display: none;
  flex-direction: column;
  z-index: 9999;
}

.chat-widget.chat-open {
  display: flex;
}

/* ===== HEADER ===== */
.chat-header {
  background: linear-gradient(90deg,#264653,#2a9d8f);
  color: #fff;
  padding: 12px 16px;
  font-weight: 600;
  border-radius: 14px 14px 0 0;
  text-align: center;
}

/* ===== MESSAGES ===== */
.chat-messages {
  padding: 12px;
  height: 230px;
  overflow-y: auto;
  background: #f7f8fa;
}

.msg {
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  max-width: 80%;
}

.msg.bot {
  background: #e9ecef;
}

.msg.user {
  background: #2a9d8f;
  color: #fff;
  margin-left: auto;
}

/* ===== INPUT ===== */
.chat-input {
  padding: 10px;
  border-top: 1px solid #ddd;
  display: flex;
  gap: 6px;
}

.chat-input input {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.chat-input button {
  background: #2a9d8f;
  color: #fff;
  border: none;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 600;
}

/* ===== FLOATING BUTTON ===== */
.btn-chatbot {
  background: #2a9d8f;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
/* ===============================
   TOUR STATUS BADGE (HOME)
================================ */

.tour-badge{
  position:absolute;
  top:14px;
  left:14px;
  padding:6px 12px;
  font-size:0.75rem;
  font-weight:700;
  letter-spacing:.4px;
  border-radius:8px;
  z-index:10;
  text-transform:uppercase;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}

.tour-badge.pending{
  background:#facc15;   /* jaune */
  color:#1f2937;
}

.tour-badge.rejected{
  background:#dc2626;
  color:#fff;
}
/* ===============================
   DATE CONFLICT TOAST
================================ */
.date-toast{
  position:fixed;
  bottom:30px;
  right:30px;
  background:#e0f2fe;
  color:#0f172a;
  padding:14px 18px;
  border-radius:10px;
  font-size:0.9rem;
  font-weight:500;
  box-shadow:0 12px 28px rgba(0,0,0,.25);
  opacity:0;
  transform:translateY(10px);
  transition:.3s ease;
  z-index:9999;
}

.date-toast.show{
  opacity:1;
  transform:none;
}
/* ===== GREEN RADIO BUTTONS ===== */
.form-check-input:checked {
  background-color: #28a745;
  border-color: #28a745;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(40, 167, 69, 0.25);
}

.form-check-input {
  cursor: pointer;
}

.form-check-label {
  cursor: pointer;
}
/* ===== FIX LITEPICKER VISIBILITY ===== */
.litepicker {
  z-index: 9999 !important;
}
/* ===== PROMO BADGE ===== */
.tour-badge.promo{
  position:absolute;
  top:14px;
  right:14px;   /* ✅ déplacé à droite */
  left:auto;    /* ✅ sécurité */
  background:#e63946;
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  letter-spacing:.3px;
  box-shadow:0 8px 18px rgba(0,0,0,.15);
  z-index:3;
}


/* ===== PRICE DISPLAY ===== */
.price-box{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.old-price{
  color:#9ca3af;
  text-decoration:line-through;
  font-weight:600;
  font-size:13px;
}

.new-price{
  color:#2a9d8f;
  font-weight:800;
  font-size:18px;
}

/* Booking big prices */
.old-price-big{
  color:#9ca3af;
  text-decoration:line-through;
  font-weight:700;
  font-size:18px;
}

.new-price-big{
  color:#2a9d8f;
  font-weight:900;
  font-size:32px;
}
/* ===============================
   PROMO TOP BAR (TRAIN ANIMATION)
================================ */
:root{
  --topbar-h: 36px;
}

.promo-topbar{
  height: var(--topbar-h);
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg,#0f766e,#2a9d8f);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2001;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.promo-track{
  display: flex;
  gap: 60px;
  white-space: nowrap;
  will-change: transform;
  animation: promoMarquee 18s linear infinite;
  padding-left: 100%;
}

.promo-topbar:hover .promo-track{
  animation-play-state: paused; /* pause when hover */
}

.promo-msg{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  opacity: 0.95;
}

@keyframes promoMarquee{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ✅ Navbar position fix */


/* ✅ Home page navbar absolute must start after topbar */


/* ✅ Hero padding must include topbar + navbar */
body[data-page="home"] .hero-home{
  padding-top: calc(80px + var(--topbar-h));
}
/* ✅ Strong strike-through (trash line) */
.old-price,
.old-price-big{
  color:#9ca3af;              /* ✅ gris */
  text-decoration:line-through;
  font-weight:700;
  font-size:18px;
}

/* ===============================
   PROMO TRAIN (BEFORE NAVBAR)
================================ */
.promo-train{
  height: var(--topbar-h);
  margin: 0;
  padding: 0;
}

.promo-track{
  display:flex;
  width:max-content;
  animation:promo-move 18s linear infinite;
}
.promo-track span{
  white-space:nowrap;
  padding:0 80px;
  font-size:0.95rem;
  font-weight:600;
  letter-spacing:.3px;
}


/* DISCOUNT en rouge */
.promo-discount{
  color:#e63946;
  font-weight:900;
  letter-spacing:1px;
  margin-right:6px;
}

/* Animation style train */
@keyframes promo-move{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
/* ===== PRICE INLINE (HOME CARDS) ===== */
.price-inline{
  display:flex;
  align-items:center;
  gap:8px;
}

/* Ancien prix GRIS */
.old-price{
  color:#9ca3af;
  text-decoration:line-through;
  font-weight:600;
  font-size:13px;
}

/* Nouveau prix */
.new-price{
  color:#2a9d8f;
  font-weight:800;
  font-size:17px;
}

/* Label discount */
.discount-label{
  background:#dc2626;
  color:#fff;
  font-size:10px;
  font-weight:800;
  padding:2px 6px;
  border-radius:6px;
  margin-left:6px;
  letter-spacing:.5px;
}
/* ===== FORCE SAME HEIGHT FOR TOUR CARDS ===== */
.available-tours-section .col-12,
.available-tours-section .col-md-6,
.available-tours-section .col-lg-4 {
  display: flex;
}

.available-tours-section .tour-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.available-tours-section .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
/* ===== NAVBAR FULL WIDTH FIX ===== */
.navbar-main{
  position: relative;
  background: linear-gradient(90deg,#264653,#2a9d8f);
  z-index: 1000;
}

/* Ireland header color to match theme */
.theme-ireland .navbar-main{
  background: linear-gradient(90deg, #1f2937, var(--primary));
}

/* Reservations list view polish */
.reservations-list .reservations-item{
  border-color: rgba(15, 23, 42, 0.08);
}

.reservations-list .reservations-thumb{
  border: 1px solid rgba(15, 23, 42, 0.08);
}



/* Évite tout overflow blanc */
body, html {
  overflow-x: hidden;
}
.navbar{
  padding: 6px 0;     /* AVANT : 14px */
}
.navbar-brand img{
  height: 36px;       /* AVANT : 44px */
}
.navbar-brand strong{
  font-size: 1rem;
}

/* Brand text: keep header spacing stable */
.navbar-brand strong{
  white-space:nowrap;
}

@media (min-width: 992px){
  .navbar-brand strong{
    font-size: .98rem;
    letter-spacing: .2px;
  }
}
.navbar-nav .nav-link{
  padding: 6px 10px;
  font-size: 0.95rem;
}

body[data-page="home"] .navbar-brand img{
  height: 44px;
}
body[data-page="home"] .hero-home{
  padding-top: calc(100px + var(--topbar-h));
}
html, body{
  margin: 0;
  padding: 0;
}
/* ===============================
   PROMO TOP BAR – BLACK VERSION
================================ */
.promo-train,
.promo-topbar {
  background: #000000 !important;   /* ✅ noir */
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.promo-track span {
  color: #ffffff;
  opacity: 0.95;
}
/* ===============================
   STICKY FOOTER – GLOBAL
================================ */

/* Le body prend toute la hauteur */
html, body {
  height: 100%;
}

/* Layout principal */
.layout-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Le contenu prend l'espace restant */
.site-content {
  flex: 1 0 auto;
}

/* Add extra spacing so footer is reached by scrolling on short pages */
body[data-page="contact"] .site-content,
body[data-page="blog"] .site-content{
  min-height: 100vh;
  padding-bottom: 220px;
}

/* Admin reservations: keep comfortable space before footer */
body[data-page="admin-reservations"] .site-content{
  min-height: 100vh;
  padding-bottom: 140px;
}

body[data-page="admin-reservations"] .admin-page-spacer{
  height: 140px;
}

/* Reservations should never visually sit on the footer */
body[data-page="reservations"] .reservations-tours{
  margin-bottom: 220px;
}

/* Booking: activity badges should look subtle */
.booking-section .badge.text-bg-light.border.text-secondary{
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: rgba(15, 23, 42, 0.70) !important;
  font-weight: 600;
}

/* Footer toujours en bas */
.site-footer {
  flex-shrink: 0;
  margin-top: auto;

}
/* ===============================
   HOME – DISABLE ABSOLUTE NAVBAR
/* ===============================
   HOME – NAVBAR INSIDE HERO (NON STICKY)
================================ */
body[data-page="home"] .navbar-main{
  position: absolute;      /* ⬅️ PAS fixed, PAS sticky */
  top: var(--topbar-h);    /* sous la promo bar */
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 10;
}

/* =============================== 
   IRELAND THEME (LIGHT VIOLET)
================================ */
.theme-ireland {
  --primary:#b57edc;       /* light violet */
  --primary-dark:#8f55bf;
  --accent:#a7f3d0;        /* soft mint accent */
  --dark:#1f2937;
}

/* Ireland hero overlay: keep contrast similar to Morocco (not too bright) */
.theme-ireland .hero-overlay{
  display:block;
  background:
    linear-gradient(
      rgba(0,0,0,.40),
      rgba(31,41,55,.64)
    ),
    linear-gradient(
      rgba(181,126,220,.08),
      rgba(181,126,220,0)
    );
}

/* Subtle Ireland accent on About section (not on hero) */
.theme-ireland #about-us{
  background:linear-gradient(135deg, rgba(181,126,220,.10), rgba(255,255,255,0));
  border-radius:18px;
  padding-top:28px;
  padding-bottom:28px;
}

.theme-ireland .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.theme-ireland .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ===============================
   IRELAND – CHAT WIDGET (LOGO GREEN)
================================ */
.theme-ireland .btn-chatbot{
  background:#c7dd10;
}

.theme-ireland .btn-chatbot:hover{
  background:#8f9f0c;
}

.theme-ireland .chat-header{
  background:linear-gradient(90deg, #1f2937, #8f9f0c);
}

.theme-ireland .chat-input button,
.theme-ireland .msg.user{
  background:#8f9f0c;
}

.theme-ireland .chat-input button:hover{
  background:#77850a;
}

.theme-ireland .msg.bot{
  background:#f6f9d6;
  color:#1f2937;
}

/* ===============================
   HEADER + HOME POLISH (2026-04)
================================ */
.navbar-main{
  transition: background-color .18s ease, background .18s ease, box-shadow .18s ease, backdrop-filter .18s ease;
}

/* Mobile menu should be readable even when header is transparent */
@media (max-width: 991.98px){
  .navbar-main .navbar-collapse{
    margin-top:10px;
    padding:12px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(15,23,42,.86);
    backdrop-filter:blur(12px);
  }
}

/* CTA buttons in the header */
.navbar-main .header-ctas .btn{
  border-radius:999px;
  font-weight:700;
}

/* Home: start transparent, become sticky + blurred on scroll */
body[data-page="home"] .navbar-main{
  border-bottom:1px solid rgba(255,255,255,.08);
}

body[data-page="home"] .navbar-main.navbar-scrolled{
  position:fixed;
  top:var(--topbar-h);
  left:0;
  width:100%;
  background:rgba(15,23,42,.72);
  backdrop-filter:blur(12px);
  box-shadow:0 12px 30px rgba(0,0,0,.24);
  z-index:2000;
}

/* Home hero search: glassy, premium look */
.hero-search{
  max-width: 980px;
  margin-left:auto;
  margin-right:auto;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}

.hero-search .form-control{
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.55);
  color: #0f172a;
}

.hero-search .form-control::placeholder{
  color: rgba(15,23,42,.65);
}

.hero-search .form-control:focus{
  border-color: rgba(233,196,106,.95);
  box-shadow: 0 0 0 .25rem rgba(233,196,106,.25);
}

@media (max-width: 768px){
  .hero-search{
    padding: 12px;
    border-radius: 16px;
  }
}

/* ===============================
   MOROCCO THEME REFRESH
   Clean, calmer, more structured
================================ */
.theme-morocco{
  --bg:#f6f3ec;
  --card:#ffffff;
  --muted:#667085;
  --primary:#2f8f83;
  --primary-dark:#236d64;
  --accent:#d8b36a;
  --dark:#14213d;
}

.theme-morocco body,
body.theme-morocco{
  background:
    radial-gradient(circle at top left, rgba(216,179,106,.12), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, #f6f3ec 100%);
  color:var(--dark);
}

.theme-morocco .site-content{
  position:relative;
}

.theme-morocco .site-content::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(135deg, rgba(47,143,131,.035), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(216,179,106,.08), transparent 22%);
  z-index:-1;
}

.theme-morocco .promo-train,
.theme-morocco .promo-topbar{
  background:#f4ede0 !important;
  color:#513b1e !important;
  border-bottom:1px solid rgba(81,59,30,.12);
}

.theme-morocco .promo-track span{
  color:#513b1e;
  font-size:.88rem;
  font-weight:700;
  letter-spacing:.02em;
}

.theme-morocco .promo-discount{
  color:#8b5e1a;
  margin-right:8px;
}

.theme-morocco .navbar-main{
  background:linear-gradient(90deg, #17324a 0%, #1f5060 52%, #2f8f83 100%);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 28px rgba(20,33,61,.10);
}

.theme-morocco .navbar-main .container{
  min-height:74px;
  padding-left:10px;
  padding-right:10px;
}

.theme-morocco .navbar-brand{
  gap:10px;
  margin-right:1.4rem;
  margin-left:0;
  padding-right:.35rem;
  flex:0 0 auto;
  justify-content:flex-start;
  min-width:240px;
}

.theme-morocco .navbar-brand img{
  width:38px;
  height:38px !important;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 6px 16px rgba(0,0,0,.16);
}

.theme-morocco .navbar-brand strong{
  font-size:1.03rem;
  font-weight:800;
  letter-spacing:.01em;
}

.theme-morocco .navbar-main .nav-link{
  color:rgba(255,255,255,.90) !important;
  padding:9px 12px;
  border-radius:999px;
  font-weight:600;
  white-space:nowrap;
  transition:background-color .18s ease, color .18s ease, transform .18s ease;
}

.theme-morocco .navbar-main .nav-link:hover,
.theme-morocco .navbar-main .nav-link:focus,
.theme-morocco .navbar-main .nav-link.active{
  color:#ffffff !important;
  background:rgba(255,255,255,.12);
}

.theme-morocco .navbar-main .nav-link::after{
  display:none;
}

.theme-morocco .navbar-main .header-ctas{
  padding-left:10px;
}

.theme-morocco .navbar-main .header-ctas .btn{
  border-radius:12px;
  padding:.58rem .95rem;
  font-weight:700;
  box-shadow:none;
}

.theme-morocco .header-cta-whatsapp{
  border-color:rgba(255,255,255,.44);
  color:#fff;
  background:rgba(255,255,255,.06);
}

.theme-morocco .header-cta-whatsapp:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.60);
  color:#fff;
}

.theme-morocco .header-cta-book{
  background:#f7f3ea;
  color:#17324a;
  border:1px solid rgba(255,255,255,.65);
}

.theme-morocco .header-cta-book:hover{
  background:#ffffff;
  color:#17324a;
}

.theme-morocco .card,
.theme-morocco .booking-feature,
.theme-morocco .auth-card,
.theme-morocco .tour-card,
.theme-morocco .reservations-item,
.theme-morocco .booking-sidebar,
.theme-morocco .booking-page-shell .alert,
.theme-morocco .booking-page-shell .booking-form-group,
.theme-morocco .booking-page-shell .payment-option,
.theme-morocco .booking-page-shell .booking-total-bar{
  border:1px solid rgba(20,33,61,.08);
  box-shadow:0 14px 36px rgba(20,33,61,.06);
}

.theme-morocco .card,
.theme-morocco .booking-feature,
.theme-morocco .tour-card,
.theme-morocco .auth-card{
  border-radius:24px;
}

.theme-morocco .booking-feature .card-body,
.theme-morocco .tour-card .card-body{
  padding:1.35rem;
}

.theme-morocco .booking-icon{
  width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(47,143,131,.10), rgba(216,179,106,.12));
  color:#17324a;
}

.theme-morocco .btn-primary{
  background:#17324a;
  border-color:#17324a;
}

.theme-morocco .btn-primary:hover{
  background:#0f2537;
  border-color:#0f2537;
}

.theme-morocco .btn-outline-primary{
  color:#17324a;
  border-color:rgba(23,50,74,.24);
}

.theme-morocco .btn-outline-primary:hover{
  background:#17324a;
  border-color:#17324a;
  color:#fff;
}

.theme-morocco .form-control,
.theme-morocco .form-select{
  border:1px solid rgba(20,33,61,.12);
  background:#fffdfa;
}

.theme-morocco .form-control:focus,
.theme-morocco .form-select:focus{
  border-color:rgba(47,143,131,.42);
  box-shadow:0 0 0 .2rem rgba(47,143,131,.12);
}

.theme-morocco .site-footer{
  background:
    linear-gradient(rgba(14,27,43,.88), rgba(14,27,43,.94)),
    url("/static/img/hero-ma.jpg?v=20260402_2") center/cover no-repeat;
  padding:72px 0 34px;
}

.theme-morocco .site-footer .container{
  max-width:1140px;
}

.theme-morocco .site-footer h5,
.theme-morocco .site-footer h6{
  letter-spacing:.02em;
  margin-bottom:14px;
}

.theme-morocco .site-footer p,
.theme-morocco .site-footer li,
.theme-morocco .site-footer a{
  color:rgba(226,232,240,.86);
}

.theme-morocco .site-footer ul{
  display:grid;
  gap:8px;
}

.theme-morocco .chat-widget{
  border:1px solid rgba(20,33,61,.10);
  border-radius:22px;
  box-shadow:0 24px 48px rgba(20,33,61,.16);
}

.theme-morocco .chat-header{
  background:linear-gradient(90deg, #17324a, #2f8f83);
  padding:15px 18px;
  text-align:left;
}

.theme-morocco .chat-messages{
  background:#fcfaf6;
}

.theme-morocco .msg.bot{
  background:#eef3f1;
  color:#17324a;
}

.theme-morocco .msg.user,
.theme-morocco .chat-input button,
.theme-morocco .btn-chatbot{
  background:#17324a;
}

.theme-morocco .chat-input{
  border-top:1px solid rgba(20,33,61,.08);
  padding:12px;
}

.theme-morocco .chat-input input{
  border:1px solid rgba(20,33,61,.12);
  background:#fffdfa;
}

.theme-morocco .btn-chatbot{
  box-shadow:0 18px 36px rgba(23,50,74,.22);
}

.theme-morocco .hero-search{
  background:rgba(255,250,242,.14);
  border:1px solid rgba(255,255,255,.18);
}

@media (min-width: 992px){
  .theme-morocco .navbar-main .navbar-nav{
    gap:2px;
  }

  .theme-morocco .navbar-main .navbar-collapse{
    column-gap:8px;
  }

  .theme-morocco .navbar-main .navbar-nav.me-auto{
    margin-left:0 !important;
    flex-wrap:nowrap;
  }

  .theme-morocco .navbar-main .header-ctas{
    flex-wrap:nowrap;
    white-space:nowrap;
  }

  .theme-morocco .navbar-main .header-ctas .btn{
    white-space:nowrap;
  }

  .theme-morocco .navbar-main .nav-item{
    flex:0 0 auto;
  }
}

@media (max-width: 991.98px){
  .theme-morocco .navbar-main .navbar-collapse{
    background:rgba(17,33,48,.96);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:14px;
    box-shadow:0 18px 40px rgba(0,0,0,.20);
  }

  .theme-morocco .navbar-main .header-ctas{
    margin-top:12px;
    padding-left:0;
    width:100%;
    justify-content:stretch;
  }

  .theme-morocco .navbar-main .header-ctas .btn{
    flex:1 1 0;
    justify-content:center;
  }
}
