@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  /* Colors */
  --color-primary: #102d01;
  --color-accent: #bf954a;
  --color-text-default: #1a1814;
  --color-text-inverse: #ffffff;
  --color-tag: #eef0ed;
  --color-border-default: #e8e0d5;
  --color-border-light: rgba(232, 224, 213, 0.2);

  /* Typography - Font Family */
  --font-family-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Typography - Mobile First (Default) */
  --font-size-display: 32px;
  --line-height-display: 38.4px;
  --letter-spacing-display: -0.5px;
  --font-weight-display: 700;

  --font-size-h1: 24px;
  --line-height-h1: 28.8px;
  --letter-spacing-h1: -0.5px;
  --font-weight-h1: 600;

  --font-size-h2: 20px;
  --line-height-h2: 24px;
  --letter-spacing-h2: 0px;
  --font-weight-h2: 600;

  --font-size-h3: 20px;
  --line-height-h3: 24px;
  --letter-spacing-h3: 0px;
  --font-weight-h3: 600;

  --font-size-body-large: 16px;
  --line-height-body-large: 25.6px;
  --letter-spacing-body-large: 0px;
  --font-weight-body-large: 400;

  --font-size-body-large-bold: 16px;
  --line-height-body-large-bold: normal;
  --letter-spacing-body-large-bold: 0px;
  --font-weight-body-large-bold: 600;

  --font-size-body: 14px;
  --line-height-body: 22.4px;
  --letter-spacing-body: 0.2px;
  --font-weight-body: 400;

  --font-size-small: 12px;
  --line-height-small: 19.2px;
  --letter-spacing-small: 0.3px;
  --font-weight-small: 400;

  --font-size-overline: 12px;
  --line-height-overline: 19.2px;
  --letter-spacing-overline: 0.5px;
  --font-weight-overline: 600;
}

/* Typography - Desktop Responsive Overrides */
@media (min-width: 1024px) {
  :root {
    --font-size-display: 48px;
    --line-height-display: 57.6px;
    --letter-spacing-display: -1px;

    --font-size-h1: 32px;
    --line-height-h1: 38.4px;

    --font-size-h2: 24px;
    --line-height-h2: 28.8px;
  }
}

