/* =====================================================
   Hotel Booking System — Frontend Stylesheet
   Design: Warm coastal Thai hospitality
   Palette: Deep Teal + Warm Sand + Gold accent
   ===================================================== */

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Sarabun:wght@300;400;500;600&display=swap');

/* ===== CSS Variables ===== */
:root {
  --teal-900:   #0d3d3a;
  --teal-700:   #1a5c57;
  --teal-500:   #2a8a82;
  --teal-300:   #5db8b0;
  --teal-100:   #d0ecea;

  --sand-900:   #4a3728;
  --sand-700:   #7a5c45;
  --sand-300:   #d4b896;
  --sand-100:   #f5ede3;
  --sand-50:    #faf6f1;

  --gold:       #c9963a;
  --gold-light: #e8bf74;

  --white:      #ffffff;
  --gray-100:   #f4f4f4;
  --gray-300:   #d1d1d1;
  --gray-500:   #8a8a8a;
  --gray-700:   #4a4a4a;
  --gray-900:   #1a1a1a;

  --success:    #2e7d5a;
  --warning:    #c9963a;
  --danger:     #c0392b;
  --info:       #2a8a82;

  --font-display: 'Playfair Display', 'Sarabun', serif;
  --font-body:    'Sarabun', sans-serif;

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

  --shadow-sm:  0 2px 8px rgba(13,61,58,.08);
  --shadow-md:  0 6px 24px rgba(13,61,58,.12);
  --shadow-lg:  0 16px 48px rgba(13,61,58,.16);

  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --nav-height: 70px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--teal-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--teal-900);
}

/* ===== Utility ===== */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm   { max-width: 800px;  margin: 0 auto; padding: 0 20px; }
.container-lg   { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-gold    { color: var(--gold); }
.text-teal    { color: var(--teal-500); }
.text-muted   { color: var(--gray-500); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 64px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }

.d-flex         { display: flex; }
.align-center   { align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-1          { gap: 8px; }
.gap-2          { gap: 16px; }
.gap-3          { gap: 24px; }
.flex-wrap      { flex-wrap: wrap; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
}
.badge-teal    { background: var(--teal-100); color: var(--teal-700); }
.badge-gold    { background: #fdf3e0; color: var(--gold); }
.badge-success { background: #e8f5ee; color: var(--success); }
.badge-danger  { background: #fde8e6; color: var(--danger); }
.badge-gray    { background: var(--gray-100); color: var(--gray-700); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.btn:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 2px; }

.btn-primary {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
}
.btn-primary:hover {
  background: var(--teal-900);
  border-color: var(--teal-900);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b8852e;
  border-color: #b8852e;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,150,58,.35);
}

.btn-outline {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-700);
}
.btn-outline:hover {
  background: var(--teal-700);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--teal-700);
  border-color: var(--white);
}

.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== Forms ===== */
.form-group   { margin-bottom: 20px; }
.form-label   {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: .3px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(42,138,130,.15);
}
.form-control::placeholder { color: var(--gray-300); }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a8a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-text  { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }
.form-control.is-invalid { border-color: var(--danger); }

/* ===== Cards ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-body  { padding: 24px; }

/* ===== Alerts ===== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: #e8f5ee; color: #1e5c3a; border-left: 4px solid var(--success); }
.alert-danger  { background: #fde8e6; color: #922b21; border-left: 4px solid var(--danger); }
.alert-warning { background: #fef9e7; color: #7d6608; border-left: 4px solid var(--warning); }
.alert-info    { background: var(--teal-100); color: var(--teal-700); border-left: 4px solid var(--teal-500); }

/* ===== Dividers ===== */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gray-500);
  font-size: 13px;
  margin: 20px 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-300);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,61,58,.08);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-brand .brand-logo {
  width: 38px; height: 38px;
  background: var(--teal-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}
.navbar-brand .brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-900);
  line-height: 1.1;
}
.navbar-brand .brand-sub {
  font-size: 10px;
  color: var(--gray-500);
  letter-spacing: .8px;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.navbar-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--teal-700);
  background: var(--teal-100);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 20px;
  padding: 3px;
}
.lang-btn {
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.lang-btn.active {
  background: var(--white);
  color: var(--teal-700);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

/* Mobile hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Mobile Nav Drawer ===== */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: -8px 0 32px rgba(0,0,0,.15);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}
.mobile-nav-close button {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--gray-700);
  padding: 4px;
}
.mobile-nav ul { list-style: none; }
.mobile-nav ul li + li { border-top: 1px solid var(--gray-100); }
.mobile-nav ul a {
  display: block;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 50%, #1e6b5e 100%);
}

