/* =========================================================
   baskan.site — işletme ana sayfası (baskan.site/{isletme})
   Telefon ve masaüstü; RTL (Arapça) için mantıksal CSS özellikleri. --theme işletmenin tema rengidir.
   Görünüm body sınıflarıyla seçilir (SiteStyle.BodyClasses): bg-*, font-*, hero-*, card-*, rad-*.
   ========================================================= */

:root {
  --theme: #C2410C;
  --ink: #1C1917;
  --ink-2: #44403C;
  --muted: #78716C;
  --line: #ECE8E4;
  --bg: #FAF8F6;
  --card: #FFFFFF;
  --soft: color-mix(in srgb, var(--theme) 7%, var(--bg));
  --radius: 18px;
  --radius-lg: 24px;
  --fw: 800;
  --hs: 1;
  --accent: var(--theme);
  --shadow: 0 2px 6px rgba(28, 25, 23, .05), 0 12px 32px rgba(28, 25, 23, .07);
  --font: "Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--theme) 50%, transparent); outline-offset: 2px; }
.pg-wrap { max-width: 1140px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--fw); line-height: 1.15; margin: 0; }

/* ---------- Arka planlar, yazı tipleri, köşeler ---------- */
.bg-white { --bg: #FFFFFF; --card: #FFFFFF; --line: #EBEBEB; }
.bg-warm { --bg: #F5EEE3; --card: #FFFBF5; --line: #E6D9C6; --ink: #2B2118; --ink-2: #4A3B2C; --muted: #7D6B58; }
.bg-dark { --bg: #111111; --card: #1C1C1E; --line: #2E2E30; --ink: #F5F5F4; --ink-2: #D6D3D1; --muted: #A8A29E;
  --soft: #18181A; --accent: color-mix(in srgb, var(--theme) 60%, #fff); --shadow: 0 10px 30px rgba(0, 0, 0, .45); color-scheme: dark; }
.font-elegant { --font-display: "Playfair Display", Georgia, "Times New Roman", serif; --fw: 700; --hs: 1.04; }
.font-rounded { --font: Nunito, "Noto Sans Arabic", system-ui, sans-serif; --font-display: Nunito, "Noto Sans Arabic", system-ui, sans-serif; --fw: 800; }
.font-handwritten { --font: Nunito, "Noto Sans Arabic", system-ui, sans-serif; --font-display: Caveat, "Segoe Print", cursive; --fw: 700; --hs: 1.3; }
.font-bold { --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif; --fw: 400; --hs: 1.2; }
.font-bold h1, .font-bold h2 { letter-spacing: .02em; }
.rad-s { --radius: 6px; --radius-lg: 10px; }
.rad-m { --radius: 18px; --radius-lg: 24px; }
.rad-l { --radius: 26px; --radius-lg: 34px; }

/* ---------- Kartlar ---------- */
.pg-card { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.card-soft .pg-card { box-shadow: var(--shadow); }
.card-outline .pg-card { border: 1.5px solid var(--line); }
.card-flat .pg-card { background: var(--soft); }

/* ---------- Düğmeler ---------- */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid transparent; background: var(--theme); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pg-btn:hover { filter: brightness(1.08); }
.pg-btn.light { background: var(--card); color: var(--ink); border-color: var(--line); }
.pg-btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.pg-btn.small { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.pg-btn svg { flex: none; }
.pg-link { color: var(--accent); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pg-link:hover { text-decoration: underline; }

/* ---------- Üst çubuk ---------- */
.pg-top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.pg-top .pg-wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.pg-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: var(--fw); font-size: calc(19px * var(--hs)); min-width: 0; }
.pg-brand img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; background: var(--card); }
.pg-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.pg-nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.pg-nav a:hover { background: var(--soft); color: var(--ink); }
.pg-lang { min-height: 38px; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; }
.pg-menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); place-items: center; cursor: pointer; }
@media (max-width: 860px) {
  .pg-menu-btn { display: grid; }
  .pg-nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .pg-nav.open { display: flex; }
  .pg-nav a { padding: 12px; }
  .pg-nav .pg-btn { margin-top: 6px; }
}

/* ---------- Giriş (hero) ---------- */
.pg-hero { position: relative; }
.pg-hero-inner { display: grid; gap: 16px; }
.pg-logo { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; background: var(--card); box-shadow: var(--shadow); }
.pg-hero h1 { font-size: calc(clamp(34px, 5.4vw, 60px) * var(--hs)); }
.pg-tagline { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); margin: 0; max-width: 640px; }
.pg-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 15px; }
.pg-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pg-open { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #DCFCE7; color: #166534; }
.pg-open.closed { background: #FEE2E2; color: #991B1B; }
.pg-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* Kapak: tam genişlik görsel, üstünde metin */
.hero-cover .pg-hero { min-height: min(70vh, 640px); display: flex; align-items: flex-end; color: #fff; background: #1C1917 center/cover no-repeat; }
.hero-cover .pg-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.72) 100%); }
.hero-cover .pg-hero.no-img { background: linear-gradient(135deg, var(--theme), color-mix(in srgb, var(--theme) 55%, #000)); }
.hero-cover .pg-hero .pg-wrap { position: relative; width: 100%; padding-block: 64px 48px; }
.hero-cover .pg-tagline, .hero-cover .pg-meta { color: rgba(255,255,255,.88); }
.hero-cover .pg-hero .pg-btn.light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.hero-cover .pg-hero-img { display: none; }

/* Bölünmüş: solda metin, sağda görsel */
.hero-split .pg-hero .pg-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 56px; }
.hero-split .pg-hero-img { aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); background: var(--soft) center/cover no-repeat; box-shadow: var(--shadow); }
@media (max-width: 860px) { .hero-split .pg-hero .pg-wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; } .hero-split .pg-hero-img { order: -1; aspect-ratio: 16 / 10; } }

