/* =============================================
   StayFinder — Global Stylesheet
   ============================================= */

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

:root {
  --primary: #123B4A;
  --primary-light: #1a5066;
  --gold: #D9A441;
  --gold-hover: #c4932e;
  --bg: #F7F8F6;
  --text: #172126;
  --text-sec: #5a6670;
  --white: #FFFFFF;
  --border: #e2e5e3;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.1);
  --radius: 14px;
  --radius-sm: 10px;
  --max-w: 1240px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.logo { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: -.3px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-sec); transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.btn-text { font-size: 14px; font-weight: 500; color: var(--text-sec); transition: color var(--transition); white-space: nowrap; }
.btn-text:hover { color: var(--primary); }
.btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: var(--white); font-size: 14px; font-weight: 600; padding: 10px 22px; border-radius: var(--radius-sm); transition: background var(--transition), transform .15s ease; white-space: nowrap; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.mobile-nav { display: none; position: fixed; inset: 0; top: 68px; background: var(--white); z-index: 99; padding: 24px; flex-direction: column; gap: 8px; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; width: 100%; text-align: left; font-size: 16px; font-weight: 500; padding: 14px 0; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-nav .btn-primary { margin-top: 12px; text-align: center; justify-content: center; border-bottom: none; padding: 14px 22px; }

/* ===== BUTTONS ===== */
.btn-view { font-size: 13px; font-weight: 600; color: var(--primary); padding: 8px 18px; border: 1.5px solid var(--primary); border-radius: var(--radius-sm); transition: background var(--transition), color var(--transition); display: inline-block; }
.btn-view:hover { background: var(--primary); color: var(--white); }
.btn-gold { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--white); font-size: 14px; font-weight: 700; padding: 12px 26px; border-radius: var(--radius-sm); transition: background var(--transition), transform .15s ease; }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--primary); padding: 12px 28px; border: 1.5px solid var(--primary); border-radius: var(--radius-sm); transition: background var(--transition), color var(--transition); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--text); letter-spacing: -.3px; margin-bottom: 10px; }
.section-header p { font-size: 16px; color: var(--text-sec); }

/* ===== HERO (homepage — directory style) ===== */
.hero { position: relative; min-height: 680px; display: flex; align-items: center; justify-content: center; background: var(--primary); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,59,74,.40) 0%, rgba(18,59,74,.65) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 90px 24px 70px; text-align: center; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 12px; letter-spacing: -.5px; }
.hero > .hero-content > p { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.8); font-weight: 400; margin-bottom: 36px; }

/* Hero search bar — button inside */
.hero-search { position: relative; max-width: 680px; margin: 0 auto 28px; }
.hero-search-bar { display: flex; align-items: center; background: var(--white); border-radius: 60px; padding: 6px 6px 6px 22px; box-shadow: 0 8px 32px rgba(0,0,0,.18); }
.hero-search-icon { color: var(--text-sec); flex-shrink: 0; display: flex; }
.hero-search-bar input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 16px; color: var(--text); padding: 14px 14px 14px 12px; background: transparent; min-width: 0; }
.hero-search-bar input::placeholder { color: #9aa1a6; }
.hero-search-btn { padding: 13px 36px; background: var(--primary); color: var(--white); border: none; border-radius: 56px; font-weight: 700; font-size: 15px; cursor: pointer; transition: background var(--transition); white-space: nowrap; flex-shrink: 0; }
.hero-search-btn:hover { background: #0d2b38; }

/* Search dropdown — position relative to .hero-search */
.hero-search .search-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 200; }

/* Hero quick destination text links */
.hero-quick-links { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-quick-links span { font-size: 14px; color: rgba(255,255,255,.9); font-weight: 600; }
.hero-quick-links a { font-size: 14px; color: #fff; font-weight: 600; padding: 7px 16px; border-radius: 30px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); transition: all .25s; }
.hero-quick-links a:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.6); }

/* ===== CATEGORY CARDS ===== */
.categories-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.category-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; cursor: pointer; display: block; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.62) 100%); pointer-events: none; }
.category-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px; z-index: 2; color: var(--white); }
.category-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.category-info span { font-size: 12px; opacity: .78; }