/* Decorative wave pattern */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: .6px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .accent {
  color: var(--gold-light);
  display: block;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ===== Search Box ===== */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 32px;
  max-width: 860px;
  position: relative;
  z-index: 3;
}

.search-box-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-700);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.search-grid {
  display: grid;
  /* check-in | check-out | guests | property | submit */
  grid-template-columns: 1fr 1fr 200px 1fr 120px;
  gap: 12px;
  align-items: end;
}

/* ป้องกัน search-field ถูกบีบ */
.search-field {
  min-width: 0;
  overflow: hidden;
}

/* ซ่อนลูกศร spin ของ input[type=number] ทุก browser */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

.search-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: .7px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.search-field .field-icon {
  position: relative;
}
.search-field .field-icon input,
.search-field .field-icon select {
  padding-left: 38px;
}
.search-field .field-icon i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal-500);
  font-size: 15px;
  pointer-events: none;
}

/* ===== Guest Stepper ===== */
.guest-stepper-wrap {
  display: flex;
  gap: 10px;
}
.guest-stepper {
  flex: 1;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color var(--transition);
}
.guest-stepper:focus-within {
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(42,138,130,.12);
}
.guest-stepper-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1;
}
.guest-stepper-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}
.guest-stepper-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-500);
  background: var(--white);
  color: var(--teal-700);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.guest-stepper-btn:hover {
  background: var(--teal-700);
  color: var(--white);
}
.guest-stepper-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.guest-stepper-val {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-900);
  line-height: 1;
  min-width: 28px;
  /* ซ่อน input แต่ยังส่งค่าได้ */
}
.guest-stepper-val input[type="number"] {
  width: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-900);
  -moz-appearance: textfield;
  padding: 0;
}
.guest-stepper-val input[type="number"]::-webkit-inner-spin-button,
.guest-stepper-val input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.guest-stepper-val input[type="number"]:focus {
  outline: none;
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
  margin-bottom: 48px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--teal-900);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-desc {
  margin: 0 auto;
}

/* =====================================================
   PROPERTY CARDS
   ===================================================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.property-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}
.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.property-card:hover .property-card-image img {
  transform: scale(1.06);
}
.property-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}
.property-card-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: var(--gray-500);
  font-size: 16px;
  transition: all var(--transition);
}
.property-card-fav:hover {
  color: var(--danger);
  background: var(--white);
}

.property-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.property-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.property-card-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--teal-900);
  margin-bottom: 10px;
  line-height: 1.3;
}
.property-card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.amenity-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 20px;
  padding: 3px 10px;
}
.property-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.property-price-from {
  font-size: 11px;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.property-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-700);
}
.property-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-500);
}
.property-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.rating-score {
  background: var(--teal-700);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rating-count {
  font-size: 11px;
  color: var(--gray-500);
}

/* ===== Room Cards ===== */
.room-card {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-100);
  transition: all var(--transition);
  margin-bottom: 20px;
}
.room-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-300);
}
.room-card-image {
  height: 100%;
  min-height: 200px;
  overflow: hidden;
  position: relative;
}
.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.room-card:hover .room-card-image img {
  transform: scale(1.04);
}
.room-card-body {
  padding: 24px;
}
.room-card-name {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--teal-900);
  margin-bottom: 8px;
}
.room-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.room-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.room-card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.room-card-action {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 180px;
  border-left: 1px solid var(--gray-100);
}
.room-availability {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.room-availability.low { color: var(--warning); }
.room-price-box { text-align: right; }
.room-price-label { font-size: 11px; color: var(--gray-500); }
.room-price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--teal-700);
  line-height: 1.1;
}
.room-price-night {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 400;
}

/* =====================================================
   FEATURES / WHY US
   ===================================================== */
