/* ============================================================
   เขาลมเย็น รีสอร์ท — Main Stylesheet
   Theme: Earth Tone Minimal — Warm White · Amber · Wood · Stone · Sage
   Inspired by the resort's actual palette:
     white plaster walls + ochre/amber panels + warm wood frames
     + natural stone + misty mountain green
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  /* Amber / Ochre — primary accent (from building panels) */
  --amber-deep:    #7A4A1E;
  --amber-main:    #B07535;
  --amber-mid:     #C4893F;
  --amber-light:   #D4A870;
  --amber-pale:    #ECD8B4;
  --amber-tint:    #FAF3E8;

  /* Wood brown — secondary (door frames, wood cladding) */
  --wood-dark:     #4A2C1A;
  --wood-main:     #7A3E2E;
  --wood-mid:      #9A5840;
  --wood-light:    #BF8060;

  /* Stone / Gravel — neutrals */
  --stone-dark:    #38342E;
  --stone-main:    #6A6460;
  --stone-mid:     #98948E;
  --stone-light:   #C8C4BC;
  --stone-pale:    #E8E4DC;

  /* Sage — nature touch (muted, not dominant) */
  --sage-deep:     #4A5A40;
  --sage-main:     #697D58;
  --sage-light:    #8EA07A;
  --sage-pale:     #D0DACC;
  --sage-tint:     #EDF1E8;

  /* Whites & creams */
  --cream:         #F7F2EA;
  --cream-dark:    #EDE6DA;
  --white:         #FFFFFF;
  --off-white:     #FAFAF6;

  /* Typography */
  --text-dark:     #1E1610;
  --text-main:     #3A2C1E;
  --text-mid:      #685848;
  --text-light:    #9A8878;

  /* Shadows — warm toned */
  --shadow-sm:     0 2px 8px rgba(74, 44, 20, 0.07);
  --shadow-md:     0 4px 20px rgba(74, 44, 20, 0.11);
  --shadow-lg:     0 8px 40px rgba(74, 44, 20, 0.16);
  --shadow-amber:  0 4px 20px rgba(176, 117, 53, 0.28);

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --transition:     0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Sarabun', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--off-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sarabun', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

a {
  color: var(--amber-main);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--amber-deep); }

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

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.mt-6 { margin-top: 5rem; }

.rounded-xl { border-radius: var(--radius-xl) !important; }

/* ===== TEXT UTILITIES ===== */
.text-amber  { color: var(--amber-main) !important; }
.text-green  { color: var(--sage-main) !important; }
.text-brown  { color: var(--wood-main) !important; }
.text-accent { color: var(--amber-mid) !important; }
.bg-cream    { background-color: var(--cream) !important; }
.bg-amber-tint { background-color: var(--amber-tint) !important; }

/* ===== NAVBAR ===== */
.navbar-custom {
  background: rgba(250, 250, 246, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stone-pale);
  padding: 0.8rem 0;
  transition: all var(--transition);
  box-shadow: none;
}

.navbar-custom.scrolled {
  background: rgba(250, 250, 246, 0.99);
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--amber-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.navbar-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-left: 0.5rem;
}
.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

.navbar-custom .nav-link {
  color: var(--text-mid) !important;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-size: 0.95rem;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--amber-deep) !important;
  background: var(--amber-tint);
}

.btn-booking {
  background: var(--amber-main);
  color: white !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.btn-booking:hover {
  background: var(--amber-deep);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-amber);
}

/* Hamburger */
.navbar-toggler {
  border: none;
  padding: 8px;
  background: none;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-icon {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  margin: 5px 0;
  border-radius: 1px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--stone-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg,
    rgba(30, 22, 14, 0.78) 0%,
    rgba(74, 44, 26, 0.62) 50%,
    rgba(90, 80, 60, 0.48) 100%);
  z-index: 1;
}
.hero-overlay, .hero-leaves { z-index: 2; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 10%, rgba(0,0,0,0.25) 100%);
}

/* Decorative leaves */
.hero-leaves { position: absolute; inset: 0; pointer-events: none; }
.leaf {
  position: absolute;
  animation: leafFloat 10s ease-in-out infinite;
  opacity: 0.12;
}
.leaf-1 { width: 380px; top: -80px; right: -60px; }
.leaf-2 { width: 280px; bottom: -40px; left: -50px; animation-delay: -5s; }

@keyframes leafFloat {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(6deg) scale(1.04); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0.35rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.hero-title-accent {
  color: var(--amber-pale);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--amber-main);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  transition: all var(--transition);
}
.btn-hero-primary:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: white;
}