/* ===== HOTEL CARDS ===== */
.hotels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hotel-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); }
.hotel-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hotel-img { position: relative; height: 210px; overflow: hidden; }
.hotel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hotel-card:hover .hotel-img img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; z-index: 2; letter-spacing: .2px; }
.hotel-body { padding: 20px; }
.hotel-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.hotel-location { font-size: 13px; color: var(--text-sec); margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }
.hotel-location svg { flex-shrink: 0; }
.hotel-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.stars { display: inline-flex; gap: 1px; color: var(--gold); font-size: 13px; }
.rating-score { font-size: 13px; font-weight: 700; color: var(--text); }
.rating-count { font-size: 12px; color: var(--text-sec); }
.hotel-feature { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-sec); background: var(--bg); padding: 5px 11px; border-radius: 6px; margin-bottom: 14px; }
.hotel-feature svg { color: var(--primary); flex-shrink: 0; }
.hotel-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.hotel-price { font-size: 13px; color: var(--text-sec); }
.hotel-price strong { font-size: 19px; font-weight: 800; color: var(--text); }

/* ===== DESTINATION CARDS ===== */
.destinations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dest-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; display: block; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dest-card:hover img { transform: scale(1.06); }
.dest-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.58) 100%); pointer-events: none; }
.dest-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 22px; z-index: 2; color: var(--white); }
.dest-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 2px; }
.dest-info span { font-size: 13px; opacity: .82; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { position: relative; height: 300px; overflow: hidden; display: flex; align-items: flex-end; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,59,74,.25) 0%, rgba(18,59,74,.7) 100%); }
.page-hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px 40px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #fff; letter-spacing: -.3px; margin-bottom: 6px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.8); }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-dark { color: var(--text-sec); padding: 18px 0 0; }
.breadcrumb-dark a { color: var(--text-sec); }
.breadcrumb-dark a:hover { color: var(--primary); }

/* ===== FILTER BAR ===== */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 68px; z-index: 50; }
.filter-inner { display: flex; align-items: center; gap: 12px; max-width: var(--max-w); margin: 0 auto; padding: 12px 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.filter-inner::-webkit-scrollbar { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1.5px solid var(--border); border-radius: 40px; font-size: 13px; font-weight: 500; color: var(--text); background: var(--white); white-space: nowrap; transition: border-color var(--transition), background var(--transition); }
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { border-color: var(--primary); background: var(--primary); color: var(--white); }
.sort-select { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-sec); white-space: nowrap; }
.sort-select select { border: none; outline: none; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text); background: transparent; cursor: pointer; }

/* ===== RESULTS ===== */
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.results-count { font-size: 15px; color: var(--text-sec); }
.results-count strong { color: var(--text); }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-sec); border: 1.5px solid var(--border); transition: all var(--transition); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active-page { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===== HOTEL DETAIL — GALLERY ===== */
.gallery { max-width: var(--max-w); margin: 0 auto; padding: 24px 24px 0; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery-grid a { overflow: hidden; position: relative; display: block; }
.gallery-grid a:first-child { grid-row: 1 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); color: #fff; font-size: 15px; font-weight: 600; transition: background var(--transition); }
.gallery-grid a:last-child:hover .gallery-more { background: rgba(0,0,0,.55); }
.gallery-placeholder { width: 100%; height: 100%; background: var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-sec); font-size: 13px; }

/* ===== HOTEL DETAIL — LAYOUT ===== */
.hotel-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; max-width: var(--max-w); margin: 0 auto; padding: 28px 24px 80px; }
.hotel-detail-header h1 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 800; letter-spacing: -.3px; margin-bottom: 6px; }
.hotel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: var(--text-sec); margin-bottom: 28px; }
.hotel-meta svg { flex-shrink: 0; }
.hotel-meta-item { display: flex; align-items: center; gap: 5px; }
.rating-badge { background: var(--primary); color: var(--white); font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }

/* Section blocks */
.section-block { margin-bottom: 36px; }
.section-block h2 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.section-block > p { font-size: 15px; color: var(--text-sec); line-height: 1.8; max-width: 680px; }

