/* ============================================================
   Sesa Travel - Custom Styles
   Palette: Crimson #C01825 | Dark #1A1A2E | Gold #E8A010
   Logo: Siyah + Kırmızı (#E02020)
   ============================================================ */

:root {
  --primary:       #C01825;
  --primary-dark:  #8e0f18;
  --primary-light: #fdf0f1;
  --gold:          #E8A010;
  --gold-dark:     #c88a00;
  --gold-light:    #fff9e6;
  --dark:          #1A1A2E;
  --dark2:         #12121f;
  --gray:          #6c757d;
  --light-bg:      #f8f9fa;
  --white:         #ffffff;
  --shadow:        0 8px 30px rgba(0,0,0,.10);
  --shadow-lg:     0 16px 48px rgba(0,0,0,.18);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all .3s ease;
  /* Backward-compat aliases (teal → primary) */
  --teal:          #C01825;
  --teal-dark:     #8e0f18;
  --teal-light:    #fdf0f1;
}

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--dark); }
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* ── Utility ──────────────────────────────────────────────── */
.text-primary-brand { color: var(--primary) !important; }
.text-gold          { color: var(--gold)    !important; }
.bg-primary-brand   { background-color: var(--primary) !important; }
.bg-gold            { background-color: var(--gold)    !important; }
.bg-primary-light   { background-color: var(--primary-light) !important; }

.section-title   { font-size: 2rem; font-weight: 800; color: var(--dark); }
.section-subtitle{ color: var(--gray); font-size: .95rem; max-width: 560px; margin: 0 auto; }
.badge-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary-brand {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary-brand:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,24,37,.35);
}

/* Keep .btn-teal mapped to primary for backward compat */
.btn-teal {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-teal:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,24,37,.35);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,160,16,.4);
}

.btn-outline-teal {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  background: transparent;
}
.btn-outline-teal:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Top Bar ──────────────────────────────────────────────── */
.top-bar {
  background: var(--dark2);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: .45rem 0;
}
.top-bar a { color: rgba(255,255,255,.75); margin: 0 2px; }
.top-bar a:hover { color: var(--gold); }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: .75rem;
  transition: var(--transition);
  margin-left: 4px;
}
.social-link:hover { background: var(--primary); color: #fff !important; }

/* ── Navbar ───────────────────────────────────────────────── */
#mainNav {
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(10px);
  padding: .6rem 0;
  transition: var(--transition);
  border-bottom: 3px solid var(--primary);
}
#mainNav.scrolled {
  background: var(--dark);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff !important;
  text-decoration: none;
}
.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* White SVG on dark navbar */
  filter: brightness(0) invert(1);
}
.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
/* Fallback icon brand (when no logo image) */
.brand-icon {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
#mainNav .nav-link {
  color: rgba(255,255,255,.88) !important;
  font-weight: 500;
  padding: .45rem .75rem;
  border-radius: 6px;
  transition: var(--transition);
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--gold) !important;
  background: rgba(255,255,255,.07);
}
#mainNav .dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  margin-top: .5rem;
  border-top: 3px solid var(--primary);
}
#mainNav .dropdown-item {
  border-radius: 6px;
  padding: .5rem .85rem;
  font-size: .9rem;
  transition: var(--transition);
}
#mainNav .dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ── Hero Slider ──────────────────────────────────────────── */
.hero-slider { height: 100vh; min-height: 600px; position: relative; }
.hero-slide {
  height: 100vh; min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.80) 0%, rgba(192,24,37,.45) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff;
  animation: fadeInUp .8s ease both;
}
.hero-content .badge-label { color: var(--gold); font-size: .85rem; }
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero-content p { font-size: 1.1rem; opacity: .9; max-width: 520px; }

.swiper-pagination-bullet { background: #fff; opacity: .6; }
.swiper-pagination-bullet-active { background: var(--primary); opacity: 1; width: 24px; border-radius: 4px; }
.swiper-button-next, .swiper-button-prev {
  color: #fff;
  background: rgba(192,24,37,.5);
  width: 48px; height: 48px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--primary);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1rem; font-weight: 700; }

/* ── Search Bar ───────────────────────────────────────────── */
.search-section {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}
.search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem 2.5rem;
  border-top: 4px solid var(--primary);
}
.search-card .form-control,
.search-card .form-select {
  border: 2px solid #e9ecef;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .9rem;
  transition: var(--transition);
}
.search-card .form-control:focus,
.search-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,24,37,.12);
}
.search-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: .35rem;
}