.btn-hero-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  transition: all var(--transition);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-2px);
  color: white;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-arrow {
  margin-top: 8px;
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat-item {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* ===== ANIMATIONS ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION STYLES ===== */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-main);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.section-title em {
  font-style: italic;
  color: var(--amber-main);
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-body {
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.section-title-sm {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--amber-pale);
  display: inline-block;
}

/* Thin divider line for section separation */
.section-divider {
  width: 40px;
  height: 2px;
  background: var(--amber-main);
  margin: 1rem 0;
}
.section-divider.center { margin: 1rem auto; }

/* ===== ABOUT SECTION ===== */
.about-image-grid {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 480px;
}

.about-img { overflow: hidden; border-radius: var(--radius-md); }
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.about-img:hover img { transform: scale(1.04); }

.about-img-main { grid-row: 1 / 3; }
.about-img-side { grid-row: 2 / 3; }

.about-badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--amber-main);
  color: white;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  line-height: 1.35;
}

/* Feature Items */
.highlight-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--amber-tint);
  color: var(--amber-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.feature-item strong { color: var(--text-dark); display: block; margin-bottom: 2px; }
.feature-item p { margin: 0; font-size: 0.9rem; color: var(--text-mid); }

/* ===== BUTTONS ===== */
.btn-nature {
  background: var(--amber-main);
  color: white;
  padding: 0.65rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: none;
  transition: all var(--transition);
  display: inline-block;
}
.btn-nature:hover {
  background: var(--amber-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-amber);
  color: white;
}

.btn-nature-outline {
  background: transparent;
  color: var(--amber-main);
  border: 1.5px solid var(--amber-main);
  padding: 0.65rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition);
  display: inline-block;
}
.btn-nature-outline:hover {
  background: var(--amber-main);
  color: white;
  transform: translateY(-1px);
}

/* ===== ROOM CARDS ===== */
.room-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-pale);
  transition: all var(--transition);
  height: 100%;
}
.room-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber-pale);
}

.room-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.room-card:hover .room-card-img img { transform: scale(1.06); }

.room-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--amber-tint), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
}

.room-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(250,250,246,0.92);
  color: var(--amber-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.room-card-price {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(transparent, rgba(28,20,12,0.75));
  color: white;
  padding: 1.5rem 1rem 0.75rem;
  text-align: right;
}
.price-amount { font-size: 1.3rem; font-weight: 700; }
.price-unit { font-size: 0.78rem; opacity: 0.85; }

.room-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.room-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.room-card-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.65;
}

.room-card-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-mid);
}
.room-card-meta span i { color: var(--amber-mid); }

.room-card-amenities {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.amenity-tag {
  background: var(--cream);
  color: var(--text-mid);
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-pale);
}

.room-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.btn-room-detail {
  flex: 1;
  background: var(--cream);
  color: var(--text-main);
  border: 1px solid var(--stone-pale);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
}
.btn-room-detail:hover {
  background: var(--cream-dark);
  color: var(--text-dark);
}
.btn-room-book {
  flex: 1;
  background: var(--amber-main);
  color: white;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
}
.btn-room-book:hover { color: white; background: var(--amber-deep); }

/* ===== EXPERIENCE CARDS ===== */
.experience-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-pale);
  transition: all var(--transition);
  height: 100%;
}
.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber-pale);
}
.experience-icon {
  width: 60px;
  height: 60px;
  background: var(--amber-tint);
  color: var(--amber-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.experience-card h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.experience-card p {
  color: var(--text-mid);
  font-size: 0.88rem;
  margin: 0;
}

/* ===== GALLERY PREVIEW ===== */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 10px;
}
.gallery-preview-item:first-child {
  grid-row: span 2;
}

.gallery-preview-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.gallery-preview-item:hover img { transform: scale(1.06); }

.gallery-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(28,20,12,0.72));
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 1rem;
}
.gallery-preview-item:hover .gallery-preview-overlay { opacity: 1; }
.gallery-preview-overlay p { font-weight: 600; margin: 0.5rem 0 0; }

/* ===== QUOTE SECTION ===== */
.section-quote {
  background: var(--sage-deep);
}
.quote-box {
  max-width: 680px;
  margin: 0 auto;
}
.quote-leaf-top {
  color: var(--amber-pale);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}
