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

:root {
  --primary-gold: #c59b27;
  --primary-dark: #091428;
  --accent-gold-light: #fef3c7;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(9, 20, 40, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Form Hover Attractive Effect */
.booking-form-box {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.booking-form-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(217, 119, 6, 0.25), 0 0 0 2px rgba(217, 119, 6, 0.35);
  border-color: rgba(217, 119, 6, 0.6);
}

/* Amenity Icons Hover Glow & Lift */
.amenity-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.amenity-card:hover {
  transform: translateY(-6px);
  border-color: #d97706;
  box-shadow: 0 15px 30px -8px rgba(217, 119, 6, 0.2);
}
.amenity-card:hover .amenity-icon {
  background-color: #d97706;
  color: #ffffff;
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
}
.amenity-icon {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Infinite Moving Gallery (Right to Left Auto-Scroll Marquee) */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Animations */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-pop {
  animation: fadeInScale 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Lightbox Modal */
.lightbox-overlay {
  background-color: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(8px);
}

/* Bento Gallery Styles */
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.3);
}
.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover img {
  transform: scale(1.06);
}
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 20, 40, 0.85) 0%, rgba(9, 20, 40, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #ffffff;
}

/* Modern FAQ Accordion */
details summary::-webkit-details-marker {
  display: none;
}
details summary {
  list-style: none;
}
details[open] .faq-icon {
  transform: rotate(180deg);
  color: #d97706;
}
details[open] {
  border-color: rgba(217, 119, 6, 0.4);
  background-color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.08);
}

/* 14 Amenities Checklist Cards (Minimalist & Sleek) */
.amenity-check-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.amenity-check-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.06);
}

/* Reviews Auto-Scroll Marquee (Smooth Right-to-Left Infinite Ticker) */
.reviews-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 0.75rem 0 1.5rem;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}
.reviews-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollReviewsMarquee 45s linear infinite;
  will-change: transform;
}
.reviews-marquee-track:hover,
.reviews-marquee-track:active,
.reviews-marquee-track:focus-within {
  animation-play-state: paused;
}
@keyframes scrollReviewsMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Review Card Pro Styling */
.review-card-pro {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.review-card-pro:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(217, 119, 6, 0.3);
}

/* ========================================================
   ADMIN CMS EXECUTIVE STYLES & LUXURY 2FA ANIMATIONS
   ======================================================== */

@keyframes loginShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.login-shake {
  animation: loginShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes luxuryPopupSpring {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.luxury-popup-spring {
  animation: luxuryPopupSpring 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* OTP 6-Digit Inputs */
.otp-digit-input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.otp-digit-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25), 0 8px 20px rgba(245, 158, 11, 0.2);
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-2px);
}

/* Executive Dashboard Stat Cards */
.stat-card-luxury {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.stat-card-luxury:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(245, 158, 11, 0.35);
}

/* Quick Action Shortcut Pills */
.action-shortcut-pill {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.action-shortcut-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.25);
}

/* Slim Animated Room Lock Button */
@keyframes luxuryBtnPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 16px 3px rgba(217, 119, 6, 0.35);
    transform: scale(1.02);
  }
}

.btn-lock-animated {
  animation: luxuryBtnPulse 2.4s infinite ease-in-out;
}

/* ==============================================================================
   MOBILE FULL-STRETCH & TYPOGRAPHY ENHANCEMENTS
   ============================================================================== */

@media (max-width: 640px) {
  /* Prevent horizontal squeeze & maximize screen real estate on mobile devices */
  .max-w-5xl, .max-w-4xl, .max-w-3xl {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Stretch main policy/legal page container so it's not nested inside dabba-in-dabba */
  main.max-w-5xl {
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
    width: 100% !important;
  }

  #policyContentContainer,
  #refundContentContainer,
  #termsContentContainer {
    padding: 1rem 0.75rem !important;
    border-radius: 1rem !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    width: 100% !important;
  }

  /* Inner cards / pillars inside policy pages */
  #policyContentContainer .rounded-2xl,
  #refundContentContainer .rounded-2xl,
  #termsContentContainer .rounded-2xl {
    padding: 0.875rem 0.75rem !important;
    border-radius: 0.75rem !important;
  }

  /* Tables inside policy pages */
  #policyContentContainer table th,
  #policyContentContainer table td,
  #refundContentContainer table th,
  #refundContentContainer table td,
  #termsContentContainer table th,
  #termsContentContainer table td {
    padding: 0.625rem 0.5rem !important;
    font-size: 0.8125rem !important; /* 13px */
  }

  /* FAQ Accordion typography enhancement on mobile */
  details summary span {
    font-size: 0.9375rem !important; /* 15px */
    line-height: 1.4 !important;
  }

  /* FAQ answer font size enhancement: from tiny 12px to comfortable 14px */
  details > div[class*="border-t"],
  details > div[class*="border-t"] p,
  .faq-answer,
  .faq-answer p {
    font-size: 0.875rem !important; /* 14px */
    line-height: 1.62 !important;
  }

  /* Hero search box stretch on mobile */
  .booking-form-box {
    padding: 1rem 0.75rem !important;
    border-radius: 1rem !important;
    width: 100% !important;
  }

  /* Elevate micro text from tiny 10px/11px to readable 12px/13px on phone screens */
  .text-\[10px\] {
    font-size: 0.75rem !important; /* 12px */
  }
  .text-\[11px\] {
    font-size: 0.8125rem !important; /* 13px */
  }
}



