@import url('./_breakpoints.css');

/* ============================================
   GÜVEN HOTEL — Modern Butik Tasarım
   Krem + Altın + Grafit Palet
   ============================================ */

:root {
  /* Palette */
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #3A3A3A;
  --muted: #6B6B6B;
  --line: #E8E0D0;
  --line-soft: #F0EBE0;

  /* Gold spectrum — logo inspired */
  --gold: #C9A961;
  --gold-deep: #A8884A;
  --gold-pale: #E8D8B0;
  --gold-wash: #F5EED9;

  /* Accents */
  --shadow-sm: 0 2px 8px rgba(26,26,26,0.04);
  --shadow-md: 0 8px 28px rgba(26,26,26,0.08);
  --shadow-lg: 0 24px 60px rgba(26,26,26,0.12);
  --shadow-gold: 0 12px 40px rgba(201,169,97,0.22);

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 10vw, 128px);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-snap: cubic-bezier(.4,1.4,.4,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
a, button { touch-action: manipulation; }

/* Container */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 500; }
h4 { font-size: 1.125rem; font-weight: 600; }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 6px 14px;
  border: 1px solid var(--gold-pale);
  border-radius: 999px;
  background: var(--gold-wash);
}
.section-subtitle { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }

/* Section common */
section { padding: var(--section-y) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.section-head .tag { margin-bottom: 20px; }
.section-head h2 { margin-top: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#preloader.hide { opacity: 0; visibility: hidden; }
#preloader .loader {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
#preloader img {
  height: var(--logo-preloader-h, 88px);
  animation: pulse 1.8s var(--ease) infinite;
}
#preloader .bar {
  width: 160px; height: 2px;
  background: var(--line);
  border-radius: 999px; overflow: hidden;
}
#preloader .bar::after {
  content: '';
  display: block;
  width: 40%; height: 100%;
  background: var(--gold);
  animation: slide 1.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.55} }
