/* ===== KEPHOMES - Hotels.com Style Apart & Oda Kiralama ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --blue: #1668e3;
  --blue-hover: #1254c4;
  --blue-light: #ebf3ff;
  --red: #d4111e;
  --green: #007c22;
  --green-light: #e8f5e9;
  --orange: #f06800;
  --yellow: #ffb700;
  --text-dark: #1a1a2e;
  --text: #343b53;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --bg: #f8f8fa;
  --bg-white: #ffffff;
  --border: #e0e0e0;
  --border-light: #f0f0f2;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.navbar-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

.navbar-menu a:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}

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

.navbar-actions .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.navbar-actions .icon-btn:hover { background: rgba(255,255,255,0.2); }

.btn-login {
  background: var(--blue);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.2s;
}

.btn-login:hover {
  background: var(--blue-hover);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.3rem;
}

/* ===== HERO / SEARCH ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0a3d62 100%);
  padding: 48px 0 64px;
}

.hero-title {
  text-align: center;
  margin-bottom: 32px;
}

.hero-title h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.hero-title p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.search-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 4px;
  align-items: stretch;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: border-color 0.2s;
  cursor: pointer;
}

.search-field:hover { border-color: var(--border); }
.search-field:focus-within { border-color: var(--blue); }

.search-field i {
  color: var(--text-gray);
  font-size: 1rem;
  flex-shrink: 0;
}

.search-field input,
.search-field select {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text);
  width: 100%;
  background: transparent;
}

.search-field .field-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-field .field-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.search-divider {
  width: 1px;
  background: var(--border);
  margin: 8px 0;
}

.btn-search {
  background: var(--blue);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-search:hover {
  background: var(--blue-hover);
}

/* ===== SECTION ===== */
.section { padding: 48px 0; }

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* ===== HOTEL CARDS ===== */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.hotel-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.hotel-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hotel-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.hotel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.hotel-card-save {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: var(--text-gray);
  font-size: 1rem;
  transition: color 0.2s;
}

.hotel-card-save:hover { color: var(--red); }

.hotel-card-body { padding: 16px; }

.hotel-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.hotel-card-location {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.hotel-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tag {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.tag-feature { background: var(--bg); color: var(--text-gray); }
.tag-discount { background: var(--green-light); color: var(--green); font-weight: 600; }

.hotel-card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rating-score {
  background: var(--primary);
  color: white;
  padding: 4px 8px;
  border-radius: 6px 6px 6px 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.rating-score.good { background: var(--blue); }
.rating-score.great { background: #1a8c3e; }
.rating-score.excellent { background: #0d6b2d; }

.rating-text {
  font-size: 0.78rem;
  color: var(--text-gray);
}

.rating-text strong {
  color: var(--text-dark);
}

.hotel-card-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
}

.price-old {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.price-info {
  font-size: 0.68rem;
  color: var(--text-gray);
  text-align: right;
}

/* ===== DETAIL PAGE ===== */
.detail-breadcrumb {
  padding: 16px 0;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.detail-breadcrumb a { color: var(--blue); }
.detail-breadcrumb span { margin: 0 6px; }

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}

.detail-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.detail-header-actions {
  display: flex;
  gap: 12px;
}

.btn-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
}

.btn-icon:hover { border-color: var(--text); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 4px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.gallery .main { grid-row: span 2; }

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: brightness 0.2s;
}

.gallery img:hover { brightness: 1.05; }

.gallery .more-photos {
  position: relative;
}

.gallery .more-photos::after {
  content: attr(data-count);
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Detail Tabs */
.detail-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 32px;
  position: sticky;
  top: 64px;
  background: var(--bg);
  z-index: 50;
}

.detail-tab {
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-gray);
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.detail-tab:hover { color: var(--text-dark); }
.detail-tab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
}

/* Detail Content */
.detail-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

/* Property Info Card */
.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-gray);
  margin-right: 6px;
  margin-bottom: 6px;
}

.info-badge i { font-size: 0.8rem; }

.detail-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.detail-section:last-child { border-bottom: none; }

.detail-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.detail-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.detail-section p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Amenities */
.amenities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text);
}

.amenity i {
  width: 20px;
  text-align: center;
  color: var(--text-gray);
}