/* Base resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-inter);
  background-color: #faf9f6; /* Elegant off-white page background */
  color: var(--color-text-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

/* Page container — full-width on desktop, backgrounds bleed edge-to-edge */
.page-container {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* Typography Utility Classes */
.text-display {
  font-family: var(--font-family-inter);
  font-size: var(--font-size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--letter-spacing-display);
  font-weight: var(--font-weight-display);
}

.text-h1 {
  font-family: var(--font-family-inter);
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  letter-spacing: var(--letter-spacing-h1);
  font-weight: var(--font-weight-h1);
}

.text-h2 {
  font-family: var(--font-family-inter);
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  letter-spacing: var(--letter-spacing-h2);
  font-weight: var(--font-weight-h2);
}

.text-h3 {
  font-family: var(--font-family-inter);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  letter-spacing: var(--letter-spacing-h3);
  font-weight: var(--font-weight-h3);
}

.text-body-large {
  font-family: var(--font-family-inter);
  font-size: var(--font-size-body-large);
  line-height: var(--line-height-body-large);
  letter-spacing: var(--letter-spacing-body-large);
  font-weight: var(--font-weight-body-large);
}

.text-body-large-bold {
  font-family: var(--font-family-inter);
  font-size: var(--font-size-body-large-bold);
  line-height: var(--line-height-body-large-bold);
  letter-spacing: var(--letter-spacing-body-large-bold);
  font-weight: var(--font-weight-body-large-bold);
}

.text-body {
  font-family: var(--font-family-inter);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  font-weight: var(--font-weight-body);
}

.text-small {
  font-family: var(--font-family-inter);
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  letter-spacing: var(--letter-spacing-small);
  font-weight: var(--font-weight-small);
}

.text-overline {
  font-family: var(--font-family-inter);
  font-size: var(--font-size-overline);
  line-height: var(--line-height-overline);
  letter-spacing: var(--letter-spacing-overline);
  font-weight: var(--font-weight-overline);
  text-transform: uppercase; /* Standard practice for overlines */
}

/* Color Utility Classes */
.bg-primary { background-color: var(--color-primary); }
.bg-accent { background-color: var(--color-accent); }
.bg-tag { background-color: var(--color-tag); }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-default { color: var(--color-text-default); }
.text-inverse { color: var(--color-text-inverse); }

.border-default { border: 1px solid var(--color-border-default); }
.border-light { border: 1px solid var(--color-border-light); }

/* ==========================================================================
   BUTTONS COMPONENT
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  font-family: var(--font-family-inter);
  font-size: var(--font-size-body-large-bold);
  line-height: var(--line-height-body-large-bold);
  letter-spacing: var(--letter-spacing-body-large-bold);
  font-weight: var(--font-weight-body-large-bold);
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* 1 & 3: Filled Button (Primary bg, Accent text) */
.btn-filled {
  background-color: var(--color-primary);
  color: var(--color-accent);
  border: none;
}

/* Hover only on true pointer devices (mouse/trackpad) — not touch */
@media (hover: hover) {
  .btn-filled:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
  }
}

/* Tap feedback on touch devices — only fires on actual tap, not drag */
.btn-filled:active {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

/* 4: Outline Button (Stroke weight 2) */
.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

/* 5: Underline Button (No stroke, text with underline) */
.btn-underline {
  background-color: transparent;
  color: var(--color-primary);
  border: none;
  padding: 0;
  height: auto;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   HEADER COMPONENT
   ========================================================================== */
.header {
  width: 100%;
  background-color: var(--color-text-inverse);
  border-bottom: 1px solid var(--color-border-default);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Mobile-First Header Container (390px base) */
.header-container {
  margin: 0 auto;
  height: 80px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.logo-link {
  display: inline-block;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* Desktop navigation and CTA hidden by default on mobile */
.nav-menu {
  display: none;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-default);
}

.header-cta {
  display: none;
}

/* Hamburger toggle for mobile */
.menu-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.menu-toggle-img {
  width: 44px;
  height: 44px;
  display: block;
}

/* Responsive Overrides for Desktop (768px / 1440px viewport sizing) */
@media (min-width: 1024px) {
  .header-container {
    height: 88px;
    padding: 16px max(80px, calc((100% - 1280px) / 2));
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .logo-link {
    justify-self: start;
  }

  .logo-img {
    height: 56px;
  }

  .nav-menu {
    display: flex;
    gap: 56px;
    justify-content: center;
  }

  .header-cta {
    display: block;
    justify-self: end;
  }

  .menu-toggle {
    display: none;
  }
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 24, 20, 0.4); /* Matches text default shade for harmony */
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%; /* Covers 3/4ths of the screen */
  height: 100%;
  background-color: var(--color-text-inverse);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.mobile-menu-drawer.is-active {
  transform: translateX(0);
}

.menu-close-container {
  display: flex;
  justify-content: flex-end;
}

.menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-default);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.menu-close:active {
  opacity: 0.5;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--color-text-default);
  font-size: var(--font-size-body-large-bold);
  line-height: var(--line-height-body-large-bold);
  font-weight: var(--font-weight-body-large-bold);
}

.mobile-menu-cta {
  margin-top: auto; /* Push CTA button to the bottom of the drawer */
  padding-bottom: 24px;
}

.mobile-menu-cta .btn {
  width: 100%;
  white-space: nowrap;
}

/* ==========================================================================
   HERO COMPONENT
   ========================================================================== */

/* Mobile Layout (390×560px) */
.hero {
  width: 100%;
  height: 560px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Card absolutely positioned in lower half, 24px from bottom */
.hero-card {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
  background-color: rgba(235, 227, 227, 0.3);
  backdrop-filter: blur(8px);
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: none;
}

.hero-headline {
  margin-bottom: 24px;
  color: var(--color-text-default);
  white-space: normal;
}

.desktop-only-br {
  display: none; /* Hide forced line break on mobile to allow natural wrapping */
}

.hero-cta-container {
  margin-bottom: 12px;
  display: flex;
}

.hero-cta-container .btn {
  width: 100%;
}

.hero-subtext {
  color: var(--color-text-default);
}

/* Desktop Layout (min-width: 768px) — 1440×560px */
@media (min-width: 1024px) {
  .hero-card {
    position: absolute;
    left: max(80px, calc((100% - 1280px) / 2));
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(26, 24, 20, 0.1);
  }

  .hero-headline {
    margin-bottom: 32px;
  }

  .desktop-only-br {
    display: block; /* Show forced line break on desktop */
  }

  .hero-cta-container .btn {
    width: auto;
  }
}


/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-text {
  margin-bottom: 16px;
  color: var(--color-text-default);
  text-align: center;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.trust-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
}

/* Desktop Layout (min-width: 768px) */
@media (min-width: 1024px) {
  .trust-bar {
    margin-top: 56px;
  }

  .trust-text {
    margin-bottom: 24px;
  }

  .trust-logos {
    gap: 80px;
  }

  .trust-logo {
    height: 40px;
  }
}

/* ==========================================================================
   ROOMS SECTION
   ========================================================================== */
.rooms-section {
  margin-top: 40px;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}

.rooms-title {
  color: var(--color-text-default);
  margin: 0;
}


/* ==========================================================================
   ROOM CARDS
   ========================================================================== */
.rooms-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px; /* Space between title and cards */
}

.room-card {
  width: 100%;
  max-width: 410px;
  text-align: left;
  background-color: var(--color-text-inverse); /* default white bg usually */
  border-radius: 6px;
  overflow: hidden; /* clip image to border radius */
  box-shadow: 0 2px 8px rgba(26, 24, 20, 0.12);
}

.room-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.room-content {
  padding: 16px;
}

.room-title-card {
  margin: 0;
  color: var(--color-text-default);
}

.room-amenities {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amenity-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.amenity-item .text-body {
  color: var(--color-text-default);
}

.room-separator {
  margin: 16px 0 0 0;
  border: none;
  border-top: 1px solid var(--color-border-default);
}

.room-description {
  margin: 12px 0 0 0;
  color: var(--color-text-default);
}

.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0 0;
}

.room-tag {
  background-color: rgba(16, 45, 1, 0.07);
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--color-text-default);
}

/* Desktop Layout (min-width: 768px) */
@media (min-width: 1024px) {
  .rooms-section {
    margin-top: 80px;
    padding: 0 max(80px, calc((100% - 1280px) / 2));
  }

  .rooms-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .room-card {
    margin: 0 auto;
  }
  
  .room-img {
    height: 260px;
  }
}

.room-description {
  margin: 12px 0 0 0;
  color: var(--color-text-default);
}

.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px 0;
}

.room-tag {
  background-color: rgba(16, 45, 1, 0.07);
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--color-text-default);
}

/* ==========================================================================
   ROOMS ACTION BUTTON
   ========================================================================== */
.rooms-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;    /* Mobile: 32px gap from cards */
  margin-bottom: 32px; /* Mobile: 32px gap after button */
}