@keyframes slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ============================================
   NAVBAR — Sabit Beyaz, Temiz, Okunaklı
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
  transition: padding .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* LOGO */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  height: var(--logo-navbar-h, 48px);
  width: auto;
  transition: height .3s var(--ease);
}
.nav.scrolled .nav-logo img { height: 40px; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}
.nav-logo-text .brand {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-logo-text .sub {
  font-size: clamp(0.58rem, 1.5vw, 0.65rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-top: 1px;
}

/* MENU */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu li {
  display: flex;
  align-items: center;
}
.nav-menu a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .2s;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-menu a:hover {
  color: var(--ink);
}
.nav-menu a:hover::after {
  width: 100%;
}

/* CTA BUTTON */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-cta:hover {
  background: var(--gold-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.nav-cta svg {
  transition: transform .3s var(--ease);
}
.nav-cta:hover svg {
  transform: translateX(3px);
}

/* MOBILE TOGGLE */
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 101;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 1.8px;
  background: var(--ink);
  transition: all .3s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transition: all .3s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* TABLET — Menü biraz daralsın */
/* özel: navbar overflow eşiği (logo + menü + CTA içerik-parametreli) — standart dışı tutuldu */
@media (max-width: 1100px) {
  .nav-menu { gap: 20px; }
  .nav-menu a { font-size: 0.85rem; }
  .nav-inner { gap: 20px; }
}

/* MOBİL MENÜ */
/* --bp-mobile (768px) — hamburger sadece bu eşiğin altında aktive olur (BUG-001) */
/* Z-index hiyerarşi: navbar=100, backdrop=110, panel=120, panel-CTA=121, lifted-toggle=130 */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-cta  { display: none; }
  .nav-toggle { display: flex; }

  /* Backdrop — fade transition (display flip yerine opacity+visibility) */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .nav-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .3s var(--ease), visibility 0s linear 0s;
  }

  /* Panel — slide-in from right (translateX). Daima DOM'da, mobile-open ile görünür. */
  .nav-menu.mobile-open,
  .nav-menu.is-mobile-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 82vw);
    background: linear-gradient(170deg, #1A1A1A 0%, #27221C 40%, #1A1A1A 100%);
    padding: 0 0 80px;
    gap: 0;
    box-shadow: -10px 0 50px rgba(0,0,0,0.5);
    z-index: 120;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
  }
  .nav-menu.mobile-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .35s var(--ease), visibility 0s linear 0s;
  }

  /* Header area inside panel */
  .nav-menu.mobile-open::before {
    content: 'GÜVEN HOTEL';
    display: block;
    padding: 80px 28px 24px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--gold);
    border-bottom: 1px solid rgba(201,169,97,0.15);
    background: linear-gradient(135deg, rgba(201,169,97,0.08) 0%, transparent 70%);
  }

  /* Menu items — staggered slide-in animation re-runs every time .mobile-open is added */
  .nav-menu.mobile-open li {
    list-style: none;
    opacity: 0;
    transform: translateX(16px);
    animation: menuItemIn .35s var(--ease) forwards;
  }
  .nav-menu.mobile-open li:nth-child(1) { animation-delay: .05s; }
  .nav-menu.mobile-open li:nth-child(2) { animation-delay: .1s; }
  .nav-menu.mobile-open li:nth-child(3) { animation-delay: .15s; }
  .nav-menu.mobile-open li:nth-child(4) { animation-delay: .2s; }
  .nav-menu.mobile-open li:nth-child(5) { animation-delay: .25s; }
  .nav-menu.mobile-open li:nth-child(6) { animation-delay: .3s; }
  .nav-menu.mobile-open li:nth-child(7) { animation-delay: .35s; }
  .nav-menu.mobile-open li:nth-child(8) { animation-delay: .4s; }
  .nav-menu.mobile-open li:nth-child(9) { animation-delay: .45s; }
  @keyframes menuItemIn {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .nav-menu.mobile-open a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: background .2s, color .2s;
    -webkit-tap-highlight-color: rgba(201,169,97,0.12);
  }
  .nav-menu.mobile-open a:hover,
  .nav-menu.mobile-open a:active {
    background: rgba(201,169,97,0.08);
    color: var(--gold);
  }
  .nav-menu.mobile-open a::after { display: none; }

  /* Body kilidi (JS position:fixed lock'ı temel kilit; bu fallback) */
  body.menu-open { overflow: hidden; }

  /* Toggle butonunu menü açıkken navbar stacking context'inden kurtar
     position:fixed kendi stacking context'ini yaratır → z-index global olur */
  body.menu-open .nav-toggle {
    position: fixed;
    top: 14px;
    right: var(--gutter, 20px);
    z-index: 130;
  }

  /* Panel CTA — bottom of panel, panel'in üstünde */
  .nav-menu.mobile-open ~ .nav-cta {
    display: flex !important;
    position: fixed;
    bottom: 0;
    right: 0;
    width: min(320px, 82vw);
    justify-content: center;
    z-index: 121;
    border-radius: 0;
    padding: 16px 28px;
    background: var(--gold);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
    opacity: 0;
    animation: menuItemIn .35s var(--ease) .3s forwards;
  }

  /* Hamburger açıkken X formuna döner — ::before/::after rengi (dark bg üstünde) */
  .nav-toggle.active span { background: transparent; }
  .nav-toggle.active span::before,
  .nav-toggle.active span::after { background: var(--ink); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2520 100%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.55;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1.0); } }
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(26,26,26,0.4) 0%, rgba(26,26,26,0.7) 100%);
}
.hero::after {
  /* Subtle gold grain overlay */
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 70% 30%, rgba(201,169,97,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  color: #fff;
  max-width: 780px;
}
.hero .tag {
  background: rgba(201,169,97,0.18);
  color: var(--gold-pale);
  border-color: rgba(201,169,97,0.35);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
  opacity: 0; transform: translateY(20px);
  animation: riseIn .8s var(--ease) 0.2s forwards;
}
.hero h1 {
  color: #fff;
  margin-bottom: 8px;
  font-weight: 300;
}
.hero h1 .line {
  display: block;
  opacity: 0; transform: translateY(30px);
  animation: riseIn 1s var(--ease) forwards;
}
.hero h1 .line-1 { animation-delay: 0.3s; }
.hero h1 .line-2 {
  animation-delay: 0.5s;
  color: var(--gold-pale);
  font-style: italic;
  font-weight: 400;
}
.hero-subtitle {
  margin-top: 28px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  opacity: 0; transform: translateY(20px);
  animation: riseIn .8s var(--ease) 0.7s forwards;
}
.hero-ctas {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; gap: 14px;
  opacity: 0; transform: translateY(20px);
  animation: riseIn .8s var(--ease) 0.9s forwards;
}
.hero .btn-primary { background: var(--gold); color: #1a1a1a; }
.hero .btn-primary:hover { background: #fff; color: var(--ink); }
.hero .btn-secondary {
  color: #fff; border-color: rgba(255,255,255,0.4);
}
.hero .btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 1.8s forwards;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 10px;
  background: var(--gold-pale);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(480%); }
}
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ============================================
   STATS
   ============================================ */
.stats {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px 24px;
}
.stat-item { text-align: center; position: relative; padding: 0 12px; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute; top: 20%; right: -12px;
  width: 1px; height: 60%;
  background: var(--line);
}
/* --bp-mobile (768px) — stat divider mobilde gizle */
@media (max-width: 768px) { .stat-item::after { display: none !important; } }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.stat-number .suffix { font-size: 0.55em; color: var(--gold); }
.stat-label {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 12px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stat-text { font-size: 0.88rem; color: var(--muted); margin-top: 4px; }

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--bg); }
.about-grid {
  display: grid; gap: 72px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
/* --bp-tablet (1024px) — about-grid 1-col tablet/mobil */
@media (max-width: 1023px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual::after {
  content: ''; position: absolute; top: 20px; left: 20px;
  width: 60px; height: 60px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  pointer-events: none;
}
.about-visual::before {
  content: ''; position: absolute; bottom: 20px; right: 20px;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  pointer-events: none;
  z-index: 2;
}
.about-text .tag { margin-bottom: 20px; }
.about-text h2 { margin-bottom: 24px; }
.about-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.about-body {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}
.about-quote {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: var(--gold-wash);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.about-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================
   ROOMS
   ============================================ */
.rooms { background: var(--surface); }
.room-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: -8px 0 30px;
}
.room-filter-btn {
  min-width: 92px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-soft);
  font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.room-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-1px);
}
.room-filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.room-card.is-hidden {
  display: none;
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.room-card {
  position: relative;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.room-card.featured { border-color: var(--gold-pale); }
.room-card.featured::before {
  content: 'ÖNERİLEN';
  position: absolute; top: 20px; right: 20px; z-index: 3;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.room-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.room-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.room-card:hover .room-img img { transform: scale(1.08); }
.room-body { padding: 28px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.room-body h3 { margin-bottom: 10px; }
.room-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; }
.room-features {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px;
}
.room-features span {
  font-size: 0.76rem;
  padding: 5px 12px;
  background: var(--gold-wash);
  color: var(--gold-deep);
  border-radius: 999px;
  font-weight: 500;
}
.room-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
  overflow: hidden;
}
.room-price .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.room-price .value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 2px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ============================================
   FEATURES
   ============================================ */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feature-card {
  background: var(--surface);
  padding: 44px 32px;
  transition: background .3s var(--ease);
  position: relative;
}
.feature-card:hover {
  background: var(--gold-wash);
}
.feature-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold-deep);
  margin-bottom: 22px;
  transition: all .3s var(--ease);
}
.feature-card:hover .feature-icon {
  background: var(--gold);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

/* ============================================
   NEARBY
   ============================================ */
.nearby { background: var(--surface); }
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.nearby-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.nearby-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.nearby-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.nearby-card:hover img { transform: scale(1.1); }
.nearby-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,26,26,0.88) 100%);
}
.nearby-info {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  z-index: 2;
  color: #fff;
}
.nearby-info h4 {
  color: #fff; font-size: 1.1rem;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 500;
}
.nearby-distance {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem;
  color: var(--gold-pale);
  font-weight: 500;
}
.nearby-distance svg { width: 14px; height: 14px; }

