/* ==========================================================================
   Expérience Sahara Marrakech - Modern Luxury Theme
   Emerald Green & Desert Gold Color Scheme
   ========================================================================== */

:root {
  --primary: #0f382c;           /* Royal Emerald Green */
  --primary-hover: #08241b;     /* Deep Pine */
  --primary-light: #f4f8f6;     /* Soft Mint Cream */
  --primary-glow: rgba(15, 56, 44, 0.25);
  
  --gold: #c89d3c;              /* Sahara Royal Gold */
  --gold-hover: #b3882a;        /* Deep Gold */
  --gold-light: #fdfaf3;        /* Warm Sand Cream */
  --gold-glow: rgba(200, 157, 60, 0.3);
  
  --secondary: #13241e;         /* Dark Obsidian Forest */
  --secondary-light: #243c33;   /* Slate Forest */
  --accent: #b45309;            /* Terracotta */
  
  --bg-main: #ffffff;
  --bg-alt: #fbf9f4;            /* Desert Sand Soft */
  --bg-dark: #091712;           /* Deep Midnight Forest */
  --bg-card: #ffffff;
  
  --text-main: #13241e;
  --text-muted: #5b6b64;
  --text-light: #f8fafc;
  --border-color: #e3ebe7;
  --border-light: #f0f5f2;
  
  --status-pending-bg: #fef3c7;
  --status-pending-text: #92400e;
  --status-confirmed-bg: #d1fae5;
  --status-confirmed-text: #065f46;
  --status-completed-bg: #e0f2fe;
  --status-completed-text: #075985;
  --status-cancelled-bg: #fee2e2;
  --status-cancelled-text: #991b1b;
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Tajawal', 'Cairo', 'DM Sans', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(15, 56, 44, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 56, 44, 0.08), 0 2px 4px -1px rgba(15, 56, 44, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 56, 44, 0.1), 0 4px 6px -2px rgba(15, 56, 44, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 56, 44, 0.12), 0 10px 10px -5px rgba(15, 56, 44, 0.05);
  --shadow-card: 0 10px 25px rgba(15, 56, 44, 0.07);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

[dir="rtl"] {
  font-family: var(--font-arabic);
}
[dir="rtl"] .font-heading {
  font-family: var(--font-arabic);
  font-weight: 700;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Bar */
.top-bar {
  background: var(--bg-dark);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(200, 157, 60, 0.15);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.top-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}
.top-contact a:hover {
  color: var(--gold);
}
.top-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.select-picker {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(200, 157, 60, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}
.select-picker:hover, .select-picker:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.15);
}
.select-picker option {
  background: var(--bg-dark);
  color: #f8fafc;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(15, 56, 44, 0.06);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.logo-img {
  height: 52px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.logo-wrap:hover .logo-img {
  transform: scale(1.04);
}
.logo-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
}
.logo-brand span {
  color: var(--gold);
}
.logo-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-hover);
  font-weight: 700;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.25rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}
.header-cta-btn:hover {
  transform: translateY(-2px);
  background: #1eb956;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.admin-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold-light);
  color: var(--gold-hover) !important;
  border: 1px solid var(--gold);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}
.admin-nav-btn:hover {
  background: var(--gold);
  color: #fff !important;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: #091712 url('../assets/background.jpeg') center center / cover no-repeat;
  color: #ffffff;
  padding: 5rem 0 4.5rem;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 23, 18, 0.35) 0%, rgba(9, 23, 18, 0.55) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 157, 60, 0.2);
  border: 1px solid rgba(200, 157, 60, 0.4);
  color: #fef08a;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title span {
  color: var(--gold);
  background: linear-gradient(135deg, #fde047, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #e2e8f0;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  max-width: 720px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 4px 15px var(--gold-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-hover), #926d1d);
  transform: translateY(-2px);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  background: #ffffff;
  color: var(--primary);
}

