/* ============================================================
   KAPADOKYABOOK — Premium Travel Design System
   Version: 4.0 — Dark Mode + i18n
   ============================================================ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Typography */
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Syne', 'DM Sans', sans-serif;

  /* Kapadokya Palette */
  --accent: #C8553D;
  /* Terracotta / volcanic red */
  --accent-hover: #B14530;
  --accent-light: #FFF5F2;
  --accent-2: #1B2A4A;
  /* Deep night sky blue */
  --accent-2-light: #243560;
  --gold: #D4A853;
  /* Sandy gold */
  --gold-light: #FDF6E8;

  /* Neutrals */
  --white: #FFFFFF;
  --black: #0F172A;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, .1);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, .12);
  --shadow-glow: 0 0 40px rgba(200, 85, 61, .15);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --speed: .3s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--speed) var(--ease);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TOPBAR ───────────────────────────────────────────────── */
.topbar {
  background: var(--accent-2);
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  padding: 6px 0;
  letter-spacing: .3px;
}

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

.topbar-social {
  display: flex;
  gap: 12px;
}

.topbar-social a {
  color: rgba(255, 255, 255, .45);
}

.topbar-social a:hover {
  color: var(--gold);
}

.topbar-links {
  display: flex;
  gap: 16px;
}

.topbar-links a {
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
}

.topbar-links a:hover {
  color: var(--white);
}

/* ── SITE HEADER ──────────────────────────────────────────── */
.site-header {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
  transition: all var(--speed) var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .98);
}

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

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

.logo:hover {
  color: var(--black);
}

/* Header Search */
.header-search-wrap {
  position: relative;
  margin-right: 12px;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 0 12px;
  transition: all var(--speed) var(--ease);
  width: 220px;
}

.header-search:focus-within {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 85, 61, .1);
  width: 260px;
}

.header-search svg {
  color: var(--gray-500);
  margin-right: 8px;
}

.header-search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--gray-800);
  height: 36px;
  font-size: 14px;
  font-family: var(--font-body);
}

.header-search-input::placeholder {
  color: var(--gray-500);
  font-size: 14px;
  font-family: var(--font-body);
  opacity: 1;
  font-weight: 400;
}

.header-search-input:focus {
  outline: none;
}

.header-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

.header-search-results.active {
  display: block;
  animation: fadeInDown .2s var(--ease) both;
}

[data-theme="dark"] .header-search {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

[data-theme="dark"] .header-search-input {
  color: var(--gray-200);
}

[data-theme="dark"] .header-search-results {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
}

/* Search Results Styling */
.search-result-item {
  display: flex;
  padding: 12px;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--speed) var(--ease);
}

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

.search-result-item:hover {
  background: var(--gray-50);
  color: inherit;
}

.sr-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 12px;
}

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

.sr-info {
  flex: 1;
}

.sr-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.sr-meta {
  font-size: 12px;
  color: var(--gray-500);
}

.search-empty {
  padding: 16px;
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
}

[data-theme="dark"] .search-result-item {
  border-color: var(--gray-700);
}

[data-theme="dark"] .search-result-item:hover {
  background: var(--gray-700);
}

[data-theme="dark"] .sr-title {
  color: var(--gray-200);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-600);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: all var(--speed) var(--ease);
  cursor: pointer;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--speed) var(--ease);
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.dropdown-toggle svg {
  transition: transform var(--speed) var(--ease);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s var(--ease);
  z-index: 200;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all .15s var(--ease);
}

.dropdown-item:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.dropdown-all {
  font-weight: 700;
  color: var(--accent);
}

.dropdown-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 4px 0;
}

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

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: var(--gray-700);
  transition: all var(--speed) var(--ease);
}

.lang-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-code {
  letter-spacing: .5px;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  color: var(--gray-600);
}

.theme-toggle:hover {
  background: var(--gray-100);
  color: var(--accent);
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

/* Glow Üye Ol Button */
.btn-glow {
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(200, 85, 61, .2);
  }

  50% {
    box-shadow: 0 0 20px rgba(200, 85, 61, .4);
  }
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
}

