/*
Theme Name: MDT Hotel Vision
Theme URI: https://yeniturizm.com/mdt-hotel-vision
Author: yeniturizm.com
Author URI: https://yeniturizm.com
Description: Parametrik ve modüler butik otel teması. Cinema ve Literature modları, film şeridi hero, CPT oda ve mekan yönetimi, AI chatbot entegrasyonu.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mdt-hotel-vision
Tags: hotel, boutique, cinema, literature, custom-post-types, responsive
*/

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Special+Elite&family=DM+Serif+Display:ital@0;1&family=Jost:wght@200;300;400;500&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES — CINEMA MODE (Default)
   ============================================================ */
:root,
body.mode-cinema {
  --bg-primary:       #0a0a0a;
  --bg-secondary:     #111111;
  --bg-card:          #181818;
  --bg-overlay:       rgba(10,10,10,0.75);
  --text-primary:     #f0ebe3;
  --text-secondary:   #a89f94;
  --text-muted:       #665f58;
  --accent:           #c9a96e;
  --accent-dark:      #a07840;
  --accent-light:     #e8d5b0;
  --border:           rgba(201,169,110,0.2);
  --border-subtle:    rgba(255,255,255,0.07);
  --font-display:     'Playfair Display', Georgia, serif;
  --font-body:        'Jost', sans-serif;
  --font-accent:      'DM Serif Display', serif;
  --grain-opacity:    0.055;
  --shadow-card:      0 8px 40px rgba(0,0,0,0.6);
  --shadow-hover:     0 16px 60px rgba(0,0,0,0.8);
  --radius:           2px;
  --transition:       0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  --film-border:      18px;
  --film-perf-color:  #0a0a0a;
}

/* ============================================================
   CSS CUSTOM PROPERTIES — LITERATURE MODE
   ============================================================ */
body.mode-literature {
  --bg-primary:       #f2ece0;
  --bg-secondary:     #e8e0d0;
  --bg-card:          #faf6ee;
  --bg-overlay:       rgba(242,236,224,0.88);
  --text-primary:     #2c2010;
  --text-secondary:   #6b5840;
  --text-muted:       #9c8c70;
  --accent:           #7a3b1e;
  --accent-dark:      #5c2c14;
  --accent-light:     #b8733a;
  --border:           rgba(122,59,30,0.22);
  --border-subtle:    rgba(44,32,16,0.1);
  --font-display:     'Cormorant Garamond', Georgia, serif;
  --font-body:        'Jost', sans-serif;
  --font-accent:      'Special Elite', cursive;
  --grain-opacity:    0.07;
  --shadow-card:      0 4px 24px rgba(44,32,16,0.13);
  --shadow-hover:     0 12px 40px rgba(44,32,16,0.22);
  --radius:           1px;
  --transition:       0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  --film-border:      0px;
  --film-perf-color:  transparent;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: var(--grain-opacity);
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   CINEMA MODE — Güçlü görsel karakter
   ============================================================ */
body.mode-cinema .film-perfs::before,
body.mode-cinema .film-perfs::after {
  opacity: 0.7;
}

/* Letter-box çerçevesi */
body.mode-cinema #hero::before,
body.mode-cinema #hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: var(--film-border);
  background: #000;
  z-index: 5;
  pointer-events: none;
}
body.mode-cinema #hero::before { top: 0; }
body.mode-cinema #hero::after  { bottom: 0; }

/* Film frame border */
body.mode-cinema .film-frame {
  border-right: 3px solid #000;
}

/* Kart köşe efekti */
body.mode-cinema .room-card,
body.mode-cinema .facility-card,
body.mode-cinema .review-card {
  border-radius: 0;
  position: relative;
}

body.mode-cinema .room-card::before,
body.mode-cinema .facility-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Başlıklarda hafif italic */
body.mode-cinema h1,
body.mode-cinema h2 {
  font-style: italic;
}

/* Timestamp / overline görünümü */
body.mode-cinema .overline::before {
  content: '▶ ';
  font-size: 0.5em;
  vertical-align: middle;
}

/* ============================================================
   LITERATURE MODE — Parşömen / Daktilo / Şaryo karakteri
   ============================================================ */

