/* ===================================================================
   Imperial Tours Dubai — Custom Stylesheet
   Premium desert-luxury theme built on top of Bootstrap 5
   =================================================================== */

:root {
  --imperial-gold: #c8952b;
  --imperial-gold-light: #e0b95e;
  --imperial-dark: #1a1410;
  --imperial-dark-soft: #241b13;
  --imperial-cream: #fdf6ec;
  --imperial-maroon: #6b1f1f;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-body);
  color: #3a3530;
  background-color: var(--imperial-cream);
}

h1, h2, h3, h4, h5, .brand-font {
  font-family: var(--font-heading);
  text-wrap: balance;
}

p {
  color: inherit;
}

a {
  text-decoration: none;
}

.section-eyebrow {
  color: var(--imperial-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.8rem;
}

.section-title {
  font-weight: 700;
  color: var(--imperial-dark);
  font-size: clamp(1.6rem, 1.35rem + 1vw, 2.2rem);
  letter-spacing: -0.01em;
}

.btn-imperial {
  background-color: var(--imperial-gold);
  border-color: var(--imperial-gold);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.65rem 1.7rem;
  border-radius: 4px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(200, 149, 43, 0.28);
}

.btn-imperial:hover {
  background-color: var(--imperial-dark);
  border-color: var(--imperial-dark);
  color: var(--imperial-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 20, 16, 0.25);
}

.btn-outline-imperial {
  border: 1.5px solid var(--imperial-dark);
  color: var(--imperial-dark);
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.6rem 1.6rem;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.btn-outline-imperial:hover {
  background-color: var(--imperial-dark);
  color: var(--imperial-gold-light);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.55rem 1.3rem;
  border: none;
  transition: all 0.2s ease;
}

.btn-whatsapp:hover {
  background-color: #1ea952;
  color: #fff;
}

/* ---------- Top Header Bar ---------- */
.top-bar {
  background-color: var(--imperial-dark);
  color: #d9c9ae;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(200, 149, 43, 0.25);
}

.top-bar a {
  color: #d9c9ae;
}

.top-bar a:hover {
  color: var(--imperial-gold-light);
}

.top-bar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(200, 149, 43, 0.4);
  margin-left: 8px;
  font-size: 0.85rem;
  color: var(--imperial-gold-light);
  transition: all 0.2s ease;
}

.top-bar .social-icons a:hover {
  background-color: var(--imperial-gold);
  color: var(--imperial-dark);
  border-color: var(--imperial-gold);
}

/* ---------- Main Navigation ---------- */
.main-navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 0.6rem 0;
}

.main-navbar .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--imperial-dark);
  line-height: 1.1;
  gap: 0.65rem;
  margin-right: 1.5rem;
}

