/* ================================================
   style.css — LORDECS Travel SPA
   ================================================ */

/* ---- Variables ---- */
:root {
  --primary:        #ffd000;
  --primary-dark:   #e6b800;
  --primary-light:  rgba(255, 208, 0, 0.15);
  --dark:           #1a1a2e;
  --dark-2:         #16213e;
  --dark-3:         #0f3460;
  --text:           #2d2d2d;
  --text-muted:     #6c757d;
  --white:          #ffffff;
  --light-bg:       #f5f7fa;
  --card-bg:        #ffffff;
  --border:         #e9ecef;
  --shadow-sm:      0 4px 15px rgba(0,0,0,.08);
  --shadow-md:      0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:      0 20px 60px rgba(0,0,0,.18);
  --radius:         16px;
  --radius-sm:      10px;
  --transition:     all 0.3s ease;
  --nav-h:          70px;
}

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

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

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
  /* Footer always at bottom */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

body.rtl { direction: rtl; }
body.ltr { direction: ltr; }

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  height: var(--nav-h);
  transition: var(--transition);
  z-index: 1050;
}

.navbar.scrolled {
  height: 60px;
  box-shadow: 0 4px 30px rgba(0,0,0,.12);
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text) !important;
  letter-spacing: -0.5px;
  transition: var(--transition);
}
.navbar-brand:hover { transform: scale(1.04); }

.brand-t   { color: var(--primary); }
.brand-icon { color: var(--primary); font-size: 1.3rem; }

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text) !important;
  padding: 6px 10px !important;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.nav-link:hover::after, .nav-link.active::after { width: 70%; }

.lang-btn {
  background: var(--primary);
  border: none;
  border-radius: 20px;
  padding: 5px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.lang-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Theme toggle button */
.theme-btn {
  background: none;
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text);
  transform: rotate(20deg) scale(1.1);
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--text);
  border: none;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 32px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255,208,0,.45);
  color: var(--text);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--text);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.btn-sm-custom {
  padding: 8px 20px !important;
  font-size: 0.85rem !important;
}

/* ================================================
   SECTION TITLES
   ================================================ */
.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 12px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}
.section-title.text-start::after {
  left: 0;
  transform: none;
}
body.rtl .section-title.text-start::after {
  left: auto;
  right: 0;
}
.section-title span { color: var(--primary); }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================================================
   PAGE ANIMATION
   ================================================ */
/* Footer always sticks to bottom */
#app { flex: 1; }
footer { margin-top: auto; }

.page { animation: pageSlideIn 0.35s ease both; }

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

/* ---- Scroll-triggered animations ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: none;
}

/* ================================================
   HOME — HERO
   ================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1400') center/cover no-repeat;
  opacity: 0.18;
  animation: bgBreath 18s ease-in-out infinite;
}

@keyframes bgBreath {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.07); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: rgba(255,208,0,.15);
  color: var(--primary);
  border: 1px solid rgba(255,208,0,.4);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 22px;
  animation: fadeInDown 0.7s ease both;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  animation: fadeInLeft 0.8s ease 0.1s both;
}

.hero-highlight { color: var(--primary); }

.typing-row {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  min-height: 2.5rem;
  animation: fadeInLeft 0.8s ease 0.2s both;
}

.typing-prefix { color: rgba(255,255,255,.7); }

#typingWord { color: var(--primary); }

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--primary);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 0.75s infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 490px;
  animation: fadeInLeft 0.8s ease 0.3s both;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInLeft 0.8s ease 0.4s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

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

.stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

/* Hero image */
.hero-img-wrapper {
  position: relative;
  z-index: 2;
  animation: fadeInRight 0.9s ease 0.3s both;
}

.hero-img-main {
  width: 100%;
  max-width: 430px;
  height: 520px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%       { transform: translateY(-18px) rotate(0.5deg); }
}

.hero-float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  color: var(--text);
  z-index: 3;
}

.badge-top {
  top: 28px;
  left: -28px;
  animation: badgeFloat 4s ease-in-out infinite;
}

.badge-bottom {
  bottom: 40px;
  right: -28px;
  animation: badgeFloat 4s ease-in-out 1.5s infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ================================================
   HOME — GALLERY
   ================================================ */
.gallery-section {
  padding: 90px 0;
  background: var(--light-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-span { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 55%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-label {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

/* ================================================
   ABOUT
   ================================================ */
.about-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #dde3ec 100%);
}

.about-img-wrap { position: relative; }

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.about-img:hover { transform: translateY(-8px) rotate(1deg); }

.about-exp-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(255,208,0,.45);
  text-align: center;
}
body.rtl .about-exp-badge { right: auto; left: -16px; }

.exp-num { font-size: 1.8rem; font-weight: 900; line-height: 1; color: var(--text); }
.exp-label { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); }

.about-features { list-style: none; margin: 24px 0; }
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.97rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.about-features li:last-child { border-bottom: none; }
.about-features li i { color: var(--primary); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }

/* ================================================
   PACKAGES
   ================================================ */
.packages-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.packages-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: 24px;
  border: 2px solid var(--primary);
  background: transparent;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--text);
  transform: translateY(-1px);
}