/* ============================================
   GALLERY
   ============================================ */
.gallery { background: var(--bg); }
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.gallery-tab {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.gallery-tab:hover,
.gallery-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.gallery-block { display: none; }
.gallery-block.active { display: grid; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-grid.gallery-block:not(.active) { display: none; }
.gallery-grid.gallery-block.active { display: grid; }
/* --bp-mobile (768px) — gallery 2-col mobile (sweet spot 600-800 alttaki kuralla override edilir) */
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-row: span 2; }
/* --bp-mobile (768px) — gallery item span override mobil */
@media (max-width: 768px) { .gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-row: span 1; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,26,26,0);
  transition: background .3s var(--ease);
}
.gallery-item:hover::after { background: rgba(26,26,26,0.2); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,10,10,0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 92vw; max-height: 86vh;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--ink); color: #fff; }
.testimonials .section-head .tag { background: rgba(201,169,97,0.15); color: var(--gold-pale); border-color: rgba(201,169,97,0.3); }
.testimonials .section-head h2 { color: #fff; }
.testimonials .section-subtitle { color: rgba(255,255,255,0.6); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  border-radius: 12px;
  position: relative;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.testimonial:hover {
  background: rgba(201,169,97,0.08);
  transform: translateY(-4px);
}
.testimonial-stars { color: var(--gold); margin-bottom: 16px; display: flex; gap: 2px; }
.testimonial-stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  margin-bottom: 22px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}
.testimonial-meta .name { font-weight: 600; font-size: 0.95rem; }
.testimonial-meta .source { font-size: 0.78rem; color: var(--gold-pale); margin-top: 2px; }

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--bg); }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  transition: padding .3s var(--ease);
}
.faq-item.open { padding: 28px 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s;
}
.faq-q:hover { color: var(--gold-deep); }
.faq-toggle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .3s, transform .3s var(--ease), color .3s;
}
.faq-item.open .faq-toggle {
  background: var(--gold);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), margin-top .4s var(--ease);
  color: var(--ink-soft);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; margin-top: 16px; }