.quote-text {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.85;
  border: none;
  padding: 0;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.quote-divider {
  width: 40px;
  height: 2px;
  background: var(--amber-main);
  margin: 1.5rem auto;
  border-radius: 1px;
}

/* ===== CTA SECTION ===== */
.bg-green-deep { background-color: var(--sage-deep); }

.cta-title {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.cta-subtitle { color: rgba(255,255,255,0.75); margin: 0; }

.btn-cta-phone {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all var(--transition);
}
.btn-cta-phone:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}
.btn-cta-book {
  background: var(--amber-pale);
  color: var(--amber-deep);
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: all var(--transition);
}
.btn-cta-book:hover {
  background: white;
  color: var(--amber-deep);
  transform: translateY(-1px);
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  padding-top: 76px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(28,20,12,0.82), rgba(74,44,26,0.68));
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-hero-title {
  color: white;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}
.page-hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 400;
}
.breadcrumb { margin-bottom: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.75); }
.breadcrumb-item a:hover { color: white; }
.breadcrumb-item.active { color: var(--amber-pale); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

.page-hero-sm {
  height: 100px;
  background: var(--cream);
  padding-top: 76px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--stone-pale);
}
.page-hero-sm .breadcrumb-item a { color: var(--text-mid); }

/* ===== INFO BAR ===== */
.info-bar {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-pale);
}
.info-bar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.info-bar-item i { font-size: 1.3rem; color: var(--amber-main); }
.info-bar-item small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.info-bar-item strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* ===== ROOM DETAIL CARD ===== */
.room-detail-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stone-pale);
  transition: all var(--transition);
}
.room-detail-card:hover { box-shadow: var(--shadow-lg); }

.room-detail-card.reverse .row { flex-direction: row-reverse; }

.room-detail-img {
  position: relative;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}
.room-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.room-detail-card:hover .room-detail-img img { transform: scale(1.04); }

.room-img-placeholder-lg {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: linear-gradient(135deg, var(--amber-tint), var(--cream));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
  gap: 1rem;
}

.room-detail-price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(250,250,246,0.96);
  color: var(--amber-deep);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.price-amount-lg { font-size: 1.4rem; font-weight: 700; }
.price-unit-sm { font-size: 0.78rem; color: var(--text-mid); }

.room-detail-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}
.room-category-tag {
  display: inline-block;
  background: var(--amber-tint);
  color: var(--amber-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}
.room-detail-title {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin: 0;
}
.room-detail-desc { color: var(--text-mid); margin: 0; line-height: 1.8; }

/* Room Specs */
.room-specs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cream);
  border: 1px solid var(--stone-pale);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  color: var(--text-main);
}
.spec-item i { color: var(--amber-main); }

/* Amenities */
.room-amenities-section { margin-top: 0.5rem; }
.amenities-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}
.amenity-item {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 0.25rem 0;
}

.amenities-grid-lg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.amenity-item-lg {
  font-size: 0.92rem;
  color: var(--text-mid);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.room-detail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1rem;
}

/* ===== POLICIES ===== */
.policy-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-pale);
  height: 100%;
  transition: all var(--transition);
}
.policy-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.policy-card h6 { color: var(--text-dark); font-weight: 700; margin-bottom: 0.5rem; }
.policy-card p { font-size: 0.85rem; color: var(--text-mid); margin: 0; }

/* ===== ROOM DETAIL PAGE ===== */
.room-detail-hero-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.room-img-placeholder-xl {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--amber-tint), var(--cream));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
  border-radius: var(--radius-lg);
  gap: 1rem;
}
.room-page-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.room-page-desc { color: var(--text-mid); line-height: 1.8; }

/* Booking Sidebar */
.booking-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stone-pale);
  position: sticky;
  top: 100px;
}
.booking-price-display {
  text-align: center;
  padding-bottom: 1rem;
}
.booking-price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--amber-deep);
}
.booking-price-unit { color: var(--text-mid); font-size: 0.95rem; }
.booking-divider {
  height: 1px;
  background: var(--stone-pale);
  margin: 1rem 0;
}
.booking-info-list { display: flex; flex-direction: column; gap: 0.75rem; }
.booking-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.booking-info-item i { width: 20px; color: var(--amber-main); }
.booking-note {
  font-size: 0.78rem;
  color: var(--text-light);
  background: var(--cream);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--amber-pale);
}

/* ===== GALLERY PAGE ===== */
.gallery-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn {
  background: white;
  color: var(--text-mid);
  border: 1.5px solid var(--stone-pale);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--amber-main);
  color: white;
  border-color: var(--amber-main);
}

.gallery-masonry {
  column-count: 3;
  column-gap: 10px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
}
.gallery-item-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-item-inner img {
  width: 100%;
  display: block;
  transition: transform 0.55s ease;
}
.gallery-item-inner:hover img { transform: scale(1.05); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(28,20,12,0.78));
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: white;
  padding: 1.25rem;
  text-align: center;
}
.gallery-item-inner:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-title { font-weight: 700; font-size: 0.92rem; margin: 0.25rem 0 0; }
.gallery-item-caption { font-size: 0.78rem; opacity: 0.8; margin: 0; }