/* Room Cards */
.room-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.room-card:hover { border-color: var(--blue); }

.room-card-inner {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 20px;
}

.room-card-img {
  height: 180px;
  overflow: hidden;
}

.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card-info {
  padding: 20px 0;
}

.room-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.room-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.room-feature {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-gray);
}

.room-feature i { font-size: 0.85rem; }

.room-card-pricing {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  min-width: 180px;
  border-left: 1px solid var(--border-light);
}

.room-discount {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.room-price-old {
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.room-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.room-price-note {
  font-size: 0.7rem;
  color: var(--text-gray);
  margin-bottom: 12px;
  text-align: right;
}

.room-stock {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 8px;
}

.btn-reserve {
  background: var(--orange);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  width: 100%;
  transition: all 0.2s;
}

.btn-reserve:hover { background: #d45d00; }

.btn-reserve-note {
  font-size: 0.68rem;
  color: var(--text-gray);
  margin-top: 6px;
  text-align: center;
}

/* Sticky Booking Sidebar */
.booking-sidebar {
  position: sticky;
  top: 120px;
}

.booking-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.booking-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.booking-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.booking-field {
  margin-bottom: 12px;
}

.booking-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.booking-field input,
.booking-field select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  transition: border-color 0.2s;
}

.booking-field input:focus,
.booking-field select:focus {
  outline: none;
  border-color: var(--blue);
}

.booking-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.price-meter {
  margin: 20px 0;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.price-meter-label {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.price-meter-bar {
  height: 6px;
  background: linear-gradient(to right, var(--green), var(--yellow), var(--red));
  border-radius: 3px;
  position: relative;
  margin-bottom: 8px;
}

.price-meter-indicator {
  position: absolute;
  top: -4px;
  width: 14px;
  height: 14px;
  background: white;
  border: 3px solid var(--green);
  border-radius: 50%;
}

.price-meter-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-gray);
}

.btn-book {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-book:hover { background: var(--blue-hover); }

/* Map Section */
.map-section {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
}

.map-placeholder {
  height: 200px;
  background: #e5e7eb;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.nearby-list { margin-top: 12px; }

.nearby-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.nearby-item:last-child { border-bottom: none; }

.nearby-item i {
  color: var(--text-gray);
  margin-right: 8px;
}

.nearby-distance {
  font-size: 0.78rem;
  color: var(--text-gray);
}

/* Policies */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.policy-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.policy-item p, .policy-item li {
  font-size: 0.82rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.policy-item ul {
  padding-left: 16px;
  list-style: disc;
}

/* Reviews */
.review-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.review-score-big {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.review-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.review-count {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* Similar Hotels */
.similar-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.similar-scroll::-webkit-scrollbar { display: none; }

.similar-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}

.similar-card:hover {
  box-shadow: var(--shadow-md);
}

.similar-card-img {
  height: 160px;
  overflow: hidden;
}

.similar-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.similar-card-body { padding: 12px; }

.similar-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.similar-card-loc {
  font-size: 0.72rem;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.similar-card-price {
  text-align: right;
  font-size: 1rem;
  font-weight: 700;
}

.similar-card-note {
  font-size: 0.65rem;
  color: var(--text-gray);
  text-align: right;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: white;
  padding: 48px 0 24px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.8rem;
}

.footer-phone strong {
  font-size: 1.1rem;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.footer-social a:hover { background: var(--blue); }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.footer-col a {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: white; }

/* ===== WHATSAPP ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.2s;
  border: none;
}

.whatsapp-btn:hover { transform: scale(1.1); }

/* ===== GALLERY LIGHTBOX ===== */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gallery-lightbox.active { display: flex; }

.gallery-lightbox-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  color: white;
  z-index: 10;
}

.gallery-lightbox-counter {
  font-size: 0.9rem;
  font-weight: 500;
}

.gallery-lightbox-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.gallery-lightbox-close:hover { background: rgba(255,255,255,0.15); }

.gallery-lightbox-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 70px 80px;
  position: relative;
}

.gallery-lightbox-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.gallery-lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.gallery-lightbox-nav.prev { left: 20px; }
.gallery-lightbox-nav.next { right: 20px; }

.gallery-lightbox-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 24px 20px;
  overflow-x: auto;
  max-width: 100%;
  justify-content: center;
}

.gallery-lightbox-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-lightbox-thumbs::-webkit-scrollbar-track { background: transparent; }
.gallery-lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 2px; }

.gallery-lightbox-thumb {
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.gallery-lightbox-thumb.active {
  opacity: 1;
  border-color: white;
}

.gallery-lightbox-thumb:hover { opacity: 0.8; }

.gallery-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Currency button text style */
.currency-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 20px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.2s;
  cursor: pointer;
}

.currency-btn:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 768px) {
  .gallery-lightbox-main { padding: 60px 16px; }
  .gallery-lightbox-nav { width: 36px; height: 36px; font-size: 1rem; }
  .gallery-lightbox-nav.prev { left: 8px; }
  .gallery-lightbox-nav.next { right: 8px; }
  .gallery-lightbox-thumbs { padding: 8px 12px 16px; }
  .gallery-lightbox-thumb { width: 48px; height: 36px; }
}

/* ===== ABOUT PAGE ===== */
.page-header {
  background: var(--primary);
  padding: 40px 0;
}

.page-header h1 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
}

.about-content { padding: 48px 0; }

.about-content p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* About Hero */
.about-hero {
  padding: 80px 0 60px;
  text-align: center;
}

.about-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.about-hero-badge {
  display: inline-block;
  background: rgba(22,104,227,0.2);
  color: #6db3f8;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.about-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* Timeline */
.timeline-section {
  padding: 80px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(22,104,227,0.03), transparent);
  pointer-events: none;
}

.timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--blue) 5%,
    var(--primary) 50%,
    var(--blue) 95%,
    transparent 100%
  );
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-line::after {
  content: '';
  position: absolute;
  left: -3px;
  top: 0;
  width: 9px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(22,104,227,0.6), transparent);
  border-radius: 9px;
  animation: lineGlow 4s ease-in-out infinite;
}