/* Search Bar */
.search-bar-wrap {
  position: relative;
  z-index: 20;
  margin-top: -3.5rem;
  margin-bottom: 3.5rem;
}
.search-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(15, 56, 44, 0.12);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border-light);
}
.search-form {
  display: grid;
  grid-template-columns: 2fr 1.5fr auto auto;
  gap: 1.25rem;
  align-items: end;
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.search-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.search-field label i {
  color: var(--gold);
}
.search-input-wrap input,
.search-input-wrap select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  background: #f8fafc;
  outline: none;
  transition: var(--transition);
  font-size: 0.92rem;
}
.search-input-wrap input:focus,
.search-input-wrap select:focus {
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.btn-search {
  padding: 0.75rem 1.5rem;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.btn-search:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
}

/* Trust / Highlights (kept for compatibility) */
.trust-section {
  padding: 2.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
}
.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}
.trust-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.trust-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}
/* Intro Brand Presentation - ExploreToMorocco style */
.intro-section {
  padding: 3.5rem 0 3rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}
.intro-container {
  max-width: 960px;
  text-align: center;
}
.intro-lead {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.intro-lead span {
  color: var(--gold-hover);
  font-weight: 700;
}
.intro-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin: 2.2rem 0 1.6rem;
  text-transform: uppercase;
}
.intro-heading span {
  color: var(--gold);
}
.intro-body {
  text-align: left;
  max-width: 880px;
  margin: 0 auto;
}
.intro-body p {
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.intro-body p strong {
  color: var(--gold-hover);
}
.intro-body p span {
  color: var(--gold-hover);
  font-weight: 700;
}
[dir="rtl"] .intro-body {
  text-align: right;
}
[dir="rtl"] .intro-container {
  text-align: center;
}

/* Sections Styling */
.section {
  padding: 4.5rem 0;
}
.section-alt {
  background-color: var(--bg-alt);
}
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}
.section-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-hover);
  background: var(--gold-light);
  border: 1px solid rgba(200, 157, 60, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Service Card Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}
.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(200, 157, 60, 0.3);
}
.service-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-thumb img {
  transform: scale(1.06);
}
.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}
[dir="rtl"] .service-badge {
  left: auto;
  right: 1rem;
}
.capacity-pill {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(9, 23, 18, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
[dir="rtl"] .capacity-pill {
  right: auto;
  left: 0.85rem;
}
.capacity-pill i {
  color: var(--gold);
}

.service-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.service-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-meta i {
  color: var(--gold);
}
.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  gap: 0.5rem;
}
.service-price-wrap {
  display: flex;
  flex-direction: column;
}
.service-price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.service-price-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.btn-action-view {
  background: var(--bg-alt);
  color: var(--primary);
  border: 1px solid var(--border-color);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-action-view:hover {
  background: var(--primary);
  color: #fff;
}
.btn-action-wa {
  background: #25d366;
  color: #ffffff;
  border: 1px solid #25d366;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}
.btn-action-wa:hover {
  background: #1eb956;
}

/* Custom Quote Wizard Section */
.custom-section {
  background: linear-gradient(135deg, #091712 0%, #0f382c 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.custom-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}
.custom-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.custom-info p {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}
.custom-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.custom-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #e2e8f0;
}
.custom-perks li i {
  color: var(--gold);
  background: rgba(200, 157, 60, 0.15);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.custom-form-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 157, 60, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.custom-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group-full {
  grid-column: 1 / -1;
}
.custom-form-card label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.35rem;
  display: block;
}
.custom-form-card input,
.custom-form-card select,
.custom-form-card textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 23, 18, 0.65);
  color: #ffffff;
  outline: none;
  font-size: 0.9rem;
}
.custom-form-card input:focus,
.custom-form-card select:focus,
.custom-form-card textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.custom-form-card select option {
  background: var(--bg-dark);
  color: #fff;
}

/* Footer */
.site-footer {
  background: #06120e;
  color: #94a3b8;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(200, 157, 60, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.4rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--gold);
}
[dir="rtl"] .footer-col h4::after {
  left: auto;
  right: 0;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}
[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 25px;
}
.floating-whatsapp:hover {
  transform: scale(1.05);
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 23, 18, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.96);
  transition: var(--transition);
}
.modal-overlay.active .modal-container {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}
[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.25rem;
}
.modal-hero {
  position: relative;
  height: 280px;
}
.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(9, 23, 18, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #fff;
}
.modal-hero-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.modal-hero-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: #e2e8f0;
}
.modal-content {
  padding: 2rem;
}
.modal-inc-exc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-alt);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}
.inc-list, .exc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.inc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: var(--primary);
}
.inc-list li i {
  color: #10b981;
  margin-top: 3px;
}
.exc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: #64748b;
}
.exc-list li i {
  color: #ef4444;
  margin-top: 3px;
}
.modal-inquiry-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Voyage Detail Enhancements — highlights, itinerary, FAQ */
.modal-section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}
.highlights-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gold-light);
  border: 1px solid rgba(200,157,60,0.25);
  color: var(--gold-hover);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}