/* On mobile the button must NOT stretch — keep it intrinsic width */
.rooms-action .btn-outline {
  width: auto;
}

/* Desktop override */
@media (min-width: 1024px) {
  .rooms-action {
    margin-top: 48px;    /* Desktop: 48px gap from cards */
    margin-bottom: 48px; /* Desktop: 48px gap after button */
  }
}

/* Outline button hover state */
.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background-color: #ECEAE6;
  padding: 40px 16px 24px; /* Mobile: 40px top gap, 24px bottom gap */
  overflow: hidden; /* contain child margins so gap is also #ECEAE6 */
}

.testimonials-title {
  color: var(--color-text-default);
  text-align: center;
  margin-bottom: 32px; /* Mobile: 32px gap after title */
}

/* Desktop override */
@media (min-width: 1024px) {
  .testimonials-section {
    padding: 80px max(80px, calc((100% - 1280px) / 2)) 48px;
  }

  .testimonials-title {
    margin-bottom: 48px; /* Desktop: 48px gap after title */
  }
}

/* ==========================================================================
   TESTIMONIAL CARD
   ========================================================================== */
.testimonials-grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonials-wrapper {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 16px; /* Mobile overall padding */
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-width: 100%;
  scroll-snap-align: center;
}

/* Quote text — fluid on mobile, fixed 368x180 frame on desktop */
.testimonial-quote {
  color: var(--color-text-default);
  margin: 0;
  flex-grow: 1; /* Ensures quotes fill space so author info aligns at the bottom */
}

/* Separator */
.testimonial-separator {
  border: none;
  border-top: 1px solid var(--color-border-default);
  margin: 16px 0;
}

/* Author row */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name {
  color: var(--color-text-default);
}

.testimonial-rating {
  color: var(--color-text-default);
}

/* Mobile Page Controls */
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(16, 45, 1, 0.3); /* Primary color at 30% opacity */
  cursor: pointer;
}

.testimonial-dot.active {
  background-color: var(--color-primary);
}

