/* ==========================================================================
   RAYUDU RESORT'S & NOVA SAAS — LAMBASINGI
   style.css — Minimalistic Luxury Boutique Resort Theme (White & Light Palette)
   Loaded after Tailwind CDN. Tailwind handles layout; this file handles
   brand typography, minimalist luxury surfaces, clean cards & cinematic motion.
   ========================================================================== */

:root{
  --slate:#ffffff;
  --slate-2:#f8fafc;
  --amber:#d97706;
  --amber-soft:#f59e0b;
  --emerald:#059669;
  --ink:#0f172a;
  --ink-secondary:#475569;
  --muted:#64748b;
  --border-subtle:#e2e8f0;
  --glass:rgba(255,255,255,.94);
  --glass-line:rgba(226,232,240,.9);
  --glass-light:rgba(248,250,252,.9);
  --shadow-lux:0 20px 40px -15px rgba(15,23,42,.08);
  --shadow-card:0 4px 20px -3px rgba(15,23,42,.05);
  --nav-h:72px;
}

*{ -webkit-tap-highlight-color:transparent; }

html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 24px); }

body{
  font-family:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:#ffffff !important;
  color:#334155 !important;
  overflow-x:hidden;
}

h1,h2,h3,h4,h5,h6,.font-display{
  font-family:'Cinzel',Georgia,'Times New Roman',serif;
  letter-spacing:.02em;
  color:#0f172a;
}