@keyframes lineGlow {
  0%, 100% { top: 0%; }
  50% { top: calc(100% - 60px); }
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 56px;
  position: relative;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-left {
  flex-direction: row;
  padding-right: calc(50% + 48px);
  transform: translateX(-60px);
}

.timeline-right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 48px);
  transform: translateX(60px);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-left .timeline-card { text-align: right; }
.timeline-right .timeline-card { text-align: left; }

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(0.5);
  width: 52px;
  height: 52px;
  background: white;
  border: 3px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 1.05rem;
  color: var(--blue);
  box-shadow: 0 0 0 6px var(--bg), 0 4px 20px rgba(22,104,227,0.15);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.timeline-item.visible .timeline-dot {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  animation: dotBounce 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.visible .timeline-dot:hover {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 0 0 6px var(--bg), 0 6px 30px rgba(22,104,227,0.3);
}

.timeline-dot.dot-active {
  background: linear-gradient(135deg, var(--blue), var(--primary));
  color: white;
  border-color: var(--blue);
  box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(22,104,227,0.4);
}

.timeline-dot.dot-active::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(22,104,227,0.3);
  animation: dotRing 2s ease-in-out infinite;
}

@keyframes dotBounce {
  0% { transform: translateX(-50%) scale(0.3); }
  50% { transform: translateX(-50%) scale(1.2); }
  70% { transform: translateX(-50%) scale(0.95); }
  100% { transform: translateX(-50%) scale(1); }
}

@keyframes dotRing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0; }
}

.timeline-card {
  background: white;
  padding: 28px 32px;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex: 1;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--primary), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.timeline-card:hover {
  box-shadow: 0 8px 32px rgba(22,104,227,0.12);
  transform: translateY(-4px);
}

.timeline-card:hover::before {
  opacity: 1;
}