/* ── MOBILE MENU ──────────────────────────────────────────── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all .3s var(--ease);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
}

.mobile-nav {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  background: var(--white);
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}

.mobile-overlay.open .mobile-nav {
  transform: translateX(0);
}

.mobile-overlay.open .mobile-close {
  color: var(--gray-500);
  right: 256px;
}

.mobile-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--gray-800);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.mobile-nav a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* Mobile Divider & Controls */
.mobile-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 12px 0;
}

.mobile-controls {
  display: flex;
  gap: 10px;
  padding: 4px 0;
}

.mobile-control-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-700);
  transition: all var(--speed) var(--ease);
}

.mobile-control-btn:hover {
  background: var(--gray-100);
}

/* Mobile Search */
.mobile-search-wrap {
  margin-top: 20px;
}

.mobile-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 10px 16px;
}

.mobile-search svg {
  color: var(--gray-400);
}

.mobile-search-input {
  flex: 1;
  background: none;
  border: none;
  font-size: 14px;
  color: var(--gray-800);
}

.mobile-search-input:focus {
  outline: none;
}

.mobile-search-btn {
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  color: var(--white);
  flex-shrink: 0;
}

.mobile-search-btn:hover {
  background: var(--gold-dark);
}

/* Mobile Accordion */
.mobile-accordion {
  border-bottom: 1px solid var(--gray-100);
}

.mobile-accordion-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: none;
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--gray-800);
  cursor: pointer;
}

.mobile-accordion-toggle svg {
  transition: transform var(--speed) var(--ease);
  color: var(--gray-400);
}

.mobile-accordion.open .mobile-accordion-toggle svg {
  transform: rotate(180deg);
}

.mobile-accordion-content {
  display: none;
  padding: 8px 16px 16px;
  flex-direction: column;
  gap: 8px;
  /* Öğeler arası boşluğu artır */
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 24px;
  /* Alt öğeleri girintile */
}

.mobile-accordion.open .mobile-accordion-content {
  display: flex;
}

.mobile-accordion-content a {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--speed) var(--ease);
  display: block;
  /* Tam genişlikte tıklanabilir alan */
  text-decoration: none;
}

.mobile-accordion-content a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.mobile-accordion.open {
  border-bottom: none;
  margin-bottom: 8px;
  /* Açık akordeondan sonra boşluk ekle */
}


/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 85, 61, .3);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}

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

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--black);
}

.btn-glass {
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  border-color: rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, .25);
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--accent-2);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gray-100);
  color: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

/* ── BADGES ───────────────────────────────────────────────── */
.badge,
.card-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  color: var(--accent);
}

.badge-yellow {
  background: #FEF3C7;
  color: #B45309;
}

.badge-blue {
  background: #E0F2FE;
  color: #0369A1;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  background: url('/assets/img/hero-bg.jpg') center center / cover no-repeat;
  overflow: hidden;
  text-align: center;
  /* Arka plan görüntüsü için özel stil - inline style ile çakışmayı önler */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(15, 23, 42, .85) 0%, rgba(27, 42, 74, .7) 50%, rgba(200, 85, 61, .3) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, .15), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, .1), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, .12), transparent),
    radial-gradient(1px 1px at 80% 50%, rgba(255, 255, 255, .08), transparent);
  z-index: 1;
  animation: floatParticles 20s linear infinite;
}

@keyframes floatParticles {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-30px);
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  color: var(--white);
  padding: 80px 0;
  margin: 0 auto;
  animation: fadeInUp .8s var(--ease) both;
  text-align: center;
  /* Tüm metni ortala */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Çocuk öğeleri ortala */
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  letter-spacing: .3px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold), #F5D08C, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .75);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  /* Butonları ortala */
  margin-top: 16px;
  width: 100%;
}

/* ── HERO SEARCH ─────────────────────────────────────────── */
.hero-search-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto 24px;
  /* Zaten ortalanmış */
  width: 100%;
}

