/* =============================================
   DADAPILAN Events Management Services
   Your Siwawer Homestay & Heritage Center
   ============================================= */

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

:root {
  /* Heritage palette — warm terracotta, sugarcane gold, Ilocano earth */
  --gold:        #B8860B;
  --gold-light:  #D4A843;
  --gold-pale:   #F5E9C8;
  --terracotta:  #8B3A2A;
  --earth:       #5C3D2E;
  --dark:        #1C1008;
  --charcoal:    #2A1F16;
  --white:       #FDFAF5;
  --off-white:   #F7F2E8;
  --cream:       #EFE7D3;
  --gray:        #6B5D52;
  --light-gray:  #DDD5C5;
  --green:       #3D6B3A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --radius:       4px;
  --transition:   0.3s ease;
  --shadow:       0 4px 24px rgba(28,16,8,0.10);
  --shadow-lg:    0 16px 48px rgba(28,16,8,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--charcoal); line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Utilities ─────────────────────────────── */
.container  { width: 90%; max-width: 1180px; margin: 0 auto; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
.section-title span  { color: var(--gold); }
.section-title.light { color: var(--white); }

.rule {
  width: 44px; height: 3px;
  background: var(--gold);
  margin: 18px 0 28px;
  border-radius: 2px;
}
.rule.center { margin-left: auto; margin-right: auto; }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border: none; cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gold); color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184,134,11,.3);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--charcoal); transform: translateY(-2px); }
.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--dark); }

/* ────────────────────────────────────────
   NAVBAR
──────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: all .4s ease;
  /* subtle dark gradient always visible so hamburger shows on hero */
  background: linear-gradient(to bottom, rgba(28,16,8,0.55) 0%, transparent 100%);
}
.navbar.scrolled {
  background: rgba(28,16,8,.97);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-logo {
  height: 44px; width: auto;
  border-radius: 4px;
  background: var(--white);
  padding: 3px 8px;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); letter-spacing: .03em;
}
.brand-sub {
  font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-light);
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: .76rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
  position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 1.5px;
  background: var(--gold-light);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer;
  padding: 9px 10px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
  /* min touch target */
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.hamburger:hover,
.hamburger:focus {
  background: rgba(184,134,11,0.2);
  border-color: var(--gold-light);
  outline: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, background .2s ease;
}
/* When menu is open → gold ✕ */
.hamburger.open {
  background: rgba(184,134,11,0.25);
  border-color: var(--gold-light);
}
.hamburger.open span { background: var(--gold-light); }

/* ────────────────────────────────────────
   HERO
──────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh; min-height: 660px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,16,8,.78) 35%, rgba(28,16,8,.28) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 660px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(212,168,67,.4);
  padding: 6px 16px; margin-bottom: 22px;
  animation: fadeUp .7s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1; margin-bottom: 20px;
  animation: fadeUp .7s .12s ease both;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-tagline {
  font-size: .9rem; font-style: italic;
  color: rgba(255,255,255,.72);
  margin-bottom: 10px;
  animation: fadeUp .7s .2s ease both;
}
.hero-desc {
  font-size: .97rem; color: rgba(255,255,255,.72);
  max-width: 510px; margin-bottom: 32px;
  animation: fadeUp .7s .28s ease both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp .7s .38s ease both;
}
.hero-dots {
  position: absolute; bottom: 36px; left: 50%; z-index: 3;
  transform: translateX(-50%);
  display: flex; gap: 8px;
}
.hero-dot {
  width: 28px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.3);
  border: none; cursor: pointer;
  transition: all var(--transition); padding: 0;
}
.hero-dot.active { background: var(--gold-light); width: 44px; }

/* ────────────────────────────────────────
   QUICK FACTS STRIP
──────────────────────────────────────── */
.facts-strip { background: var(--dark); }
.facts-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255,255,255,.07);
}
.fact-item {
  padding: 28px 24px;
  display: flex; align-items: center; gap: 14px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.fact-item:last-child { border-right: none; }
.fact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(184,134,11,.35);
  color: var(--gold-light); font-size: 1.2rem;
}
.fact-text strong {
  display: block; font-size: .78rem;
  color: var(--white); margin-bottom: 2px;
}
.fact-text span { font-size: .75rem; color: rgba(255,255,255,.42); }

