:root {
  --bg-page: #faf8f4;
  --bg-surface: #ffffff;
  --bg-warm: #f2ede4;
  --forest-dark: #1d3529;
  --forest-mid: #2f5241;
  --terracotta: #b4532a;
  --terracotta-dark: #8f3e1c;
  --crimson-glass: rgba(68, 14, 18, 0.82);
  --crimson-border: rgba(255, 200, 200, 0.28);
  --text-main: #222624;
  --text-muted: #5c6660;
  --border: #e3ddd2;
  --radius: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.top-ticker {
  width: 100%;
  overflow: hidden;
  background-color: #143628;
  color: #f4f1ea;
  font-size: 12px;
  letter-spacing: 0.4px;
  padding: 6px 0;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scrollTicker 22s linear infinite;
}

.top-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
}

.ticker-group span {
  padding-right: 80px;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
  text-align: center;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 70px;
  gap: 0.75rem;
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.yhn-logo {
  max-height: 36px;
}

.nav-center-logo {
  justify-self: center;
  display: flex;
  align-items: center;
}

.yhn-logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-toggle-check,
.menu-toggle {
  display: none;
}

.nav-menu {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--terracotta);
}

.btn-nav {
  background: var(--forest-mid);
  color: #ffffff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
}

/* Enquiry Bar (4 items: Villa, Date, Guests, Submit) */

.enquiry-bar {
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 1rem;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr auto;
  gap: 0.75rem;
  align-items: end;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  scroll-margin-top: 90px;
}
@media (max-width: 640px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
  }

  .site-logo {
    height: 36px;
  }

  .yhn-logo {
    height: 26px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
    user-select: none;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
    padding: 0.75rem 1.25rem 1rem;
    border: none;
    box-shadow: none;
    z-index: 55;
  }

  .nav-toggle-check:checked ~ .nav-menu {
    display: flex;
  }

  .nav-menu a,
  .nav-menu .btn-nav {
    background: none !important;
    color: var(--text-main) !important;
    padding: 0.2rem 0 !important;
    border-radius: 0 !important;
    font-size: 0.92rem;
    font-weight: 500;
  }

  .nav-menu a:hover,
  .nav-menu .btn-nav:hover {
    color: var(--terracotta) !important;
  }

  .enquiry-bar {
    grid-template-columns: 1fr;
  }
}

.hero {
  position: relative;
  min-height: 460px;
  padding: 2.25rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image:
    linear-gradient(
      90deg,
      rgba(12, 24, 17, 0.72) 0%,
      rgba(12, 24, 17, 0.45) 55%,
      rgba(12, 24, 17, 0.22) 100%
    ),
    url("../asserts/yeoorroad.jpeg");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hero-content h1 {
  color: #7ee8a2 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.hero-copy {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  box-shadow: none;
}

.hero-copy h1 {
  color: #ffffff !important;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.2;
  margin: 0 auto 0.45rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.hero-sub {
  max-width: 62ch;
  margin: 0 auto;
  color: #f4f7f5 !important;
  font-size: 1rem;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* Enquiry Bar */
.enquiry-bar {
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 1rem;
  border-radius: var(--radius);
  display: grid;
  gap: 0.75rem;
  align-items: end;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.field select,
.field input {
  width: 100%;
  padding: 0.62rem 0.7rem;
  border: 1px solid #cfd6d1;
  border-radius: 6px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text-main);
}

.btn-primary {
  background: var(--terracotta);
  color: #ffffff;
  border: none;
  padding: 0.72rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--terracotta-dark);
}

/* Sections */
.section {
  padding: 4.2rem 0;
}

.story-section .section-label {
  color: var(--forest-mid);
  font-size: 0.85rem;
  letter-spacing: 0.11em;
}

.story-section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-dark);
  margin-bottom: 0.85rem;
}

.body-copy {
  color: var(--text-muted);
}

.section-head {
  margin-bottom: 2.2rem;
}

.section-head h2,
.experience-section h2,
.perks-box h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  color: var(--forest-dark);
}