.timeline-card.card-highlight {
  background: linear-gradient(135deg, #0f172a 0%, var(--primary) 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(22,104,227,0.25);
}

.timeline-card.card-highlight::before {
  background: linear-gradient(90deg, #60a5fa, white, #60a5fa);
  opacity: 1;
}

.timeline-card.card-highlight .timeline-date {
  color: #93c5fd;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
}

.timeline-card.card-highlight h3 {
  color: white;
}

.timeline-card.card-highlight p {
  color: rgba(255,255,255,0.8);
}

.timeline-date {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.75;
}

.timeline-item:nth-child(1) { transition-delay: 0s; }
.timeline-item:nth-child(2) { transition-delay: 0.1s; }
.timeline-item:nth-child(3) { transition-delay: 0.15s; }
.timeline-item:nth-child(4) { transition-delay: 0.2s; }
.timeline-item:nth-child(5) { transition-delay: 0.25s; }
.timeline-item:nth-child(6) { transition-delay: 0.3s; }

/* About Stats */
.about-stats-section {
  padding: 0 0 64px;
  background: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat-card {
  padding: 28px;
  border-radius: var(--radius);
  color: white;
}

.stat-card:nth-child(1) { background: var(--primary); }
.stat-card:nth-child(2) { background: var(--blue); }
.stat-card:nth-child(3) { background: #4a6574; }

.stat-card h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.stat-card p { font-size: 0.82rem; color: rgba(255,255,255,0.8); }

/* Timeline responsive */
@media (max-width: 768px) {
  .about-hero h1 { font-size: 2rem; }

  .timeline-line {
    left: 24px;
  }

  .timeline-left,
  .timeline-right {
    flex-direction: row;
    padding-left: 64px;
    padding-right: 0;
    transform: translateY(30px);
  }

  .timeline-item.visible {
    transform: translateY(0) translateX(0);
  }

  .timeline-left .timeline-card,
  .timeline-right .timeline-card {
    text-align: left;
  }

  .timeline-dot {
    left: 24px;
    width: 42px;
    height: 42px;
    font-size: 0.85rem;
  }

  .timeline-card {
    padding: 20px 24px;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
}

.contact-header h1 { font-size: 1.8rem; }

.contact-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
}

.office-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 48px;
}

.office-card-img {
  min-height: 300px;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=600&q=80') center/cover;
}

.office-card-info {
  padding: 40px;
  color: white;
}

.office-card-info h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  margin-top: 20px;
}

.office-card-info h4:first-child { margin-top: 0; }

.office-card-info p {
  font-size: 0.88rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
}

.contact-form .full { grid-column: span 2; }

.form-group {
  position: relative;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
}

.form-group.full { grid-column: span 2; }

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 20px 40px 20px 0;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.92rem;
  background: transparent;
  color: var(--text);
}

.contact-form .form-group textarea {
  min-height: 60px;
  resize: vertical;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group .field-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-group.full .field-icon {
  top: 24px;
  transform: none;
}

/* Left border between columns */
.form-group:nth-child(2n) {
  border-left: 1px solid var(--border);
}

.contact-form .checkbox-row {
  grid-column: span 2;
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-gray);
  padding: 16px 0 0;
  line-height: 1.5;
}

.contact-form .checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.btn-submit {
  grid-column: span 2;
  padding: 20px;
  background: #8a9bb5;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  margin-top: 16px;
}

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

/* ===== RESERVATION MODAL ===== */
.reserve-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.reserve-modal.active {
  display: flex;
}

.reserve-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.reserve-modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reserve-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--text-gray);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.reserve-modal-close:hover {
  background: var(--border);
  color: var(--text-dark);
}

.reserve-modal-header {
  margin-bottom: 24px;
}

.reserve-modal-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.reserve-modal-header h2 i {
  color: var(--blue);
}

.reserve-modal-header p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.reserve-room-info {
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 500;
}

/* Step indicator */
.reserve-step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-gray);
  transition: all 0.3s;
}

.step-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.step-dot.completed {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  max-width: 60px;
  transition: background 0.3s;
}

.step-line.active {
  background: var(--blue);
}

/* Form */
.reserve-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reserve-form-group {
  margin-bottom: 16px;
}

.reserve-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.reserve-form-group label i {
  color: var(--text-gray);
  margin-right: 4px;
  width: 16px;
}

.reserve-form-group input,
.reserve-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.reserve-form-group input:focus,
.reserve-form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22,104,227,0.1);
}

.reserve-form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.btn-reserve-next {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  margin-top: 8px;
}

.btn-reserve-next:hover {
  background: var(--blue-hover);
}

/* Contracts */
.reserve-contracts {
  margin-bottom: 20px;
}

.contract-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.contract-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background 0.2s;
}

.contract-header:hover {
  background: var(--border-light);
}