/* ============================================
   BLOG SECTION (homepage)
   ============================================ */
.blog-section { background: var(--bg); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  display: block;
  background: var(--line-soft);
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.08); }
.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex; flex-direction: column;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--muted);
  margin-bottom: 12px;
}
.blog-card-cat {
  background: var(--gold-wash);
  color: var(--gold-deep);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.74rem;
}
.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.35;
  font-family: var(--font-display);
  font-weight: 500;
}
.blog-card h3 a { transition: color .2s; }
.blog-card:hover h3 a { color: var(--gold-deep); }
.blog-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap .3s var(--ease);
  margin-top: auto;
}
.blog-card-link:hover { gap: 10px; }
.blog-see-all {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--surface); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
/* --bp-tablet (1024px) — contact grid 1-col tablet/mobil */
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } .contact-map { min-height: 280px; } }
.contact-info {
  background: var(--bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
}
.contact-list { list-style: none; }
.contact-list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-list .label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.contact-list .value { font-weight: 500; color: var(--ink); font-size: 1rem; }
.contact-list a.value:hover { color: var(--gold-deep); }
.contact-map {
  height: 100%; min-height: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================
   FOOTER
   ============================================ */
footer.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
  position: relative;
}
footer.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
/* --bp-mobile (768px) — footer grid 1-col mobil */
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
.footer-brand img {
  height: var(--logo-footer-h, 44px);
  margin-bottom: 20px;
}
.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 380px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-family: var(--font-body);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.92rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-pale); }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--gold-pale); }
.footer-bottom a:hover { color: #fff; }

/* ============================================
   WHATSAPP FAB + KARŞILAMA BALONCUĞU
   ============================================ */
.whatsapp-wrap {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Karşılama baloncuğu */
.wa-bubble {
  position: relative;
  max-width: 320px;
  background: #FFFFFF;
  border-radius: 16px 16px 4px 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  border: 1px solid rgba(0,0,0,0.04);
}
.wa-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 24px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #FFFFFF;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.06));
}
.wa-bubble-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.wa-bubble-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.wa-bubble-meta { flex: 1; min-width: 0; }
.wa-bubble-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.wa-bubble-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #10B981;
  font-weight: 500;
  margin-top: 2px;
}
.wa-bubble-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16,185,129,0.2);
}
.wa-bubble-close {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--line-soft);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  transition: all .2s;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.wa-bubble-close:hover {
  background: var(--ink);
  color: #fff;
}
.wa-bubble-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.35;
}
.wa-bubble-message {
  font-size: 0.87rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
}
.wa-bubble-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 10px 16px;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s var(--ease);
}
.wa-bubble-cta:hover {
  background: #1FAE55;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,211,102,0.35);
  color: #fff;
}
.wa-bubble-cta svg { width: 16px; height: 16px; }

/* FAB butonu */
.whatsapp-fab {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
  transition: transform .3s var(--ease), box-shadow .3s;
  cursor: pointer;
  border: 0;
}
.whatsapp-fab:hover {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 12px 36px rgba(37,211,102,0.55);
  color: #fff;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.4;
  animation: ping 2s cubic-bezier(0,0,0.2,1) infinite;
}
.whatsapp-fab.bubble-open::after { display: none; }

