/* =========================================================
   Batur Cottage — styles.css
   Mobile-first, warm/local/trustworthy landing page
   ========================================================= */

:root {
  /* Dark volcanic / warm local palette */
  --bg: #1A120E;
  --bg-alt: #241812;
  --bg-card: #2B1E17;
  --text: #FFF4E8;
  --text-soft: #D9C8B7;
  --border: #4A3529;

  /* Accents */
  --accent: #E6A35B;
  --accent-dark: #F0BB7A;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --whatsapp-ink: #0B3B22;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-card: 0 12px 34px rgba(0, 0, 0, 0.28);
  --shadow-btn: 0 8px 18px rgba(37, 211, 102, 0.24);

  --container: 1180px;

  --font-head: 'Baloo 2', 'Quicksand', sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

@media (min-width: 860px) {
  body { font-size: 17px; }
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text);
}

h1 { font-size: clamp(2.125rem, 4.5vw + 1rem, 3.375rem); }
h2 { font-size: clamp(1.625rem, 2.5vw + 1rem, 2.375rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 14px; color: var(--text-soft); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 48px 0; }
@media (min-width: 860px) {
  section { padding: 72px 0; }
}
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-head { margin-bottom: 28px; }
.section-head p { max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 15px 24px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  min-height: 52px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  width: 100%;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--whatsapp);
  color: #06301B;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--whatsapp-dark); color: #06301B; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-dark); background: transparent; }

.btn-outline-accent {
  background: var(--bg-card);
  color: var(--accent-dark);
  border: 2px solid var(--accent);
}
.btn-outline-accent:hover { background: var(--accent); color: #fff; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .btn { width: auto; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 18, 14, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none !important;
}
.brand:hover { color: var(--text); }
.brand span { color: var(--accent); }

.main-nav {
  display: none;
  gap: 24px;
}
.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--accent); text-decoration: none; }

.header-cta { display: none; }

.header-cta-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #06301B;
  flex-shrink: 0;
}
.header-cta-mobile svg { width: 20px; height: 20px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 14px 20px;
  color: var(--text);
  font-weight: 600;
  border-top: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--accent); text-decoration: none; background: var(--bg-alt); }
.mobile-nav .mobile-nav-cta { padding: 16px 20px; }

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .header-cta-mobile { display: none; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 20px 0 8px;
}
@media (min-width: 860px) {
  .hero { padding: 36px 0 12px; }
}

.hero-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-media {
  height: clamp(360px, 55vh, 620px);
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-copy {
  padding: 26px 20px 30px;
}
.hero-copy h1 { color: var(--text); }
.hero-copy .lead { font-size: 1.05rem; color: var(--text-soft); }

.trust-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.trust-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.trust-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (min-width: 860px) {
  .hero-card { flex-direction: row; align-items: stretch; }
  .hero-media { flex: 1 1 46%; }
  .hero-copy {
    flex: 1 1 54%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 52px;
  }
  .trust-bullets { grid-template-columns: repeat(2, auto); }
}

/* ---------- Benefit cards ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 620px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .benefit-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 6px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Packages ---------- */
.package-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.package-card > img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.package-card .pkg-body { padding: 20px 22px; }

@media (min-width: 760px) {
  .package-card { flex-direction: row; align-items: stretch; }
  .package-card > img { width: 320px; height: 300px; flex: 0 0 320px; }
  .package-card .pkg-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 26px 30px; }
}

@media (max-width: 768px) {
  .hero-media { height: 420px; }
  .package-card > img { height: 240px; }
}

.pkg-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.pkg-top h3 { margin-bottom: 0; }

.price-tag {
  flex-shrink: 0;
  background: var(--bg-alt);
  color: var(--accent-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.pkg-includes {
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 12px 0 16px;
}
.pkg-includes strong { color: var(--text); }

.packages-note {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-soft);
  font-style: italic;
}

/* ---------- Transfers ---------- */
.transfer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 620px) {
  .transfer-grid { grid-template-columns: repeat(2, 1fr); }
}
.transfer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.transfer-card h3 { margin: 0; font-size: 1.02rem; }
.transfer-card .price-tag { }