.features-section { background: var(--sand-50); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.feature-item {
  text-align: center;
  padding: 32px 20px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
  color: var(--teal-700);
}
.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--teal-900);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews-section { background: var(--white); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--sand-50);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--sand-300);
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 15px;
}
.review-text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-author-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--teal-900);
}
.review-author-meta {
  font-size: 12px;
  color: var(--gray-500);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--teal-900);
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 15px;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--teal-500);
  color: var(--white);
}
.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold-light);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.footer-contact-item i {
  color: var(--teal-300);
  margin-top: 2px;
  width: 16px;
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* =====================================================
   PAGE WRAPPER & SECTIONS
   ===================================================== */
.page-content { padding-top: var(--nav-height); }

.section {
  padding: 80px 0;
}
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

/* ===== Page Hero (non-homepage) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  padding: 80px 0 60px;
  padding-top: calc(var(--nav-height) + 60px);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--white);
  margin-bottom: 10px;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.75); }
.page-hero-breadcrumb a:hover { color: var(--white); }

/* =====================================================
   BOOKING FLOW
   ===================================================== */
.booking-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.booking-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-right: 1px solid var(--gray-100);
  position: relative;
}
.booking-step:last-child { border-right: none; }
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition);
}
.booking-step.active   .step-num { background: var(--teal-700); color: var(--white); }
.booking-step.done     .step-num { background: var(--success); color: var(--white); }
.step-info-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}
.booking-step.active .step-info-title { color: var(--teal-700); }
.step-info-sub {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 1px;
}

/* Booking summary sidebar */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.booking-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.booking-summary-card {
  background: var(--sand-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--sand-300);
}
.booking-summary-head {
  background: var(--teal-700);
  color: var(--white);
  padding: 20px 24px;
}
.booking-summary-head h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--white);
  margin-bottom: 4px;
}
.booking-summary-body {
  padding: 20px 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--sand-300);
  gap: 16px;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--gray-700); }
.summary-row .value { font-weight: 600; color: var(--teal-900); text-align: right; }
.summary-total {
  background: var(--teal-900);
  color: var(--white);
  margin: 16px -24px -20px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-total .total-label { font-size: 15px; }
.summary-total .total-amount {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-light);
}

/* =====================================================
   FILTERS (Property Listing)
   ===================================================== */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-group {
  flex: 1;
  min-width: 160px;
}
.filter-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* =====================================================
   CALENDAR / DATE PICKER helpers
   ===================================================== */
.date-range-display {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--teal-100);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--teal-700);
  font-weight: 500;
}
.date-range-display i { color: var(--teal-500); }
.date-range-arrow {
  color: var(--teal-300);
  font-size: 12px;
}

/* =====================================================
   AVAILABILITY CALENDAR
   ===================================================== */
.availability-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 13px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.legend-dot.available  { background: var(--success); }
.legend-dot.booked     { background: var(--danger); }
.legend-dot.partial    { background: var(--warning); }

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery-grid .gallery-main {
  grid-row: 1 / 3;
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
}

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  background: rgba(255,255,255,.1);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--white);
  font-size: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1280px) {
  .search-grid {
    /* check-in | check-out | guests | property+submit */
    grid-template-columns: 1fr 1fr 200px 1fr 120px;
    gap: 10px;
  }
}

@media (max-width: 1024px) {
  .search-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
  .search-grid .search-field:nth-child(4),
  .search-grid .search-field:nth-child(5) {
    grid-column: span 1;
  }
  .search-grid .search-field:last-child {
    grid-column: 1 / -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .booking-sidebar { position: static; }
  .room-card {
    grid-template-columns: 220px 1fr auto;
  }
}

@media (max-width: 768px) {
  :root { --nav-height: 62px; }

  .navbar-nav,
  .navbar-actions .btn { display: none; }
  .navbar-toggle { display: flex; }

  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }

  .search-box { padding: 20px 18px; border-radius: var(--radius-md); }
  .search-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .room-card {
    grid-template-columns: 1fr;
    grid-template-rows: 200px auto auto;
  }
  .room-card-image { min-height: 200px; }
  .room-card-action {
    flex-direction: row;
    align-items: center;
    border-left: none;
    border-top: 1px solid var(--gray-100);
    padding: 16px 20px;
  }
  .room-price-box { text-align: left; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 120px;
  }
  .gallery-grid .gallery-main { grid-row: 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .booking-steps {
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  .booking-step { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .booking-step:last-child { border-bottom: none; }

  .section { padding: 56px 0; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 240px 140px 140px; }
  .search-box { border-radius: var(--radius-sm); }
}

/* ===== Loading Skeleton ===== */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, #eee 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: skeleton-load 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-load {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--teal-700);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  font-size: 16px;
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--teal-900); }

/* ===== Toast ===== */
.toast-container {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--teal-900);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 40px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  pointer-events: all;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast.success { background: var(--success); }
.toast.error   { background: var(--danger); }