.gallery-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--amber-tint), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,14,8,0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  transition: opacity 0.15s ease;
  object-fit: contain;
}
.lightbox-caption {
  color: rgba(255,255,255,0.75);
  margin-top: 1rem;
  font-size: 0.92rem;
}
.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }

/* ===== CONTACT PAGE ===== */
.contact-info-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stone-pale);
  height: 100%;
}
.contact-info-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  border-bottom: 2px solid var(--amber-pale);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--amber-tint);
  color: var(--amber-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.contact-info-item strong { color: var(--text-dark); display: block; font-size: 0.83rem; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-item p { color: var(--text-mid); margin: 0; font-size: 0.9rem; }
.contact-info-item a { color: var(--amber-main); }

.social-link-lg {
  display: inline-flex;
  align-items: center;
  background: #1877f2;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-link-lg:hover { opacity: 0.88; color: white; }

.directions-box {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--cream-dark);
}
.directions-box h6 { color: var(--text-dark); margin-bottom: 0.5rem; }
.directions-box p { color: var(--text-mid); margin-bottom: 0.75rem; }

/* Booking Form */
.booking-form-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stone-pale);
}
.booking-form-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.booking-form-subtitle {
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Form Inputs */
.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.input-group-nature {
  position: relative;
}
.input-group-nature > i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stone-mid);
  z-index: 2;
  font-size: 0.88rem;
}
.input-group-nature.textarea > i {
  top: 1rem;
  transform: none;
}
.input-group-nature .form-control,
.input-group-nature .form-select {
  padding-left: 2.75rem;
  border: 1.5px solid var(--stone-pale);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  color: var(--text-main);
  font-family: 'Sarabun', sans-serif;
  transition: all var(--transition);
}
.input-group-nature .form-control:focus,
.input-group-nature .form-select:focus {
  border-color: var(--amber-main);
  box-shadow: 0 0 0 3px rgba(176, 117, 53, 0.12);
  background: white;
  outline: none;
}

.booking-form-note {
  background: var(--amber-tint);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.83rem;
  color: var(--amber-deep);
  border-left: 3px solid var(--amber-main);
}

/* Map */
.map-embed iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.map-placeholder {
  background: var(--cream);
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--stone-pale);
}
.map-placeholder-inner {
  text-align: center;
  color: var(--text-mid);
}
.map-placeholder-inner h5 { color: var(--text-dark); margin-top: 1rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--sage-deep);
  color: rgba(255,255,255,0.72);
}

.footer-top { padding: 3.5rem 0 2.5rem; }

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-desc {
  color: rgba(255,255,255,0.58);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.social-links { display: flex; gap: 0.5rem; }
.social-link {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--amber-main);
  color: white;
  transform: translateY(-2px);
}

.footer-heading {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--amber-light); padding-left: 4px; }

.footer-info-list { list-style: none; padding: 0; margin: 0; }
.footer-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
}
.footer-info-list i { margin-top: 3px; min-width: 14px; color: var(--amber-mid); }
.footer-info-list a { color: rgba(255,255,255,0.55); }
.footer-info-list a:hover { color: var(--amber-light); }

.footer-bottom {
  background: rgba(0,0,0,0.18);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom .text-accent { color: var(--amber-pale); }

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  background: var(--amber-main);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: all;
}
.scroll-top-btn:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
}

/* ===== MESSAGES ===== */
.messages-container {
  padding-top: 90px;
  position: relative;
  z-index: 100;
}
.custom-alert {
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.alert-success {
  background: var(--sage-tint);
  color: var(--sage-deep);
  border-left: 3px solid var(--sage-main);
}
.alert-error, .alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border-left: 3px solid #f87171;
}

/* ===== EMPTY STATE ===== */
.empty-state { padding: 4rem 0; }
.empty-state h3 { color: var(--text-mid); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .about-image-grid { height: 350px; }
  .gallery-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }
  .gallery-preview-item:first-child { grid-row: span 1; }
  .room-detail-card.reverse .row { flex-direction: row; }
}

@media (max-width: 767px) {
  .py-6 { padding-top: 3rem; padding-bottom: 3rem; }
  .hero-content { padding: 100px 0 60px; }
  .about-image-grid { height: 260px; gap: 8px; }
  .gallery-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 150px);
  }
  .gallery-masonry { column-count: 2; }
  .booking-form-box { padding: 1.5rem; }
  .room-detail-img { min-height: 250px; }
  .booking-sidebar { position: static; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 2.1rem; }
  .gallery-masonry { column-count: 1; }
  .gallery-preview-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 200px); }
  .room-detail-card .row { flex-direction: column !important; }
  .amenities-grid, .amenities-grid-lg { grid-template-columns: 1fr; }
}