.package-card {
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pkg-img-wrap {
  position: relative;
  overflow: hidden;
  height: 235px;
}
.pkg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.package-card:hover .pkg-img-wrap img { transform: scale(1.08); }

.pkg-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: var(--text);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
}
body.rtl .pkg-badge { right: auto; left: 14px; }

.pkg-featured {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ff6b35;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
}
body.rtl .pkg-featured { left: auto; right: 14px; }

.pkg-body { padding: 20px; }

.pkg-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pkg-meta {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-bottom: 10px;
}
.pkg-meta i { color: var(--primary); margin-right: 4px; }

.pkg-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.pkg-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.pkg-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dark-3);
}
.pkg-price small { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }

/* ================================================
   SERVICES
   ================================================ */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 55px rgba(255,208,0,.18);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon-wrap {
  width: 76px;
  height: 76px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: var(--transition);
}
.service-icon-wrap i { font-size: 1.9rem; color: var(--primary-dark); transition: var(--transition); }

.service-card:hover .service-icon-wrap {
  background: var(--primary);
  transform: rotate(360deg) scale(1.1);
}
.service-card:hover .service-icon-wrap i { color: var(--text); }

.service-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; line-height: 1.65; }

/* Why Section */
.why-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
}

.why-card {
  padding: 30px 20px;
}

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
}
.why-icon i { font-size: 1.5rem; color: var(--text); }
.why-card:hover .why-icon { transform: rotate(-10deg) scale(1.1); }

.why-card h4 { font-size: 1.05rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.why-card p  { font-size: 0.88rem; color: rgba(255,255,255,.65); margin: 0; }

/* ================================================
   CONTACT
   ================================================ */
.contact-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.contact-info-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-row:last-child { border-bottom: none; }

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { font-size: 1.1rem; color: var(--primary-dark); }

.booking-form-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-lbl {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--text);
}

.form-inp {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-inp:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,208,0,.14);
}

.form-success-msg {
  background: #d4edda;
  color: #155724;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: center;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Spinner inside button */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0,0,0,.2);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 55px 0 28px;
  color: var(--white);
}

.footer-brand { font-size: 1.9rem; font-weight: 900; }

.footer-tagline { color: rgba(255,255,255,.55); font-size: 0.9rem; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 24px 0 18px;
}

.footer-copy { color: rgba(255,255,255,.5); font-size: 0.85rem; }

.social-links { display: flex; justify-content: center; gap: 14px; }
.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--primary);
  color: var(--text);
  transform: translateY(-5px) rotate(360deg);
}

/* ================================================
   TOAST
   ================================================ */
