/*
  TatilKurdu — Ana CSS
  WordPress style.css'ten PHP sistemine aktarıldı
*/

:root {
  --tk-green: #1a5c3a;
  --tk-green-dark: #134a2e;
  --tk-green-mid: #2d7a52;
  --tk-green-light: #e8f4ee;
  --tk-green-pale: #f0f9f4;
  --tk-accent: #f0a500;
  --tk-text: #1a1a1a;
  --tk-muted: #6b7280;
  --tk-light: #9ca3af;
  --tk-border: #e5e7eb;
  --tk-bg: #f9fafb;
  --tk-white: #ffffff;
  --tk-radius: 12px;
  --tk-radius-sm: 8px;
  --tk-radius-pill: 999px;
  --tk-shadow: 0 4px 16px rgba(0,0,0,.06);
  --tk-shadow-hover: 0 8px 32px rgba(0,0,0,.10);
  --tk-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  /* PHP sisteminde CSS değişkeni olarak da tanımla */
  --g: #1a5c3a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--tk-font); color: var(--tk-text); background: var(--tk-white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--tk-green); text-decoration: none; }
a:hover { color: var(--tk-green-dark); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--tk-font); font-weight: 700; line-height: 1.2; color: var(--tk-text); }

/* ─── HEADER / NAV ─── */
.tk-site-header { position: sticky; top: 0; z-index: 1000; background: var(--tk-white); border-bottom: 1px solid var(--tk-border); transition: box-shadow .2s; }
.tk-site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.tk-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 62px; display: flex; align-items: center; gap: 6px; }
.tk-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.tk-logo-icon { width: 36px; height: 36px; background: var(--tk-green); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.tk-logo-icon svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.tk-logo-text { font-size: 17px; font-weight: 800; color: var(--tk-text); letter-spacing: -.3px; }
.tk-logo-text span { color: var(--tk-green); }
.tk-nav-cats { display: flex; gap: 2px; margin-left: 16px; flex: 1; }
.tk-nav-link { font-size: 13px; font-weight: 500; color: var(--tk-muted); padding: 7px 11px; border-radius: var(--tk-radius-sm); transition: all .15s; cursor: pointer; border: none; background: none; font-family: var(--tk-font); text-decoration: none; display: inline-flex; align-items: center; }
.tk-nav-link:hover, .tk-nav-link.active { background: var(--tk-bg); color: var(--tk-text); }
.tk-nav-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.tk-mob-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--tk-text); flex-direction: column; gap: 4px; }
.tk-mob-toggle span { display: block; width: 20px; height: 2px; background: var(--tk-muted); border-radius: 2px; transition: all .2s; }
.tk-mob-menu { display: none; flex-direction: column; border-top: 1px solid var(--tk-border); background: white; padding: 6px 16px 12px; }
.tk-mob-menu a { padding: 11px 8px; font-size: 14px; font-weight: 500; color: var(--tk-text); border-bottom: 1px solid var(--tk-border); text-decoration: none; display: block; }
.tk-mob-menu a:last-child { border-bottom: none; }
.tk-mob-menu.open { display: flex; }

/* ─── BUTONLAR ─── */
.tk-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: var(--tk-radius-sm); font-size: 13px; font-weight: 700; font-family: var(--tk-font); cursor: pointer; border: none; transition: all .15s; text-decoration: none; }
.tk-btn-primary { background: var(--tk-green); color: white; }
.tk-btn-primary:hover { background: var(--tk-green-dark); color: white; }
.tk-btn-lg { padding: 13px 26px; font-size: 15px; border-radius: var(--tk-radius); }
.tk-btn-primary:disabled { opacity: .6; cursor: not-allowed; }

/* ─── CONTAINER / SECTION ─── */
.tk-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.tk-section { padding: 52px 0; }
.tk-section-bg { background: var(--tk-bg); }
.tk-section-title { font-size: clamp(20px,2.5vw,28px); font-weight: 800; margin-bottom: 6px; }
.tk-section-sub { font-size: 14px; color: var(--tk-muted); margin-bottom: 24px; }