.hero-search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-md);
  padding: 4px 16px;
  transition: all var(--speed) var(--ease);
}

.hero-search:focus-within {
  background: rgba(255, 255, 255, .12);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 168, 83, .2);
}

.hero-search-icon {
  color: var(--gold);
  margin-right: 12px;
}

.hero-search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--white);
  height: 52px;
  font-size: 16px;
  font-family: var(--font-body);
}

/* Hero Search Input Placeholder */
.hero-search-input::placeholder {
  color: rgba(255, 255, 255, .5);
  font-size: 16px;
  font-family: var(--font-body);
  opacity: 1;
  /* Placeholder görünürlüğünü artır */
  font-weight: 400;
}

/* Mobile Search Input Placeholder */
.mobile-search-input::placeholder {
  color: var(--gray-500);
  font-size: 14px;
  font-family: var(--font-body);
  opacity: 1;
  /* Placeholder görünürlüğünü artır */
  font-weight: 400;
}

.hero-search-input:focus {
  outline: none;
}

.hero-search-input:focus {
  outline: none;
}

.hero-search-btn {
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  color: var(--white);
  flex-shrink: 0;
  margin-left: 8px;
}

.hero-search-btn:hover {
  background: var(--gold-dark);
  transform: scale(1.05);
}

.hero-search-kbd {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .1);
}

.hero-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

.hero-search-results.active {
  display: block;
}

[data-theme="dark"] .hero-search-results {
  background: var(--gray-800);
}

[data-theme="dark"] .hero-search-results.active {
  display: block;
}


/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0;
  position: relative;
  z-index: 10;
  margin-top: -48px;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 28px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ── CATEGORY GRID ────────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: var(--card-gradient, linear-gradient(135deg, #667eea, #764ba2));
  border-radius: var(--radius-xl);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  transition: all .35s var(--ease);
  min-height: 140px;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .1);
  transition: background .35s var(--ease);
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-xl);
  color: var(--white);
}

.category-card:hover::before {
  background: rgba(0, 0, 0, .05);
}

.category-icon {
  font-size: 32px;
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2));
}

.category-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.category-arrow {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 18px;
  opacity: 0;
  transition: all .3s var(--ease);
  z-index: 1;
}

.category-card:hover .category-arrow {
  opacity: 1;
  right: 12px;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.section {
  padding: 72px 0;
}

.bg-light {
  background: var(--gray-50);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 16px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.section-header p {
  color: var(--gray-500);
  font-size: 15px;
  margin-top: 4px;
}

.section-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-link:hover {
  color: var(--accent-hover);
  gap: 10px;
}

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-2-light) 100%);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(200, 85, 61, .15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 168, 83, .1) 0%, transparent 50%);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  position: relative;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, .65);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.post-hero {
  margin-bottom: 0;
}

/* ── FILTER BAR (Booking.com style) ───────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
  transition: all var(--speed) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(200, 85, 61, .3);
  transform: translateY(-2px);
}

/* ── CARDS ─────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all .35s var(--ease);
}

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

.card-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.card:hover .card-thumb img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-body {
  padding: 20px 22px;
}

.card-body .card-badge {
  margin-bottom: 10px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}

.card-title a {
  color: var(--black);
}

.card-title a:hover {
  color: var(--accent);
}

.card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
}

.card-info {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 12px;
  line-height: 1.5;
}

.card-meta {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

/* ── PAGINATION ───────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

.pagination .btn {
  min-width: 42px;
  justify-content: center;
}

/* ── POST BODY ────────────────────────────────────────────── */
.post-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--gray-700);
}

.post-body h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
}

.post-body h3 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
}

.post-body p {
  margin-bottom: 20px;
}

.post-body img {
  border-radius: var(--radius-lg);
  margin: 24px 0;
}

.post-body ul,
.post-body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--gray-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--gray-600);
}

.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body a:hover {
  color: var(--accent-hover);
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent-2) 0%, #2d3a5e 50%, var(--accent) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 90%, rgba(212, 168, 83, .2), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(200, 85, 61, .15), transparent 40%);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, .7);
  padding: 72px 0 0;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .4);
  max-width: 340px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .25);
  text-align: center;
}