/* Amenities */
.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amenity { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.amenity-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(18,59,74,.06); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.amenity-icon svg { color: var(--primary); }
.amenity-text { font-size: 14px; font-weight: 500; }

/* Rooms */
.room-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 16px; display: grid; grid-template-columns: 240px 1fr; transition: box-shadow var(--transition); }
.room-card:hover { box-shadow: var(--shadow-md); }
.room-img { height: 100%; min-height: 180px; }
.room-img img { width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: 22px; display: flex; flex-direction: column; }
.room-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.room-desc { font-size: 13px; color: var(--text-sec); margin-bottom: 12px; flex: 1; }
.room-perks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.room-perk { font-size: 12px; color: var(--text-sec); background: var(--bg); padding: 4px 10px; border-radius: 6px; display: flex; align-items: center; gap: 4px; }
.room-perk svg { color: var(--primary); flex-shrink: 0; }
.room-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.room-price { font-size: 13px; color: var(--text-sec); }
.room-price strong { font-size: 20px; font-weight: 800; color: var(--text); }
.btn-book { background: var(--gold); color: var(--white); font-size: 14px; font-weight: 700; padding: 11px 24px; border-radius: var(--radius-sm); transition: background var(--transition), transform .15s ease; display: inline-block; }
.btn-book:hover { background: var(--gold-hover); transform: translateY(-1px); }

/* Sidebar */
.sidebar { position: sticky; top: 92px; align-self: start; }
.booking-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.booking-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.booking-price-row strong { font-size: 26px; font-weight: 800; color: var(--text); }
.booking-price-row span { font-size: 14px; color: var(--text-sec); }
.booking-rating { font-size: 13px; color: var(--text-sec); margin-bottom: 22px; display: flex; align-items: center; gap: 6px; }
.booking-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-field { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color var(--transition); }
.booking-field:focus-within { border-color: var(--primary); }
.booking-field label { display: block; font-size: 11px; font-weight: 700; color: var(--text); letter-spacing: .3px; text-transform: uppercase; margin-bottom: 4px; }
.booking-field input, .booking-field select { border: none; outline: none; font-family: inherit; font-size: 14px; color: var(--text); background: transparent; width: 100%; }
.booking-field select { cursor: pointer; }
.btn-reserve { width: 100%; background: var(--gold); color: var(--white); font-size: 16px; font-weight: 700; padding: 16px; border-radius: var(--radius-sm); transition: background var(--transition), transform .15s ease; margin-bottom: 14px; }
.btn-reserve:hover { background: var(--gold-hover); transform: translateY(-1px); }
.booking-note { text-align: center; font-size: 13px; color: var(--text-sec); }
.booking-breakdown { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.breakdown-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-sec); margin-bottom: 8px; }
.breakdown-row.total { font-weight: 700; color: var(--text); font-size: 15px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }

/* Reviews */
.reviews-summary { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.review-big-score { width: 64px; height: 64px; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; flex-shrink: 0; }
.review-text strong { display: block; font-size: 16px; margin-bottom: 2px; }
.review-text span { font-size: 13px; color: var(--text-sec); }
.review-card { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--border); margin-bottom: 12px; }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(18,59,74,.08); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: var(--primary); flex-shrink: 0; }
.review-author strong { display: block; font-size: 14px; }
.review-author span { font-size: 12px; color: var(--text-sec); }
.review-stars { margin-left: auto; color: var(--gold); font-size: 12px; }
.review-card p { font-size: 14px; color: var(--text-sec); line-height: 1.7; }

/* Location placeholder */
.map-placeholder { width: 100%; height: 220px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-sec); font-size: 14px; gap: 8px; }