/* Desktop card sizing */
@media (min-width: 1024px) {
  .testimonials-wrapper {
    padding: 40px;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    overflow-x: visible;
  }

  .testimonial-card {
    min-width: 0;
  }

  .testimonial-avatar {
    width: 48px;
    height: 48px;
  }

  .testimonial-controls {
    display: none;
  }
}

/* ==========================================================================
   STAY AT BKS SECTION
   ========================================================================== */
.stay-section {
  background-color: #ffffff;
  padding: 40px 16px 0; /* Mobile: 40px top gap, 16px sides, 0 bottom gap */
  overflow: hidden; /* Prevent margin collapse so gap remains white */
}

.stay-title {
  color: var(--color-text-default);
  text-align: center; /* Center the title for both versions */
  margin-bottom: 32px; /* Mobile: 32px gap after title */
}

/* Stay content flex container */
.stay-content {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Mobile: exactly 24px between collage and info */
}

/* Mobile layout for collage */
.stay-collage {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.collage-main-img {
  display: none; /* Hide main bathroom image on mobile */
}

.collage-side-imgs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.collage-side-imgs img:nth-child(2) {
  display: none; /* Hide bathroom amenities image on mobile */
}

.collage-sub-img {
  width: 100%;
  aspect-ratio: 358 / 238; /* Maintains the 358x238 proportion on mobile */
  object-fit: cover;
  border-radius: 8px;
}

/* Stay Info Amenities */
.stay-info {
  display: flex;
  flex-direction: column;
  padding: 0 12px; /* Indent content block further inwards on mobile */
}

.stay-info-title {
  color: var(--color-text-default);
  margin: 0 0 16px 0; /* 16px gap below title */
}

.stay-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stay-separator {
  border: none;
  border-top: 1px solid var(--color-border-default);
  margin-top: 16px;
}

.stay-popular {
  margin-top: 16px;
}

.amenity-category {
  margin-top: 16px;
}

.amenity-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px; /* Just in case they add more items later */
}

.amenities-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.amenities-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}



.stay-info-row {
  display: flex;
  flex-direction: column; /* Stack vertically on mobile */
  gap: 12px; /* Mobile gap */
}

.stay-info-item {
  display: flex;
  align-items: center;
  gap: 8px; /* 8px gap between icon and text */
}

.stay-info-item span {
  white-space: nowrap;
}

.stay-info-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.desktop-only-amenities {
  display: none; /* Hide entirely on mobile */
}

/* ==========================================================================
   DINE AT BKS SECTION
   ========================================================================== */
.dine-section {
  background-color: #ECEAE6;
  padding: 40px 16px 32px; /* Mobile: 40px top gap, 32px bottom gap */
  overflow: hidden;
}

.dine-title {
  color: var(--color-text-default);
  text-align: center;
  margin: 0 0 32px 0; /* Mobile: 32px gap after title */
}

.dine-content {
  display: flex;
  flex-direction: column;
  width: 100%; /* Stretch to fill section, matching testimonials card */
}

/* Desktop version hidden on mobile */
.dine-desktop-only {
  display: none;
}

/* Mobile card */
.dine-mobile-only {
  display: flex;
  justify-content: center;
}

.dine-mobile-card {
  width: 100%; /* Fill available width within section's 16px side padding */
  background-color: #ffffff;
  border-radius: 6px;
  padding: 16px 0; /* 16px top and bottom only */
  overflow: hidden; /* clip image to card edges */
}

.dine-mobile-text {
  padding: 0 16px; /* 16px left and right padding */
  margin: 0;
}

.dine-mobile-separator {
  border: none;
  border-top: 1px solid var(--color-border-default);
  margin: 16px 16px; /* 16px gap above and below, with side padding */
}

.dine-mobile-hours {
  padding: 0 16px;
  margin: 0 0 24px 0; /* 24px gap below before image */
}

.dine-mobile-img {
  width: 100%; /* Fill card width */
  height: auto;
  object-fit: cover;
  display: block;
}

.dine-collage {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Gap for mobile stacking just in case */
}

.dine-text-col {
  /* text column base styling if any */
}

.dine-img-col {
  display: flex;
  flex-direction: column;
  gap: 0; /* No gap between vertical images */
}

.dine-sub-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px; /* consistent slight rounding, can be removed if not wanted */
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-main {
  background-color: #ffffff;
  padding: 40px 16px 48px; /* Mobile: 40px top gap, 16px sides */
}

.contact-title {
  color: var(--color-text-default);
  margin-bottom: 32px;
  text-align: center;
}

