/* Custom minimal styles for Suki Lodge */
:root {
  --accent: #F2B705; /* brand-500 */
  --brand-400: #FBC846;
  --brand-500: #F2B705;
  --brand-600: #D9A205;
  --brand-900: #ffffff;
  --whatsapp: #25D366;
}

/* Native smooth scrolling for anchor jumps */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Prevent anchor targets from hiding behind fixed header */
[id] { scroll-margin-top: 84px; }

.gradient-hero {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(242, 183, 5, .15), transparent),
    linear-gradient(180deg, #ffffff, #f7f7fb);
}

.shadow-soft {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Utility helpers for reduced layout shift on images */
.img-cover { object-fit: cover; width: 100%; height: 100%; }

/* FAQ cards + chevron */
#faq .space-y-3 { max-width: 720px; margin-left: auto; margin-right: auto; }
.faq { border: none; border-radius: 16px; box-shadow: 0 10px 25px rgba(2,6,23,.06); padding: 0 !important; }
.faq summary { position: relative; margin: 0; padding: 16px 44px 16px 18px; min-height: 48px; display: flex; align-items: center; }
.faq > div { padding: 0 16px 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #0f172a; /* slate-900 */
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(180deg); }

/* Floating WhatsApp CTA */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
  z-index: 70;
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(0,0,0,.22); }
.whatsapp-float svg { width: 28px; height: 28px; display: block; }

/* Fallback brand utilities (in case Tailwind custom tokens aren't compiled) */
.bg-brand-500 { background-color: var(--brand-500) !important; }
.bg-brand-600 { background-color: var(--brand-600) !important; }
.bg-brand-900 { background-color: var(--brand-900) !important; }
.hover\:bg-brand-700:hover { background-color: #B38504 !important; }
.text-brand-700 { color: #B38504 !important; }
.hover\:text-brand-700:hover { color: #B38504 !important; }
.border-brand-200 { border-color: #FFE38F !important; }
.hover\:border-brand-200:hover { border-color: #FFE38F !important; }
.text-success { color: #16A34A !important; }
.bg-whatsapp { background-color: var(--whatsapp) !important; }
.bg-gradient-brand { background-image: linear-gradient(90deg, var(--brand-500), var(--brand-600)) !important; }
/* Common Tailwind-like combinations used in markup */
.from-brand-500.to-brand-600 { background-image: linear-gradient(90deg, var(--brand-500), var(--brand-600)) !important; }
.bg-white\/80 { background-color: rgba(255,255,255,0.8) !important; }
.backdrop-blur-lg { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.border-slate-200 { border-color: #e2e8f0 !important; }

/* Selected Rooms responsive layout */
.selected-rooms .item { gap: 12px; }
.selected-rooms .item-left { min-width: 0; }
.selected-rooms .thumb { width: 64px; height: 48px; }
.selected-rooms .title-wrap { overflow: hidden; }
.selected-rooms .title-wrap .font-medium { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selected-rooms .counter .qty { width: 44px; }
.selected-rooms .counter { background: #fff; }
.selected-rooms .counter button { min-width: 28px; }
@media (max-width: 420px) {
  .selected-rooms .item { flex-wrap: wrap; align-items: flex-start; }
  .selected-rooms .item-right { width: 100%; justify-content: space-between; }
  .selected-rooms .remove { margin-left: auto; }
}

/* Mobile dropdown menu (overlay + panel) */
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); backdrop-filter: blur(2px); z-index: 70; }
.mobile-menu-panel { position: fixed; left: 12px; right: 12px; top: 72px; background: #fff; border-radius: 18px; box-shadow: 0 24px 48px rgba(2,6,23,.18); animation: menuIn .2s ease; z-index: 80; padding: 18px 16px 18px; max-width: 420px; margin: 0 auto; }
@keyframes menuIn { from { transform: translateY(-6px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Mobile menu list */
.mobile-menu-list { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 6px; text-align: center; }
.mobile-menu-list li { border-radius: 12px; overflow: hidden; }
.mobile-menu-list a { display: block; padding: 14px 18px; border-radius: 12px; color: #0f172a; text-decoration: none; font-size: 17px; font-weight: 600; letter-spacing: .1px; }
.mobile-menu-list a:hover { background: #f8fafc; }
.mobile-menu-list li + li a { border-top: 1px solid rgba(2,6,23,.04); }
.mobile-cta { display: block; text-align: center; padding: 14px 22px; border-radius: 9999px; background-image: linear-gradient(90deg, var(--brand-500), var(--brand-600)); color: #ffffff; font-weight: 700; box-shadow: 0 14px 24px rgba(2,6,23,.14); margin: 8px auto 0; }
.mobile-cta:hover { opacity: .95; }

/* FAQ container tidy */
.faq .text-slate-600 { line-height: 1.65; }
.faq:hover { background: #f8fafc; }

/* Standardized focus rings (WCAG 2.2 focus visible) */
/* Buttons and links: 2px */
button:focus-visible,
a.button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
}
/* Form controls: 3px */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
}

/* Filled button text color (keep outline/ghost buttons dark for contrast) */
button[class*="bg-"],
button.from-brand-500.to-brand-600,
a[class*="bg-"],
a.from-brand-500.to-brand-600,
input[type="button"][class*="bg-"],
input[type="submit"][class*="bg-"],
input[type="reset"][class*="bg-"],
.mobile-cta,
.bg-success,
button.bg-success,
.select-btn {
  color: #ffffff !important;
}
.btn-black-border {
  border: 1px solid black !important;
}

/* Dark mode focus ring colors */
.luxe button:focus-visible,
.luxe a.button:focus-visible,
.luxe a:focus-visible {
  outline: 2px solid var(--brand-500);
}
.luxe input:focus-visible,
.luxe textarea:focus-visible,
.luxe select:focus-visible {
  outline: 3px solid var(--brand-500);
}

/* White text for filled CTAs (anchors) without altering outline buttons */
a.bg-brand-600,
a[class*="from-brand-"],
a[class*="to-brand-"],
.from-brand-500.to-brand-600,
.bg-success,
.select-btn {
  color: #ffffff !important;
}

/* Dark theme removed to reduce CSS size. If needed later, migrate to a separate optional stylesheet. */
