/* =========================================
   1. VARIABLES & RESET & SETTINGS
   ========================================= */
:root {
  --bg: #e0f2fe;
  --dark: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --whatsapp: #22c55e;
  --telegram: #38bdf8;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 10px 20px rgba(0,0,0,0.15);
}

html {
  scroll-behavior: smooth; /* Sayfa içi linklerde yumuşak kayma */
}

* {
  box-sizing: border-box;
}

/* --- Sayfa Geneli Yumuşak Geçişli Arka Plan --- */
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  line-height: 1.7;
  /* Gradient Arka Plan */
  background: linear-gradient(
    to bottom,
    #0f172a 0%,    
    #1e293b 400px, 
    #f8fafc 100%   
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Section'ların arka planını şeffaf yap */
.section, main {
  background-color: transparent !important;
}

h1, h2, h3, .card-title, .logo-text, .nav, .brand-logo {
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* =========================================
   2. HEADER & LOGO
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari desteği */
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  z-index: 2000;
  will-change: transform; /* Performans iyileştirmesi */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  position: relative;
}

/* Logo Stilleri */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--dark);
  line-height: 1;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 52px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-icon {
  font-size: 2rem;
  margin-right: 8px;
}

.text-side {
  font-weight: 800;
  font-size: 1.8rem;
  color: #0984e3;
  letter-spacing: -1px;
}

.text-travel {
  font-weight: 700;
  font-size: 1.8rem;
  color: #2d3436;
}

.text-ext {
  font-weight: 400;
  font-size: 1rem;
  color: #b2bec3;
  margin-left: 2px;
  align-self: flex-end;
  margin-bottom: 5px;
}

/* Navigasyon */
.nav {
  display: flex;
  gap: 20px;
  font-weight: 500;
  color: var(--text);
}

.nav a:hover {
  color: var(--accent);
}

/* =========================================
   3. BUTTONS & UI ELEMENTS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  gap: 8px;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--accent);
  background: linear-gradient(45deg, #3498db, #2980b9);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  background: linear-gradient(45deg, #2980b9, #3498db);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-telegram {
  background: var(--telegram);
  color: #0f172a;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #3498db;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-body .badge {
  background-color: #2ecc71;
  box-shadow: 0 2px 5px rgba(46, 204, 113, 0.3);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
  min-height: 600px;
  /* Performans notu: CSS'teki background image LCP'yi geciktirebilir. HTML'de preload yapılması önerilir. */
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.65), rgba(14, 165, 233, 0.2)),
              url('../img/hero-side.webp') center/cover no-repeat;
  background-size: cover;
  background-position: center 65%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  overflow: visible;
  display: grid;
  gap: 24px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}

/* Search Bar */
.search-bar {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .12);
  padding: 12px;
  border-radius: 999px;
  color: var(--text);
  width: 100%;
  max-width: 720px;
  box-shadow: var(--shadow-soft);
}

.search-bar input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: var(--text);
  padding: 10px 10px;
}

.search-bar input::placeholder {
  color: var(--muted);
}

.search-bar:focus-within {
  border-color: rgba(14, 165, 233, .45);
  box-shadow: var(--shadow);
}

.search-bar .btn {
  white-space: nowrap;
  padding: 12px 16px;
  border-radius: 999px;
}

/* Search Suggestions */
.search-suggest {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1000;
}

.search-suggest-title {
  padding: 10px 12px;
  font-size: .85rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.search-suggest-list {
  list-style: none;
  margin: 0;
  padding: 6px;
}

.search-suggest-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.2s ease;
}

.search-suggest-list a:hover {
  background: rgba(14, 165, 233, .1);
  color: #0284c7;
}

.search-empty-top {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 15px auto 0 auto;
  width: 100%;
  max-width: 600px;
  padding: 12px;
  border-radius: 8px;
  background: #fff0f0;
  color: #e74c3c;
  border: 1px solid #fecaca;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 10;
  text-align: center;
}

/* =========================================
   5. SECTIONS & GRIDS
   ========================================= */
