/* ==========================================================================
   Skubi Hotel Book — skubihotelbook.com — SKUBIART LIMITED
   Mobile-first stylesheet. Breakpoints: 768px, 1024px.
   ========================================================================== */

:root {
  --ink: #17203a;
  --ink-2: #222d4f;
  --felt: #1d5c47;
  --felt-dark: #154836;
  --gold: #c9a24e;
  --gold-light: #e2c67a;
  --paper: #ffffff;
  --mist: #eff1f5;
  --line: #d8dce4;
  --text: #1f2433;
  --muted: #5b6377;
  --danger: #b3261e;
  --success: #1d5c47;
  --radius: 6px;
  --radius-lg: 12px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1160px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: 2.25rem; letter-spacing: -0.01em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: var(--felt); }
a:hover { color: var(--felt-dark); }
strong { font-weight: 600; }
small { font-size: 0.875em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 0.5rem 1rem; z-index: 1000; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--felt); color: #fff; }
.btn-primary:hover { background: var(--felt-dark); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-small { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.logo:hover { color: #fff; }
.logo span { color: var(--gold); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink);
  padding: 0.5rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 30px rgba(0,0,0,0.25);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: 0.8rem 0;
  color: #fff; text-decoration: none; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav li a:hover { color: var(--gold-light); }
.site-nav li a.active { color: var(--gold); }
.nav-cta { margin-top: 1.25rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,32,58,0.15) 0%, rgba(23,32,58,0.85) 70%, var(--ink) 100%);
}
.hero-inner { position: relative; padding: 3.5rem 1.25rem 2.5rem; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero-lead { font-size: 1.1rem; max-width: 54ch; color: rgba(255,255,255,0.86); }

.booking-panel {
  position: relative;
  margin-top: 2rem;
  background: #fff; color: var(--text);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(8,12,28,0.4);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.booking-panel h2 { font-size: 1.25rem; margin-bottom: 1rem; }

/* ---------- Forms ---------- */
.field { margin: 0; }
.field label {
  display: block; margin-bottom: 0.35rem;
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff; color: var(--text);
  font: inherit; line-height: 1.3;
  min-height: 46px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { display: none; margin: 0.3rem 0 0; font-size: 0.85rem; color: var(--danger); }
.field.has-error .field-error { display: block; }
.field-check { display: flex; gap: 0.6rem; align-items: flex-start; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin-top: 0.15rem; flex: none; }
.field-check label { margin: 0; font-size: 0.95rem; font-weight: 400; color: var(--text); }

.booking-form { display: grid; gap: 1rem; }
.form-error {
  margin: 1rem 0 0; padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: #fbeceb; color: var(--danger); font-size: 0.95rem;
}

.booking-result {
  margin-top: 1.25rem; padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--mist);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.booking-summary {
  margin: 0;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--ink);
}
.booking-note { margin: 0; font-size: 0.85rem; color: var(--muted); }

.form-success {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #e7f3ee; color: var(--felt-dark);
  border: 1px solid #b9dccb;
}
.form-success h3 { color: var(--felt-dark); margin-bottom: 0.5rem; }
.form-success p:last-child { margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--mist); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin: 0; }
.section-ink .section-head p { color: rgba(255,255,255,0.8); }
.section-foot { margin-top: 2rem; }

/* ---------- Hotel cards ---------- */
.hotel-grid { display: grid; gap: 1.5rem; }
.hotel-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hotel-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hotel-card-body { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.25rem; flex: 1; }
.hotel-card h3 { margin: 0; }
.hotel-loc { margin: 0; color: var(--muted); font-size: 0.95rem; }
.hotel-tagline { margin: 0.25rem 0 0; font-size: 0.95rem; }
.hotel-price {
  margin-top: auto; padding-top: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.price { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); line-height: 1; }
.price small { display: block; margin-top: 0.3rem; font-family: var(--font-body); font-size: 0.78rem; color: var(--muted); }
.card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ---------- Features (Why us) ---------- */
.feature-grid { display: grid; gap: 1.75rem; }
.feature { border-top: 3px solid var(--gold); padding-top: 1rem; }
.feature h3 { margin-bottom: 0.4rem; }
.feature p { margin: 0; color: var(--muted); }

/* ---------- Destinations ---------- */
.dest-grid { display: grid; gap: 1.25rem; }
.dest-card {
  position: relative; display: block;
  border-radius: var(--radius-lg); overflow: hidden;
  color: #fff; text-decoration: none;
  background: var(--ink);
}
.dest-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: 0.85; transition: opacity 0.2s ease; }
.dest-card:hover img { opacity: 1; }
.dest-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(23,32,58,0) 0%, rgba(23,32,58,0.92) 100%);
}
.dest-card h3 { color: #fff; margin: 0 0 0.2rem; }
.dest-card p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.85); }