/* Pulse dot göstergesi (yeni mesaj var hissi) */
.whatsapp-fab .wa-dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 14px; height: 14px;
  background: #EF4444;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all .3s var(--ease);
}
.whatsapp-fab.has-message .wa-dot {
  opacity: 1;
  transform: scale(1);
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* --bp-sm (560px) — WhatsApp FAB small-mobile konum (480→560'a yuvarlandı) */
@media (max-width: 560px) {
  .whatsapp-wrap { bottom: 16px; right: 16px; }
  .wa-bubble { max-width: calc(100vw - 60px); }
}

/* ============================================
   SCROLL TO TOP — Altın, WhatsApp'ın yanında, fade-in
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 98px; /* WhatsApp FAB (60px) + sağ boşluk (24px) + aradaki 14px gap */
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,169,97,0.45);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 8px 24px rgba(168,136,74,0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.92);
  transition:
    opacity .4s var(--ease),
    transform .4s var(--ease),
    visibility .4s,
    background .3s,
    box-shadow .3s,
    border-color .3s;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.scroll-top:hover {
  background: linear-gradient(135deg, var(--gold-deep) 0%, #8a6c3a 100%);
  border-color: var(--gold-deep);
  box-shadow: 0 12px 32px rgba(168,136,74,0.48);
  transform: translateY(-2px) scale(1.04);
}
.scroll-top:active {
  transform: translateY(0) scale(0.96);
}
.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* --bp-mobile (768px) — BUG-003: back-to-top mobilde tamamen gizli */
/* !important: defensive — JS gelecekte inline display style atayabilir; class
   tabanlı .visible toggle'ı zaten display'i değiştirmiyor ama override garantisi için. */
@media (max-width: 768px) {
  .scroll-top { display: none !important; }
}

/* --bp-sm (560px) — scroll-top + WhatsApp small-mobile konum */
/* NOT: scroll-top kuralları BUG-003 sonrası bu viewport'ta etkisiz (display:none) —
   sadece .whatsapp-wrap kuralı aktif. Gelecekte scroll-top mobilde geri açılırsa
   bu position kuralları doğal olarak devreye girer. */
@media (max-width: 560px) {
  .scroll-top {
    right: 16px;
    bottom: 148px;
    width: 40px;
    height: 40px;
  }
  .scroll-top svg {
    width: 16px;
    height: 16px;
  }
  .whatsapp-wrap {
    bottom: 82px;
    right: 16px;
  }
}

/* ============================================
   HMS MODAL (iframe mode)
   ============================================ */
.hms-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,0.7);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.hms-modal.open { display: flex; }
.hms-modal-inner {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  width: 100%; max-width: 1100px;
  max-height: 92vh;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.hms-modal-head {
  padding: 18px 24px;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
}
.hms-modal-head h3 { color: #fff; font-size: 1.15rem; }
.hms-modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.hms-modal-close:hover { background: rgba(255,255,255,0.2); }
.hms-modal iframe {
  flex: 1;
  width: 100%;
  border: 0;
  min-height: 500px;
}

/* ============================================
   REVEAL ANIMATIONS (scroll)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   HERO BOOKING WIDGET
   ============================================ */
.hero-booking {
  margin-top: 48px;
  opacity: 0; transform: translateY(20px);
  animation: riseIn .8s var(--ease) forwards;
}
.hero-booking-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 20px;
}
.hb-field { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.hb-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-pale);
}
.hb-field input, .hb-field select {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color .2s, background .2s;
}
.hb-field input:focus, .hb-field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
.hb-field select option { background: var(--ink); color: #fff; }
.hb-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.hb-submit:hover {
  background: #fff;
  transform: translateY(-2px);
}
/* özel: hero-booking-form wrap eşiği (4-input flex-wrap noktası — içerik-parametreli) */
@media (max-width: 1100px) {
  .hero-booking-form {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hb-field { flex: 1 1 calc(33% - 10px); min-width: 120px; }
  .hb-submit { width: 100%; justify-content: center; padding: 14px; }
}
/* --bp-tablet (1024px) — hero-booking-form column layout tablet/mobil */
@media (max-width: 1023px) {
  .hero-booking-form {
    flex-direction: column;
    gap: 14px;
  }
  .hb-field { width: 100%; flex: none; }
  .hb-submit { width: 100%; justify-content: center; padding: 14px; }
}

/* ============================================
   ROOM CARD IMAGE LINK & OVERLAY
   ============================================ */
.room-img-link { display: block; }
.room-img { position: relative; overflow: hidden; }
.room-img img { transition: transform .6s var(--ease); }
.room-card:hover .room-img img { transform: scale(1.05); }
.room-img-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,26,26,0.4);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.room-card:hover .room-img-overlay { opacity: 1; }

/* Room card dual CTAs */
.room-ctas { display: flex; gap: 8px; }
.room-cta {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all .3s var(--ease);
  text-decoration: none;
  min-height: 44px;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}
.room-cta-detail {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.room-cta-detail:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}
.room-cta-reserve {
  background: var(--ink);
  color: var(--bg);
  border: 1.5px solid var(--ink);
}
.room-cta-reserve:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* ============================================
   STICKY MOBILE CTA BAR
   ============================================ */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  pointer-events: none;
}
.sticky-cta-bar.visible {
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  min-height: 48px;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}
.sticky-cta-reserve { background: var(--gold); color: var(--ink); }
.sticky-cta-wa { background: #25D366; color: #fff; }
.sticky-cta-phone { background: var(--ink); color: var(--bg); }

/* Oda ve rezervasyon sayfalarında global sticky bar gizle (kendi bar'ları var) */
.page-room .sticky-cta-bar,
.page-reservation .sticky-cta-bar { display: none !important; }

/* --bp-tablet (1024px) — sticky-cta-bar tablet/mobil göster + FAB konum ayarı */
@media (max-width: 1023px) {
  .sticky-cta-bar { display: flex; }
  .whatsapp-wrap { bottom: 84px; }
  .scroll-top { bottom: 84px; right: 76px; }
  .site-footer { padding-bottom: 72px; }
}

/* ============================================
   TABLET PORTRAIT SWEET SPOT (özel)
   --bp-sm-tablet (600) → --bp-mobile-wide (800)
   Gallery 3-col aspect-ratio için özel range; bu aralıkta
   rooms/features/testimonials de 2-col override.
   ============================================ */
@media (min-width: 600px) and (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-row: span 1; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   LANDSCAPE ORIENTATION
   ============================================ */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; padding: 80px 0 48px; }
  .hero-scroll { display: none; }
  .sticky-cta-bar { padding: 6px 16px; }
  .sticky-cta-btn { min-height: 40px; padding: 10px 8px; }
  .scroll-top { bottom: 16px; }
  .whatsapp-wrap { bottom: 16px; }
}

/* ============================================
   UTILITIES
   ============================================ */
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { animation: none; transform: scale(1); }
}