.section {
  padding: 70px 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section p.lead {
  color: var(--muted);
  margin-bottom: 32px;
}

.section-note {
  display: block;
  width: 100%;
  clear: both;
  background-color: #f0f9ff;
  border-left: 5px solid #3498db;
  color: #2c3e50;
  padding: 15px 20px;
  margin: 40px auto 20px auto;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  max-width: 800px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  position: relative;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* =========================================
   6. CARDS
   ========================================= */
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  contain: content; /* Performans için: Tarayıcı içeriği daha hızlı çizer */
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.card img {
  max-width: 100%;
  display: block;
}

@media (min-width: 768px) {
  .card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
  }
}

.card-link-wrapper {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-title {
  font-size: 1.17rem;
  font-weight: 700;
  margin: 5px 0;
  color: var(--text);
  line-height: 1.4;
}

.card-title a, .card h3 a, .icon-card h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.card-title a:hover, .card h3 a:hover, .icon-card h3 a:hover {
  color: var(--accent-dark);
}

.price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #e74c3c;
  margin-top: 10px;
}

.card-footer {
  margin-top: auto;
}

/* Icon Cards */
.icon-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.icon-card h3 { margin-top: 0; }
.icon-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

/* =========================================
   7. TRUST BAND & FOOTER
   ========================================= */
.trust-band {
  background: #0f172a;
  color: #fff;
  padding: 32px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  text-align: center;
}

.site-footer {
  background: #0b1120;
  color: #e2e8f0;
  padding: 60px 0 30px;
  content-visibility: auto; /* PERFORMANS: Görünmeyene kadar çizilmez */
  contain-intrinsic-size: 500px; /* Yer tutucu yükseklik */
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.footer-brand { display: grid; gap: 16px; }
.footer-logo { font-weight: 800; font-size: 1.25rem; color: #fff; }
.footer-trust { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; color: #cbd5f5; }
.footer-contacts { display: grid; gap: 12px; }
.footer-title { font-weight: 700; color: #fff; }
.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* =========================================
   8. TOUR DETAIL PAGE
   ========================================= */
.content-hero {
  padding: 40px 0 60px;
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.hero-card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-card h1 {
  margin-top: 0;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--dark);
}

.hero-short-desc {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-card .hero-trust span {
  background: #f1f5f9;
  color: var(--text);
  font-size: 0.85rem;
}

.info-card, .faq {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.faq { padding: 32px; }
.info-card h3 { margin-top: 0; color: var(--dark); }
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.contact-cta { display: flex; flex-direction: column; gap: 12px; }

/* =========================================
   9. MOBILE MENU & RESPONSIVE
   ========================================= */
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
  line-height: 1;
  color: var(--dark);
}

.menu-toggle svg { width: 24px; height: 24px; display: block; }
.menu-toggle:focus {
  outline: 2px solid rgba(14, 165, 233, .6);
  outline-offset: 2px;
}

body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-card { padding: 24px; }
  .nav-wrap { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 5%;
    left: 5%;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    z-index: 2001 !important;
  }

  .nav a { padding: 10px 12px; border-radius: 12px; }
  body.menu-open .nav { display: flex; }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 1999 !important;
  }

  .hero { padding-top: 100px; }
  .search-bar { flex-direction: column; align-items: stretch; }
  .search-bar .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-header .btn-primary { display: none; }
}

@media (max-width: 768px) {
    .text-side, .text-travel { font-size: 1.4rem; }
    .brand-icon { font-size: 1.5rem; }
}

@media (max-width: 420px) {
  .logo-img { width: 46px; height: 46px; flex: 0 0 46px; }
  .logo-text { font-size: 1.35rem; }
  .btn { padding: 11px 16px; }
}

/* =========================================
   10. ACCORDION (FAQ)
   ========================================= */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
  box-shadow: var(--shadow);
}

.accordion-header {
  width: 100%;
  background: #fff;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  text-align: left;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: var(--accent-dark);
}

.accordion-header .icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
  line-height: 1;
}

.accordion-header.active {
  color: var(--accent);
  background: #f8fafc;
}

.accordion-header.active .icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #fff;
}

.accordion-body {
  padding: 0 24px 24px 24px;
  color: var(--muted);
  line-height: 1.6;
}

.accordion-body p {
  margin: 0;
}

/* --- YENİ FİLTRE & LOAD MORE BUTONLARI --- */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.filter-btn {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s ease;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.load-more-container {
  text-align: center;
  margin-top: 40px;
}

.hidden-item {
  display: none;
}

/* --- KART KURDELELERİ (RIBBONS) --- */
.ribbon {
  position: absolute;
  top: 15px;
  left: 0;
  z-index: 10;
  background: #ef4444;
  color: #fff;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0 4px 4px 0;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  font-family: "Montserrat", sans-serif;
}

.ribbon.new { background: #3b82f6; }
.ribbon.hit { background: #f59e0b; }

/* --- AMBER (ALTIN) BAŞLIKLAR & BEYAZ YAZILAR --- */
#excursions h2 {
  color: #fbbf24;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

#excursions .lead {
  color: #f1f5f9;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
  font-weight: 500;
}

/* 1. Sadece Ana Başlıkları (h2) ALTIN SARISI yap */
.section h2 {
    color: #fbbf24 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.5px;
}

/* 2. Altındaki Açıklamaları (.lead) BEYAZ yap */
.section .lead,
.section > .container > p {
    color: #ffffff !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* 3. KORUMA: Kartların içi etkilenmesin */
.card h2, 
.card .card-title, 
.card p,
.card .lead,
.card .price {
    color: var(--text) !important; 
    text-shadow: none !important;
}