.contact-subtitle {
  color: var(--color-text-default);
  text-align: left;
  padding: 0 16px;
  margin-bottom: 16px; /* 16px gap before form */
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px; /* 16px gap between fields */
  padding: 0 16px;
  margin-bottom: 32px; /* 32px gap before contact blocks */
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px; /* 8px gap between label and input */
}

.form-label {
  color: var(--color-text-default);
}

.text-asterisk {
  color: #9e0505;
}

.form-input {
  height: 44px;
  border: 2px solid var(--color-border-default);
  border-radius: 6px;
  padding: 0 16px;
  background-color: transparent;
  color: var(--color-text-default);
  outline: none;
  font-family: var(--font-family-inter);
  cursor: text;
  caret-color: var(--color-primary);
  user-select: text;
  -webkit-user-select: text;
}

.form-input:focus {
  border-color: var(--color-primary);
}

.form-input::placeholder {
  color: rgba(26, 24, 20, 0.4); /* Text/default with 40% opacity */
}

textarea.form-input {
  height: 120px;
  resize: vertical;
  padding-top: 10px;
  padding-bottom: 10px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
}

.form-error {
  color: #9e0505;
  margin: -4px 0 0 0; /* 8px gap from flex - 4px margin = 4px gap below input */
  display: none;
}

.form-input.has-error {
  border-color: #9e0505;
}

.form-input.has-error ~ .form-error {
  display: block;
}

/* Direct Contact Section */
.direct-contact-section {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.direct-contact-title {
  margin-bottom: 8px; /* 16px gap + 8px margin = 24px to next item */
}

.direct-contact-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.direct-contact-label {
  margin: 0;
}

.direct-contact-value {
  margin: 0;
  color: var(--color-text-default);
  text-decoration: none;
  font-style: normal;
}

/* Map Section */
.map-section {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-title {
  margin: 0;
}

.map-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 6px;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  display: block;
}

/* Desktop map — hidden on mobile */
.desktop-map-container {
  display: none;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10000;
  transition: bottom 0.3s ease-in-out;
  text-align: center;
  white-space: nowrap;
}

.toast.show {
  bottom: 24px;
}

.contact-content {
  display: flex;
  flex-direction: column;
}

.contact-block {
  padding: 24px 0;
}

.contact-block:first-child {
  padding-top: 0;
}

.contact-block-label {
  color: var(--color-text-default);
  margin-bottom: 8px;
}

.contact-link {
  color: var(--color-text-default);
  text-decoration: none;
  display: block;
}

.contact-link:hover {
  color: var(--color-accent);
}

.contact-link-email {
  word-break: break-all;
}

.contact-address {
  font-style: normal;
}

.contact-address-text {
  color: var(--color-text-default);
}

.contact-separator {
  border: none;
  border-top: 1px solid var(--color-border-default);
  margin: 0;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info-item {
  color: var(--color-text-default);
}

/* ==========================================================================
   ROOMS PAGE — HERO TITLE
   ========================================================================== */
.rooms-page-hero {
  background-color: #ffffff;
  padding: 40px 16px 0; /* Mobile: 40px top gap, 16px sides */
  text-align: center;
}

.rooms-page-title {
  color: var(--color-text-default);
  margin: 0;
}

/* ==========================================================================
   ROOM DETAIL SECTION
   ========================================================================== */
/* Mobile: 40px top gap for first room */
.room-detail-section {
  padding: 40px 16px 0; 
  text-align: center;
}

/* Mobile: 40px top gap for subsequent rooms */
.room-detail-section.subsequent-room {
  padding-top: 40px;
}

#rooms-main {
  background-color: #ffffff;
  padding-bottom: 32px; /* Mobile: 32px gap after the rooms content */
}

.room-detail-title {
  color: var(--color-text-default);
  margin-bottom: 32px;
}

/* ==========================================================================
   ROOM GALLERY
   ========================================================================== */
.room-gallery-container {
  position: relative;
  width: 100%;
}

.room-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  scroll-behavior: smooth;
}

.room-gallery::-webkit-scrollbar {
  display: none;
}

.room-gallery-img {
  height: 360px;
  width: 358px;
  object-fit: cover;
  flex-shrink: 0;
  scroll-snap-align: center;
  border-radius: 6px;
}

.room-gallery-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.room-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(16, 45, 1, 0.3); /* Primary color at 30% opacity */
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.room-gallery-dot.active {
  background-color: var(--color-primary);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-text-inverse);
  color: var(--color-text-default);
  border: 1px solid var(--color-border-default);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: none; /* Hidden on mobile */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.gallery-arrow:hover {
  background-color: var(--color-primary);
  color: var(--color-accent);
}