/* --bp-sm (560px) — small-mobile hero/rooms/footer ince ayar */
@media (max-width: 560px) {
  .hero { min-height: 90vh; padding: 100px 0 60px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; min-height: 48px; }
  .btn { padding: 14px 24px; font-size: 0.88rem; min-height: 48px; }
  .section-head { margin-bottom: 48px; }
  section { padding: 72px 0; }

  /* Oda kartları mobilde tam genişlik */
  .rooms-grid { grid-template-columns: 1fr; gap: 24px; }
  .room-ctas { flex-direction: row; gap: 6px; }
  .room-cta { min-height: 44px; font-size: 0.82rem; padding: 12px 8px; }
  .room-cta svg { display: none; }
  .room-body { padding: 20px; }
  .room-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Hero booking widget mobilde daha iyi */
  .hero-booking-form { padding: 16px; border-radius: 12px; }
  .hb-field input, .hb-field select { height: 48px; font-size: 16px; }
  .hb-submit { height: 52px; font-size: 0.95rem; min-height: 48px; }

  /* Footer mobilde */
  .footer-grid { gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   ANASAYFA — KEŞFEDİLECEK ROTALAR (B-4)
   tur.css pattern'ından adapt edildi
   ============================================ */
.home-tours {
  padding: 80px 0;
  background: var(--bg);
}
.home-tours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 600px) {
  .home-tours-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .home-tours-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.home-tours-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.home-tours-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.10);
  border-color: var(--gold-pale);
}
.home-tours-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 4px 16px rgba(201, 169, 97, 0.12);
}
.home-tours-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line-soft);
}
.home-tours-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.home-tours-card:hover .home-tours-card-img img { transform: scale(1.04); }
.home-tours-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-wash), var(--line-soft));
  color: var(--gold);
}
.home-tours-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
}
.home-tours-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-tours-card-body h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px;
}
.home-tours-card:hover .home-tours-card-body h4 { color: var(--gold-deep); }
.home-tours-card-body p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 14px;
  flex: 1;
}
.home-tours-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-deep);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: gap .25s ease, color .25s ease;
}
.home-tours-card:hover .home-tours-link { gap: 10px; color: var(--ink); }
.home-tours-cta-row {
  margin-top: 48px;
  text-align: center;
}
.home-tours-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.home-tours-cta:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 640px) {
  .home-tours { padding: 56px 0; }
  .home-tours-grid { gap: 16px; margin-top: 32px; }
  .home-tours-card-img { aspect-ratio: 3 / 2; }
  .home-tours-card-body { padding: 16px 18px 18px; }
  .home-tours-card-body h4 { font-size: 1.1rem; }
  .home-tours-cta-row { margin-top: 32px; }
}
/* ============================================
   B-4b — FEATURES GRID MOBILE FIX (BUG-004)
   ============================================ */

