/* Unique Cab Services — shared styles
   Tailwind (CDN) handles utility classes; this file holds the pieces
   Tailwind can't: custom fonts, gradients-as-photo-placeholders,
   the testimonial carousel, and a few small animations. */

:root {
  --gold: #B8860B;
  --gold-dark: #8B6914;
  --gold-light: #D9A93B;
  --cream: #FAF5EC;
  --cream-dark: #F2E9D8;
  --ink: #241C10;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--cream);
  color: var(--ink);
}

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

/* ---------- Photo placeholders ---------------------------------
   Each frame paints a real photo (top layer) over a themed gradient
   (bottom layer). Drop a file at the referenced path in assets/img/
   and it appears automatically — until then the gradient + icon
   alone give a finished, on-brand look instead of a broken image. */
.photo-frame {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.photo-frame--hero {
  background-image: url('../img/hero.webp');
}

.photo-frame--services {
  background-image: url('../img/kumbhalgarh.webp');
}

.photo-frame--about {
  background-image: url('../img/city-palace.webp');
}

.photo-frame--wedding {
  background-image: url('../img/lake-pichhola.webp');
}

.dest-card {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.dest-card--1 { background-image: url('../img/city-palace.webp'); }
.dest-card--2 { background-image: url('../img/lake-pichhola.webp'); }
.dest-card--3 { background-image: url('../img/sajjangarh.webp'); }
.dest-card--4 { background-image: url('../img/kumbhalgarh.webp'); }
.dest-card--5 { background-image: url('../img/chittorgarh.webp'); }
.dest-card--6 { background-image: url('../img/mount-abu.webp'); }
.dest-card--7 { background-image: url('../img/jawai.webp'); }
.dest-card--8 { background-image: url('../img/shreeji.webp'); }

.service-icon-card {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.service-icon-card--1 { background-image: url('../img/sedan.webp'); background-size: 165%; background-position: center 35%; }
.service-icon-card--2 { background-image: url('../img/city-palace.webp'); }
.service-icon-card--3 { background-image: url('../img/suv.webp'); background-size: 165%; background-position: center 40%; }
.service-icon-card--4 { background-image: url('../img/mount-abu.webp'); }
.service-icon-card--5 { background-image: url('../img/lake-pichhola.webp'); }
.service-icon-card--6 { background-image: url('../img/tempo.webp'); background-size: 165%; background-position: center 40%; }


/* ---------- Horizontal scroll rows (fleet / destinations) ---------------------------------- */
.scroll-row {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-row::-webkit-scrollbar {
  display: none;
}

/* ---------- Trust-icon / palace watermark -------------------------- */
.palace-watermark {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
}

/* ---------- Testimonial carousel ---------------------------------- */
.testimonial-slide {
  display: none;
}
.testimonial-slide.is-active {
  display: block;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #D9C9A3;
  transition: background 0.2s, transform 0.2s;
}
.dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ---------- Mobile nav ---------------------------------- */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobile-menu.is-open {
  max-height: 480px;
}

/* ---------- Sticky header shadow on scroll ---------------------------------- */
header.is-scrolled {
  box-shadow: 0 2px 18px rgba(36, 28, 16, 0.08);
}