.gallery-prev {
  left: 16px;
}

.gallery-next {
  right: 16px;
}

/* ==========================================================================
   ROOM DETAILS COMPONENT
   ========================================================================== */
.room-details-container {
  display: flex;
  flex-direction: column; /* Stack on mobile */
  gap: 16px; /* Gap between the two main blocks on mobile */
  margin-top: 24px; /* 24px gap from image */
  padding: 0 16px; /* Additional 16px padding as requested */
}

.room-details {
  text-align: left; /* Reset from center-aligned parent */
  max-width: 628px;
  width: 100%;
}

.room-details-secondary {
  text-align: left;
  flex: 1;
}

.room-details-heading {
  color: var(--color-text-default);
  margin-bottom: 16px;
  margin-top: 0;
}

.room-details-heading-bold {
  color: var(--color-text-default);
  margin-bottom: 16px;
  margin-top: 0;
}

.room-details-separator {
  border: none;
  border-top: 1px solid var(--color-border-default);
  margin: 16px 0;
}

.room-details-list {
  display: flex;
  flex-direction: column; /* Stack rows vertically on mobile */
  gap: 12px; /* 12px gap between rows on mobile */
}

.amenity-mobile-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* Vertically align icons and text */
  gap: 16px; /* 16px gap between items in same row on mobile */
}

.room-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-detail-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.room-detail-item .text-body-large {
  color: var(--color-text-default);
}

/* ==========================================================================
   ABOUT BKS SECTION
   ========================================================================== */
.about-section {
  background-color: #ffffff;
  padding: 40px 16px 32px; /* Mobile: 40px top, 16px sides, 32px bottom */
  overflow: hidden;
}

.about-title {
  color: var(--color-text-default);
  text-align: center;
  margin: 0 0 32px 0; /* Mobile: 32px gap after title */
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Mobile: 24px gap between image and text */
  align-items: center;
}