/* Ortalanmış: renkli zemin, altta geniş görsel */
.hero-centered .pg-hero { background: var(--soft); }
.hero-centered .pg-hero .pg-wrap { padding-block: 56px 0; text-align: center; }
.hero-centered .pg-hero-inner { justify-items: center; }
.hero-centered .pg-meta, .hero-centered .pg-actions { justify-content: center; }
.hero-centered .pg-hero-img { margin-top: 40px; aspect-ratio: 16 / 6; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--card) center/cover no-repeat; }
.hero-centered .pg-hero-img.empty { display: none; }
.hero-centered .pg-hero .pg-wrap:has(.pg-hero-img.empty) { padding-bottom: 56px; }
@media (max-width: 640px) { .hero-centered .pg-hero-img { aspect-ratio: 16 / 9; } }

/* ---------- Bölümler ---------- */
.pg-sections { display: flex; flex-direction: column; }
.pg-section { padding-block: clamp(44px, 7vw, 80px); }
.pg-section + .pg-section { border-top: 1px solid var(--line); }
.pg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.pg-head h2 { font-size: calc(clamp(26px, 3.4vw, 38px) * var(--hs)); }
.pg-kicker { display: block; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; font-family: var(--font); }
.pg-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pg-grid.four { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pg-empty { padding: 28px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* Kampanyalar */
.pg-camp { display: flex; flex-direction: column; }
.pg-camp-img { aspect-ratio: 16 / 9; background: var(--soft) center/cover no-repeat; }
.pg-camp-body { padding: 18px 20px 20px; display: grid; gap: 8px; flex: 1; align-content: start; }
.pg-camp h3 { font-size: 21px; }
.pg-camp p { margin: 0; color: var(--ink-2); }
.pg-dates { font-size: 13px; color: var(--accent); font-weight: 700; }
.pg-camp .pg-btn { justify-self: start; margin-top: 6px; }

/* Hakkımızda */
.pg-about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.pg-about.no-img { grid-template-columns: 1fr; max-width: 820px; }
.pg-about-img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--soft) center/cover no-repeat; }
@media (max-width: 860px) { .pg-about { grid-template-columns: 1fr; gap: 24px; } }
.pg-prose { font-size: 17px; color: var(--ink-2); }
.pg-prose p { margin: 0 0 1em; }
.pg-prose h2 { font-size: calc(24px * var(--hs)); margin: 1.4em 0 .5em; color: var(--ink); }
.pg-prose ul { padding-inline-start: 1.3em; margin: 0 0 1em; }
.pg-prose li { margin-bottom: .3em; }
.pg-prose a { color: var(--accent); }

/* Öne çıkanlar */
.pg-item-img { aspect-ratio: 4 / 3; background: var(--soft) center/cover no-repeat; }
.pg-item-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.pg-item h3 { font-size: 17px; font-family: var(--font); font-weight: 700; }
.pg-item p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pg-price { font-weight: 800; color: var(--accent); }