.section-desc {
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Villa Cards */
/* Villa Cards */
.villa-reel-grid,
.villa-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.villa-photo-grid {
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .villa-reel-grid,
  .villa-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .villa-reel-grid,
  .villa-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* Row 1: Vertical Video Walkthrough Card */
.villa-reel-card {
  border-radius: var(--radius, 10px);
  overflow: hidden;
  background: var(--forest-dark, #1d3529);
  border: 1px solid var(--border, #e3ddd2);
  height: 100%;
}

.villa-reel-media {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.villa-reel-video,
.villa-reel-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.villa-reel-poster {
  z-index: 1;
  transition: opacity 0.2s ease;
}

.villa-play-btn,
.villa-pause-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 28, 22, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* Before playing: show poster + play button, hide pause button */
.villa-reel-media:not(.is-playing) .villa-pause-btn {
  display: none;
}

/* While playing: hide poster, show overlapping pause button */
.villa-reel-media.is-playing .villa-reel-poster,
.villa-reel-media.is-playing .villa-play-btn {
  display: none;
}

.villa-reel-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(15, 22, 17, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.villa-reel-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.villa-reel-rate {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.villa-reel-code {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.villa-reel-explore {
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--forest-mid, #2f5241);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Row 2: Photo Card Below */
.villa-photo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.villa-photo-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-warm);
}

.villa-photo-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.villa-photo-footer {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
  gap: 10px;
}

.villa-photo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.villa-photo-rate {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--forest-dark);
}

.villa-photo-code {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.villa-photo-explore {
  display: block;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--forest-mid);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.villa-photo-explore:hover {
  background: var(--forest-dark);
}

.villas-more-bar {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.villas-more-text {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--forest-dark);
  background-color: var(--bg-warm);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
}

.villas-more-btn {
  display: inline-block;
  text-decoration: none;
}

/* Villa Cards */
.villas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.villa-card {
  display: inline-block;
  max-width: 100%;
}

.villa-image {
  display: block;
  width: 100%;
  height: auto;
}

.result-promo.deal {
  display: block;
  padding: 8px 12px;
  background-color: #fff8e7;
  border: 1.5px solid #e09f1f;
  border-top: 2px solid #e09f1f;
  border-radius: 0 0 8px 8px;
  color: #2b2108;
  font-weight: 600;
  text-align: center;
}

/* Compact Carousel */
.villa-carousel {
  position: relative;
  overflow: hidden;
  height: 145px;
  background: var(--bg-warm);
}

.villa-slides {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.villa-slides::-webkit-scrollbar {
  display: none;
}

.villa-slides .villa-img {
  flex: 0 0 100%;
  width: 100%;
  height: 145px;
  max-height: 145px;
  object-fit: cover;
  object-position: center;
  scroll-snap-align: start;
  display: block;
}

.villa-carousel .slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(20, 54, 40, 0.8);
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.villa-carousel .slide-arrow.prev {
  left: 6px;
}

.villa-carousel .slide-arrow.next {
  right: 6px;
}

.villa-carousel:hover .slide-arrow,
.villa-carousel:focus-within .slide-arrow {
  opacity: 1;
  pointer-events: auto;
}

.villa-carousel .slide-arrow:hover {
  background: rgba(20, 54, 40, 0.96);
}

.villa-carousel .slide-dots {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 5px;
}

.villa-carousel .slide-dots a {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  display: block;
  text-decoration: none;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.villa-carousel .slide-dots a.active {
  width: 14px;
  background: #ffffff;
}

/* Compact Card Body */
.villa-body {
  padding: 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.villa-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
}

.villa-title {
  font-size: 0.98rem;
  line-height: 1.25;
  color: var(--forest-dark);
}

.villa-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: #e9f2ec;
  color: var(--forest-mid);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}

.villa-summary {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.villa-card-tabs {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tab-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  margin: 0;
}

.card-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.tab-btn {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
}

.villa-card-tabs .tab-panel {
  display: none;
  margin-bottom: 12px;
}

.villa-card-tabs:has(#r07-tab-info:checked) label[for="r07-tab-info"],
.villa-card-tabs:has(#r07-tab-tariff:checked) label[for="r07-tab-tariff"] {
  background-color: #222;
  color: #fff;
  border-color: #222;
}

.villa-card-tabs:has(#r07-tab-info:checked) .panel-info,
.villa-card-tabs:has(#r07-tab-tariff:checked) .panel-tariff {
  display: block;
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
  color: var(--text-main);
}

.tariff-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  border-bottom: 1px dashed var(--border);
}

.tariff-row:last-child {
  border-bottom: none;
}

.card-actions {
  margin-top: auto;
  padding-top: 0.5rem;
}

.btn-outline-wa {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--forest-mid);
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.82rem;
}

.btn-outline-wa:hover {
  background: var(--forest-dark);
}

.villas-more-bar {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.villas-more-text {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--forest-dark);
  background-color: var(--bg-warm);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
}

.villas-more-btn {
  display: inline-block;
  text-decoration: none;
}
/* Experience & Perks */
.experience-section {
  background: var(--bg-warm);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.exp-card {
  background: var(--bg-surface);
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.exp-card h3 {
  color: var(--forest-dark);
  margin-bottom: 0.4rem;
}

.exp-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.perks-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
  align-items: center;
}

.perks-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.exp-tab-panels {
  margin-top: 1.25rem;
}

.exp-tab-panels .tab-panel {
  display: none;
  min-height: auto;
}

.exp-tab-panels .tab-panel.active {
  display: block;
}

/* Footer & Floating Button */
.site-footer {
  background: var(--forest-dark);
  color: #e4ece6;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.site-footer p,
.site-footer a {
  color: #cdd8d0;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 1.2rem;
  font-size: 0.82rem;
  color: #9fb0a4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 120px; /* keeps links clear of the floating WhatsApp button */
}

.footer-legal-links a {
  color: #9fb0a4;
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-legal-links {
    padding-right: 0;
    padding-bottom: 56px;
  }
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: #1ea853;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.floating-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--forest-dark);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.floating-top:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 960px) {
  .enquiry-bar {
    grid-template-columns: 1fr 1fr;
  }

  .villas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .perks-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 460px;
    background-position: center;
  }
}

@media (max-width: 640px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
  }

  .nav-menu.open {
    display: flex;
  }

  .hero-copy {
    padding: 1.1rem 1.2rem;
    border-radius: 14px;
  }

  
  .villas-grid,
  .exp-grid {
    grid-template-columns: 1fr;
  }
}