/* ─── HERO ─── */
.tk-hero { display: grid; grid-template-columns: 55% 45%; min-height: 580px; max-height: 660px; }
.tk-hero-left { padding: 60px 52px; display: flex; flex-direction: column; justify-content: center; }
.tk-hero-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--tk-green-light); color: var(--tk-green); font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: var(--tk-radius-pill); margin-bottom: 20px; width: fit-content; }
.tk-hero-title { font-size: clamp(28px,3.5vw,44px); font-weight: 800; line-height: 1.1; margin-bottom: 12px; letter-spacing: -1px; }
.tk-hero-title span { color: var(--tk-green); }
.tk-hero-sub { font-size: 15px; color: var(--tk-muted); margin-bottom: 28px; line-height: 1.7; max-width: 460px; }
.tk-hero-right { position: relative; overflow: hidden; background: linear-gradient(150deg,#5ab87c 0%,#2d7a52 45%,#0f3d24 100%); }
.tk-hero-right-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.tk-hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.tk-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(26,92,58,.7),rgba(0,0,0,.3)); }
.tk-float-card { position: absolute; bottom: 40px; right: 40px; background: white; border-radius: 14px; padding: 14px 18px; min-width: 200px; max-width: 240px; box-shadow: 0 16px 48px rgba(0,0,0,.18); z-index: 2; }
.tk-float-card p { margin: 0; line-height: 1.4; }

/* ─── ARAMA KUTUSU ─── */
.tk-search-box { background: var(--tk-white); border: 1.5px solid var(--tk-border); border-radius: var(--tk-radius); overflow: visible; box-shadow: var(--tk-shadow); position: relative; margin-bottom: 0; }
.tk-search-fields { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; }
.tk-search-field { padding: 12px 14px; border-right: 1px solid var(--tk-border); cursor: pointer; transition: background .15s; position: relative; }
.tk-search-field:hover { background: var(--tk-bg); }
.tk-search-field:last-child { border-right: none; }
.tk-search-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; color: var(--tk-light); display: block; margin-bottom: 5px; }
.tk-search-val { font-size: 13px; font-weight: 600; color: var(--tk-text); display: flex; align-items: center; gap: 7px; }
.tk-search-val svg { width: 15px; height: 15px; stroke: var(--tk-green); fill: none; stroke-width: 2; flex-shrink: 0; }
.tk-search-val select,
.tk-search-val input[type=date] { border: none; outline: none; font-size: 13px; font-weight: 600; font-family: var(--tk-font); color: var(--tk-text); background: none; width: 100%; cursor: pointer; }
.tk-search-footer { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--tk-border); background: var(--tk-bg); border-radius: 0 0 var(--tk-radius) var(--tk-radius); }
.tk-search-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tk-search-tag { font-size: 12px; color: var(--tk-muted); padding: 4px 11px; border: 1px solid var(--tk-border); border-radius: var(--tk-radius-pill); cursor: pointer; background: var(--tk-white); font-family: var(--tk-font); transition: all .15s; }
.tk-search-tag:hover { border-color: var(--tk-green); color: var(--tk-green); background: var(--tk-green-light); }

/* ─── KATEGORİ TABS ─── */
.tk-cat-tabs { display: flex; gap: 5px; margin-top: 16px; flex-wrap: wrap; }
.tk-cat-tab { padding: 7px 15px; border: 1.5px solid var(--tk-border); border-radius: var(--tk-radius-pill); font-size: 13px; font-weight: 600; color: var(--tk-muted); cursor: pointer; background: var(--tk-white); font-family: var(--tk-font); transition: all .15s; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.tk-cat-tab:hover, .tk-cat-tab.active { border-color: var(--tk-green); color: var(--tk-green); background: var(--tk-green-light); }

/* ─── POPÜLER KARTLAR ─── */
.tk-popular-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.tk-popular-card { border-radius: var(--tk-radius); overflow: hidden; cursor: pointer; border: 1px solid var(--tk-border); transition: transform .2s, box-shadow .2s; background: var(--tk-white); text-decoration: none; display: block; }
.tk-popular-card:hover { transform: translateY(-4px); box-shadow: var(--tk-shadow-hover); }
.tk-popular-img { height: 150px; position: relative; overflow: hidden; }
.tk-popular-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tk-popular-card:hover .tk-popular-img img { transform: scale(1.05); }
.tk-popular-info { padding: 11px 13px; }
.tk-popular-info h3 { font-size: 13px; font-weight: 700; margin-bottom: 2px; color: var(--tk-text); }
.tk-popular-info p { font-size: 11px; color: var(--tk-muted); margin: 0; }
.tk-popular-count { font-size: 11px; color: var(--tk-green); font-weight: 700; margin-top: 4px; }

/* ─── NEDEN KARTLAR ─── */
.tk-why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.tk-why-card { padding: 24px 20px; background: var(--tk-white); border-radius: var(--tk-radius); border: 1px solid var(--tk-border); text-align: center; }
.tk-why-icon { font-size: 32px; margin-bottom: 12px; }
.tk-why-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.tk-why-card p { font-size: 13px; color: var(--tk-muted); margin: 0; line-height: 1.6; }

/* ─── 81 İL GRİD ─── */
.tk-iller-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); gap: 8px; }
.tk-il-card { display: block; padding: 10px 12px; background: var(--tk-white); border: 1px solid var(--tk-border); border-radius: var(--tk-radius-sm); font-size: 13px; font-weight: 600; color: var(--tk-text); text-decoration: none; transition: all .15s; text-align: center; }
.tk-il-card:hover { border-color: var(--tk-green); color: var(--tk-green); background: var(--tk-green-pale); transform: translateY(-2px); box-shadow: var(--tk-shadow); }