.footer-account-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tursab-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tursab-info img {
  max-width: 140px;
  height: auto;
}

.tursab-text {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .4);
}

.tursab-text strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

/* ── LOGO IMAGE ──────────────────────────────────────────── */
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* ── CONTENT GATE (Fade + CTA) ───────────────────────────── */
.content-gate-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.content-gate-wrapper .post-body {
  max-height: 650px;
  min-height: 60px;
  overflow: hidden;
  position: relative;
}

.content-gate {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.content-gate-fade {
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
}

.content-gate-cta {
  background: var(--white);
  text-align: center;
  padding: 24px 24px 36px;
  position: relative;
  z-index: 2;
}

.content-gate-lock {
  font-size: 36px;
  margin-bottom: 12px;
  animation: lockBounce 2s ease-in-out infinite;
}

@keyframes lockBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.content-gate-cta h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.content-gate-cta p {
  font-size: 15px;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Dark mode content gate */
[data-theme="dark"] .content-gate-fade {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 1) 100%);
}

[data-theme="dark"] .content-gate-cta {
  background: #0F172A;
}

/* ── MEKAN DETAIL LAYOUT ────────────────────────────────────── */
.mekan-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.mekan-sidebar-card {
  background: var(--gray-50);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  position: sticky;
  top: 100px;
}

[data-theme="dark"] .mekan-sidebar-card {
  background: #1E293B;
  border-color: #334155;
}

[data-theme="dark"] .mekan-sidebar-card h3 {
  color: #F1F5F9;
  border-bottom-color: #334155;
}

/* ── MOBILE HEADER ÜYE OL BUTTON ─────────────────────────── */
.mobile-signup-btn {
  display: none;
}

@media (max-width: 992px) {
  .mobile-signup-btn {
    display: inline-flex;
  }
}

/* ── UTILITY ──────────────────────────────────────────────── */
.d-flex {
  display: flex;
}

.gap-3 {
  gap: 12px;
}

.mt-4 {
  margin-top: 16px;
}

