/* =========================================================
   Cadde Tekel Premium 2 — Tek CSS dosyası
   Beyaz + Lacivert + Altın · Mobile-first · Premium minimalist
   ========================================================= */

:root {
  --color-bg: #ffffff;
  --color-surface: #f4f6f9;
  --color-text: #0a2540;
  --color-text-muted: #4a5b73;
  --color-primary: #0a2540;
  --color-primary-hover: #143459;
  --color-accent: #d4a437;
  --color-accent-hover: #b88a25;
  --color-success: #1b8a4b;
  --color-danger: #b3261e;
  --color-border: #e5eaf0;

  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 16px 40px rgba(10, 37, 64, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --container: 1100px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', 'Georgia', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Üst şerit (Kampanya / duyuru) ---------- */
.topbar {
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 8px 16px;
}
.topbar strong { color: var(--color-accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text .region { color: var(--color-text-muted); font-size: 13px; }
.header-cta { display: none; gap: 8px; }
.header-cta .btn { padding: 10px 14px; font-size: 14px; }

@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 40px;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(212, 164, 55, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(10, 37, 64, 0.07), transparent 60%),
    var(--color-bg);
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  margin: 0 0 14px;
  line-height: 1.15;
}
.hero h1 .accent { color: var(--color-accent); }
.hero .lead {
  max-width: 640px;
  margin: 0 auto 26px;
  color: var(--color-text-muted);
  font-size: 17px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin: 0 auto;
  max-width: 420px;
}
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; max-width: none; justify-content: center; }
}

/* ---------- Open/Closed Badge ---------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.status-badge .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(27, 138, 75, 0.15);
  animation: pulse 2s infinite;
}
.status-badge.open  { color: var(--color-success); background: rgba(27, 138, 75, 0.10); }
.status-badge.closed { color: var(--color-danger);  background: rgba(179, 38, 30, 0.08); }
.status-badge.closed .dot { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.10); animation: none; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(27, 138, 75, 0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(27, 138, 75, 0.05); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-md); }

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}
.btn-whatsapp:hover { background: #1ebe5a; box-shadow: var(--shadow-md); }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-primary);
}
.btn-accent:hover { background: var(--color-accent-hover); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: none;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-block { width: 100%; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 8px;
  text-align: center;
}
section .section-sub {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 auto 36px;
  max-width: 600px;
}

/* ---------- Feature cards ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(4, 1fr); } }

.feature {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.feature .icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  background: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--color-text-muted); font-size: 14px; }

/* ---------- Map ---------- */
.map-section { background: var(--color-surface); }
.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e0e6ee;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- Contact / Hours ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1.1fr 1fr; } }

.info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 22px;
}
.info-card .row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
}
.info-card .row:first-of-type { border-top: 0; padding-top: 0; }
.info-card .row .label { color: var(--color-text-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; min-width: 90px; }
.info-card .row .value { flex: 1; font-size: 16px; }
.info-card .row .value a { color: var(--color-primary); font-weight: 600; }
.info-card .row .value a:hover { color: var(--color-accent); }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 15px;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li .day { color: var(--color-text-muted); }
.hours-list li.today { font-weight: 700; }
.hours-list li.today .day::before { content: "● "; color: var(--color-accent); }

/* ---------- Sticky bottom action bar (mobile) ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(10, 37, 64, 0.08);
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 4px;
  padding-bottom: max(5px, env(safe-area-inset-bottom));
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-primary);
  min-height: 44px;
  border-right: 1px solid var(--color-border);
  line-height: 1.1;
}
.mobile-bar a:last-child { border-right: 0; }
.mobile-bar a svg { width: 18px; height: 18px; }
.mobile-bar a.wa { color: #1ebe5a; }
.mobile-bar a:active { background: var(--color-surface); }

body.has-mobile-bar { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }

@media (min-width: 768px) {
  .mobile-bar { display: none; }
  body.has-mobile-bar { padding-bottom: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary);
  color: #c8d3e2;
  padding: 36px 0 28px;
  text-align: center;
  font-size: 14px;
}
.site-footer .legal {
  margin-top: 14px;
  font-size: 12px;
  color: #8fa1b9;
  letter-spacing: 0.3px;
}
.site-footer .age-warning {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border: 1px solid #2a4068;
  border-radius: 8px;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 12px;
}

/* ---------- Admin ---------- */
.admin-body {
  background: var(--color-surface);
  min-height: 100vh;
  padding: 40px 20px;
}
.admin-card {
  max-width: 480px;
  margin: 40px auto;
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.admin-card.wide { max-width: 720px; }
.admin-card h1 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 26px;
}
.admin-card .muted { color: var(--color-text-muted); font-size: 14px; margin: 0 0 24px; }

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212, 164, 55, 0.2);
}
.form-row textarea { min-height: 90px; resize: vertical; }
.form-row .hint { color: var(--color-text-muted); font-size: 12px; margin-top: 6px; }

.alert {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
}
.alert.success { background: rgba(27, 138, 75, 0.10); color: var(--color-success); }
.alert.error   { background: rgba(179, 38, 30, 0.10); color: var(--color-danger); }

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 720px;
  margin: 0 auto 16px;
}
.admin-toolbar a { color: var(--color-text-muted); font-size: 14px; }
.admin-toolbar a:hover { color: var(--color-primary); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