/* ─── SEO BLOK ─── */
.tk-seo-home { padding: 0; }
.tk-seo-home h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.tk-seo-home h3 { font-size: 16px; font-weight: 700; margin: 18px 0 8px; }
.tk-seo-home p { font-size: 14px; color: var(--tk-muted); line-height: 1.85; margin-bottom: 10px; }
.tk-seo-home ul { margin: 0 0 12px 18px; }
.tk-seo-home li { font-size: 14px; color: var(--tk-muted); margin-bottom: 5px; line-height: 1.7; }
.tk-seo-home a { color: var(--tk-green); font-weight: 600; }
.tk-seo-toggle { display: flex; align-items: center; gap: 7px; margin-top: 16px; background: none; border: 1.5px solid var(--tk-green); color: var(--tk-green); padding: 8px 18px; border-radius: var(--tk-radius-pill); font-size: 13px; font-weight: 700; font-family: var(--tk-font); cursor: pointer; transition: all .15s; }
.tk-seo-toggle:hover { background: var(--tk-green-light); }

/* ─── LOKASYOn HERO ─── */
.tk-location-hero { background: linear-gradient(135deg, var(--tk-green) 0%, var(--tk-green-mid) 100%); padding: 40px 52px; color: white; }
.tk-breadcrumb { font-size: 12px; opacity: .7; margin-bottom: 9px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.tk-breadcrumb a { color: white; }
.tk-breadcrumb a:hover { opacity: .8; }
.tk-location-hero h1 { font-size: clamp(20px,2.8vw,32px); font-weight: 800; margin-bottom: 5px; color: white; }
.tk-location-hero p { opacity: .85; font-size: 14px; margin: 0; }
.tk-save-tag { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.15); padding: 5px 12px; border-radius: var(--tk-radius-pill); font-size: 12px; font-weight: 700; margin-top: 12px; }

/* ─── ARAMA SECTION (lokasyon sayfaları) ─── */
.tk-arama-section { background: var(--tk-white); border-bottom: 1px solid var(--tk-border); padding: 16px 0; }

/* ─── LOKASYON GÖRSELLER ─── */
.tk-gorsel-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 8px; margin: 24px 0; }
.tk-gorsel-item { border-radius: var(--tk-radius); overflow: hidden; position: relative; }
.tk-gorsel-buyuk { grid-row: 1 / 3; }
.tk-gorsel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tk-gorsel-item:hover img { transform: scale(1.03); }
.tk-gorsel-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.55); color: white; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(4px); }

/* ─── İLÇE / MAHALLE GRID ─── */
.tk-district-section { padding: 28px 0; }
.tk-district-section h2 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.tk-district-section > p { font-size: 13px; color: var(--tk-muted); margin-bottom: 14px; }
.tk-district-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 8px; }
.tk-district-card { border: 1px solid var(--tk-border); border-radius: var(--tk-radius-sm); padding: 10px 12px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; background: white; transition: all .15s; }
.tk-district-card:hover { border-color: var(--tk-green); background: var(--tk-green-pale); transform: translateY(-2px); box-shadow: var(--tk-shadow); }
.tk-district-name { font-size: 13px; font-weight: 700; color: var(--tk-text); }
.tk-district-count { font-size: 11px; color: var(--tk-muted); }
.tk-district-arrow { font-size: 11px; color: var(--tk-green); font-weight: 700; margin-top: 3px; }

