/* ==========================================================================
   Hassan Tours and Travels - Modern Custom Stylesheet (Ultra-Luxury Logo Edition)
   Design System: Deep Emerald Teal (#0f5132), Warm Gold (#d97706), Slate (#0f172a)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-emerald: #1c4d3f;
  --primary-emerald-hover: #123d32;
  --teal-accent: #2b6a5d;
  --teal-light: #edf4f1;
  --gold-accent: #c98b38;
  --gold-hover: #b87f2e;
  --gold-light: #f7f0e6;
  --slate-dark: #1f2937;
  --slate-body: #475569;
  --bg-cream: #f7f6f3;
  --bg-white: #ffffff;
  --border-light: #e5e7eb;
}

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

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Header & Premium Travel Agency Navigation */
.glass-header {
  background: #ffffff;
  border-bottom: 3px solid #f59e0b;
  box-shadow: 0 4px 20px rgba(15, 81, 50, 0.08);
  transition: all 0.3s ease;
}

.glass-header.scrolled {
  box-shadow: 0 10px 30px rgba(15, 81, 50, 0.12);
}

/* PROMINENT ENLARGED HEADER BRAND LOGO (MOBILE-OPTIMIZED EXTRA LARGE) */
.header-brand-logo {
  height: 76px;
  width: auto;
  max-height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.06));
  transition: transform 0.3s ease;
}

@media (min-width: 640px) {
  .header-brand-logo {
    height: 84px;
    max-height: 92px;
  }
}

@media (min-width: 1024px) {
  .header-brand-logo {
    height: 92px;
    max-height: 105px;
  }
}

/* ULTRA LUXURY BRAND EMBLEM LOGO */
.brand-logo-emblem {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: #ffffff;
  border: 2px solid #f59e0b;
  box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.15), 0 8px 20px rgba(15, 81, 50, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  flex-shrink: 0;
  padding: 4px;
}

.brand-logo-emblem::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, #f59e0b, transparent, #d97706);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.brand-logo-emblem::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: rotate(30deg);
  animation: shine-gold 3.5s infinite;
}

@keyframes shine-gold {
  0% { transform: translateX(-120%) rotate(30deg); }
  25%, 100% { transform: translateX(120%) rotate(30deg); }
}

.brand-logo-emblem:hover {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.3), 0 12px 28px rgba(217, 119, 6, 0.45);
}

/* Navbar Multi-Level Dropdown Styling */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-height: 480px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 100;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-body);
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background-color: var(--teal-light);
  color: var(--primary-emerald);
  transform: translateX(4px);
}

.nav-dropdown-item i {
  color: var(--teal-accent);
  width: 18px;
  text-align: center;
}

/* Page Sub-Hero Banner Styling */
.page-subhero {
  position: relative;
  background: linear-gradient(135deg, #0f5132 0%, #062b1a 100%);
  color: #ffffff;
  padding: 80px 0 60px;
  overflow: hidden;
}

.page-subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(217, 119, 6, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}

/* Hero Section & Swiper Customization */
.hero-swiper {
  width: 100%;
  height: 85vh;
  min-height: 560px;
  max-height: 750px;
}

.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.5) 0%, rgba(20, 20, 20, 0.75) 100%);
}

.text-emerald-800,
.hover\:text-emerald-800:hover,
.text-emerald-900,
.bg-emerald-800,
.bg-emerald-700,
.border-emerald-200,
.border-emerald-500,
.bg-emerald-100,
.from-emerald-800,
.to-emerald-700,
.text-amber-400,
.text-amber-300,
.bg-amber-500,
.from-amber-500,
.to-amber-600 {
  filter: saturate(0.6) brightness(0.98) !important;
}

.bg-emerald-800 {
  background-color: #2a3e37 !important;
}

.bg-emerald-700 {
  background-color: #3b4d48 !important;
}

.text-emerald-800 {
  color: #2a3e37 !important;
}

.text-amber-400 {
  color: #b98b57 !important;
}

.text-amber-300 {
  color: #cda67c !important;
}

.bg-amber-500 {
  background-color: #c79b65 !important;
}

.from-emerald-800 {
  --tw-gradient-from: #2a3e37 !important;
}

.to-emerald-700 {
  --tw-gradient-to: #3b4d48 !important;
}

.from-amber-500 {
  --tw-gradient-from: #c79b65 !important;
}

.to-amber-600 {
  --tw-gradient-to: #a67643 !important;
}

.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 34px;
  border-radius: 6px;
  background: var(--gold-accent);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: #ffffff;
  background: rgba(15, 81, 50, 0.7);
  backdrop-filter: blur(6px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-swiper .swiper-button-next:after,
.hero-swiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--gold-accent);
  color: #0f172a;
  transform: scale(1.1);
}

/* Dual Ripple Pulse Animations for Floating Stack */
@keyframes double-ripple-emerald {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 81, 50, 0.8), 0 0 0 0 rgba(217, 119, 6, 0.5);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(15, 81, 50, 0), 0 0 0 24px rgba(217, 119, 6, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 81, 50, 0), 0 0 0 0 rgba(217, 119, 6, 0);
  }
}

@keyframes double-ripple-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8), 0 0 0 0 rgba(18, 140, 126, 0.5);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 0 0 24px rgba(18, 140, 126, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 0 0 0 rgba(18, 140, 126, 0);
  }
}

.animate-pulse-whatsapp {
  animation: double-ripple-whatsapp 2.5s infinite;
}

.animate-pulse-phone {
  animation: double-ripple-emerald 2.5s infinite;
}

/* Sticky Action Floating Stack */
.sticky-contact-stack {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sticky-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.sticky-btn:hover {
  transform: scale(1.15) translateY(-5px);
}

.sticky-btn-call {
  background: linear-gradient(135deg, #0f5132 0%, #15803d 100%);
}

.sticky-btn-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.sticky-btn-tooltip {
  position: absolute;
  right: 74px;
  background: #0f172a;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sticky-btn:hover .sticky-btn-tooltip {
  opacity: 1;
  visibility: visible;
  right: 70px;
}

/* Mobile Responsive Tweaks */
@media (max-width: 768px) {
  .hero-swiper {
    height: 75vh;
    min-height: 500px;
  }
  .sticky-contact-stack {
    right: 16px;
    bottom: 18px;
    gap: 12px;
  }
  .sticky-btn {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
  .sticky-btn-tooltip {
    display: none;
  }
}

/* Card Hover Lift & Image Zoom */
.card-hover-effect {
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--border-light);
}

.card-hover-effect:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 35px -10px rgba(15, 81, 50, 0.16);
  border-color: rgba(13, 122, 95, 0.4);
}

.card-hover-effect img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-hover-effect:hover img {
  transform: scale(1.08);
}

/* Vehicle Badge Pill */
.vehicle-spec-badge {
  background-color: var(--teal-light);
  color: var(--primary-emerald);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(13, 122, 95, 0.15);
}

/* Filter Tag Pills */
.filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: var(--slate-body);
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-emerald);
  color: #ffffff;
  border-color: var(--primary-emerald);
  box-shadow: 0 6px 18px rgba(15, 81, 50, 0.3);
}

/* Custom Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  width: 92%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
  transform: scale(0.92);
  transition: all 0.3s ease;
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #0d7a5f;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0f5132;
}