/* Background Overrides for Minimalist Light Theme */
.bg-slate-950{ background-color:#ffffff !important; }
.bg-slate-900{ background-color:#f8fafc !important; }
.bg-slate-900\/50, .bg-slate-900\/60, .bg-slate-900\/80, .bg-slate-900\/90{ background-color:#ffffff !important; }
.bg-slate-800, .bg-slate-800\/50{ background-color:#f1f5f9 !important; }

/* Text Color Adjustments */
.text-slate-200{ color:#334155 !important; }
.text-slate-300{ color:#475569 !important; }
.text-slate-400{ color:#64748b !important; }
.text-slate-500{ color:#94a3b8 !important; }

/* Border Adjustments */
.border-white\/5, .border-white\/10, .border-white\/15, .border-white\/20{
  border-color:#e2e8f0 !important;
}

/* ---------- Glassmorphism (Minimalist Light) ------------------------------ */
.glass{
  background:rgba(255,255,255,.94) !important;
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  backdrop-filter:blur(14px) saturate(140%);
  border:1px solid #e2e8f0 !important;
}
.glass-light{
  background:rgba(248,250,252,.92) !important;
  -webkit-backdrop-filter:blur(12px) saturate(130%);
  backdrop-filter:blur(12px) saturate(130%);
  border:1px solid #e2e8f0 !important;
}
.glass-amber{ border-color:rgba(217,119,6,.25) !important; }

/* ---------- Top Notification Strip -------------------------------------- */
.fog-strip{
  background:#f8fafc !important;
  border-bottom:1px solid #e2e8f0 !important;
  color:#475569 !important;
}
.fog-strip a{ color:#0f172a !important; }
.fog-strip a:hover{ color:#d97706 !important; }

/* ---------- Header & Navigation ------------------------------------------ */
.site-header{
  background:rgba(255,255,255,.92) !important;
  border-bottom:1px solid #e2e8f0 !important;
  transition:background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.site-header.is-scrolled{
  box-shadow:0 4px 25px -4px rgba(15,23,42,.08) !important;
  border-bottom-color:#cbd5e1 !important;
}

.site-header span.text-white{ color:#0f172a !important; }

.nav-link{ position:relative; padding:.35rem 0; color:#334155 !important; font-weight:500; transition:color .25s ease; }
.nav-link::after{
  content:''; position:absolute; left:0; bottom:-2px; height:2px; width:0;
  background:linear-gradient(90deg,var(--amber),var(--emerald)); transition:width .3s ease;
}
.nav-link:hover{ color:#d97706 !important; }
.nav-link:hover::after,.nav-link.is-active::after{ width:100%; }
.nav-link.is-active{ color:#d97706 !important; font-weight:600; }

#menuToggle{ color:#0f172a !important; border-color:#cbd5e1 !important; }

/* Mobile drawer */
#mobileMenu{
  max-height:0; overflow:hidden;
  transition:max-height .45s cubic-bezier(.4,0,.2,1);
  background:#ffffff !important;
  border-bottom:1px solid #e2e8f0 !important;
}
#mobileMenu.is-open{ max-height:32rem; }
#mobileMenu .nav-link{ color:#0f172a !important; border-bottom:1px solid #f1f5f9 !important; }

/* ---------- Hero slider (Swiper) ---------------------------------------- */
.hero{ height:calc(100svh - 110px); min-height:520px; }
@media (max-width:640px){ .hero{ height:calc(100svh - 96px); min-height:560px; } }

.hero .swiper,.hero .swiper-wrapper,.hero .swiper-slide{ height:100%; }
.hero .swiper-slide{ overflow:hidden; }

.slide-media{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transform:scale(1.06); transition:transform 7s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.swiper-slide-active .slide-media{ transform:scale(1.18); }

.slide-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(to top,rgba(15,23,42,.88) 0%,rgba(15,23,42,.35) 45%,rgba(15,23,42,.6) 100%),
    radial-gradient(120% 80% at 20% 30%,rgba(15,23,42,0) 0%,rgba(15,23,42,.45) 100%);
}

.slide-copy{ opacity:0; transform:translateY(28px); }
.swiper-slide-active .slide-copy{ animation:slideUp .9s .25s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes slideUp{ to{ opacity:1; transform:translateY(0);} }

.hero .slide-copy h1, .hero .slide-copy p, .hero .slide-copy span.text-white{
  color:#ffffff !important;
}

.swiper-pagination-bullet{ background:#fff; opacity:.45; width:10px; height:10px; transition:all .3s; }
.swiper-pagination-bullet-active{ background:#f59e0b; opacity:1; width:34px; border-radius:999px; }

.swiper-button-next,.swiper-button-prev{
  color:#fff; width:52px; height:52px; border-radius:999px;
  background:rgba(15,23,42,.6); border:1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  transition:background .25s ease, border-color .25s ease;
}
.swiper-button-next:hover,.swiper-button-prev:hover{ background:rgba(217,119,6,.9); border-color:transparent; }
.swiper-button-next::after,.swiper-button-prev::after{ font-size:18px; font-weight:700; }
@media (max-width:768px){ .swiper-button-next,.swiper-button-prev{ display:none; } }

/* ---------- Buttons ------------------------------------------------------ */
:where(.btn){ display:inline-flex; align-items:center; justify-content:center; gap:.6rem; }
.btn{
  padding:.85rem 1.6rem; border-radius:999px; font-weight:600; letter-spacing:.01em;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor:pointer; border:1px solid transparent; text-align:center;
}
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }
.btn:focus-visible{ outline:2px solid var(--amber); outline-offset:3px; }
.btn-amber{ background:var(--amber); color:#ffffff; box-shadow:0 8px 20px -6px rgba(217,119,6,.5); }
.btn-amber:hover{ background:#b45309; }
.btn-wa{ background:#25d366; color:#ffffff; box-shadow:0 8px 20px -6px rgba(37,211,102,.5); font-weight:700; }
.btn-wa:hover{ background:#22c55e; }
.btn-ghost{ border-color:rgba(255,255,255,.45); color:#fff; }
.btn-ghost:hover{ background:rgba(255,255,255,.15); }

/* ---------- Minimalist Cards --------------------------------------------- */
.card{
  border-radius:1.25rem; overflow:hidden; position:relative;
  background:#ffffff !important;
  border:1px solid #e2e8f0 !important;
  box-shadow:var(--shadow-card);
  transition:transform .4s cubic-bezier(.22,.61,.36,1), border-color .4s, box-shadow .4s;
}
.card:hover{
  transform:translateY(-6px);
  border-color:#cbd5e1 !important;
  box-shadow:var(--shadow-lux) !important;
}
.card-img{ width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.22,.61,.36,1); }
.card:hover .card-img{ transform:scale(1.06); }

.card h3, .card h4, .card span.text-white{ color:#0f172a !important; }

:where(.tile){ display:block; }
.tile{ position:relative; border-radius:1.25rem; overflow:hidden; }
.tile::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top,rgba(15,23,42,.9) 10%,rgba(15,23,42,.15) 60%,rgba(15,23,42,.35) 100%);
}
:where(.tile) > :not(img){ position:relative; z-index:2; }
:where(.tile) > .absolute{ position:absolute; }

/* ---------- Minimalist Floating Booking Bar ------------------------------ */
.booking-bar{
  background:#ffffff !important;
  border:1px solid #e2e8f0 !important;
  box-shadow:0 24px 60px -15px rgba(15,23,42,.12) !important;
  border-radius:1.5rem !important;
}
:where(.field){ width:100%; }
.field{
  border-radius:.85rem; padding:.75rem .95rem;
  background:#f8fafc !important;
  color:#0f172a !important;
  border:1px solid #cbd5e1 !important;
  font-size:.95rem;
  transition:border-color .2s, box-shadow .2s, background-color .2s;
}
.field:focus{
  outline:none;
  background:#ffffff !important;
  border-color:var(--amber) !important;
  box-shadow:0 0 0 3px rgba(217,119,6,.15) !important;
}
.field:invalid{ border-color:rgba(239,68,68,.6) !important; }
.field-label{
  font-size:.68rem; text-transform:uppercase; letter-spacing:.16em;
  color:#475569 !important; font-weight:600; margin-bottom:.35rem; display:block;
}
.field::-webkit-calendar-picker-indicator{ filter:none; opacity:.75; cursor:pointer; }
select.field option{ background:#ffffff !important; color:#0f172a !important; }

.form-error{ color:#dc2626 !important; font-size:.82rem; min-height:1.1rem; }

/* ---------- Section Chrome & Typography ---------------------------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.7rem; letter-spacing:.32em; text-transform:uppercase; color:var(--amber) !important;
  font-weight:600;
}
.rule{ height:1px; background:linear-gradient(90deg,transparent,#e2e8f0,transparent) !important; }

/* ---------- Reveal on scroll -------------------------------------------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .65s ease, transform .65s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Accordion (FAQ) --------------------------------------------- */
.acc-panel{ max-height:0; overflow:hidden; transition:max-height .4s cubic-bezier(.4,0,.2,1); }
.acc-item{ background:#ffffff !important; border:1px solid #e2e8f0 !important; border-radius:1rem; }
.acc-item.is-open{ border-color:#cbd5e1 !important; box-shadow:0 4px 16px -2px rgba(15,23,42,.06); }
.acc-item.is-open .acc-panel{ max-height:30rem; }
.acc-item.is-open .acc-chevron{ transform:rotate(180deg); }
.acc-chevron{ transition:transform .3s ease; color:#64748b; }

/* ---------- Off-season offer banner -------------------------------------- */
.offer-banner{
  background:linear-gradient(90deg,#fef3c7,#fde68a 45%,#d1fae5) !important;
  color:#78350f !important; font-weight:600;
  border-bottom:1px solid #fde68a;
}
.offer-banner[hidden]{ display:none; }

/* ---------- Booking-bar experience add-ons ------------------------------- */
:where(.addon){ display:block; }
.addon{ cursor:pointer; }
.addon-box{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
:where(.addon-face){ display:flex; }
.addon-face{
  align-items:center; gap:.7rem;
  padding:.75rem .9rem; border-radius:.85rem;
  background:#f8fafc !important;
  border:1px solid #e2e8f0 !important;
  transition:border-color .2s ease, background .2s ease;
}
.addon-face > i:first-child{ color:var(--amber); font-size:1rem; width:1.1rem; text-align:center; flex:none; }
.addon-title{ display:block; font-size:.82rem; font-weight:600; color:#0f172a !important; line-height:1.2; }
.addon-sub{ display:block; font-size:.68rem; color:#64748b !important; margin-top:.15rem; }
.addon-tick{
  margin-left:auto; font-size:.7rem; color:#ffffff;
  width:1.1rem; height:1.1rem; border-radius:999px; flex:none;
  display:grid; place-items:center; background:#ffffff; border:1px solid #cbd5e1;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.addon:hover .addon-face{ border-color:#cbd5e1 !important; background:#ffffff !important; }
.addon-box:checked + .addon-face{ border-color:var(--amber) !important; background:#fffbeb !important; }
.addon-box:checked + .addon-face .addon-tick{ background:var(--amber) !important; border-color:var(--amber) !important; color:#ffffff !important; }
.addon-box:focus-visible + .addon-face{ outline:2px solid var(--amber); outline-offset:2px; }

/* ---------- Price styling ------------------------------------------------ */
.price-was{ text-decoration:line-through; opacity:.45; font-size:.8em; margin-left:.4em; font-weight:400; color:#64748b; }
.price-now{ color:#b45309 !important; font-weight:700; }

/* ---------- Footer (Luxury Contrast Charcoal) ---------------------------- */
footer{
  background:#0f172a !important;
  color:#94a3b8 !important;
  border-top:1px solid #1e293b;
}
footer h3, footer h4, footer .font-display{ color:#ffffff !important; }
footer a{ color:#cbd5e1 !important; transition:color .2s; }
footer a:hover{ color:#f59e0b !important; }
footer .border-white\/10{ border-color:rgba(255,255,255,.1) !important; }

/* ---------- Mobile quick-action bar --------------------------------------- */
:where(.action-bar){ display:grid; }
.action-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:70;
  grid-template-columns:1fr 1fr; gap:.5rem;
  padding:.55rem .6rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  background:rgba(255,255,255,.95) !important;
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-top:1px solid #e2e8f0 !important;
  box-shadow:0 -4px 20px rgba(15,23,42,.06);
}
:where(.action-btn){ display:flex; }
.action-btn{
  align-items:center; justify-content:center; gap:.5rem;
  padding:.8rem .5rem; border-radius:.85rem;
  font-size:.85rem; font-weight:600; letter-spacing:.01em; white-space:nowrap;
  transition:transform .2s ease, filter .2s ease;
}
.action-btn:active{ transform:scale(.97); }
.action-call{ background:#fffbeb !important; color:#b45309 !important; border:1px solid #fde68a !important; }
.action-wa{ background:#25d366; color:#ffffff !important; }
@media (max-width:1023px){ body{ padding-bottom:4.6rem; } }

/* ---------- Floating WhatsApp ------------------------------------------- */
:where(.fab-wa){ display:grid; }
.fab-wa{
  position:fixed; right:1rem; bottom:1rem; z-index:60;
  width:56px; height:56px; border-radius:999px; place-items:center;
  background:#25d366; color:#ffffff; font-size:26px;
  box-shadow:0 14px 34px -10px rgba(37,211,102,.85);
  animation:pulseRing 2.6s infinite;
}
@keyframes pulseRing{
  0%{ box-shadow:0 14px 34px -10px rgba(37,211,102,.85),0 0 0 0 rgba(37,211,102,.5); }
  70%{ box-shadow:0 14px 34px -10px rgba(37,211,102,.85),0 0 0 18px rgba(37,211,102,0); }
  100%{ box-shadow:0 14px 34px -10px rgba(37,211,102,.85),0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Selection & Scrollbar ---------------------------------------- */
::selection{ background:#fde68a; color:#78350f; }

::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:#f8fafc; }
::-webkit-scrollbar-thumb{ background:#cbd5e1; border-radius:999px; }
::-webkit-scrollbar-thumb:hover{ background:#94a3b8; }

/* Motion Preferences */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .slide-media,.swiper-slide-active .slide-media{ transform:none; }
  .reveal{ opacity:1; transform:none; }
}