/* ─── SEO BLOK (lokasyon) ─── */
.tk-seo-block { background: var(--tk-bg); border-radius: var(--tk-radius); padding: 28px 32px; margin-top: 32px; border: 1px solid var(--tk-border); }
.tk-seo-block h2 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.tk-seo-block h3 { font-size: 16px; font-weight: 700; margin: 20px 0 7px; }
.tk-seo-block p { font-size: 13px; color: var(--tk-muted); line-height: 1.85; margin-bottom: 10px; }
.tk-seo-block ul { margin: 0 0 10px 18px; }
.tk-seo-block li { font-size: 13px; color: var(--tk-muted); margin-bottom: 4px; line-height: 1.7; }
.tk-seo-block strong { color: var(--tk-text); }
.tk-faq-item { border-bottom: 1px solid var(--tk-border); padding: 12px 0; }
.tk-faq-item:last-child { border-bottom: none; }
.tk-faq-q { font-size: 13px; font-weight: 700; color: var(--tk-text); margin-bottom: 5px; }
.tk-faq-a { font-size: 12px; color: var(--tk-muted); line-height: 1.7; margin: 0; }
.tk-seo-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.tk-seo-tag { padding: 5px 12px; background: white; border: 1px solid var(--tk-border); border-radius: var(--tk-radius-pill); font-size: 12px; color: var(--tk-muted); text-decoration: none; transition: all .15s; }
.tk-seo-tag:hover { border-color: var(--tk-green); color: var(--tk-green); background: var(--tk-green-light); }

/* ─── FOOTER ─── */
footer { background: #111827; color: rgba(255,255,255,.55); padding: 40px 40px 24px; margin-top: 52px; }
.tk-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; max-width: 1280px; margin-left: auto; margin-right: auto; }
.tk-footer-brand h3 { font-size: 17px; font-weight: 800; color: white; margin-bottom: 9px; }
.tk-footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.tk-footer-partners { display: flex; gap: 8px; flex-wrap: wrap; }
.tk-footer-partner { background: rgba(255,255,255,.08); padding: 3px 10px; border-radius: var(--tk-radius-pill); font-size: 11px; font-weight: 700; color: rgba(255,255,255,.6); }
.tk-footer-col h4 { font-size: 11px; font-weight: 800; color: white; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 12px; }
.tk-footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none; margin-bottom: 6px; transition: color .15s; }
.tk-footer-col a:hover { color: white; }
.tk-footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 18px; display: flex; justify-content: space-between; font-size: 11px; flex-wrap: wrap; gap: 6px; max-width: 1280px; margin: 0 auto; }

/* ─── LOADİNG ─── */
.tk-loading { display: flex; align-items: center; justify-content: center; padding: 48px; color: var(--tk-muted); font-size: 14px; gap: 12px; }
.tk-spinner { width: 20px; height: 20px; border: 2px solid var(--tk-border); border-top-color: var(--tk-green); border-radius: 50%; animation: tk-spin .8s linear infinite; }
@keyframes tk-spin { to { transform: rotate(360deg); } }

/* ─── RESPONSİVE ─── */
@media(max-width:1024px) {
  .tk-hero { grid-template-columns: 1fr; max-height: none; }
  .tk-hero-right { height: 260px; order: -1; }
  .tk-hero-left { padding: 36px 28px; }
  .tk-float-card { right: 20px; bottom: 20px; }
  .tk-footer-grid { grid-template-columns: 1fr 1fr; }
  .tk-location-hero { padding: 32px 28px; }
  .tk-popular-grid { grid-template-columns: repeat(2,1fr); }
  .tk-why-grid { grid-template-columns: repeat(2,1fr); }
  .tk-nav-cats { display: none; }
  .tk-mob-toggle { display: flex; }
  .tk-gorsel-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tk-gorsel-buyuk { grid-row: auto; }
  .tk-search-fields { grid-template-columns: 1fr 1fr 1fr; }
}
@media(max-width:640px) {
  .tk-header-inner { padding: 0 16px; }
  .tk-section { padding: 36px 0; }
  .tk-container { padding: 0 16px; }
  .tk-hero-left { padding: 28px 16px; }
  .tk-search-fields { grid-template-columns: 1fr 1fr; }
  .tk-search-field { border-right: none; border-bottom: 1px solid var(--tk-border); }
  .tk-search-footer { flex-direction: column; gap: 10px; align-items: stretch; }
  .tk-btn-lg { width: 100%; justify-content: center; }
  .tk-popular-grid { grid-template-columns: repeat(2,1fr); }
  .tk-why-grid { grid-template-columns: 1fr; }
  .tk-district-grid { grid-template-columns: repeat(3,1fr); }
  .tk-footer-grid { grid-template-columns: 1fr; }
  footer { padding: 32px 16px 20px; }
  .tk-location-hero { padding: 24px 16px; }
  .tk-seo-block { padding: 20px; }
  .tk-footer-bottom { flex-direction: column; }
  .tk-gorsel-grid { grid-template-columns: 1fr; }
  .tk-search-fields { grid-template-columns: 1fr; }
}
@media(max-width:400px) {
  .tk-district-grid { grid-template-columns: repeat(2,1fr); }
  .tk-popular-grid { grid-template-columns: 1fr; }
}