/* Kağıt doku arka planı */
body.mode-literature {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Hero'da film şeridi yok, tam sayfa resim */
body.mode-literature .film-perfs { display: none; }
body.mode-literature .film-frame { border-right: none; }
body.mode-literature #hero::before,
body.mode-literature #hero::after { display: none; }

/* Hero overlay daha sıcak */
body.mode-literature .hero-overlay {
  background: linear-gradient(
    to top,
    var(--bg-primary) 0%,
    rgba(242,236,224,0.3) 40%,
    rgba(0,0,0,0.15) 100%
  );
}

/* Sepia efekti hero görselleri üzerinde */
body.mode-literature .film-frame img {
  filter: brightness(0.85) sepia(0.25) saturate(0.9);
}

/* Şaryo başlıkları - daktilo hissi */
body.mode-literature h1,
body.mode-literature h2,
body.mode-literature h3 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.02em;
}

body.mode-literature .display-title {
  font-style: italic;
  font-weight: 300;
}

/* Kart görünümü - kitap sayfası */
body.mode-literature .room-card,
body.mode-literature .facility-card,
body.mode-literature .review-card {
  border-radius: 1px;
  box-shadow: 2px 4px 16px rgba(44,32,16,0.1), inset 0 0 0 1px rgba(122,59,30,0.08);
}

/* İtalik alıntı stili - yorumlar */
body.mode-literature .review-card p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.9;
  color: var(--text-secondary);
}

body.mode-literature .review-card p::before { content: '\201C'; font-size: 2rem; color: var(--accent); line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
body.mode-literature .review-card p::after  { content: '\201D'; font-size: 2rem; color: var(--accent); line-height: 0; vertical-align: -0.4em; margin-left: 4px; }

/* Overline - elle yazılmış his */
body.mode-literature .overline {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
}

/* Section ayırıcı - eski kitap süsü */
body.mode-literature .eyebrow::before {
  width: 60px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Butonlar - daha rounded, kitabi */
body.mode-literature .btn {
  border-radius: 0;
  letter-spacing: 0.2em;
  font-family: var(--font-accent);
  font-size: 0.7rem;
}

/* About bölümü - sayfadan fırlamış gibi */
body.mode-literature .about-image-wrap::before {
  border-color: var(--accent);
  opacity: 0.4;
}

/* Stat numaraları - yazma makinesi stili */
body.mode-literature .stat-item .stat-number {
  font-family: var(--font-accent);
  font-size: 3rem;
}

/* Footer ayrımı daha belirgin */
body.mode-literature #site-footer {
  border-top: 2px solid var(--accent);
}

/* Film strip Literature'da sakin kayıyor */
body.mode-literature .film-track {
  animation-duration: 45s;
}

/* Mode toggle etiketi - sadece admin önizlemesi için */
body.mode-cinema  .mode-toggle::before { content: '🎬 '; }
body.mode-literature .mode-toggle::before { content: '📖 '; }
.mode-toggle { display: none; }


a:hover { color: var(--accent-light); }

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.overline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
  text-decoration: none;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-filled {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-filled:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--bg-primary);
}

.btn-ghost {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 0.8rem;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
}

#site-header.scrolled {
  background: var(--bg-primary);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo-wrap {
  display: flex;
  align-items: center;
}

/* WordPress the_custom_logo() çıktısı: .custom-logo-link > img.custom-logo */
.site-logo-wrap .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-wrap .custom-logo-link img.custom-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.footer-logo .custom-logo-link img.custom-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

body.mode-literature .footer-logo .custom-logo-link img.custom-logo {
  filter: none;
  opacity: 1;
}

/* Metin logo fallback */
.site-logo-text {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.site-logo-text .logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.site-logo-text .logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 0.5rem; }

.main-nav a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  transition: color var(--transition);
  text-decoration: none;
}

.main-nav a:hover { color: var(--text-primary); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mode-toggle {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
  font-family: var(--font-body);
}

.mode-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* ============================================================
   HERO — FILM STRIP
   ============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-film-strip {
  position: absolute;
  inset: 0;
  display: flex;
}

.film-track {
  display: flex;
  gap: 0;
  animation: filmScroll 30s linear infinite;
  will-change: transform;
}

.film-track:hover { animation-play-state: paused; }

.film-frame {
  flex-shrink: 0;
  width: 60vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter 0.5s ease;
}

.film-frame:hover img { filter: brightness(0.85); }

/* Film perforation holes */
.film-perfs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.film-perfs::before,
.film-perfs::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 12px,
    var(--bg-primary) 12px,
    var(--bg-primary) 24px
  );
  opacity: 0.5;
}

.film-perfs::before { top: 0; }
.film-perfs::after { bottom: 0; }