/* Etkinlikler */
.pg-events { display: grid; gap: 14px; }
.pg-event { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 16px; }
.pg-event-date { width: 72px; text-align: center; border-radius: calc(var(--radius) * .7); background: var(--theme); color: #fff; padding: 8px 4px; line-height: 1.1; }
.pg-event-date b { display: block; font-size: 28px; font-family: var(--font-display); }
.pg-event-date span { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.pg-event h3 { font-size: 19px; margin-bottom: 2px; }
.pg-event p { margin: 0; color: var(--ink-2); font-size: 15px; }
.pg-event-time { color: var(--muted); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.pg-event-img { width: 120px; aspect-ratio: 4 / 3; border-radius: calc(var(--radius) * .7); background: var(--soft) center/cover no-repeat; }
@media (max-width: 640px) { .pg-event { grid-template-columns: auto 1fr; } .pg-event-img { display: none; } }

/* Yazılar */
.pg-post { display: flex; flex-direction: column; text-decoration: none; }
.pg-post-img { aspect-ratio: 16 / 10; background: var(--soft) center/cover no-repeat; }
.pg-post-body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.pg-post time { font-size: 13px; color: var(--muted); font-weight: 600; }
.pg-post h3 { font-size: 20px; }
.pg-post p { margin: 0; color: var(--ink-2); font-size: 15px; }
.pg-post:hover h3 { color: var(--accent); }

/* Galeri */
.pg-albums { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pg-albums button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; cursor: pointer; }
.pg-albums button.on { background: var(--theme); border-color: var(--theme); color: #fff; }
.pg-gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.pg-photo { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: calc(var(--radius) * .7); overflow: hidden; cursor: zoom-in; background: var(--soft); }
.pg-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pg-photo:hover img { transform: scale(1.04); }
.pg-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 16px 20px; }
.pg-lightbox img { max-height: 80vh; max-width: 100%; border-radius: 8px; object-fit: contain; }
.pg-lightbox p { color: #fff; margin: 12px 0 0; text-align: center; }
.pg-lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pg-lb-close { top: 12px; inset-inline-end: 12px; }
.pg-lb-prev { inset-inline-start: 12px; top: 50%; }
.pg-lb-next { inset-inline-end: 12px; top: 50%; }

/* Yorum çağrısı */
.pg-review { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 40px); background: var(--theme); color: #fff; border-radius: var(--radius-lg); flex-wrap: wrap; }
.pg-review h2 { font-size: calc(clamp(24px, 3vw, 32px) * var(--hs)); margin-bottom: 6px; }
.pg-review p { margin: 0; opacity: .9; max-width: 560px; }
.pg-stars { display: flex; gap: 4px; margin-bottom: 10px; color: #FDE68A; }
.pg-review .pg-btn { background: #fff; color: #1C1917; }

/* Rezervasyon */
.pg-res { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .pg-res { grid-template-columns: 1fr; gap: 20px; } }
.pg-form { padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; }
.pg-fields { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .pg-fields { grid-template-columns: 1fr; } }
.pg-field { display: grid; gap: 6px; }
.pg-field label { font-weight: 600; font-size: 14px; }
.pg-field input, .pg-field select, .pg-field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: calc(var(--radius) * .6); border: 1.5px solid var(--line); background: var(--bg); }
.pg-field input:focus, .pg-field select:focus, .pg-field textarea:focus { outline: none; border-color: var(--theme); }
.pg-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.pg-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--theme); flex: none; }
.pg-msg { padding: 12px 14px; border-radius: calc(var(--radius) * .6); font-weight: 600; }
.pg-msg.ok { background: #DCFCE7; color: #166534; }
.pg-msg.bad { background: #FEE2E2; color: #991B1B; }
.pg-note { font-size: 13px; color: var(--muted); margin: 0; }

/* İletişim */
.pg-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: stretch; }
@media (max-width: 860px) { .pg-contact { grid-template-columns: 1fr; } }
.pg-info { padding: 24px; display: grid; gap: 18px; align-content: start; }
.pg-info-row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.pg-info-row svg { color: var(--accent); margin-top: 3px; }
.pg-info-row small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.pg-info-row a { text-decoration: none; font-weight: 600; }
.pg-social { display: flex; gap: 8px; flex-wrap: wrap; }
.pg-map { min-height: 320px; display: grid; place-items: center; text-align: center; gap: 10px; padding: 24px; background: var(--soft) center/cover no-repeat; position: relative; }
.pg-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pg-map p { margin: 0; color: var(--muted); font-size: 13px; }

/* Şubeler */
.pg-branch { padding: 20px; display: grid; gap: 6px; }
.pg-branch h3 { font-size: 19px; }
.pg-branch p { margin: 0; color: var(--muted); font-size: 14px; }
.pg-branch .pg-actions { margin-top: 8px; }

/* Yazı sayfası */
.pg-article { max-width: 760px; margin: 0 auto; padding-block: 40px 64px; }
.pg-article-cover { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--soft) center/cover no-repeat; margin-bottom: 28px; }
.pg-article h1 { font-size: calc(clamp(30px, 4.4vw, 46px) * var(--hs)); margin: 8px 0 12px; }
.pg-article time { color: var(--muted); font-weight: 600; font-size: 14px; }
.pg-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; margin: 24px 0 0; }
.pg-pager { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }

/* Alt bilgi */
.pg-foot { padding-block: 40px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.pg-foot .pg-wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; align-items: center; }
.pg-foot strong { color: var(--ink); font-family: var(--font-display); font-weight: var(--fw); font-size: 18px; }
.pg-powered { text-decoration: none; }
.pg-powered b span { color: #F97316; }

/* Önizleme (Ana Sayfa Stüdyosu) */
.is-preview .pg-section.is-hidden-preview { display: none; }
.pg-preview-empty { padding: 24px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; font-size: 14px; }
.hero-split .pg-hero, .hero-centered .pg-hero { background-image: none !important; }