.highlight-chip i { color: var(--gold); }
.itinerary-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.itinerary-step {
  background: #fdf6e3;
  border: 1px solid #e8d5b8;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  box-shadow: 0 2px 8px rgba(200,157,60,0.07);
}
.itinerary-day {
  display: inline-block;
  background: #fff7e0;
  color: #7a3f1a;
  border: 1px solid #e8d5b8;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.45rem;
}
.itinerary-step h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #7a3f1a;
  margin-bottom: 0.35rem;
}
.itinerary-step p {
  font-size: 0.88rem;
  color: #2c4a52;
  line-height: 1.7;
  white-space: pre-line;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.faq-item summary {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 800;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Gallery grid inside modal - Merzouga album */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.gallery-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid var(--border-light);
  transition: var(--transition);
}
.gallery-thumb:hover {
  transform: scale(1.03);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-thumb { height: 140px; }
}

/* Carousel inside modal — auto 2s */
.carousel-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 2px solid var(--border-light);
  background: #000;
}
.carousel-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.8);
  transition: var(--transition);
}
.carousel-dot.active { background: var(--gold); border-color: var(--gold); width: 22px; border-radius: 6px; }
.carousel-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(9,23,18,0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
@media (max-width: 768px) { .carousel-img { height: 240px; } }

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(9,23,18,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  backdrop-filter: blur(6px);
}

/* Admin Styles */
.admin-body {
  background: #f8fafc;
  color: #1e293b;
}
.admin-navbar {
  background: var(--primary);
  color: #ffffff;
  padding: 1rem 0;
}
.admin-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.admin-nav-item {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(200, 157, 60, 0.25);
  color: #fef08a;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.kpi-card {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.kpi-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.kpi-icon.emerald { background: #d1fae5; color: #065f46; }
.kpi-icon.gold { background: #fef3c7; color: #92400e; }
.kpi-icon.blue { background: #e0f2fe; color: #075985; }
.kpi-icon.purple { background: #f3e8ff; color: #6b21a8; }
.kpi-info h4 {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}
.kpi-info .kpi-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
}

.admin-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
}
.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}
.admin-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.admin-search-input {
  padding: 0.45rem 0.85rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  font-size: 0.88rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
[dir="rtl"] .data-table {
  text-align: right;
}
.data-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 0.8rem 0.9rem;
  border-bottom: 2px solid var(--border-color);
  text-transform: uppercase;
  font-size: 0.75rem;
}
.data-table td {
  padding: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-pending { background: var(--status-pending-bg); color: var(--status-pending-text); }
.badge-confirmed { background: var(--status-confirmed-bg); color: var(--status-confirmed-text); }
.badge-completed { background: var(--status-completed-bg); color: var(--status-completed-text); }
.badge-cancelled { background: var(--status-cancelled-bg); color: var(--status-cancelled-text); }

.action-btn-group {
  display: flex;
  gap: 0.35rem;
}
.btn-action {
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  cursor: pointer;
  font-size: 0.8rem;
}
.btn-action.wa { background: #25d366; color: #fff; border-color: #25d366; }
.btn-action.delete { color: #dc2626; }

.toast-notice {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 9999;
  background: var(--bg-dark);
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateY(-50px);
  opacity: 0;
  transition: var(--transition);
}
.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1024px) {
  .search-form { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .custom-container { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .mobile-nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%);
    transition: var(--transition);
  }
  .nav-menu.active { transform: translateY(0); }
  .search-form { grid-template-columns: 1fr; }
  .hero-section { padding: 3.5rem 0 3rem; }
  .custom-form-grid { grid-template-columns: 1fr; }
  .modal-inc-exc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar { display: none; }
}

/* ============================================================
   Footer Social Icons
   ============================================================ */
.footer-socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #cbd5e1;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}
.social-icon[aria-label="Instagram"]:hover {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  border-color: transparent;
}

/* ============================================================
   Filter Buttons (Admin)
   ============================================================ */
.filter-btn {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: #f8fafc;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { background: var(--gold-light); border-color: var(--gold); color: var(--gold-hover); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   Google Maps Places Autocomplete Dropdown
   ============================================================ */
.pac-container {
  border-radius: 10px !important;
  border: 1.5px solid var(--gold) !important;
  box-shadow: 0 10px 25px rgba(15,56,44,0.12) !important;
  font-family: var(--font-body) !important;
  margin-top: 4px;
  z-index: 9999 !important;
}
.pac-item {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  color: var(--text-main);
  cursor: pointer;
  border-top: 1px solid var(--border-light);
}
.pac-item:hover, .pac-item-selected {
  background: var(--gold-light);
}
.pac-item-query {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}
.pac-matched { color: var(--gold-hover); }
.pac-icon { display: none; }

/* Empty state for search results */
.empty-msg {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem;
  color: #64748b;
  font-size: 1rem;
}
.empty-msg i {
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

/* ============================================================
   Service Detail Page (service.html?id=) - like exploretomorocco
   ============================================================ */
.breadcrumb-wrap {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-hover); }
.breadcrumb .sep { color: #cbd5e1; }
.breadcrumb .current { color: var(--text-main); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 380px; }

.service-hero { position: relative; }
.service-hero-img { position: relative; height: 460px; overflow: hidden; background: var(--bg-dark); }
.service-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.service-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,23,18,0.15) 0%, rgba(9,23,18,0.88) 100%);
  display: flex; align-items: flex-end; padding: 2.2rem 0;
  color: #fff;
}
.hero-badge-detail {
  display: inline-block; background: linear-gradient(135deg,var(--gold),var(--gold-hover));
  color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.8px;
  padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 0.7rem; text-transform: uppercase;
}
.service-hero-title {
  font-family: var(--font-heading); font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 0.6rem; color: #fff;
}
.service-hero-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.88rem; color: #e2e8f0; }
.service-hero-meta i { color: var(--gold); }

.service-layout {
  display: grid; grid-template-columns: 1.7fr 0.9fr; gap: 2rem;
  padding: 2rem 1.5rem 2.5rem; max-width: 1280px; margin: 0 auto;
}
.service-main { min-width: 0; }
.service-sidebar { position: relative; }

.booking-box {
  position: sticky; top: 90px;
  background: #fff; border: 1.5px solid var(--border-color);
  border-radius: 16px; padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 1024px) {
  .service-hero-img { height: 360px; }
  .service-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .booking-box { position: static; }
}
@media (max-width: 768px) {
  .service-hero-img { height: 300px; }
  .breadcrumb .current { max-width: 180px; }
}