@keyframes filmScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero overlay gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg-primary) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.1) 100%
  );
  z-index: 3;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 4;
  padding: 0 0 5rem;
}

.hero-content .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 3rem;
}

.hero-text .overline { margin-bottom: 1rem; }

.hero-text h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.5; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}

/* ============================================================
   ABOUT / INTRO STRIP
   ============================================================ */
#about {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: -1;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ============================================================
   ROOMS
   ============================================================ */
#rooms { background: var(--bg-primary); }

.rooms-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.room-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
}

.room-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.room-card:hover .room-card-image img { transform: scale(1.05); }

.room-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius);
}

.room-card-body { padding: 1.8rem; }

.room-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.room-card-body .room-size {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.room-feature-tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.room-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.8rem;
  border-top: 1px solid var(--border-subtle);
}

.room-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}

.room-price span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   FACILITIES
   ============================================================ */
#facilities {
  background: var(--bg-secondary);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.facility-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

.facility-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.facility-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.4rem;
}

.facility-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.facility-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   DESTINATION AI SECTION
   ============================================================ */
#destination {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

#destination::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.destination-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.destination-image-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 500px;
}

.destination-image-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.destination-image-mosaic img:first-child {
  grid-row: 1 / 3;
}

.destination-text h2 { margin-bottom: 1.5rem; }

.destination-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.9;
}

/* AI mode indicator */
.ai-text-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.ai-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

/* ============================================================
   SOCIAL PROOF — REVIEWS
   ============================================================ */
#reviews {
  background: var(--bg-secondary);
  text-align: center;
}

.reviews-header { margin-bottom: 3rem; }

.review-score-big {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.review-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
  transition: all var(--transition);
}

.review-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.review-card .review-stars { justify-content: flex-start; font-size: 0.9rem; margin-bottom: 1rem; }
.review-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.2rem; font-style: italic; }
.reviewer-name { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.reviewer-date { font-size: 0.7rem; color: var(--text-muted); }

/* ============================================================
   SOCIAL FEED
   ============================================================ */
#social-feed {
  background: var(--bg-primary);
}

.social-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.social-embed-area {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-placeholder {
  text-align: center;
  color: var(--text-muted);
}

.social-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.social-placeholder p {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   RESERVATION CTA BANNER
   ============================================================ */
#reservation-cta {
  background: var(--accent);
  padding: 4rem 0;
}

#reservation-cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cta-text h2 {
  color: var(--bg-primary);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: rgba(0,0,0,0.6);
  font-size: 0.9rem;
}

#reservation-cta .btn {
  border-color: var(--bg-primary);
  color: var(--bg-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

#reservation-cta .btn:hover {
  background: var(--bg-primary);
  color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .site-logo { margin-bottom: 1.5rem; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.footer-contact-item .icon {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   FLOATING AI CHATBOT BUTTON
   ============================================================ */
#ai-chatbot-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all var(--transition);
  text-decoration: none;
}

#ai-chatbot-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  color: var(--bg-primary);
}

#ai-chatbot-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
  animation: chatPulse 2.5s ease-in-out infinite;
}

@keyframes chatPulse {
  0%,100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.15); opacity: 0; }
}

.chatbot-tooltip {
  position: absolute;
  right: 68px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition);
  pointer-events: none;
}

#ai-chatbot-btn:hover .chatbot-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   GLOBAL RESERVATION BUTTON (sticky)
   ============================================================ */
#global-reserve-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 900;
}

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */

/* Room Single */
.room-single-hero {
  position: relative;
  height: 65vh;
  min-height: 500px;
  overflow: hidden;
}

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

.room-single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 60%);
}

.room-single-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
}

.room-booking-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.room-booking-box h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.room-booking-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.room-booking-price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   AMENITIES LIST
   ============================================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}

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

.amenity-item::before {
  content: '—';
  color: var(--accent);
  font-size: 0.7rem;
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 1.5rem 0;
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { opacity: 0.4; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .destination-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero-content .container { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: row; align-items: center; }
  #reservation-cta .container { flex-direction: column; text-align: center; }
  .room-single-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { 
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 0;
  }
  .nav-toggle { display: flex; }
  .rooms-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image-wrap::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .film-frame { width: 85vw; }
  .rooms-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .social-feed-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .facilities-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #global-reserve-btn { display: none; }
}

/* ============================================================
   ADMIN BAR OFFSET
   ============================================================ */
.admin-bar #site-header { top: 32px; }