/* ────────────────────────────────────────
   PAGE HERO (inner pages)
──────────────────────────────────────── */
.page-hero {
  position: relative; height: 360px;
  display: flex; align-items: flex-end; overflow: hidden;
  margin-top: 0;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,16,8,.88) 40%, rgba(28,16,8,.3));
}
.page-hero-content {
  position: relative; z-index: 2; padding-bottom: 52px;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white); font-weight: 700;
  margin-top: 6px;
}

/* ────────────────────────────────────────
   ABOUT / HERITAGE
──────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-img-stack { position: relative; }
.about-img-main {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 48%; aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about-badge-box {
  position: absolute; top: 24px; left: -20px;
  background: var(--gold);
  color: var(--dark); padding: 14px 18px;
  text-align: center; box-shadow: var(--shadow);
}
.about-badge-box .num {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700; line-height: 1;
}
.about-badge-box .lbl {
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
}
.about-body p { color: var(--gray); margin-bottom: 14px; font-size: .94rem; }
.about-body p:last-of-type { margin-bottom: 28px; }
.heritage-quote {
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  padding: 16px 20px; margin: 20px 0 28px;
  font-family: var(--font-display);
  font-style: italic; font-size: 1rem;
  color: var(--earth); line-height: 1.65;
}

/* ────────────────────────────────────────
   ROOMS / ACCOMMODATION
──────────────────────────────────────── */
.rooms-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.room-card {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.room-img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.room-card:hover .room-img { transform: scale(1.05); }
.room-img-wrap { overflow: hidden; position: relative; }
.room-body { padding: 24px; }
.room-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; margin-bottom: 6px;
}
.room-price {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.room-price span { font-size: .8rem; font-weight: 400; color: var(--gray); margin-left: 3px; }
.room-inclusions {
  margin: 14px 0 18px; display: flex; flex-direction: column; gap: 6px;
}
.room-inclusions li {
  display: flex; align-items: center; gap: 8px;
  font-size: .84rem; color: var(--gray);
}
.room-inclusions li i { color: var(--green); font-size: .8rem; }
.room-note {
  font-size: .76rem; color: var(--gray);
  padding-top: 12px;
  border-top: 1px solid var(--light-gray);
}

/* ────────────────────────────────────────
   EVENTS / BANQUET PACKAGES
──────────────────────────────────────── */
.packages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pkg-card {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 36px 28px;
  background: var(--white);
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pkg-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.pkg-card.highlight {
  background: var(--dark);
  border-color: var(--gold);
}
.pkg-card.highlight * { color: inherit; }
.pkg-popular {
  position: absolute; top: 0; right: 24px;
  background: var(--gold); color: var(--dark);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 0 0 4px 4px;
}
.pkg-icon { font-size: 2rem; margin-bottom: 14px; }
.pkg-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; margin-bottom: 6px;
  color: var(--dark);
}
.pkg-card.highlight h3 { color: var(--white); }
.pkg-price {
  margin: 14px 0 20px;
}
.pkg-amount {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700; color: var(--gold);
}
.pkg-unit {
  font-size: .78rem; color: var(--gray); margin-left: 4px;
}
.pkg-card.highlight .pkg-unit { color: rgba(255,255,255,.45); }
.pkg-includes {
  margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 0;
}
.pkg-includes li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .85rem; color: var(--gray);
  padding: 7px 0;
  border-bottom: 1px solid var(--light-gray);
}
.pkg-card.highlight .pkg-includes li {
  color: rgba(255,255,255,.65);
  border-color: rgba(255,255,255,.1);
}
.pkg-includes li:last-child { border-bottom: none; }
.pkg-includes li::before {
  content: '✓'; color: var(--gold);
  font-weight: 700; flex-shrink: 0; margin-top: 1px;
}

/* ────────────────────────────────────────
   FACILITIES
──────────────────────────────────────── */
.facilities-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.facility-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16/9;
}
.facility-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.facility-card:hover img { transform: scale(1.06); }
.facility-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,16,8,.78) 40%, transparent);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 24px;
}
.facility-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; color: var(--white); margin-bottom: 4px;
}
.facility-overlay p { font-size: .82rem; color: rgba(255,255,255,.7); }
.facility-price {
  display: inline-block; margin-top: 8px;
  background: var(--gold); color: var(--dark);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 2px;
}