/* Destination info card */
.dest-info-card { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.dest-info-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.dest-info-card p { font-size: 15px; color: var(--text-sec); line-height: 1.75; max-width: 780px; }
.dest-highlights { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.dest-highlight { display: flex; align-items: center; gap: 10px; }
.icon-circle { width: 40px; height: 40px; border-radius: 10px; background: rgba(18,59,74,.06); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-circle svg { color: var(--primary); }
.dest-highlight-text { font-size: 14px; }
.dest-highlight-text strong { display: block; color: var(--text); font-weight: 600; }
.dest-highlight-text span { color: var(--text-sec); font-size: 13px; }

/* View all link */
.view-all { display: flex; justify-content: center; margin-top: 40px; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state h2 { font-size: 24px; margin-bottom: 10px; }
.empty-state p { color: var(--text-sec); margin-bottom: 24px; }

/* ===== FOOTER CTA BANNER ===== */
.footer-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #1a5568 100%);
  padding: 0;
  margin-top: 80px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
}
.cta-text h3 { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.cta-text p { font-size: 14px; color: rgba(255,255,255,.6); }
.cta-btn {
  padding: 13px 32px;
  background: var(--gold);
  color: var(--white);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
}
.cta-btn:hover { background: var(--gold-hover); }

/* ===== FOOTER ===== */
.footer {
  background: #0e2e3a;
  color: rgba(255,255,255,.55);
  padding: 0;
}

/* Top: Brand + Social */
.ft-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 28px;
}
.ft-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}
.ft-brand p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 340px;
  color: rgba(255,255,255,.4);
}
.ft-social { display: flex; gap: 6px; flex-shrink: 0; }
.ft-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
  transition: all .25s;
}
.ft-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.ft-social svg { width: 15px; height: 15px; }

/* Divider */
.ft-divider { height: 1px; background: rgba(255,255,255,.06); }

/* Links: 4 columns */
.ft-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px 0;
}
.ft-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}
.ft-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,.45);
  padding: 4px 0;
  transition: color .2s, padding-left .2s;
}
.ft-col a:hover { color: var(--white); padding-left: 4px; }
.ft-link-all {
  margin-top: 6px;
  font-weight: 600;
  color: var(--gold) !important;
  font-size: 12px !important;
}
.ft-link-all:hover { color: var(--white) !important; }

