/*
Theme Name: Uzungol
Theme URI: https://uzungol.com
Author: Uzungol.com
Description: Uzungol.com için hafif, Arapça öncelikli (RTL) rezervasyon ve rehber teması. Tesis içerik türü, WhatsApp rezervasyon ve doğrulanmış tesis rozeti içerir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: uzungol
License: GPL-2.0-or-later
*/

:root {
  --ground: #F4F5F0;
  --surface: #FFFFFF;
  --ink: #14241D;
  --ink-2: #3E4E46;
  --muted: #4A5A52;
  --line: #DCE1D8;
  --line-2: #ECEFE9;
  --forest: #1D4A38;
  --forest-tint: #E3EEE8;
  --accent: #23686B;
  --accent-tint: #E7F0F0;
  --accent-ink: #1E5759;
  --wa: #116B3D;
  --radius: 16px;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-head: 'Readex Pro', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
a:hover { color: #0F2E22; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.3; margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 72px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.section-head h2 { font-size: 34px; font-weight: 700; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 17px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { color: #fff; filter: brightness(.92); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid #C9D2C8; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; filter: brightness(.92); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 15px; border-radius: 10px; }
.icon { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.15; display: block; }
.brand-domain { font-size: 13px; color: var(--muted); display: block; direction: ltr; text-align: start; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding-block: 10px; display: inline-block; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; gap: 10px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 10px 2px; }
.lang-switch .current-lang a { color: var(--ink); font-weight: 600; }

/* Hero */
.hero { padding-top: 48px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-art { flex: 1 1 480px; min-width: 0; border-radius: 24px; overflow: hidden; background: #DCE8E4; }
.hero-art svg { display: block; width: 100%; height: auto; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--forest-tint); color: var(--forest); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; }
.hero-lead { margin: 0; font-size: 20px; line-height: 1.75; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Search */
.search-box { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.field { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select { height: 48px; border: 1px solid #C9D2C8; border-radius: 10px; padding: 0 12px; font-size: 16px; color: var(--ink); background: #fff; font-family: inherit; width: 100%; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.trust-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.trust-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--forest-tint); color: var(--forest); display: flex; align-items: center; justify-content: center; }
.trust-item h3 { font-size: 19px; font-weight: 600; }
.trust-item p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 3 / 2; background: #E3EAE4; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; background: #fff; color: var(--forest); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 21px; font-weight: 600; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-type { font-size: 14px; color: var(--accent-ink); font-weight: 600; }
.card-meta { margin: 0; font-size: 15px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line-2); }
.price { font-size: 17px; font-weight: 600; }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters a { text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1px solid #C9D2C8; color: var(--ink); background: #fff; font-size: 15px; font-weight: 500; }
.filters a.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }

/* Band (transfer) */
.band { background: var(--forest); color: #fff; border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.band h2 { font-size: 34px; }
.band p { color: #DCEAE2; font-size: 17px; }
.band-side { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.band-tile { background: #fff; color: var(--ink); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.band-tile strong { font-family: var(--font-head); font-size: 17px; }
.band-tile span { font-size: 14px; color: var(--muted); }
.band-side .btn { grid-column: 1 / -1; background: #fff; color: var(--wa); }

/* Packages */
.pkg { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.pkg.is-featured { border: 2px solid var(--accent); }
.pkg-nights { align-self: flex-start; background: var(--accent-tint); color: var(--accent-ink); font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.pkg h3 { font-size: 22px; font-weight: 600; }
.pkg ul { margin: 0; padding-inline-start: 20px; color: var(--ink-2); font-size: 15px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 40px; height: 40px; border-radius: 999px; background: var(--forest); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.steps strong { font-family: var(--font-head); font-size: 18px; }
.steps span { font-size: 15px; color: var(--muted); }

/* Single tesis */
.tesis-head { padding-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.tesis-head h1 { font-size: clamp(30px, 4vw, 44px); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.gallery .is-main { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.tesis-layout { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 32px; align-items: flex-start; }
.tesis-main { flex: 999 1 520px; min-width: 0; }
.tesis-side { flex: 1 1 300px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { background: var(--forest-tint); color: var(--forest); font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.content { font-size: 17px; }
.note { font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer { margin-top: 80px; background: var(--ink); color: #DCE6E0; }
.site-footer .wrap { padding-block: 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer a { color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col strong { color: #fff; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 60px; height: 60px; border-radius: 999px; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(17, 107, 61, .35); z-index: 50; }
.wa-float:hover { color: #fff; }

@media (max-width: 640px) {
  .section { padding-top: 48px; }
  .section-head h2, .band h2 { font-size: 26px; }
  .band { padding: 24px; }
  .hero-lead { font-size: 18px; }
}