/* ---------- Testimonials ---------- */
.review-grid { display: grid; gap: 1.5rem; }
.review {
  margin: 0; padding: 1.5rem;
  background: #fff; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
}
.review p { margin: 0 0 1rem; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5; }
.review footer { font-size: 0.9rem; color: var(--muted); }
.review-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 56ch; color: rgba(255,255,255,0.85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- Inner page banner ---------- */
.page-banner {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
}
.page-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.4;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,32,58,0.2), rgba(23,32,58,0.85));
}
.page-banner .container { position: relative; z-index: 1; padding-top: 3.5rem; padding-bottom: 3rem; }
.page-banner h1 { color: #fff; margin-bottom: 0.5rem; }
.page-banner p { max-width: 58ch; color: rgba(255,255,255,0.85); margin: 0; font-size: 1.05rem; }

/* ---------- Prose pages ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.25rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5rem; }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius-lg); }
.prose figcaption { margin-top: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.prose .lead { font-size: 1.15rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }
.updated { font-size: 0.9rem; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: step; display: grid; gap: 1.25rem; }
.steps li { position: relative; padding-left: 3.25rem; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--felt); color: #fff;
  font-family: var(--font-display); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 76ch; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.5rem; font-weight: 400; color: var(--gold);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 1.25rem; max-width: 70ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-form { display: grid; gap: 1.1rem; }
.contact-info h2 { font-size: 1.4rem; }
.contact-info dl { margin: 0 0 1.5rem; }
.contact-info dt { font-weight: 600; color: var(--ink); margin-top: 1rem; }
.contact-info dd { margin: 0.2rem 0 0; color: var(--muted); }
.contact-info dd a { word-break: break-all; }
.map-wrap { margin-top: 3rem; }
.map-wrap img { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.map-caption { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------- New hotels page ---------- */
.nh-intro { max-width: 72ch; margin-bottom: 2.5rem; }
.nh-list { display: grid; gap: 2rem; }
.nh-card {
  display: grid; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.nh-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nh-body { padding: 1.5rem; }
.nh-body h2 { font-size: 1.5rem; margin-bottom: 0.2rem; }
.nh-loc { margin: 0 0 1rem; color: var(--muted); }
.nh-badge {
  display: inline-block; margin-left: 0.5rem; vertical-align: middle;
  padding: 0.15rem 0.55rem; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 0.7rem; font-weight: 600; font-family: var(--font-body);
}
.amenities { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.amenities li { padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--mist); font-size: 0.85rem; color: var(--ink); }
.nh-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.8); padding: 3rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand .logo { display: inline-block; margin-bottom: 0.75rem; }
.footer-brand p { margin: 0; font-size: 0.95rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-contact li { font-size: 0.95rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.footer-bottom p { margin: 0; }
.age-note { color: var(--gold-light); }

/* ==========================================================================
   Breakpoint: 768px
   ========================================================================== */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .container { padding: 0 2rem; }
  .section { padding: 5rem 0; }
  .hero-inner { padding: 5rem 2rem 3.5rem; }
  .booking-panel { padding: 1.75rem; }
  .booking-form { grid-template-columns: 1fr 1fr; }
  .booking-form .field-hotel { grid-column: 1 / -1; }
  .booking-form .field-submit { grid-column: 1 / -1; }
  .booking-result { flex-direction: row; align-items: center; justify-content: space-between; }
  .booking-result .booking-note { flex-basis: 100%; }
  .hotel-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form .field-wide { grid-column: 1 / -1; }
  .nh-card { grid-template-columns: 2fr 3fr; }
  .nh-card img { height: 100%; aspect-ratio: auto; }
  .nh-body { padding: 2rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .page-banner .container { padding-top: 4.5rem; padding-bottom: 4rem; }
}

/* ==========================================================================
   Breakpoint: 1024px
   ========================================================================== */
@media (min-width: 1024px) {
  h1 { font-size: 3.6rem; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static;
    align-items: center; gap: 2rem;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .site-nav ul { display: flex; gap: 1.6rem; }
  .site-nav li a { padding: 0.4rem 0; border: 0; position: relative; }
  .site-nav li a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--gold);
  }
  .nav-cta { margin: 0; }
  .hero-inner { padding: 6rem 2rem 4rem; }
  .booking-form { grid-template-columns: 2.2fr 1fr 1fr 0.7fr 0.7fr auto; align-items: end; }
  .booking-form .field-hotel, .booking-form .field-submit { grid-column: auto; }
  .booking-form .btn { min-height: 46px; }
  .hotel-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .dest-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 3fr 2fr; align-items: start; }
  .nh-card { grid-template-columns: 1fr 1.6fr; }
}