.contract-header span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contract-header span i {
  color: var(--blue);
}

.contract-toggle {
  transition: transform 0.3s;
  font-size: 0.75rem;
  color: var(--text-gray);
}

.contract-item.open .contract-toggle {
  transform: rotate(180deg);
}

.contract-body {
  display: none;
  padding: 16px;
  max-height: 200px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
  background: white;
}

.contract-item.open .contract-body {
  display: block;
}

.contract-body p {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 10px;
}

.contract-body p:last-child {
  margin-bottom: 0;
}

/* Checkboxes */
.reserve-checkboxes {
  margin-bottom: 20px;
}

.reserve-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
}

.reserve-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.reserve-checkbox strong {
  color: var(--blue);
}

/* Actions */
.reserve-actions {
  display: flex;
  gap: 12px;
}

.btn-reserve-back {
  flex: 0 0 auto;
  padding: 14px 20px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-reserve-back:hover {
  background: var(--border-light);
}

.btn-reserve-submit {
  flex: 1;
  padding: 14px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-reserve-submit:hover:not(:disabled) {
  background: #1fb855;
}

.btn-reserve-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .reserve-modal-content {
    width: 95%;
    padding: 24px 20px;
    max-height: 95vh;
  }

  .reserve-form-row {
    grid-template-columns: 1fr;
  }

  .reserve-actions {
    flex-direction: column;
  }

  .btn-reserve-back {
    justify-content: center;
  }
}

/* ===== HOMEPAGE PROPERTY SECTIONS ===== */
.property-section {
  padding: 48px 0;
}

.property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 20px;
}

.property-header-left {
  flex: 1;
}

.property-header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.property-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-location {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.property-location i {
  color: var(--blue);
  margin-right: 4px;
}

.property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.property-badge {
  background: var(--green);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--blue);
  border-radius: 24px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-detail-link:hover {
  background: var(--blue);
  color: white;
}

/* Property Photos */
.property-photos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.property-photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s, brightness 0.3s;
  cursor: pointer;
}

.property-photos img:hover {
  transform: scale(1.03);
}

/* Property Rooms */
.property-rooms {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.property-rooms-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.property-rooms-title i {
  color: var(--blue);
}

/* Home Room Grid */
.home-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.home-room-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
  background: white;
  margin-bottom: 0;
}

.home-room-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.home-room-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.home-room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-room-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(212, 17, 30, 0.9);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.home-room-body {
  padding: 16px;
}

.home-room-body .room-card-name {
  margin-bottom: 10px;
}

.home-room-body .room-card-features {
  margin-bottom: 16px;
}

.home-room-pricing {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.home-room-pricing .room-price {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.home-room-pricing .room-price-note {
  margin-bottom: 0;
  text-align: left;
}

.home-room-pricing .btn-reserve {
  width: auto;
  padding: 10px 20px;
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .detail-content { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
  .room-card-inner { grid-template-columns: 200px 1fr auto; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .gallery .main { grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .property-photos { grid-template-columns: repeat(3, 1fr); }
  .property-photos img:nth-child(n+4) { display: none; }
}

@media (max-width: 768px) {
  .navbar-menu { display: none; }
  .mobile-menu-btn { display: block; }
  .search-box { flex-direction: column; }
  .search-divider { width: 100%; height: 1px; margin: 0; }
  .hotels-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 250px 120px 120px; }
  .gallery .main { grid-row: span 1; }
  .room-card-inner { grid-template-columns: 1fr; }
  .room-card-img { height: 160px; }
  .room-card-pricing { border-left: none; border-top: 1px solid var(--border-light); flex-direction: row; justify-content: space-between; align-items: center; min-width: auto; }
  .amenities-list { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .office-card { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full, .contact-form .checkbox-row, .btn-submit { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .property-header { flex-direction: column; }
  .property-photos { grid-template-columns: repeat(2, 1fr); }
  .property-photos img { height: 140px; }
  .property-photos img:nth-child(n+4) { display: block; }
  .property-photos img:nth-child(n+5) { display: none; }
  .home-room-grid { grid-template-columns: 1fr; }
  .home-room-pricing { flex-direction: column; align-items: stretch; }
  .home-room-pricing .btn-reserve { width: 100%; }
  .property-rooms { padding: 20px 16px; }
}
