/* SAN TRAVELS — Luxury Booking Page */

:root {
  --gold: #D4AF37;
  --gold-light: #F0D78C;
  --gold-dark: #B8962E;
  --champagne: #F7F3E9;
  --charcoal: #0a0a0a;
  --charcoal-soft: #141414;
  --charcoal-card: #1a1a1a;
  --red: #E32619;
  --wa: #25D366;
  --font: 'Montserrat', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --radius: 14px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* ========== BACKGROUND ========== */
.book-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.book-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg?v=13') center / cover no-repeat;
  transform: scale(1.06);
  filter: brightness(0.35) saturate(0.85);
}

.book-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.94) 0%, rgba(10, 10, 10, 0.88) 40%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.book-bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.book-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.book-bg-glow-1 {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.5), transparent 70%);
}

.book-bg-glow-2 {
  width: 360px;
  height: 360px;
  bottom: 10%;
  left: -80px;
  background: radial-gradient(circle, rgba(227, 38, 25, 0.25), transparent 70%);
}

/* ========== SITE NAV ON BOOK PAGE ========== */
.book-page .header--book {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Book header: black + red logo (1.png) — no filter; keeps red accents */
.book-page .header--book .logo-img--book {
  filter: none;
}

.book-page .header--book .btn-book.active {
  background: var(--black);
  color: var(--white);
}

.book-page .book-main {
  padding-top: 24px;
}

/* ========== LEGACY BOOK HEADER (unused) ========== */
.book-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.book-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  justify-self: start;
}

.book-back i {
  font-size: 12px;
  transition: transform var(--transition);
}

.book-back:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35);
}

.book-back:hover i {
  transform: translateX(-4px);
}

.book-logo {
  justify-self: center;
  line-height: 0;
}

.book-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.25));
}

.book-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  justify-self: end;
  transition: color var(--transition);
}

.book-call i {
  color: var(--gold);
}

.book-call:hover {
  color: var(--gold-light);
}

/* ========== MAIN LAYOUT ========== */
.book-main {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 28px 56px;
}

/* ========== INTRO PANEL ========== */
.book-intro {
  padding-top: 12px;
  animation: bookFadeUp 0.8s ease backwards;
}

.book-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.book-badge i {
  color: var(--gold);
  font-size: 11px;
}

.book-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 20px;
}

.book-title em {
  font-style: italic;
  color: var(--gold);
}

.book-lead {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  max-width: 420px;
  margin-bottom: 32px;
}

.book-features {
  list-style: none;
  margin-bottom: 36px;
}

.book-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.book-features li:last-child {
  border-bottom: none;
}

.book-features i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.book-trust {
  display: flex;
  gap: 28px;
  padding-top: 8px;
}

.book-trust-item {
  text-align: left;
}

.book-trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.book-trust-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== FORM CARD ========== */
.book-card {
  animation: bookFadeUp 0.8s ease 0.15s backwards;
}

.book-card-inner {
  background: linear-gradient(165deg, rgba(26, 26, 26, 0.95) 0%, rgba(18, 18, 18, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(212, 175, 55, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.book-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
}

.book-card-head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.book-card-head h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.book-card-head p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
}

.book-required {
  color: var(--gold);
}

/* ========== FORM FIELDS ========== */
.book-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.book-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.book-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.85);
  margin-bottom: 8px;
}

.book-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.book-input-wrap > i {
  position: absolute;
  left: 16px;
  color: var(--gold);
  font-size: 14px;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.book-input-wrap input,
.book-input-wrap select,
.book-input-wrap textarea {
  width: 100%;
  padding: 14px 16px 14px 46px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.book-input-wrap input::placeholder,
.book-input-wrap textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.book-input-wrap input:hover,
.book-input-wrap select:hover,
.book-input-wrap textarea:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

.book-input-wrap input:focus,
.book-input-wrap select:focus,
.book-input-wrap textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.book-input-wrap select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.book-input-wrap select option {
  background: #1a1a1a;
  color: #fff;
}

.book-input-wrap-area {
  align-items: flex-start;
}

.book-input-wrap-area > i {
  top: 16px;
}

.book-input-wrap textarea {
  min-height: 88px;
  resize: vertical;
  padding-top: 14px;
}

.book-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: -8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.book-hint i {
  color: var(--gold);
  opacity: 0.7;
}

/* ========== SUBMIT ========== */
.book-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
  padding: 18px 28px;
  background: linear-gradient(135deg, #1ebe57 0%, var(--wa) 50%, #128C7E 100%);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
}

.book-submit i {
  font-size: 22px;
}

.book-submit-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: bookShine 3s ease-in-out infinite;
}

.book-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45);
}