/* ── Section Spacing ──────────────────────────────────────── */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* ── Tour Card ────────────────────────────────────────────── */
.tour-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.tour-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.tour-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tour-card:hover .tour-card-img img { transform: scale(1.08); }
.tour-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tour-card-badge.featured { background: var(--dark); color: #fff; }
.discount-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold);
  color: var(--dark);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.tour-card-body {
  padding: 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tour-card-meta {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: var(--gray);
  margin-bottom: .6rem;
}
.tour-card-meta span { display: flex; align-items: center; gap: 4px; }
.tour-card-meta i { color: var(--primary); }
.tour-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
  line-height: 1.35;
}
.tour-card-title a { color: inherit; }
.tour-card-title a:hover { color: var(--primary); }
.tour-card-stars { color: var(--gold); font-size: .8rem; margin-bottom: .75rem; }
.tour-card-stars .review-count { color: var(--gray); font-size: .75rem; }
.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}
.price-old { color: var(--gray); text-decoration: line-through; font-size: .85rem; }
.price-new { color: var(--primary); font-size: 1.3rem; font-weight: 800; }
.price-per { font-size: .72rem; color: var(--gray); }

/* ── Why Choose Us ────────────────────────────────────────── */
.why-section { background: var(--light-bg); }
.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 72px; height: 72px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(10deg) scale(1.05);
}
.why-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.why-card p { font-size: .88rem; color: var(--gray); margin: 0; }

/* ── Stats ────────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-suffix { color: var(--gold); font-size: 2rem; font-weight: 700; }
.stat-label { color: rgba(255,255,255,.85); font-size: .9rem; margin-top: .35rem; }

/* ── Testimonials ─────────────────────────────────────────── */
.testi-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testi-stars { color: var(--gold); font-size: .85rem; margin-bottom: .75rem; }
.testi-text { font-style: italic; color: #555; font-size: .92rem; line-height: 1.7; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testi-author-name { font-weight: 700; font-size: .9rem; color: var(--dark); }
.testi-author-role { font-size: .8rem; color: var(--gray); }

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 100%);
  padding: 60px 0;
  color: #fff;
}
.newsletter-form .form-control {
  border-radius: 50px 0 0 50px;
  border: none;
  padding: .8rem 1.5rem;
  font-size: .95rem;
}
.newsletter-form .form-control:focus { box-shadow: none; }
.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
  padding: .8rem 1.75rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
}
.footer-brand { color: #fff; }
.footer-brand:hover { color: var(--gold); }
.footer-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: .75rem;
  display: block;
}
.footer-text { font-size: .88rem; line-height: 1.7; }
.footer-heading {
  color: var(--primary);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(192,24,37,.3);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .88rem; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  margin-bottom: .7rem; font-size: .88rem;
}
.footer-contact-list i { color: var(--primary); margin-top: 3px; width: 14px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.7); }
.footer-contact-list a:hover { color: var(--gold); }
.footer-socials { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* ── Page Hero ────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 100px 0 60px;
  color: #fff;
  text-align: center;
}
.page-hero h1 { color: #fff; font-family: 'Playfair Display', serif; font-size: 2.5rem; }
.page-hero .breadcrumb { justify-content: center; background: none; padding: 0; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.75); }
.page-hero .breadcrumb-item.active { color: var(--gold); }

/* ── Tour Detail ──────────────────────────────────────────── */
.tour-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
}
.tour-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.tour-thumb-list { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.tour-thumb {
  width: 80px; height: 60px;
  border-radius: 8px; overflow: hidden;
  cursor: pointer; opacity: .7; transition: var(--transition);
  border: 2px solid transparent;
}
.tour-thumb.active, .tour-thumb:hover { opacity: 1; border-color: var(--primary); }
.tour-thumb img { width: 100%; height: 100%; object-fit: cover; }

.booking-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  position: sticky;
  top: 90px;
  border-top: 4px solid var(--primary);
}
.booking-price-block {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.booking-price-block .price-new { font-size: 2rem; }

.tab-nav .nav-link {
  color: var(--gray);
  border: none;
  border-bottom: 3px solid transparent;
  padding: .75rem 1.25rem;
  font-weight: 600;
  border-radius: 0;
  transition: var(--transition);
}
.tab-nav .nav-link.active,
.tab-nav .nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: none;
}