.toast-container-custom {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.rtl .toast-container-custom { right: auto; left: 28px; }

.toast-custom {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 20px;
  min-width: 270px;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
  font-size: 0.9rem;
  font-weight: 500;
  animation: toastIn 0.4s ease;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.toast-custom.toast-hide { opacity: 0; transform: translateX(60px); }

.toast-custom.toast-success i { color: #28a745; font-size: 1.2rem; }
.toast-custom.toast-error   i { color: #dc3545; font-size: 1.2rem; }
.toast-custom.toast-info    i { color: var(--primary); font-size: 1.2rem; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ================================================
   KEYFRAMES
   ================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
  .hero-title   { font-size: 2.6rem; }
  .typing-row   { font-size: 1.5rem; }
  .hero-img-main { max-width: 360px; height: 380px; }
  .badge-top, .badge-bottom { display: none; }
  .hero-stats   { gap: 18px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .section-title { font-size: 2rem; }
  .hero          { text-align: center; padding-bottom: 50px; }
  .hero-title    { font-size: 2.1rem; }
  .typing-row    { font-size: 1.35rem; justify-content: center; }
  .hero-desc     { margin: 0 auto; }
  .hero-btns     { justify-content: center; }
  .hero-stats    { justify-content: center; }
  .hero-img-main { height: 300px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-span { grid-row: span 1; grid-column: span 2; }

  .about-img     { height: 340px; }
  .about-exp-badge { width: 80px; height: 80px; right: 8px; bottom: -8px; }
  .exp-num       { font-size: 1.4rem; }

  .booking-form-card { padding: 28px 20px; }

  .toast-container-custom { right: 14px; bottom: 14px; }
  body.rtl .toast-container-custom { right: auto; left: 14px; }
}

@media (max-width: 576px) {
  .section-title { font-size: 1.7rem; }
  .hero-title    { font-size: 1.75rem; }
  .gallery-grid  { grid-template-columns: 1fr; }
  .gallery-span  { grid-column: span 1; }
  .hero-stats    { gap: 10px; }
  .stat-num      { font-size: 1.5rem; }
  .packages-filter { gap: 8px; }
  .filter-btn    { padding: 7px 16px; font-size: 0.82rem; }
}

/* ================================================
   DARK MODE
   ================================================ */

/* ---- Dark variables ---- */
[data-theme="dark"] {
  --text:       #e2e2e2;
  --text-muted: #9a9ab0;
  --white:      #12121f;
  --light-bg:   #1a1a2e;
  --card-bg:    #1e1e32;
  --border:     #2e2e4a;
  --shadow-sm:  0 4px 15px rgba(0,0,0,.35);
  --shadow-md:  0 8px 30px rgba(0,0,0,.45);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.55);
  --primary-light: rgba(255,208,0,.12);
}

/* ---- Scrollbar (dark) ---- */
[data-theme="dark"] ::-webkit-scrollbar-track { background: #1a1a2e; }

/* ---- Navbar (dark) ---- */
[data-theme="dark"] .navbar {
  background: #13131f !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
[data-theme="dark"] .navbar-brand { color: var(--text) !important; }
[data-theme="dark"] .nav-link     { color: var(--text) !important; }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active { color: var(--primary) !important; }
[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}
[data-theme="dark"] .theme-btn {
  border-color: var(--border);
  color: var(--text);
}

/* ---- Body & base (dark) ---- */
[data-theme="dark"] body {
  background: var(--white);
  color: var(--text);
}

/* ---- Gallery section (dark) ---- */
[data-theme="dark"] .gallery-section { background: var(--light-bg); }

/* ---- About section (dark) ---- */
[data-theme="dark"] .about-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
[data-theme="dark"] .about-features li { border-bottom-color: var(--border); }

/* ---- Packages (dark) ---- */
[data-theme="dark"] .packages-section { background: var(--light-bg); }
[data-theme="dark"] .package-card     { background: var(--card-bg); }
[data-theme="dark"] .pkg-title        { color: var(--text); }
[data-theme="dark"] .pkg-footer       { border-top-color: var(--border); }
[data-theme="dark"] .pkg-price        { color: var(--primary); }
[data-theme="dark"] .filter-btn       { color: var(--text); background: transparent; }

/* ---- Services (dark) ---- */
[data-theme="dark"] .services-section { background: var(--white); }
[data-theme="dark"] .service-card {
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .service-card h3 { color: var(--text); }
[data-theme="dark"] .service-card p  { color: var(--text-muted); }

/* ---- Contact (dark) ---- */
[data-theme="dark"] .contact-section { background: var(--light-bg); }
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .booking-form-card {
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .contact-info-row { border-bottom-color: var(--border); }
[data-theme="dark"] .form-inp {
  background: var(--light-bg);
  color: var(--text);
  border-color: var(--border);
}
[data-theme="dark"] .form-inp:focus {
  background: var(--card-bg);
  border-color: var(--primary);
}
[data-theme="dark"] .form-inp::placeholder { color: var(--text-muted); }
[data-theme="dark"] .form-lbl            { color: var(--text); }
[data-theme="dark"] .contact-icon        { background: rgba(255,208,0,.1); }
[data-theme="dark"] h4.fw-bold,
[data-theme="dark"] h5                   { color: var(--text); }
[data-theme="dark"] .text-muted          { color: var(--text-muted) !important; }

/* ---- Section titles (dark) ---- */
[data-theme="dark"] .section-title  { color: var(--text); }
[data-theme="dark"] .section-subtitle { color: var(--text-muted); }

/* ---- About features (dark) ---- */
[data-theme="dark"] .about-features li span { color: var(--text); }

/* ---- Hero float badges (dark) ---- */
[data-theme="dark"] .hero-float-badge {
  background: var(--card-bg);
  color: var(--text);
  box-shadow: 0 8px 25px rgba(0,0,0,.4);
}

/* ---- Form success (dark) ---- */
[data-theme="dark"] .form-success-msg {
  background: rgba(40,167,69,.15);
  color: #5dd47a;
}

/* ---- Toast (dark) ---- */
[data-theme="dark"] .toast-custom {
  background: var(--card-bg);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

/* ---- Transition on all theme-sensitive elements ---- */
.navbar,
.package-card,
.service-card,
.contact-info-card,
.booking-form-card,
.form-inp,
.gallery-section,
.about-section,
.packages-section,
.services-section,
.contact-section {
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