.about-img {
  width: 100%;
  height: 298px; /* Fixed height for mobile */
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.about-text {
  padding: 0 16px; /* Additional 16px padding on mobile */
}

.about-text p {
  margin: 0;
}

/* ==========================================================================
   CONTACT / CTA SECTION
   ========================================================================== */
.cta-section {
  display: flex;
  justify-content: center;
  padding: 0 16px 16px; /* Mobile: 16px sides, 16px bottom white gap */
  background-color: #ffffff;
}

.cta-card {
  width: 100%; /* Fluid width on mobile */
  background-color: #ECEAE6;
  border-radius: 6px;
  padding: 40px 16px 24px; /* Mobile: 40px top, 16px sides, 24px bottom */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-text {
  color: var(--color-text-default);
  margin: 0 0 24px 0;
  text-align: center;
}

.cta-btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.cta-btn-primary {
  width: 100%; /* Stretch on mobile */
  margin-bottom: 24px; /* 24px gap between buttons on mobile */
}

.cta-btn-secondary {
  margin: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-primary);
  width: 100%;
  padding: 24px 16px; /* Mobile: 24px top/bottom, 16px left/right */
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
  align-self: flex-start; /* Prevent stretching in flex column */
  margin-bottom: 16px; /* Gap 16px after logo */
}

.footer-address {
  font-style: normal; /* Remove default italic from <address> */
}

.footer-text {
  color: var(--color-text-inverse);
}

.footer-gap-12 {
  margin-top: 12px; /* Gap 12px between contact items */
}

.footer-separator {
  border: none;
  border-top: 1px solid var(--color-border-light);
  margin: 24px 0; /* Gap 24px above and below separator */
}

.footer-section-title {
  color: var(--color-text-inverse);
  margin-bottom: 16px; /* Gap 16px after section title */
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-link {
  color: var(--color-text-inverse);
  text-decoration: none;
}

.footer-link.footer-gap-12 {
  margin-top: 12px;
}

.footer-info {
  display: flex;
  flex-direction: column;
}

.footer-copyright {
  color: var(--color-text-inverse);
}

.footer-mobile-content {
  display: flex;
  flex-direction: column;
}

.footer-desktop-content {
  display: none; /* Hidden on mobile */
}

.footer-address-desktop {
  font-style: normal;
}

.footer-gap-16 {
  margin-top: 16px; /* Gap 16px after section title in desktop columns */
}

.footer-logo-desktop {
  height: 48px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 16px;
}

.footer-col-contact,
.footer-col-links,
.footer-col-info {
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   AMENITIES BOTTOM SHEET (MOBILE)
   ========================================================================== */
.amenities-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  backdrop-filter: blur(4px); /* Blur the background a little bit */
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.amenities-overlay.active {
  opacity: 1;
  visibility: visible;
}

.amenities-bottom-sheet {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 75vh; /* 75% of screen height */
  background-color: var(--color-text-inverse);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  z-index: 1001; /* above overlay */
  transition: bottom 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.amenities-bottom-sheet.active {
  bottom: 0;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--color-border-default);
}

.sheet-header h3 {
  margin: 0;
}

.sheet-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px; /* enlarge click area */
  color: var(--color-text-default);
}

.sheet-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Desktop override */
@media (min-width: 1024px) {
  .stay-section {
    /* Adaptive centering: content stays ≤1280px on any screen ≥1440px */
    padding: 80px max(80px, calc((100% - 1280px) / 2)) 48px;
    margin: 0;
  }

  .stay-title {
    margin-bottom: 48px; /* Desktop: 48px gap after title */
  }

  .stay-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
  }

  .stay-info {
    flex: 1;
    padding: 0; /* Reset mobile indentation */
  }

  .stay-collage {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-bottom: 0; /* Reset mobile margin */
    justify-content: center;
    flex-shrink: 0;
  }

  .dine-section {
    padding: 80px max(80px, calc((100% - 1280px) / 2)) 48px;
  }

  .dine-title {
    margin-bottom: 48px; /* Desktop: 48px gap after title */
  }

  .dine-collage {
    flex-direction: row;
    align-items: center; /* Center text vertically to height of image */
    gap: 24px; /* Desktop: 24px gap between text and image */
    background-color: #ffffff;
    padding: 40px;
    border-radius: 6px;
    width: 100%; /* Stretch to full section width, matching testimonials */
  }

  .dine-text-col {
    flex: 1; /* Grow to fill remaining space after the image */
    text-align: left;
  }

  .dine-sub-img {
    width: 464px;
    height: 360px;
    border-radius: 0; /* Remove rounding for exact pixel matching unless specified */
  }

  .collage-main-img {
    display: block; /* Restore on desktop */
    width: 240px;
    height: 640px;
    object-fit: cover;
    border-radius: 6px; /* A slight rounding for better aesthetics, optional but standard */
  }

  .collage-side-imgs {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Desktop gap */
  }

  .collage-side-imgs img:nth-child(2) {
    display: block; /* Restore on desktop */
  }

  .collage-sub-img {
    width: 234px;
    height: 210px;
    aspect-ratio: auto; /* Reset mobile aspect ratio */
    object-fit: cover;
    border-radius: 6px;
  }

  .stay-info-row {
    flex-direction: row; /* Restore side-by-side on desktop */
    gap: 24px; /* Restore desktop gap */
  }

  .stay-popular .stay-info-row {
    gap: 40px; /* Restore desktop gap between columns in Most Popular */
  }

  .desktop-only-amenities {
    display: block;
  }

  .mobile-only-btn {
    display: none;
  }

  .amenities-overlay,
  .amenities-bottom-sheet {
    display: none !important; /* Never show the bottom sheet on desktop */
  }

  .dine-desktop-only {
    display: block;
  }

  .dine-mobile-only {
    display: none;
  }

  .contact-main {
    padding: 80px max(80px, calc((100% - 1280px) / 2)) 80px;
    display: grid;
    grid-template-columns: 608px 1fr;
    column-gap: 48px;
    align-items: start;
  }

  .contact-title {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 48px;
  }

  .direct-contact-section {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 2 / span 2;
    margin-top: 0;
    align-self: stretch; /* stretch to full height of first column */
  }

  .desktop-map-container {
    display: block;
    margin-top: 24px;
    flex: 1;
    width: 100%;
    min-height: 200px;
    border-radius: 6px;
    overflow: hidden;
  }

  .map-section {
    display: none;
  }

  .direct-contact-block {
    gap: 6px;
  }

  a.direct-contact-value {
    pointer-events: none;
    cursor: default;
  }

  .contact-subtitle {
    display: block;
    margin-bottom: 16px;
    padding: 0;
    width: 608px;
    grid-column: 1;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    width: 608px;
    margin: 0;
    padding: 0;
    gap: 16px;
    grid-column: 1;
  }

  .form-input {
    width: 608px;
    box-sizing: border-box;
  }

  .form-group {
    gap: 8px;
  }

  .form-group:last-of-type {
    margin-bottom: 8px; /* 24px gap to button = 8px + 16px gap from flex */
  }

  .form-submit-btn {
    width: max-content;
    align-self: center;
    padding-left: 32px;
    padding-right: 32px;
    margin-top: 0;
  }

  .rooms-page-hero {
    padding: 80px max(80px, calc((100% - 1280px) / 2)) 0;
  }

  .room-detail-section {
    padding: 48px max(80px, calc((100% - 1280px) / 2)) 0;
  }

  .room-detail-section.subsequent-room {
    padding-top: 80px; /* Desktop: 80px gap before subsequent room titles */
  }

  #rooms-main {
    padding-bottom: 80px; /* Desktop: 80px gap after the rooms content */
  }

  .room-detail-title {
    margin-bottom: 48px; /* Desktop: 48px gap after title */
  }

  .gallery-prev {
    left: 24px;
  }

  .gallery-next {
    right: 24px;
  }
  
  .gallery-arrow {
    display: flex; /* Show arrows on desktop */
  }

  .room-gallery-container {
    width: 100%;
    margin-left: 0;
  }
  
  .room-gallery-img {
    width: 358px;
    border-radius: 6px;
  }

  .room-gallery-controls {
    display: none; /* Hide dots on desktop */
  }

  .room-details-container {
    flex-direction: row; /* Side-by-side layout on desktop */
    gap: 24px;
    padding: 0; /* Remove the extra mobile padding */
  }

  .room-details-list {
    flex-direction: row; /* Horizontal on desktop */
    flex-wrap: wrap;
    gap: 48px; /* Desktop: 48px gap between details */
  }

  .amenity-mobile-row {
    display: contents; /* Un-group items so they join the main desktop row */
  }

  .room-details-secondary .room-details-list {
    gap: 16px; /* Reduced gap to fit all 4 items on a single line on laptops */
  }

  .about-section {
    padding: 80px max(80px, calc((100% - 1280px) / 2)) 80px;
  }

  .about-title {
    margin-bottom: 48px; /* Desktop: 48px gap after title */
  }

  .about-content {
    flex-direction: row;
    gap: 48px; /* Desktop: 48px gap between image and text */
    align-items: center; /* Horizontally center to the image */
  }

  .about-img {
    width: 252px;
    height: 210px;
    flex-shrink: 0;
  }

  .about-text {
    flex: 1; /* Allow text to fill the remaining space */
    padding: 0; /* Reset mobile padding */
  }

  .cta-section {
    padding: 0;
    background: linear-gradient(to bottom, #ffffff 50%, var(--color-primary) 50%);
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-bottom: 0;
  }

  .cta-card {
    width: 1040px;
    padding: 48px 80px 24px; /* Desktop: 48px top, 80px sides, 24px bottom */
  }

  .cta-text {
    margin-bottom: 32px; /* Desktop: 32px gap after text */
  }

  .cta-btn-container {
    flex-direction: column;
    gap: 16px; /* Desktop: 16px gap between buttons */
  }

  .cta-btn-primary {
    width: auto; /* Unstretched on desktop */
  }

  /* CTA card sits in front of the footer via z-index */
  .cta-section {
    position: relative;
    z-index: 2;
    padding-bottom: 0;
  }

  .cta-card {
    position: relative;
    z-index: 2;
  }

  /* Footer slides up by half the card height, appearing behind the card */
  .footer {
    position: relative;
    z-index: 1; /* Behind the CTA card */
    margin-top: -120px; /* Slide up behind the bottom half of the CTA card */
    padding-top: 216px; /* 120px (half card) + 96px content gap */
    padding-bottom: 24px;
    padding-left: max(80px, calc((100% - 1280px) / 2));
    padding-right: max(80px, calc((100% - 1280px) / 2));
  }

  /* Show desktop layout, hide mobile layout */
  .footer-mobile-content {
    display: none;
  }

  .footer-desktop-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Columns spread across available width */
  }

  .footer-col-contact {
    width: 358px;
    flex-shrink: 0;
  }

  .footer-col-links {
    width: 86px;
    flex-shrink: 0;
  }

  .footer-col-info {
    width: 285px;
    flex-shrink: 0;
  }

  .footer-copyright {
    text-align: center; /* Center copyright on desktop */
  }
}