.itinerary-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--light-bg);
  border-radius: var(--radius);
  margin-bottom: .75rem;
}
.itinerary-day {
  min-width: 52px; height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.include-list, .exclude-list { list-style: none; padding: 0; }
.include-list li, .exclude-list li {
  padding: .45rem 0;
  font-size: .9rem;
  border-bottom: 1px solid #f0f0f0;
  display: flex; align-items: center; gap: .6rem;
}
.include-list li i { color: #28a745; }
.exclude-list li i { color: #e63946; }

/* ── Tours Page ───────────────────────────────────────────── */
.filter-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.filter-title {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: .85rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--primary-light);
}
.filter-card .form-check-label { font-size: .88rem; cursor: pointer; }
.filter-card .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

.pagination .page-link {
  border-radius: 8px;
  margin: 0 2px;
  color: var(--primary);
  border-color: #dee2e6;
  font-weight: 500;
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination .page-link:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* ── About Page ───────────────────────────────────────────── */
.team-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-light);
}
.team-socials a { color: var(--gray); margin: 0 4px; font-size: .9rem; }
.team-socials a:hover { color: var(--primary); }

/* ── Contact Page ─────────────────────────────────────────── */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-card h6 { font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin-bottom: .3rem; }
.contact-info-card p, .contact-info-card a { font-size: .92rem; color: var(--dark); margin: 0; font-weight: 600; }
.contact-info-card a:hover { color: var(--primary); }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}
.contact-form-card .form-control, .contact-form-card .form-select {
  border: 2px solid #e9ecef;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  transition: var(--transition);
}
.contact-form-card .form-control:focus, .contact-form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,24,37,.1);
}
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { display: block; }

/* ── Admin ────────────────────────────────────────────────── */
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--dark2);
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  transition: var(--transition);
}
.admin-sidebar .sidebar-brand {
  background: var(--primary);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: .75rem;
  color: #fff; font-weight: 700; font-size: 1.1rem;
}
.admin-sidebar .sidebar-brand img {
  height: 36px; width: auto;
  filter: brightness(0) invert(1);
}
.admin-sidebar .nav-link {
  color: rgba(255,255,255,.7);
  padding: .75rem 1.5rem;
  font-size: .9rem;
  border-left: 3px solid transparent;
  transition: var(--transition);
  display: flex; align-items: center; gap: .75rem;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-left-color: var(--primary);
}
.admin-sidebar .nav-link i { width: 18px; text-align: center; }
.admin-main { margin-left: 260px; min-height: 100vh; background: #f4f6f9; }
.admin-topbar {
  background: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--primary);
}
.admin-content { padding: 2rem; }
.stat-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card .stat-icon { font-size: 2.5rem; opacity: .3; }
.stat-card .stat-value { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.stat-card .stat-title { font-size: .85rem; opacity: .85; }
.admin-table th { background: var(--primary); color: #fff; font-weight: 600; font-size: .85rem; }
.admin-table td { vertical-align: middle; font-size: .88rem; }
.status-badge { padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.status-badge.pending    { background: #fff3cd; color: #856404; }
.status-badge.confirmed  { background: #d1e7dd; color: #0f5132; }
.status-badge.cancelled  { background: #f8d7da; color: #842029; }

/* ── Alerts ───────────────────────────────────────────────── */
.alert { border-radius: var(--radius); border: none; font-size: .9rem; }
.alert-success { background: #d1e7dd; color: #0f5132; }
.alert-danger   { background: #f8d7da; color: #842029; }

/* ── WhatsApp Float ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  background: #128c7e;
  color: #fff;
  transform: scale(1.1);
  animation: none;
}

/* ── Back to Top ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 96px; right: 28px;
  z-index: 998;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: .9rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ── Misc ─────────────────────────────────────────────────── */
.divider { width: 60px; height: 4px; background: var(--primary); border-radius: 2px; margin: .75rem auto 1.5rem; }
.divider-left { margin-left: 0; }

/* Backward-compat aliases */
.text-teal   { color: var(--primary) !important; }
.bg-teal     { background-color: var(--primary) !important; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 6px 30px rgba(37,211,102,.8); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 20px; right: 25px;
  color: #fff; font-size: 2rem; cursor: pointer;
  background: none; border: none; line-height: 1;
}

/* ── Page Loader ──────────────────────────────────────────── */
.loading-overlay {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity .5s ease;
}
.loader {
  width: 56px; height: 56px;
  border: 5px solid rgba(232,160,16,.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .hero-slider, .hero-slide { height: 70vh; min-height: 500px; }
}
@media (max-width: 767px) {
  .section-pad { padding: 60px 0; }
  .section-title { font-size: 1.6rem; }
  .stat-number { font-size: 2.2rem; }
  .hero-content h1 { font-size: 2rem; }
  .search-card { padding: 1.5rem; }
  .booking-card { position: static; }
  .tour-gallery-main { height: 260px; }
}