/* Bottom bar */
.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.ft-bottom p { font-size: 12px; color: rgba(255,255,255,.25); }
.ft-bottom-links { display: flex; gap: 20px; }
.ft-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  transition: color .2s;
}
.ft-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .hotels-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .hotel-layout { grid-template-columns: 1fr; gap: 28px; }
  .sidebar { position: static; }
  .gallery-grid { grid-template-rows: 200px 200px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .ft-links { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .nav-links, .header-actions { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; }
  .hero-content { padding: 60px 16px 44px; }
  .hero-search-bar input { font-size: 14px; padding: 12px 10px 12px 10px; }
  .hero-search-btn { padding: 12px 22px; font-size: 14px; }
  .hero-quick-links { gap: 6px; }
  .hero-quick-links a { font-size: 13px; padding: 5px 12px; }
  .section { padding: 56px 0; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .category-card { aspect-ratio: 2/3; }
  .hotels-grid { grid-template-columns: 1fr; gap: 18px; }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px; }
  .gallery-grid a:first-child { grid-column: 1 / 3; }
  .amenities-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .room-card { grid-template-columns: 1fr; }
  .room-img { min-height: 180px; max-height: 200px; }
  .page-hero { height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ft-top { flex-direction: column; text-align: center; }
  .ft-brand p { max-width: 100%; }
  .ft-social { justify-content: center; }
  .ft-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ft-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-cta { margin-top: 48px; }
  .footer-bottom { text-align: center; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 220px 140px 140px; }
  .gallery-grid a:first-child { grid-column: auto; }
  .gallery-grid a:nth-child(n+4) { display: none; }
  .amenities-grid { grid-template-columns: 1fr; }
  .booking-row { grid-template-columns: 1fr; }
  .dest-highlights { gap: 20px; }
  .ft-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== HOTEL PAGE HEADER ===== */
.hotel-page-header { padding: 24px 0 28px; border-bottom: 1px solid var(--border); background: var(--white); }
.hotel-page-header h1 { font-size: clamp(22px, 3.5vw, 30px); font-weight: 800; letter-spacing: -.3px; margin-bottom: 6px; }
.hp-header-row { display: flex; align-items: center; gap: 18px; }
.hp-logo { width: 76px; height: 76px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; border: 2px solid var(--border); }
.hp-logo img { width: 100%; height: 100%; object-fit: cover; }
.hp-cat-badge { display: inline-block; padding: 3px 12px; border-radius: 30px; font-size: 12px; font-weight: 700; background: rgba(217,164,65,.12); color: var(--gold); }

/* ===== CARD BLOCKS (clean white) ===== */
.card-block { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.card-block h2 { font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.card-block p { font-size: 15px; line-height: 1.8; color: var(--text-sec); }

/* ===== SIDEBAR CARDS ===== */
.sidebar-card { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); margin-bottom: 18px; }
.sidebar-title { font-size: 16px; font-weight: 700; margin-bottom: 18px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.sidebar-title svg { color: var(--primary); }
.sidebar-card-book { border-color: var(--gold); }

/* ===== CONTACT ROWS ===== */
.contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(18,59,74,.06); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { color: var(--primary); }
.contact-label { display: block; font-size: 11px; font-weight: 600; color: var(--text-sec); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 2px; }
.contact-value { font-size: 14px; color: var(--text); display: block; word-break: break-word; }
a.contact-value { color: var(--primary); transition: color var(--transition); }
a.contact-value:hover { color: var(--gold); }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.service-chip { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--text); transition: border-color .2s; }
.service-chip:hover { border-color: var(--gold); }
.service-icon { width: 28px; height: 28px; border-radius: 6px; background: rgba(18,59,74,.06); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-icon svg { color: var(--primary); width: 14px; height: 14px; }

/* ===== ROOM CARDS — full image, no cropping ===== */
.room-card { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--white); }
.room-card:last-child { margin-bottom: 0; }
.room-img { overflow: hidden; background: #f0f1ef; }
.room-img img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
.room-body { padding: 20px 22px; display: flex; flex-direction: column; }
.room-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.room-desc { font-size: 14px; color: var(--text-sec); line-height: 1.6; margin-bottom: 12px; }
.room-perks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.room-perk { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 4px 12px; border-radius: 30px; border: 1px solid var(--border); color: var(--text-sec); }
.room-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid #f0f1ef; }
.room-price { font-size: 14px; color: var(--text-sec); }
.room-price strong { font-size: 22px; color: var(--text); }
.btn-book { padding: 10px 24px; background: var(--gold); color: var(--white); border: none; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; cursor: pointer; transition: background var(--transition); }
.btn-book:hover { background: var(--gold-hover); }

/* ===== GALLERY GRID — proper sizing ===== */
.gallery-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-hover { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all .3s; }
.gallery-hover svg { color: var(--white); width: 28px; height: 28px; }
.gallery-item:hover .gallery-hover { opacity: 1; background: rgba(0,0,0,.35); }

/* ===== MAP PLACEHOLDER ===== */
.map-embed { border-radius: var(--radius-sm); overflow: hidden; }
.map-embed iframe { display: block; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #f5f6f4; border-radius: var(--radius-sm); padding: 28px; text-align: center; color: var(--text-sec); font-size: 14px; min-height: 150px; }
.map-placeholder svg { color: var(--primary); width: 28px; height: 28px; }

/* ===== SHARE BUTTONS ===== */
.share-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; border: 1.5px solid var(--border); color: var(--text); transition: all var(--transition); cursor: pointer; background: var(--white); }
.share-btn:hover { border-color: var(--primary); color: var(--primary); }
.share-whatsapp:hover { border-color: #25d366; color: #25d366; }
.share-facebook:hover { border-color: #1877f2; color: #1877f2; }
.share-x:hover { border-color: #000; color: #000; }
.share-copy:hover { border-color: var(--gold); color: var(--gold); }

/* ===== LIGHTBOX ===== */
.lightbox-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox-overlay.active { opacity: 1; pointer-events: auto; }
.lb-img { max-width: 88vw; max-height: 85vh; border-radius: 10px; object-fit: contain; }
.lb-close { position: absolute; top: 18px; right: 22px; background: none; border: none; color: #fff; font-size: 36px; cursor: pointer; z-index: 2; line-height: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 32px; padding: 8px 14px; border-radius: 50%; cursor: pointer; transition: background .2s; z-index: 2; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
.lb-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600; }

/* ===== HOTEL PAGE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hp-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hp-logo { width: 60px; height: 60px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .room-card { grid-template-columns: 1fr; }
  .room-img img { min-height: 200px; max-height: 220px; }
  .gallery-grid-v2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card-block { padding: 22px 18px; }
  .share-buttons { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid-v2 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== SIMPLIFIED SEARCH BOX ===== */
.search-box-simple { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 640px; }
.search-input-wrapper { flex: 1; position: relative; display: flex; align-items: center; background: var(--white); border-radius: var(--radius); padding: 0 16px; }
.search-input-wrapper .search-icon { position: absolute; left: 16px; color: var(--text-sec); flex-shrink: 0; }
.search-input-wrapper input { flex: 1; padding: 16px 16px 16px 48px; border: none; font-size: 15px; background: transparent; outline: none; }
.search-input-wrapper input::placeholder { color: var(--text-sec); }
.search-btn-simple { padding: 14px 32px; background: var(--primary); color: var(--white); border: none; border-radius: var(--radius); font-weight: 600; font-size: 14px; cursor: pointer; transition: background var(--transition); }
.search-btn-simple:hover { background: #0d2b38; }

/* ===== LIVE SEARCH DROPDOWN ===== */
.search-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: 380px; overflow-y: auto; z-index: 200; display: none; border: 1px solid var(--border); }
.search-dropdown.open { display: block; }
.sd-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; text-decoration: none; color: var(--text); transition: background .15s; cursor: pointer; }
.sd-item:hover, .sd-item.sd-active { background: #f5f6f4; }
.sd-item + .sd-item { border-top: 1px solid #f0f1ef; }
.sd-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.sd-text { display: flex; flex-direction: column; min-width: 0; }
.sd-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-type { font-size: 12px; color: var(--text-sec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-empty { padding: 20px 16px; text-align: center; color: var(--text-sec); font-size: 14px; }

@media (max-width: 768px) {
  .search-box-simple { flex-direction: column; }
  .search-input-wrapper { width: 100%; }
  .search-btn-simple { width: 100%; }
  .search-dropdown { max-height: 300px; }
}

/* ===== CONTENT PAGES (About, Privacy, Terms) ===== */
.content-page { max-width: 780px; margin: 0 auto; }
.content-page h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.content-page h2:first-child { margin-top: 0; }
.content-page p { font-size: 15px; line-height: 1.8; color: var(--text-sec); margin-bottom: 16px; }
.content-page a { color: var(--primary); font-weight: 500; }
.content-page a:hover { color: var(--gold); }

/* About stats */
.about-stats { display: flex; gap: 24px; margin: 32px 0; flex-wrap: wrap; }
.about-stat { flex: 1; min-width: 140px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.about-stat strong { display: block; font-size: 32px; font-weight: 800; color: var(--primary); }
.about-stat span { font-size: 14px; color: var(--text-sec); }

/* Contact grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; max-width: 960px; margin: 0 auto; }
.contact-info-col h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.contact-info-col > p { font-size: 15px; color: var(--text-sec); line-height: 1.7; margin-bottom: 28px; }
.contact-info-items { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.contact-info-item a, .contact-info-item span { font-size: 14px; color: var(--text-sec); }
.contact-info-item a:hover { color: var(--primary); }

/* Contact form */
.contact-form-col { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 6px; color: var(--text); }
.cf-field input, .cf-field textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px; color: var(--text); outline: none; transition: border-color .2s; }
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--primary); }
.cf-field textarea { resize: vertical; }
.contact-success { text-align: center; padding: 40px 20px; }
.contact-success h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cf-row { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; }
}

/* ===== DESTINATION ABOUT BRIEF ===== */
.dest-about-brief { background: var(--white); border-radius: var(--radius); padding: 28px 32px; border: 1px solid var(--border); }
.dest-about-brief h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.dest-about-brief p { font-size: 15px; color: var(--text-sec); line-height: 1.7; max-width: 720px; }

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px;
}