.book-submit:active {
  transform: translateY(-1px);
}

.book-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ========== ANIMATIONS ========== */
@keyframes bookFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bookShine {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .book-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 20px 48px;
  }

  .book-intro {
    text-align: center;
  }

  .book-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .book-features {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .book-trust {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .book-header {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px 18px;
    gap: 14px;
  }

  .book-back {
    justify-self: center;
    width: 100%;
    justify-content: center;
  }

  .book-logo {
    order: -1;
  }

  .book-call {
    justify-self: center;
  }

  .book-row {
    grid-template-columns: 1fr;
  }

  .book-card-inner {
    padding: 28px 20px 24px;
  }

  .book-back span {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-intro,
  .book-card {
    animation: none;
  }

  .book-submit-shine {
    animation: none;
  }
}

/* Strong desktop overrides (1024px+) to ensure premium dark layout */
@media (min-width: 1024px) {
  /* page background */
  body.book-page {
    background: #050505 !important;
    color: #fff !important;
  }

  /* header */
  .book-page header.header.header--book {
    background: linear-gradient(180deg, rgba(6,6,6,0.94), rgba(6,6,6,0.88)) !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    box-shadow: 0 18px 60px rgba(0,0,0,0.65) !important;
  }
  .book-page header.header.header--book .header-inner {
    padding: 20px 36px !important;
  }
  .book-page header.header.header--book .logo,
  .book-page header.header.header--book .logo-img {
    color: #fff !important;
  }

  /* nav links: white text with gold active/hover */
  .book-page header.header.header--book .nav a {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 600 !important;
  }
  .book-page header.header.header--book .nav a::after {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold)) !important;
  }
  .book-page header.header.header--book .nav a:hover,
  .book-page header.header.header--book .nav a.active {
    color: var(--gold) !important;
  }

  /* Book main layout: two-column grid with consistent spacing */
  .book-page .book-main {
    display: grid !important;
    grid-template-columns: 1fr 1.05fr !important;
    gap: 48px !important;
    align-items: start !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 56px 28px 72px !important;
  }

  /* Left intro panel sizing */
  .book-page .book-intro {
    padding-top: 18px !important;
  }
  .book-page .book-title { font-size: clamp(36px, 4.6vw, 56px) !important; }

  /* Ensure background image & overlays are visible */
  .book-page .book-bg { position: fixed !important; inset: 0 !important; z-index: 0 !important; }
  .book-page .book-bg-image { background-position: center !important; background-size: cover !important; filter: brightness(0.35) saturate(0.85) !important; transform: scale(1.06) !important; }
  .book-page .book-bg-overlay { opacity: 1 !important; }

  /* Form card sizing and visual treatment */
  .book-page .book-card-inner {
    padding: 40px 36px 32px !important;
    border-radius: 18px !important;
    background: linear-gradient(165deg, rgba(18,18,18,0.98) 0%, rgba(12,12,12,0.95) 100%) !important;
    border: 1px solid rgba(255,255,255,0.03) !important;
    box-shadow: 0 28px 80px rgba(0,0,0,0.7) !important;
  }

  /* Inputs & labels ensure contrast on desktop */
  .book-page .book-input-wrap input,
  .book-page .book-input-wrap select,
  .book-page .book-input-wrap textarea {
    background: rgba(0,0,0,0.45) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    color: #fff !important;
  }

  .book-page .book-badge {
    background: rgba(212,175,55,0.08) !important;
    color: var(--gold-light) !important;
  }

  /* Buttons */
  .book-page .book-submit {
    background: linear-gradient(135deg, #1ebe57 0%, var(--wa) 50%, #128C7E 100%) !important;
    box-shadow: 0 14px 46px rgba(18,140,126,0.28) !important;
  }

  /* Floating WhatsApp or actions */
  .book-page .float-wa { box-shadow: 0 12px 36px rgba(0,0,0,0.5) !important; }

  /* Ensure no desktop-only hiding rules are active */
  .book-page .book-card, .book-page .book-intro, .book-page .book-bg { display: block !important; }
}

/* ========== DESKTOP HEADER OVERRIDES FOR BOOK PAGE ========== */
@media (min-width: 961px) {
  .book-page .header--book {
    background: linear-gradient(180deg, rgba(6,6,6,0.85), rgba(6,6,6,0.80));
    border-bottom: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 12px 36px rgba(0,0,0,0.6);
  }

  .book-page .header--book .header-inner {
    padding: 18px 32px;
  }

  .book-page .header--book .logo-img--book {
    height: 48px;
    width: auto;
    filter: none;
  }

  .book-page .header--book .nav a {
    color: rgba(255,255,255,0.92);
  }

  .book-page .header--book .nav a::after {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  }

  .book-page .header--book .nav a:hover,
  .book-page .header--book .nav a.active {
    color: var(--gold);
  }

  .book-page .header--book .btn-book {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
  }

  /* Ensure page background and header layering are correct */
  body.book-page {
    background: #050505;
    color: #fff;
  }
}


/* ===== Divya final fix: remove mobile hero service cards + ensure Book page mobile navbar icon ===== */
@media (max-width: 767px) {
  html body #home.hero .hero-services-mobile {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 768px) {
  body.book-page .header--book {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: rgba(5, 5, 5, 0.96) !important;
    border-bottom: 1px solid rgba(247, 186, 9, 0.18) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  body.book-page .header--book .header-inner {
    position: relative !important;
    min-height: 66px !important;
    padding: 10px 16px !important;
  }

  body.book-page .header--book .logo-img--book {
    width: 132px !important;
    height: auto !important;
    max-height: 46px !important;
    object-fit: contain !important;
  }

  body.book-page .header--book .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(247, 186, 9, 0.42) !important;
    background: rgba(0, 0, 0, 0.56) !important;
    color: #f7ba09 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    z-index: 10001 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  }

  body.book-page .header--book .menu-toggle i {
    display: none !important;
  }

  body.book-page .header--book .menu-toggle .menu-fallback,
  body.book-page .header--book .menu-toggle::before {
    display: block !important;
    color: #f7ba09 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  body.book-page .header--book .menu-toggle::before {
    content: "☰" !important;
  }

  body.book-page .header--book .menu-toggle .menu-fallback {
    display: none !important;
  }

  body.book-page .header--book .nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 10px !important;
    border-radius: 18px !important;
    background: rgba(7, 7, 7, 0.98) !important;
    border: 1px solid rgba(247, 186, 9, 0.22) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.52) !important;
    z-index: 10000 !important;
  }

  body.book-page .header--book .nav.open {
    display: flex !important;
  }

  body.book-page .header--book .nav a {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: left !important;
    letter-spacing: 0.04em !important;
  }

  body.book-page .header--book .nav a:hover,
  body.book-page .header--book .nav a.active {
    background: rgba(247, 186, 9, 0.12) !important;
    color: #f7ba09 !important;
  }
}


/* Final fix: show only one mobile menu icon */
.menu-toggle {
  position: relative;
}
.menu-toggle i,
.menu-toggle .menu-fallback,
.menu-toggle::before,
body.book-page .header--book .menu-toggle i,
body.book-page .header--book .menu-toggle .menu-fallback,
body.book-page .header--book .menu-toggle::before {
  display: none !important;
  content: none !important;
}
.menu-toggle .menu-icon,
body.book-page .header--book .menu-toggle .menu-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #f7ba09 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

/* Customer review photos */
.review-author img {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 2px solid rgba(247, 186, 9, 0.85) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
  background: #111 !important;
}