.main-navbar .brand-logo {
  height: 52px;
  width: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.main-navbar .brand-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.main-navbar .brand-wordmark small {
  font-family: var(--font-body);
  font-size: 0.63rem;
  letter-spacing: 2.5px;
  color: var(--imperial-gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

@media (max-width: 400px) {
  .main-navbar .brand-wordmark { display: none; }
}

.main-navbar .navbar-nav {
  align-items: center;
  gap: 0.15rem;
}

.main-navbar .nav-link {
  color: var(--imperial-dark);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 0.85rem !important;
  white-space: nowrap;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus,
.main-navbar .nav-link.active {
  color: var(--imperial-gold);
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .main-navbar .nav-link { font-size: 0.82rem; padding: 0.6rem 0.55rem !important; }
}

.main-navbar .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  padding: 0.5rem 0;
  border-top: 3px solid var(--imperial-gold);
}

.main-navbar .dropdown-item {
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
}

.main-navbar .dropdown-item:hover {
  background-color: var(--imperial-cream);
  color: var(--imperial-gold);
}

@media (min-width: 992px) {
  .main-navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* ---------- Hero Slider ---------- */
.hero-carousel {
  position: relative;
}

.hero-carousel .carousel-item {
  height: 88vh;
  min-height: 480px;
  background-size: cover;
  background-position: center;
}

.hero-carousel .carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.55) 0%, rgba(26, 20, 16, 0.35) 45%, rgba(26, 20, 16, 0.85) 100%);
}

.hero-caption {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 12%;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.hero-caption .hero-eyebrow {
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--imperial-gold-light);
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-caption h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.hero-caption .hero-price {
  display: inline-block;
  background: rgba(26, 20, 16, 0.55);
  border: 1px solid var(--imperial-gold);
  color: var(--imperial-gold-light);
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 6%;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--imperial-gold);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .hero-carousel .carousel-item {
    height: 78vh;
  }
  .hero-caption h1 {
    font-size: 1.8rem;
  }
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  background-color: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  animation: pulse-whatsapp 2.4s infinite;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.06);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Feature Cards (Why Choose Us / Safety Guidelines) ---------- */
.feature-card {
  height: 100%;
  background-color: #fff;
  border: 1px solid rgba(26, 20, 16, 0.08);
  border-radius: 10px;
  padding: 1.75rem 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(26, 20, 16, 0.09);
  border-color: rgba(200, 149, 43, 0.35);
}

.feature-card .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(200, 149, 43, 0.14), rgba(200, 149, 43, 0.06));
  color: var(--imperial-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--imperial-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: #6b6459;
  margin-bottom: 0;
}

.feature-card.feature-card-compact {
  padding: 1.4rem 1.3rem;
}

.feature-card.feature-card-compact .feature-icon {
  width: 38px;
  height: 38px;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.feature-card.feature-card-compact h3 {
  font-size: 0.88rem;
}

.feature-card.feature-card-compact p {
  font-size: 0.82rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 149, 43, 0.4);
  color: var(--imperial-gold);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 auto 1rem;
}

/* ---------- Tour / Service Cards ---------- */
.tour-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(26, 20, 16, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(26, 20, 16, 0.16);
}

.tour-card .tour-img-wrap {
  position: relative;
  overflow: hidden;
}

.tour-card .tour-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.tour-card .tour-sale-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--imperial-maroon);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
}

.tour-card .card-body {
  padding: 1.25rem;
}

.tour-card .card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--imperial-dark);
  margin-bottom: 0.4rem;
}

.tour-card .tour-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tour-card .tour-price-was {
  font-size: 0.85rem;
  color: #9c9086;
  text-decoration: line-through;
}

.tour-card .tour-price-now {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--imperial-gold);
}

.tour-card .tour-price-unit {
  font-size: 0.75rem;
  color: #9c9086;
}

.tour-card .card-text {
  font-size: 0.88rem;
  color: #5c5c5c;
}

.tour-card .tour-inclusions {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  border-top: 1px dashed rgba(26, 20, 16, 0.12);
  padding-top: 0.75rem;
}

.tour-card .tour-inclusions li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.79rem;
  color: #5c5c5c;
  line-height: 1.35;
}

.tour-card .tour-inclusions li i {
  color: var(--imperial-gold);
  font-size: 0.75rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.tour-card .tour-inclusions-more {
  font-weight: 600;
  color: var(--imperial-gold) !important;
  font-style: italic;
}

.tour-card .tour-inclusions-more i {
  display: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--imperial-dark);
  color: #cbbba1;
}

.site-footer h5 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.site-footer .footer-logo {
  height: 84px;
  width: 84px;
  object-fit: contain;
}

.site-footer a {
  color: #cbbba1;
}

.site-footer a:hover {
  color: var(--imperial-gold-light);
}

.site-footer ul {
  list-style: none;
  padding-left: 0;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(200, 149, 43, 0.4);
  margin-right: 8px;
}

.site-footer .footer-social a:hover {
  background-color: var(--imperial-gold);
  color: var(--imperial-dark);
}

.site-footer .footer-bottom {
  background-color: #120d09;
  font-size: 0.85rem;
  padding: 1rem 0;
}