.text-center {
  text-align: center;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 992px) {

  .main-nav,
  .header-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 20px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    width: 45%;
    padding: 12px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer Links - Mobile columns */
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .footer-account {
    grid-column: 1 / -1;
  }

  .footer-account-links {
    flex-direction: row !important;
    display: flex !important;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
  }

  .footer-account-links a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
    padding: 12px 10px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    padding: 60px 0 80px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding: 36px 0 32px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    min-height: 110px;
    padding: 24px 16px;
  }

  .filter-bar {
    gap: 6px;
    margin-bottom: 24px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

  .stat-item {
    width: 45%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .topbar-links {
    display: none;
  }

  .cta-section {
    padding: 56px 0;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

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

  .mekan-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mekan-sidebar-card {
    position: static;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp .8s var(--ease) both;
}

.card {
  animation: fadeInUp .5s var(--ease) both;
}

.card:nth-child(2) {
  animation-delay: .06s;
}

.card:nth-child(3) {
  animation-delay: .12s;
}

.card:nth-child(4) {
  animation-delay: .18s;
}

.card:nth-child(5) {
  animation-delay: .24s;
}

.card:nth-child(6) {
  animation-delay: .3s;
}

.category-card {
  animation: fadeInUp .5s var(--ease) both;
}

.category-card:nth-child(2) {
  animation-delay: .08s;
}

.category-card:nth-child(3) {
  animation-delay: .16s;
}

.category-card:nth-child(4) {
  animation-delay: .24s;
}

.category-card:nth-child(5) {
  animation-delay: .32s;
}

.category-card:nth-child(6) {
  animation-delay: .4s;
}

/* ══════════════════════════════════════════════════════════
   DARK MODE
   ══════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --white: #0F172A;
  --black: #F1F5F9;
  --gray-50: #1E293B;
  --gray-100: #1E293B;
  --gray-200: #334155;
  --gray-300: #475569;
  --gray-400: #94A3B8;
  --gray-500: #94A3B8;
  --gray-600: #CBD5E1;
  --gray-700: #E2E8F0;
  --gray-800: #F1F5F9;
  --gray-900: #0B1120;
  --accent-light: rgba(200, 85, 61, .15);
  --gold-light: rgba(212, 168, 83, .1);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .4);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, .5);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, .5);
}

/* Dark mode overrides */
[data-theme="dark"] body {
  background: #0F172A;
  color: #E2E8F0;
}

[data-theme="dark"] .site-header {
  background: rgba(15, 23, 42, .9);
  border-bottom-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .site-header.scrolled {
  background: rgba(15, 23, 42, .95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

[data-theme="dark"] .logo span {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .topbar {
  background: #0B1120;
}

[data-theme="dark"] .hamburger span {
  background: #E2E8F0;
}

[data-theme="dark"] .dropdown-menu {
  background: #1E293B;
  border-color: #334155;
}

[data-theme="dark"] .dropdown-item {
  color: #CBD5E1;
}

[data-theme="dark"] .dropdown-item:hover {
  background: rgba(200, 85, 61, .15);
  color: var(--accent);
}

[data-theme="dark"] .lang-btn {
  background: #1E293B;
  border-color: #334155;
  color: #CBD5E1;
}

[data-theme="dark"] .theme-toggle {
  background: #1E293B;
  border-color: #334155;
  color: #CBD5E1;
}

[data-theme="dark"] .mobile-nav {
  background: #1E293B;
}

[data-theme="dark"] .mobile-nav a {
  color: #E2E8F0;
}

[data-theme="dark"] .mobile-control-btn {
  background: #0F172A;
  border-color: #334155;
  color: #CBD5E1;
}

[data-theme="dark"] .card {
  background: #1E293B;
  border-color: #334155;
}

[data-theme="dark"] .card-title a {
  color: #F1F5F9;
}

[data-theme="dark"] .card:hover {
  border-color: #475569;
}

[data-theme="dark"] .bg-light {
  background: #0B1120;
}

[data-theme="dark"] .filter-btn {
  background: #1E293B;
  border-color: #334155;
  color: #CBD5E1;
}

[data-theme="dark"] .stats-grid {
  background: #1E293B;
}

[data-theme="dark"] .site-footer {
  background: #0B1120;
}

[data-theme="dark"] .footer-col h4,
[data-theme="dark"] .tursab-text strong {
  color: #F1F5F9;
}

[data-theme="dark"] .post-body {
  color: #CBD5E1;
}

[data-theme="dark"] .badge,
[data-theme="dark"] .card-badge {
  background: rgba(200, 85, 61, .15);
}

[data-theme="dark"] .badge-yellow {
  background: rgba(180, 83, 9, .15);
}

[data-theme="dark"] .badge-blue {
  background: rgba(3, 105, 161, .15);
}

/* Dark mode: Hero, CTA, Page-hero keep light text always */
[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .hero-content h1 .text-gradient {
  color: #FFFFFF !important;
  -webkit-text-fill-color: initial;
}

[data-theme="dark"] .hero-badge {
  color: var(--gold);
}

[data-theme="dark"] .hero-subtitle {
  color: rgba(255, 255, 255, .75);
}

[data-theme="dark"] .cta-content h2 {
  color: #FFFFFF !important;
}

[data-theme="dark"] .cta-content p {
  color: rgba(255, 255, 255, .7);
}

[data-theme="dark"] .cta-section .btn-white {
  background: #FFFFFF;
  color: var(--accent-2);
}

[data-theme="dark"] .cta-section .btn-glass {
  color: #FFFFFF;
}

[data-theme="dark"] .page-hero h1 {
  color: #FFFFFF !important;
}

[data-theme="dark"] .page-hero p {
  color: rgba(255, 255, 255, .65);
}

[data-theme="dark"] .filter-btn.active {
  color: #FFFFFF;
}

[data-theme="dark"] .footer-account-links a {
  color: rgba(255, 255, 255, .45);
}