/* ────────────────────────────────────────
   GALLERY
──────────────────────────────────────── */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
}
.g-item {
  overflow: hidden; cursor: pointer;
  border-radius: var(--radius); position: relative;
}
.g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(5) { grid-column: span 2; }
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.g-item:hover img { transform: scale(1.07); }
.g-overlay {
  position: absolute; inset: 0;
  background: rgba(28,16,8,0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.g-item:hover .g-overlay { background: rgba(28,16,8,.45); }
.g-zoom {
  color: var(--white); font-size: 1.6rem;
  opacity: 0; transform: scale(.7);
  transition: all var(--transition);
}
.g-item:hover .g-zoom { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.93);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; border-radius: 2px; }
.lb-close {
  position: absolute; top: 20px; right: 28px;
  color: var(--white); font-size: 2rem;
  cursor: pointer; background: none; border: none;
  line-height: 1; opacity: .7;
}
.lb-close:hover { opacity: 1; }

/* ────────────────────────────────────────
   CONTACT
──────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 72px; align-items: start;
}
.contact-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px 36px; color: var(--white);
}
.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.7rem; margin-bottom: 8px; color: var(--white);
}
.contact-card > p { font-size: .9rem; color: rgba(255,255,255,.55); margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.c-item { display: flex; gap: 14px; align-items: flex-start; }
.c-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid rgba(184,134,11,.4);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; border-radius: var(--radius);
}
.c-text strong {
  display: block; font-size: .73rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 2px;
}
.c-text a, .c-text span { font-size: .9rem; color: rgba(255,255,255,.85); }
.c-text a:hover { color: var(--gold-light); }

.form-wrap {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 44px 36px;
  box-shadow: var(--shadow);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem; margin-bottom: 24px;
}
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--charcoal); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  font-family: var(--font-body); font-size: .9rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--charcoal); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,.1);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 14px; }
.success-box {
  display: none; text-align: center; padding: 28px;
}
.success-box .check-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #e8f5e9; color: #2e7d32; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.success-box h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 6px; }
.success-box p { font-size: .88rem; color: var(--gray); }

/* ────────────────────────────────────────
   TESTIMONIALS
──────────────────────────────────────── */
.testimonials-bg {
  background: var(--off-white);
}
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: var(--radius); padding: 28px;
}
.testi-stars { color: var(--gold); letter-spacing: 2px; font-size: .82rem; margin-bottom: 12px; }
.testi-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; color: var(--charcoal);
  line-height: 1.7; margin-bottom: 18px;
}
.testi-author { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* ────────────────────────────────────────
   FOOTER
──────────────────────────────────────── */
.footer { background: var(--dark); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 44px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand-logo {
  height: 48px; width: auto;
  border-radius: 4px;
  background: var(--white);
  padding: 4px 10px;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: .84rem; color: rgba(255,255,255,.42);
  line-height: 1.72; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); font-size: .82rem;
  transition: all var(--transition);
}
.social-btn:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer-col h4 {
  font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--white); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: .84rem; color: rgba(255,255,255,.42); }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 18px 0; display: flex;
  align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: .76rem; color: rgba(255,255,255,.27); }

/* WhatsApp */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem;
  box-shadow: 0 4px 18px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(37,211,102,.55);
}

/* ────────────────────────────────────────
   ANIMATIONS
──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
/* ────────────────────────────────────────
   RESPONSIVE — TABLET  (≤ 1024px)
──────────────────────────────────────── */
@media (max-width: 1024px) {
  .rooms-grid          { grid-template-columns: repeat(2, 1fr); }
  .packages-grid       { grid-template-columns: 1fr 1fr; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 36px; }
  .facts-strip .container { grid-template-columns: repeat(2, 1fr); }
  .fact-item:nth-child(2) { border-right: none; }
  .about-grid          { gap: 48px; }
  .testi-grid          { grid-template-columns: 1fr 1fr; }
}