/* Mobile (≤599px): tek kolon, küçük padding */
@media (max-width: 599px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .feature-card {
    padding: 28px 20px;
  }
}

/* Desktop (≥1024px): 3 kolon */
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
}
/* ============================================
   B-4c — HAMBURGER STACKING CONTEXT FIX
   ============================================ */

/* Mobile: menu acikken nav z-index'ini backdrop (110) ustune
   cikar. Aksi halde .nav (z-index:100) stacking context'i icinde
   kalan .nav-menu (120) child olarak root'ta backdrop'tan asagi
   render olur ve gorunmez. Toggle (style.css:463-468) zaten
   z-index:130 — bu fix nav parent'ini ayni seviyeye cikarir. */
@media (max-width: 768px) {
  body.menu-open .nav {
    z-index: 130;
  }
}
/* ============================================
   B-4d — HAMBURGER MOBILE-OPEN OVERRIDE FIX
   ============================================ */

/* Production console test (force style) menuyu duzgun gosterdi.
   Sorun: bir baska kural .nav-menu.mobile-open'i override ediyor.
   Cozum: kritik property'lere !important ekle. */
@media (max-width: 768px) {
  .nav-menu.mobile-open {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(320px, 82vw) !important;
    height: 100vh !important;
    background: linear-gradient(170deg, #1A1A1A 0%, #27221C 40%, #1A1A1A 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow-y: auto !important;
    z-index: 120 !important;
  }
}
/* ============================================
   B-5a — TOURS BÖLÜMÜ MINIMAL REDESIGN
   ============================================ */

/* Kompakt padding, daha küçük kartlar, 3:2 oran */
.home-tours {
  padding: 56px 0;
}

.home-tours-grid {
  gap: 16px;
  margin-top: 32px;
}

.home-tours-card-img {
  aspect-ratio: 3 / 2;
}

.home-tours-card-body {
  padding: 16px;
}

.home-tours-card-body h4 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.home-tours-card-body p {
  font-size: 0.88rem;
  margin: 0 0 10px;
  line-height: 1.5;
}

.home-tours-cta-row {
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .home-tours-grid {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .home-tours {
    padding: 40px 0;
  }
  .home-tours-grid {
    gap: 12px;
    margin-top: 24px;
  }
  .home-tours-cta-row {
    margin-top: 24px;
  }
}
/* ============================================
   B-5b — SPACING NORMALIZE + STATS POLISH
   ============================================ */

/* Global section padding — tutarli 80px/56px */
:root {
  --section-y: clamp(56px, 6vw, 80px);
}

/* Section-head daha kompakt — gereksiz boslugu azalt */
.section-head {
  margin: 0 auto 40px;
}

/* Stats: padding korunur + suffix daha okunabilir + grid gap kompakt */
.stats {
  padding: 80px 0;
}

.stats-grid {
  gap: 32px 24px;
}

.stat-number .suffix {
  font-size: 0.7em;
}

.stat-text {
  margin-top: 8px;
}

/* Mobile: stats 2x2 grid */
@media (max-width: 640px) {
  .stats {
    padding: 56px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .section-head {
    margin: 0 auto 28px;
  }
}

/* Mobile section padding override — tours/hero/stats muaf */
@media (max-width: 1023px) {
  section:not(.home-tours):not(.hero):not(.stats) {
    padding: 56px 0;
  }
}