/* ================================================
   DubaiEasyTour.com - Premium Luxury CSS
   Color Palette: Deep Navy #1a0a2e | Rich Gold #D4AF37
   ================================================ */

:root {
  --navy: #1a0a2e;
  --navy-mid: #2a1550;
  --navy-light: #3d2270;
  --gold: #D4AF37;
  --gold-light: #f0d060;
  --gold-dark: #a88a1a;
  --slate: #8892a4;
  --slate-light: #b0bac8;
  --white: #ffffff;
  --black: #0a0514;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }

body {
  background-color: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Playfair Display', serif;
}

/* ---- Selection ---- */
::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--white);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ---- Gold Gradient Text ---- */
.gold-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Section Heading Underline ---- */
.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 12px auto 0;
  border-radius: 2px;
  animation: shimmer 2.5s ease infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; width: 60px; }
  50% { opacity: 0.6; width: 100px; }
}

/* ---- Navbar ---- */
#navbar {
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(26, 10, 46, 0.97) !important;
  box-shadow: 0 2px 30px rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(20px);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--gold) !important; }

/* ---- Hero ---- */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(26, 10, 46, 0.88) 0%,
    rgba(26, 10, 46, 0.65) 50%,
    rgba(10, 5, 20, 0.85) 100%
  );
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* ---- Gold Button ---- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}

.btn-gold:hover::before { left: 100%; }

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* ---- Booking Widget ---- */
.booking-widget {
  background: rgba(26, 10, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.tab-btn {
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tab-btn.active {
  color: var(--gold) !important;
  border-bottom-color: var(--gold);
}

.booking-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--white);
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.booking-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.booking-input::placeholder { color: var(--slate); }

.booking-input option {
  background: var(--navy-mid);
  color: var(--white);
}

/* ---- Service Cards ---- */
.service-card {
  background: linear-gradient(145deg, rgba(42, 21, 80, 0.6), rgba(26, 10, 46, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  display: block;
}

.service-card:hover .service-card-img img {
  transform: scale(1.07);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(212, 175, 55, 0.4);
}

.service-card .btn-gold, .fleet-card .btn-gold {
  margin-top: auto;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

/* ---- Pricing Cards ---- */
.pricing-card {
  background: rgba(26, 10, 46, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212, 175, 55, 0.1);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(26, 10, 46, 0.85) 100%);
  border-color: rgba(212, 175, 55, 0.4);
}

.pricing-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.pricing-card:hover .pricing-card-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.1));
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.pricing-card-img {
  width: calc(100% + 5rem);
  height: 200px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  margin: -2.5rem -2.5rem 1.5rem -2.5rem;
}

.pricing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  display: block;
}

.pricing-card:hover .pricing-card-img img {
  transform: scale(1.07);
}

.pricing-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  transition: all 0.3s ease;
}

.pricing-line:last-child {
  border-bottom: none;
}

.pricing-line:hover {
  padding-left: 8px;
}

.pricing-line .car-icon {
  flex-shrink: 0;
  margin-right: 12px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.pricing-line:hover .car-icon {
  opacity: 1;
}

.pricing-line .route-info {
  flex: 1;
}

.pricing-line .price-tag {
  flex-shrink: 0;
  text-align: right;
}

/* ---- Fleet Cards ---- */
.fleet-card {
  background: linear-gradient(180deg, rgba(42, 21, 80, 0.5) 0%, rgba(26, 10, 46, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fleet-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212, 175, 55, 0.12);
}

.fleet-card img {
  transition: transform 0.6s ease;
}

.fleet-card:hover img { transform: scale(1.06); }

/* ---- Stats / Why Us ---- */
.stat-card {
  background: rgba(42, 21, 80, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(42, 21, 80, 0.7);
  transform: translateY(-4px);
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: linear-gradient(145deg, rgba(42, 21, 80, 0.5), rgba(26, 10, 46, 0.7));
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* ---- Divider ---- */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

/* ---- WhatsApp Float Button ---- */
#whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: wa-pulse 2s ease infinite;
}

#whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 35px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.15), 0 0 0 24px rgba(37, 211, 102, 0.05);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transform: scale(1);
  }
}

/* ---- Mobile Menu ---- */
#mobile-menu {
  transition: max-height 0.4s ease, opacity 0.4s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* ---- Section BG Alternating ---- */
.section-dark { background: var(--navy); }
.section-darker { background: var(--black); }
.section-mid {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
}

/* ---- Footer ---- */
footer {
  background: linear-gradient(180deg, var(--black) 0%, #050210 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-link {
  color: var(--slate-light);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-link:hover { color: var(--gold); }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-fade-up { animation: fadeUp 0.8s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* ---- Gold shimmer line for pricing ---- */
@keyframes goldLine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.gold-shimmer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%;
  animation: goldLine 3s ease infinite;
  opacity: 0.4;
  margin: 0.5rem 0;
}

/* ---- Google Form Container ---- */
.google-form-container {
  position: relative;
  border-radius: 24px;
  background: #1a0a2e;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(212, 175, 55, 0.06),
    inset 0 1px 0 rgba(212, 175, 55, 0.15);
  overflow: hidden;
  padding: 20px;
}

.google-form-container iframe {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .pricing-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .google-form-container { padding: 10px; border-radius: 16px; }
  .service-card-img { height: 180px; }

  #whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  /* Ensure logo doesn't overlap header menu */
  #navbar .flex.items-center.gap-3 img {
    max-height: 40px;
  }
  #navbar .flex.items-center.gap-3 .font-serif {
    font-size: 0.9rem;
  }

  .pricing-line {
    flex-wrap: wrap;
    gap: 4px;
  }

  .hero-bg-img {
    object-position: center center;
  }
}

@media (max-width: 480px) {
  .service-card-img { height: 160px; }

  #navbar .flex.items-center.gap-3 img {
    max-height: 34px;
  }
  #navbar .flex.items-center.gap-3 .font-serif {
    font-size: 0.8rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-line .car-icon {
    display: none;
  }
}
