@import url("tour.css");

/* ===================================================
   MOOD THEME – Ana Tema (Light + Dark)
   =================================================== */

/* ---------- 1) LIGHT (varsayılan) ---------- */

:root {
  /* Arka plan & metin */
  --bg-color:   #f5f5f5;   /* açık gri zemin     */
  --text-color: #111111;   /* siyaha yakın metin */

  /* Header / kart / footer */
  --header-bg:  #ffffff;   /* beyaz header       */
  --card-bg:    #ffffff;   /* kart zemini        */
  --footer-bg:  #ffffff;   /* footer zemini      */

  /* Marka rengi (turuncu) */
  --brand-color: #ff6a00;  /* ana turuncu        */
  --brand:       #ff6a00;
  --brand-600:   #ea580c;  /* koyu turuncu       */
  --brand-50:    #fff7ed;

  /* Çizgiler ve ikincil metin */
  --border: #e5e7eb;
  --muted:  #6b7280;

  /* Radius & gölgeler */
  --radius:    20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.14);

  /* Menü yazı rengi (light) */
  --nav-text-color: #111827;
  --header-height: 76px; /* navbar yüksekliğine göre 60-80 arası oynayabilirsin */
}

/* ---------- 2) DARK (body.dark iken) ---------- */

body.dark {
  /* Arka plan & metin */
  --bg-color:   #050816;   /* çok koyu lacivert / gece */
  --text-color: #e5e7eb;   /* açık gri metin           */

  /* Header / kart / footer */
  --header-bg:  #020617;   /* header koyu              */
  --card-bg:    #0b1120;   /* kart zemini koyu         */
  --footer-bg:  #020617;   /* footer koyu              */

  /* Marka rengi (yine turuncu – mood sabit) */
  --brand-color: #ff6a00;
  --brand:       #ff6a00;
  --brand-600:   #ea580c;
  --brand-50:    #111827;

  /* Çizgiler ve ikincil metin */
  --border: #1f2937;
  --muted:  #9ca3af;

  /* Gölgeler */
  --shadow-sm: 0 1px 2px rgba(15,23,42,.6);
  --shadow-md: 0 16px 40px rgba(15,23,42,.9);

  /* Menü yazı rengi (dark) */
  --nav-text-color: #2f2d2c;
  --header-height: 76px; /* navbar yüksekliğine göre 60-80 arası oynayabilirsin */
}

/* ===================================================
   3) ORTAK BASE STYLE (Light + Dark aynı dosyada)
   =================================================== */

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  
}

/* GENEL BODY */
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height: 1.5;
  background: var(--bg-color);
  color: var(--text-color);
  padding-top: var(--header-height); /* içerik header'ın altında başlasın */
}

/* Linkler */
a {
  text-decoration: none;
  color: var(--brand-color);
}
a:hover {
  opacity: .8;
}

/* Container */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}

.ready {
  margin: 0;
  padding: 0;
  margin-top: 62px;

}

/* ===================================================
   HEADER & NAV
   =================================================== */

.site-header {
  position: fixed;              /* hero'nun üstüne binsin */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(255,255,255,0); /* tamamen şeffaf */
  border-bottom: 1px solid transparent;
}

/* NAVBAR GENEL YAPI */
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

/* SOL TARAF (Tur / Vize) */
.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ORTA (LOGO) */
.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* LOGO – sabit yükseklik */
.brand-logo img {
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* HEADER İÇİNDEKİ TÜM RESİMLERİ KIS */
.site-header img {
  max-height: 60px !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

/* SAĞ TARAF (AYDINLIK / KOYU) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto; /* sağa yasla */
}

/* NAV BUTONLARI (Tur / Vize) */
.btn-nav {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: .2s ease;
  color: var(--nav-text-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* NAVBAR BUTONLARINDAKİ SVG İKONLARINI KÜÇÜLT */
.navbar .btn-nav svg,
.nav-actions .btn-nav svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.btn-nav:hover {
  background: #f3f4f6;
}

.btn-nav.active {
  background: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color);
  box-shadow: var(--shadow-sm);
}

/* HEADER İÇİNDEKİ LİNKLER */
.site-header a {
  text-decoration: none;
}
.site-header a:hover {
  opacity: .85;
}

/* BRAND YAZI BOYUTLARI (varsa) */
.brand-text .title {
  font-size: 22px;
  line-height: 1.2;
}
.brand-text .subtitle {
  font-size: 13px;
}


/* =====================================================================
   ) HEADER MODE TOGGLE (Light / Dark)
   ===================================================================== */
.mode-toggle {
  display:inline-flex;
  align-items:center;
  background:#e5e7eb;
  border-radius:999px;
  padding:2px;
  margin-left:12px;
  box-shadow:0 4px 10px rgba(15,23,42,.15);
}
.mode-toggle button {
  border:0;
  border-radius:999px;
  padding:4px 10px;
  font-size:11px;
  cursor:pointer;
  background:transparent;
  color:#111827;
  transition:background .2s ease, color .2s ease, box-shadow .2s ease;
}
.mode-toggle button:hover {
  background:rgba(255,255,255,.9);
}
.mode-toggle button.is-active {
  background:var(--brand-color);
  color:#f9fafb;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
}
@media (max-width: 600px) {
  .mode-toggle {
    margin-left:6px;
    padding-inline:2px;
  }
}

/* ===================================================
   BUTTONS
   =================================================== */

.btn-orange {
  background: var(--brand-color);
  color: #fff;
  border: 1px solid var(--brand-color);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: background .2s ease, border-color .2s ease;
}

.btn-orange:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.btn-outline {
  background: #fff;
  color: #111;
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  transition: background .2s ease;
}
.btn-outline:hover {
  background: #f3f4f6;
}

/* ===================================================
   CARDS & GRID
   =================================================== */

.grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card,
.box,
.panel,
.tour-card,
.visa-card {
  background: var(--card-bg);
  color: var(--text-color);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card .thumb {
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: 12px;
  background: #e5e7eb;
  object-fit: cover;
}

/* ===================================================
   HERO SLIDER (full width, yüksekliği büyütüldü)
   =================================================== */

.hero-slider {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
}

/* Burn / vignette efekti – görselin üzerine, caption'ın altına */
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;  /* img'den büyük, caption'dan küçük olsun */
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.5) 85%
  );
}