/* ────────────────────────────────────────
   RESPONSIVE — MOBILE  (≤ 768px)
──────────────────────────────────────── */
@media (max-width: 768px) {

  /* General spacing */
  .section    { padding: 56px 0; }
  .section-sm { padding: 44px 0; }
  .container  { width: 92%; }

  /* ── Navbar ── */
  .navbar { padding: 14px 0; }
  .navbar.scrolled { padding: 10px 0; }

  .brand-logo   { height: 36px; }
  .brand-name   { font-size: 1.15rem; }
  .brand-sub    { font-size: .52rem; }

  .nav-links    { display: none; }
  .hamburger    { display: flex; }

  /* Full-screen mobile menu */
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: var(--dark);
    align-items: center; justify-content: center;
    gap: 32px; z-index: 1999;
    padding: 40px 24px;
  }
  .nav-links.open a {
    font-size: 1.1rem; letter-spacing: .12em;
    color: rgba(255,255,255,.85);
    padding: 6px 0;
  }
  .nav-links.open a:hover,
  .nav-links.open a.active { color: var(--gold-light); }
  /* Hide the Book Now btn link underline in mobile menu */
  .nav-links.open .btn {
    margin-top: 8px; width: 220px;
    justify-content: center; text-align: center;
    padding: 14px 28px; font-size: .8rem;
  }

  /* Hamburger → X animation */
  .hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* ── Hero ── */
  .hero { height: 100svh; min-height: 580px; }
  .hero-content { max-width: 100%; }
  .hero-badge   { font-size: .64rem; padding: 5px 12px; }
  .hero-tagline { font-size: .82rem; }
  .hero-title   { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 16px; }
  .hero-desc    { font-size: .9rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-dots    { bottom: 24px; }

  /* ── Facts strip ── */
  .facts-strip .container { grid-template-columns: 1fr 1fr; gap: 2px; }
  .fact-item { padding: 20px 16px; }
  .fact-item:nth-child(2) { border-right: 1px solid rgba(255,255,255,.06); }
  .fact-item:nth-child(4) { border-right: none; }
  .fact-icon { width: 36px; height: 36px; font-size: 1rem; }
  .fact-text strong { font-size: .75rem; }
  .fact-text span   { font-size: .7rem; }

  /* ── Page hero ── */
  .page-hero { height: 260px; }
  .page-hero-content h1 { font-size: clamp(1.7rem, 6vw, 2.6rem); }
  .page-hero-content { padding-bottom: 36px; }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-accent {
    width: 38%; bottom: -16px; right: -12px;
    border-width: 3px;
  }
  .about-badge-box { left: -12px; padding: 12px 14px; }
  .about-badge-box .num { font-size: 1.6rem; }

  /* ── Rooms ── */
  .rooms-grid { grid-template-columns: 1fr; gap: 20px; }
  .room-img   { height: 200px; }

  /* ── Packages ── */
  .packages-grid { grid-template-columns: 1fr; gap: 20px; }
  .pkg-card      { padding: 28px 22px; }

  /* ── Facilities ── */
  .facilities-grid { grid-template-columns: 1fr; gap: 16px; }
  .facility-card   { aspect-ratio: 16/9; }

  /* ── Gallery ── */
  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 8px;
  }
  .g-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .g-item:nth-child(5) { grid-column: span 2; }

  /* ── Testimonials ── */
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-card { padding: 28px 22px; }
  .form-wrap    { padding: 28px 20px; }
  .form-row     { grid-template-columns: 1fr; gap: 0; }

  /* ── Footer ── */
  .footer { padding: 48px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px; padding-bottom: 36px;
  }
  .footer-brand-logo { height: 40px; }
  .footer-bottom {
    flex-direction: column; gap: 4px;
    text-align: center; padding: 16px 0;
  }

  /* ── WhatsApp float ── */
  .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.4rem; }

  /* ── Section headings ── */
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

/* ────────────────────────────────────────
   RESPONSIVE — SMALL PHONE  (≤ 480px)
──────────────────────────────────────── */
@media (max-width: 480px) {

  .container { width: 94%; }

  /* Navbar: hide brand text on very small screens, show logo only */
  .brand-sub  { display: none; }
  .brand-name { font-size: 1rem; }
  .brand-logo { height: 32px; }

  /* Hero */
  .hero-title   { font-size: 1.95rem; }
  .hero-tagline { font-size: .78rem; }
  .hero-desc    { font-size: .86rem; }

  /* Facts: single column */
  .facts-strip .container {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .fact-item { border-right: none !important; }

  /* Rooms: ensure single col */
  .rooms-grid { grid-template-columns: 1fr; }

  /* Packages */
  .packages-grid { grid-template-columns: 1fr; }

  /* Gallery: single column */
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .g-item:nth-child(1),
  .g-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }

  /* About accent image hidden on tiny screens */
  .about-img-accent { display: none; }
  .about-badge-box  { left: 0; top: 16px; }

  /* Testi */
  .testi-grid { grid-template-columns: 1fr; }

  /* CTA buttons full width */
  .section-sm .btn { width: 100%; justify-content: center; }

  /* Form */
  .form-wrap  { padding: 22px 16px; }
  .contact-card { padding: 24px 18px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }

  /* Package card price */
  .pkg-amount { font-size: 1.6rem; }

  /* Room price */
  .room-price { font-size: 1.4rem; }
}