/* ---------- About the stay ---------- */
.stay-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.stay-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-md);
}

.wifi-note {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  align-items: flex-start;
}
.wifi-note svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.wifi-note p { margin: 0; font-size: 0.92rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 620px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; display: block; }
.gallery-item .label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(20,15,10,0.62);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Why stay ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 620px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
.why-item { display: flex; gap: 14px; }
.why-item .num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.why-item h3 { margin-bottom: 4px; font-size: 1.02rem; }
.why-item p { margin: 0; font-size: 0.93rem; }



/* ---------- Guest reviews ---------- */
.guest-reviews {
  background: var(--bg);
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.review-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 12px;
}
.review-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.review-card p {
  margin-bottom: 14px;
  font-size: 0.94rem;
}
.review-card span {
  display: block;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
}
@media (min-width: 680px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .review-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Inquiry form ---------- */
.inquiry-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 14px 0 18px;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.faq-item.is-open .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 20px 18px; margin: 0; font-size: 0.94rem; }
.faq-item.is-open .faq-answer { max-height: 400px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
}
.final-cta h2, .final-cta p { color: var(--text); }
.final-cta p { color: var(--text-soft); max-width: 48ch; margin-left: auto; margin-right: auto; }
.final-cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 0 100px;
}
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.footer-brand span { color: var(--accent); }
.footer-meta p { margin: 0 0 4px; font-size: 0.92rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.footer-links a { font-weight: 600; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 16px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
.wa-float svg { width: 28px; height: 28px; color: #fff; }
.wa-float:hover { background: var(--whatsapp-dark); }

@media (min-width: 860px) {
  .wa-float { right: 24px; bottom: 24px; width: 48px; height: 48px; opacity: 0.9; }
  .wa-float svg { width: 24px; height: 24px; }
  .wa-float:hover { opacity: 1; }
}

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


/* ---------- Final responsive fixes added after image replacement ---------- */
html { scroll-padding-top: 76px; }
body { overflow-x: hidden; }

.hero-card,
.package-card,
.card,
.transfer-card,
.inquiry-wrap,
.faq-item,
.final-cta {
  max-width: 100%;
}

.hero-media img,
.package-card > img,
.stay-media img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-media {
  min-height: 340px;
  background: var(--bg-alt);
}

@media (min-width: 860px) {
  .hero-card { min-height: 520px; }
  .hero-media { height: auto; min-height: 520px; }
  .hero-copy { padding: 42px 48px; }
}

@media (max-width: 859px) {
  .hero { padding-top: 14px; }
  .hero-media { height: 360px; }
  .hero-copy { padding: 24px 18px 28px; }
  .hero-copy .lead { font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-media { height: 320px; }
  .trust-bullets { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (min-width: 900px) {
  .benefit-grid { align-items: stretch; }
  .card { padding: 24px; }
  .card h3 { font-size: 1.08rem; }
  .card p { font-size: 0.92rem; line-height: 1.55; }
}

.package-card > img {
  background: var(--bg-alt);
}

@media (min-width: 760px) {
  .package-card > img {
    width: min(38%, 380px);
    height: auto;
    min-height: 300px;
    flex: 0 0 min(38%, 380px);
  }
}

@media (max-width: 759px) {
  .package-card > img { height: 235px; }
  .pkg-top { flex-direction: column; align-items: flex-start; }
  .price-tag { align-self: flex-start; }
}

.stay-media img,
.gallery-item img {
  aspect-ratio: 4 / 3;
  height: auto;
}

@media (min-width: 860px) {
  .stay-media { grid-template-columns: 1.1fr .9fr; }
  .gallery-grid { gap: 14px; }
}

.wa-float { text-decoration: none !important; }
@media (min-width: 860px) {
  .wa-float { width: 48px; height: 48px; right: 22px; bottom: 22px; }
}

@media (max-width: 859px) {
  .main-nav { display: none; }
  .site-header .container { height: 58px; }
  .brand { font-size: 1.18rem; }
}

/* =========================================================
   Cross-device responsive polish
   Desktop / laptop / tablet / mobile refinements
   ========================================================= */

:root {
  --container: 1160px;
}

html {
  scroll-padding-top: 74px;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

.container {
  width: min(100%, var(--container));
  padding-left: clamp(16px, 3vw, 28px);
  padding-right: clamp(16px, 3vw, 28px);
}

section {
  padding-top: clamp(42px, 6vw, 76px);
  padding-bottom: clamp(42px, 6vw, 76px);
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.28rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.08rem, 1.2vw, 1.22rem);
}

p,
li {
  overflow-wrap: anywhere;
}

.btn {
  max-width: 100%;
  text-align: center;
}

/* Header: avoid crowding on small laptops/tablets */
.site-header .container {
  min-width: 0;
}

.brand {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 860px) and (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .header-cta {
    padding: 9px 14px !important;
    font-size: 0.95rem;
  }
}

/* Hero: balanced across desktop, laptop, tablet and phone */
.hero {
  padding-top: clamp(16px, 3vw, 34px);
  padding-bottom: 20px;
}

.hero-card {
  border-radius: clamp(18px, 2vw, 28px);
}

.hero-media {
  height: clamp(300px, 58vw, 440px);
}

.hero-media img {
  object-position: center center;
}

.hero-copy {
  padding: clamp(24px, 5vw, 48px);
}

.hero-copy .lead {
  max-width: 58ch;
}

.trust-bullets {
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .trust-bullets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .hero-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: clamp(500px, 58vh, 640px);
  }

  .hero-media {
    height: auto;
    min-height: 100%;
  }

  .hero-copy {
    justify-content: center;
  }
}

@media (min-width: 1280px) {
  .hero-copy {
    padding: 54px 58px;
  }
}

/* Landscape tablets / short laptop screens */
@media (min-width: 900px) and (max-height: 760px) {
  .hero-card {
    min-height: 460px;
  }

  .hero-copy {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}

/* Benefit cards: prevent narrow, over-tall columns */
.benefit-grid {
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card p {
  line-height: 1.55;
}

@media (min-width: 900px) and (max-width: 1140px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1141px) {
  .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Packages: stack on tablets, horizontal only when there is real width */
.package-card {
  min-width: 0;
}

.package-card > img {
  height: clamp(220px, 54vw, 320px);
  width: 100%;
  flex: none;
}

.package-card .pkg-body {
  min-width: 0;
}

.pkg-top {
  align-items: flex-start;
}

.price-tag {
  max-width: 100%;
  line-height: 1.15;
}

@media (min-width: 760px) and (max-width: 899px) {
  .package-card {
    flex-direction: column;
  }

  .package-card > img {
    width: 100%;
    height: 300px;
    flex-basis: auto;
  }
}

@media (min-width: 900px) {
  .package-card {
    flex-direction: row;
  }

  .package-card > img {
    width: clamp(300px, 36%, 420px);
    height: auto;
    min-height: 310px;
    flex: 0 0 clamp(300px, 36%, 420px);
  }

  .package-card .pkg-body {
    padding: clamp(24px, 3vw, 34px);
  }
}

@media (min-width: 1180px) {
  .package-card > img {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .package-card > img {
    height: 220px;
  }

  .pkg-body {
    padding: 18px 18px 20px !important;
  }

  .pkg-top {
    gap: 8px;
  }

  .pkg-includes {
    padding: 11px 12px;
  }
}

/* Transfers: avoid cramped price layouts */
.transfer-card {
  min-width: 0;
}

@media (max-width: 420px) {
  .transfer-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Stay and gallery images: consistent ratios everywhere */
.stay-media,
.gallery-grid {
  min-width: 0;
}

.stay-media img,
.gallery-item img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

@media (max-width: 520px) {
  .stay-media {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 521px) and (max-width: 859px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Inquiry and CTA: readable on wide screens */
.inquiry-wrap,
.final-cta {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .inquiry-wrap {
    padding: 34px 38px;
  }

  .final-cta {
    padding: 52px 42px;
  }
}

/* Floating WhatsApp: strong on mobile, subtle on desktop */
.wa-float {
  width: 58px;
  height: 58px;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
}

@media (min-width: 860px) {
  .wa-float {
    width: 48px;
    height: 48px;
    right: 24px;
    bottom: 24px;
  }
}

@media (min-width: 1440px) {
  .wa-float {
    right: calc((100vw - var(--container)) / 2 + 18px);
  }
}

/* Very small phones */
@media (max-width: 380px) {
  body {
    font-size: 15.5px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .header-cta-mobile,
  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-media {
    height: 280px;
  }

  .btn {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---------- Family-run local stay section ---------- */
.family-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.family-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.family-photo {
  min-height: 260px;
  max-height: 420px;
  overflow: hidden;
}

.family-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.family-copy {
  padding: clamp(22px, 4vw, 44px);
}

.family-copy p {
  max-width: 64ch;
}

.family-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.family-note strong {
  color: var(--text);
}

@media (min-width: 860px) {
  .family-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .family-photo {
    min-height: 420px;
    max-height: none;
  }

  .family-photo img {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .family-photo,
  .family-photo img {
    min-height: 240px;
  }
}


/* =========================================================
   Stay section alignment + form polish
   ========================================================= */

/* Keep the Stay block visually aligned with the image grid */
#stay .stay-media {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

#stay .section-head {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

#stay .section-head p {
  max-width: none;
}

@media (min-width: 900px) {
  #stay .section-head {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 14px 34px;
    align-items: start;
  }

  #stay .section-head h2 {
    grid-column: 1 / -1;
    max-width: 820px;
  }

  #stay .section-head p {
    margin-bottom: 0;
  }

  #stay .section-head p:nth-of-type(3) {
    grid-column: 1 / -1;
    max-width: 900px;
    margin-top: 4px;
  }

  #stay .wifi-note {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 899px) {
  #stay .section-head,
  #stay .stay-media,
  #stay .wifi-note {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Make the inquiry form clearly usable on Cloudflare Pages V1:
   the submit button opens WhatsApp using the values typed by the user. */
.inquiry-wrap {
  border: 1px solid var(--border);
}

#inquiry-form .btn-row {
  align-items: center;
}

#inquiry-form button[type="submit"] {
  cursor: pointer;
}

.form-note strong {
  color: var(--text);
}

@media (max-width: 560px) {
  #inquiry-form .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  #inquiry-form .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================================
   Stay showcase final layout
   - fixes the previous image-only block and aligns text + images
   ========================================================= */

.stay-showcase {
  padding-top: clamp(36px, 4vw, 58px);
  padding-bottom: clamp(42px, 5vw, 70px);
}

.stay-showcase-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.stay-copy {
  max-width: 680px;
}

.stay-copy h2 {
  max-width: 680px;
}

.stay-copy p {
  max-width: 66ch;
}

.stay-showcase .wifi-note {
  margin-top: 18px;
}

.stay-showcase .stay-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}

.stay-showcase .stay-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

@media (min-width: 760px) and (max-width: 1023px) {
  .stay-showcase .stay-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .stay-showcase-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .stay-showcase .stay-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: center;
  }

  .stay-showcase .stay-media img {
    aspect-ratio: 4 / 3;
  }

  .stay-copy {
    max-width: none;
  }
}

@media (max-width: 759px) {
  .stay-showcase .stay-media {
    order: -1;
  }

  .stay-copy {
    max-width: none;
  }
}


/* ---------- Language switch / automatic translation ---------- */
.lang-switch {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.06);
}

.lang-switch button,
.mobile-lang-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  cursor: pointer;
}

.lang-switch button {
  padding: 5px 8px;
  font-size: 0.82rem;
}

.lang-switch button:hover,
.mobile-lang-switch button:hover {
  background: var(--accent);
  color: #1A120E;
}

.mobile-lang-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

.mobile-lang-switch button {
  padding: 9px 8px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

@media (min-width: 860px) {
  .lang-switch { display: flex; }
}

#google_translate_element,
.goog-te-banner-frame,
.goog-te-gadget,
.skiptranslate iframe {
  display: none !important;
}

body { top: 0 !important; }

/* ---------- Dark theme refinements ---------- */
.card,
.package-card,
.family-card,
.review-card,
.contact-card,
.faq-item,
.hero-card,
.stay-media img,
.gallery-item,
.form-wrap,
.wifi-note,
.family-note {
  background-color: var(--bg-card);
  border-color: var(--border);
}

.package-card > img,
.gallery-item img,
.hero-media img,
.family-photo img,
.stay-media img {
  filter: saturate(1.05) contrast(1.03);
}

.hero-card {
  background: linear-gradient(135deg, rgba(43, 30, 23, 0.98), rgba(28, 19, 14, 0.98));
}

.hero-copy h1,
.stay-copy h2,
.family-copy h2,
.section-head h2,
.package-card h3,
.card h3,
.faq-question,
label {
  color: var(--text);
}

input,
select,
textarea {
  background: #1F1510;
  color: var(--text);
  border-color: var(--border);
}

input::placeholder,
textarea::placeholder { color: #A99685; }

.btn-secondary {
  background: rgba(255, 244, 232, 0.04);
}

.gallery-item .label {
  background: rgba(0, 0, 0, 0.62);
  color: #FFF4E8;
}


/* =========================================================
   Mobile + dark theme audit fixes
   ========================================================= */

:root {
  --bg: #160F0B;
  --bg-alt: #20150F;
  --bg-card: #2A1C14;
  --text: #FFF2E5;
  --text-soft: #DCC5AF;
  --border: #5A3B2A;
}

body {
  background: var(--bg);
  color: var(--text);
}

section {
  overflow-x: clip;
}

.section-alt {
  background: #1D130E;
}

.site-header {
  background: rgba(22, 15, 11, 0.96);
}

.card,
.package-card,
.family-card,
.review-card,
.faq-item,
.inquiry-wrap,
.wifi-note,
.family-note,
.transfer-card,
.final-cta {
  background: var(--bg-card);
  border-color: var(--border);
}

/* Hero: pool image first, readable on mobile */
.hero {
  padding-top: clamp(14px, 3vw, 32px);
}

.hero-card {
  background: linear-gradient(135deg, rgba(42, 28, 20, 0.98), rgba(24, 16, 11, 0.98));
  border-color: var(--border);
}

.hero-media {
  background: var(--bg-alt);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(1.04) contrast(1.03);
}

@media (max-width: 899px) {
  .hero-card {
    display: flex;
    flex-direction: column;
  }

  .hero-media {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
  }

  .hero-copy {
    padding: 22px 18px 26px;
  }

  .hero-copy h1 {
    font-size: clamp(1.92rem, 9vw, 2.45rem);
    line-height: 1.08;
  }

  .hero-copy .lead {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .trust-bullets {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (min-width: 900px) {
  .hero-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: clamp(520px, 60vh, 660px);
  }

  .hero-media {
    height: auto;
    min-height: 100%;
  }

  .hero-media img {
    object-position: center 58%;
  }
}

/* Family block: breakfast service photo */
.family-photo-service img {
  object-position: 30% center;
  filter: saturate(1.04) contrast(1.03);
}

@media (max-width: 640px) {
  .family-photo,
  .family-photo img {
    min-height: 245px;
  }

  .family-photo-service img {
    object-position: 34% center;
  }

  .family-copy {
    padding: 22px 18px 24px;
  }
}

/* Packages: equal visual rhythm on mobile */
.package-list {
  gap: 18px;
}

.package-card {
  overflow: hidden;
}

.package-card > img {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.03);
}

.package-card:nth-of-type(2) > img,
.package-card:nth-of-type(3) > img {
  object-position: center 62%;
}

.package-card:nth-of-type(4) > img {
  object-position: center 52%;
}

@media (max-width: 759px) {
  .package-card {
    flex-direction: column;
  }

  .package-card > img {
    width: 100%;
    height: 220px !important;
    min-height: 0 !important;
    flex: none;
  }

  .package-card .pkg-body {
    padding: 18px 18px 20px !important;
  }

  .pkg-top {
    flex-direction: column;
    gap: 8px;
  }

  .price-tag {
    align-self: flex-start;
  }

  .package-card .btn {
    width: 100%;
  }
}

@media (min-width: 760px) and (max-width: 899px) {
  .package-card {
    flex-direction: column;
  }

  .package-card > img {
    width: 100%;
    height: 300px !important;
    flex-basis: auto;
  }
}

@media (min-width: 900px) {
  .package-card {
    flex-direction: row;
    align-items: stretch;
  }

  .package-card > img {
    width: clamp(300px, 36%, 420px);
    height: auto !important;
    min-height: 310px;
    flex: 0 0 clamp(300px, 36%, 420px);
  }
}

/* Stay/gallery: avoid odd crops on narrow phones */
.stay-showcase .stay-media img,
.gallery-item img {
  object-position: center;
}

@media (max-width: 520px) {
  .stay-showcase .stay-media,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    aspect-ratio: 4 / 3;
  }
}

/* Forms and FAQ: keep contrast in dark mode */
.form-row input,
.form-row select,
.form-row textarea {
  background: #1B110C;
  color: var(--text);
  border-color: var(--border);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #A99481;
}

.faq-question {
  color: var(--text);
}

.faq-answer p {
  color: var(--text-soft);
}

/* Final CTA: fix the previous light/white contrast issue */
.final-cta {
  background: linear-gradient(135deg, rgba(42, 28, 20, 0.98), rgba(24, 16, 11, 0.98));
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  text-align: center;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta h2,
.final-cta p {
  color: var(--text);
}

.final-cta p {
  color: var(--text-soft);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .btn-row {
  justify-content: center;
}

.site-footer {
  background: var(--bg-alt);
  border-top-color: var(--border);
}

/* Floating WhatsApp: not too intrusive on mobile */
.wa-float {
  width: 54px;
  height: 54px;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
}

@media (min-width: 860px) {
  .wa-float {
    width: 48px;
    height: 48px;
  }
}

/* Mobile menu icon visibility fix */
.nav-toggle {
  color: var(--accent-dark);
  background: #2F2119;
  border-color: #6A4936;
}

.nav-toggle svg,
.nav-toggle svg line,
.nav-toggle svg path {
  color: var(--accent-dark);
  stroke: currentColor;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: #3A291F;
  border-color: var(--accent);
  outline: none;
}

/* Breakfast examples inside the stay package */
.pkg-breakfast-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
  margin: 14px 0 18px;
}

.pkg-breakfast-row .pkg-includes {
  margin: 0;
  height: 100%;
}

.pkg-breakfast-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pkg-breakfast-photos img {
  width: 100%;
  height: 100%;
  min-height: 112px;
  max-height: 138px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
}

/* Keep Ángel and Susana visible in the gallery crop */
.gallery-item img[src$="jeep-angel-susana.webp"] {
  object-position: center 42%;
}

@media (max-width: 1100px) {
  .pkg-breakfast-row {
    grid-template-columns: 1fr;
  }

  .pkg-breakfast-photos img {
    height: 150px;
    max-height: none;
  }
}

@media (max-width: 520px) {
  .pkg-breakfast-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pkg-breakfast-photos img {
    min-height: 100px;
    height: 112px;
    border-radius: 11px;
  }
}


/* Privacy consent and legal information */
.cookie-banner[hidden], .legal-modal[hidden], .legal-content[hidden] { display: none !important; }
.cookie-banner {
  position: fixed; z-index: 10020; left: 16px; right: 16px; bottom: 16px;
  max-width: 980px; margin: 0 auto; padding: 18px;
  background: #2f2119; color: var(--text); border: 1px solid #6a4936;
  border-radius: 18px; box-shadow: 0 18px 60px rgba(0,0,0,.42);
}
.cookie-banner__content { display: grid; grid-template-columns: 1fr auto; gap: 14px 22px; align-items: center; }
.cookie-banner strong { display: block; margin-bottom: 4px; font-size: 1.04rem; }
.cookie-banner p { margin: 0; color: var(--text-soft); max-width: 65ch; font-size: .92rem; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-banner__actions .btn { min-height: 44px; padding: 10px 16px; white-space: nowrap; }
.cookie-details { grid-column: 1 / -1; justify-self: start; border: 0; background: transparent; color: var(--accent); padding: 0; text-decoration: underline; cursor: pointer; }
.footer-legal { display: flex; gap: 9px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 18px 0 8px; font-size: .9rem; }
.footer-legal a, .footer-link-button { color: var(--text-soft); text-decoration: underline; }
.footer-link-button { border: 0; padding: 0; background: transparent; font: inherit; cursor: pointer; }
.legal-modal { position: fixed; inset: 0; z-index: 10030; display: grid; place-items: center; padding: 18px; }
.legal-modal__backdrop { position: absolute; inset: 0; background: rgba(10,6,4,.78); backdrop-filter: blur(4px); }
.legal-modal__panel { position: relative; width: min(760px, 100%); max-height: min(84vh, 850px); overflow: auto; background: #2f2119; border: 1px solid #6a4936; border-radius: 20px; padding: 28px; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.legal-modal__close { position: sticky; float: right; top: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #6a4936; background: #19100b; color: var(--text); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.legal-content h2 { margin-top: 0; padding-right: 52px; }
.legal-content h3 { margin-top: 24px; }
.legal-content p { color: var(--text-soft); }
.legal-content code { color: var(--accent); }
body.modal-open { overflow: hidden; }
@media (max-width: 720px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 15px; }
  .cookie-banner__content { grid-template-columns: 1fr; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1 1 150px; }
  .legal-modal { padding: 10px; }
  .legal-modal__panel { padding: 20px; max-height: 90vh; }
}


/* ---------- Pondok Bali Volcano / Booking trust update ---------- */
.brand {
  white-space: nowrap;
  font-size: 1.08rem;
}
.brand span { color: var(--accent); }

.hero-copy h1 .property-name {
  display: block;
  color: var(--text);
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.hero-copy h1 small {
  display: block;
  color: var(--text);
  font: inherit;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.booking-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 2px 0 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  text-decoration: none !important;
}
.booking-rating:hover { border-color: var(--accent); color: var(--text); }
.booking-rating-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 10px 10px 10px 2px;
  background: #003b95;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
}
.booking-rating strong,
.booking-rating small { display: block; }
.booking-rating small { margin-top: 3px; color: var(--text-soft); font-size: .8rem; }
.btn-booking {
  background: #003b95;
  color: #fff;
  border: 2px solid #003b95;
}
.btn-booking:hover { background: #002c70; border-color: #002c70; color: #fff; }
.booking-review-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
.booking-review-cta strong,
.booking-review-cta span { display: block; }
.booking-review-cta strong { font-family: var(--font-head); font-size: 1.08rem; }
.booking-review-cta span { margin-top: 5px; color: var(--text-soft); }
@media (min-width: 760px) {
  .booking-review-cta { flex-direction: row; align-items: center; }
}
@media (max-width: 1080px) {
  .main-nav { gap: 12px; }
  .brand { font-size: 1rem; }
}