.hero-slider .hero-inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.hero-slider .slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

/* BURASI ÖNEMLİ: yükseklik artık viewport'a göre daha büyük */
.hero-slider .slider-track {
  position: relative;
  /* Eski: height: clamp(380px, 45vw, 620px); */
  min-height: clamp(420px, 80vh, 780px);
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}
.hero-slider .slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption */
.hero-slider .slide-caption {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: #fff;
  z-index: 10; /* burn efektinin üstünde kalması için 10 */
  width: min(420px, 60%);
  text-shadow: 0 8px 20px rgba(0,0,0,0.75);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Dots */
.hero-slider .slider-dots {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: flex;
  gap: 8px;
  z-index: 15;
}
.hero-slider .slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.55);
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.hero-slider .slider-dot.is-active {
  width: 24px;
  background: var(--brand-color);
}


/* ===================================================
   FOOTER
   =================================================== */

.site-footer {
  margin-top: 0px;
  background-color: var(--footer-bg);
  color: var(--text-color);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 24px;
  padding: 40px 0;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-col .heading {
  font-weight: 600;
  margin-bottom: 0px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.footer-col li {
  font-size: 14px;
  color: var(--text-color);
  margin: 6px 0;
}
.footer-bottom {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.footer-bottom a {
  color: var(--brand-color);
}
.footer-bottom a:hover {
  opacity: .8;
}


/* ===================================================
   KÜÇÜK UTILITY SINIFLAR
   =================================================== */

.mt-8 { margin-top: 32px; }
.hidden { display: none !important; }

/* Tur içi fiyat alanı */
.tour2-program-content .tour-prices {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.tour2-program-content .tour-prices h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

/* Fiyat tablosu */
.tour2-program-content .price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tour2-program-content .price-table th,
.tour2-program-content .price-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.tour2-program-content .price-table th {
  background: var(--brand-50);
  font-weight: 600;
}

.tour2-program-content .price-table tr:nth-child(even) td {
  background: rgba(148,163,184,0.06);
}
/* =====================================================================
   14) MOOD SWITCHER (Tema kutusu)
   ===================================================================== */
.mood-switcher {
  position:fixed;
  right:20px;
  bottom:20px;
  width:130px;
  background:var(--card-bg, #ffffff);
  color:var(--text-color, #111827);
  border-radius:16px;
  box-shadow:0 10px 25px rgba(15,23,42,0.25);
  z-index:99999;
  font-size:13px;
}

.mood-switcher-header {
  padding:6px 10px;
  font-weight:600;
  cursor:move;
  border-bottom:1px solid rgba(148,163,184,0.5);
  user-select:none;
}

.mood-switcher-panel {
  padding:6px 8px 8px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.mood-switcher-panel button {
  flex:1 0 45%;
  border:0;
  border-radius:999px;
  padding:4px 6px;
  background:#e5e7eb;
  cursor:pointer;
  font-size:11px;
}
.mood-switcher-panel button.is-active {
  background:var(--brand-color, #ff6a00);
  color:#fff;
}

.mood-switcher.dragging {
  opacity:0.85;
}

/* ===========================
   PDF BUTTON (theme-aware, sade)
   =========================== */

.pdf-btn{
  --btn-bg: var(--card-bg);
  --btn-text: var(--text-color);
  --btn-border: rgba(255,255,255,0.14);
  --btn-accent: var(--brand-color);

  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:12px 16px;
  border-radius:12px;

  background: var(--btn-bg);
  color: var(--btn-text);
  text-decoration:none;
  font-size:14px;
  font-weight:600;

  border:1px solid var(--btn-border);

  /* hafif cam hissi (abartısız) */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

/* küçük PDF rozeti */
.pdf-btn::before{
  content:"PDF";
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;

  padding:4px 8px;
  border-radius:999px;

  background: color-mix(in srgb, var(--btn-accent) 18%, transparent);
  color: var(--btn-accent);
  border:1px solid color-mix(in srgb, var(--btn-accent) 38%, transparent);
}

/* hover: beyaza dönmez, sadece vurgu artar */
.pdf-btn:hover{
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--btn-accent) 55%, transparent);
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
  background: color-mix(in srgb, var(--btn-bg) 85%, var(--btn-accent) 15%);
}

.pdf-btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* klavye ile seçince */
.pdf-btn:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--btn-accent) 35%, transparent),
    0 10px 22px rgba(0,0,0,0.14);
}

/* mobilde istersen tam genişlik */
@media (max-width:768px){
  .pdf-btn{ width:100%; justify-content:center; }
}
