* { box-sizing: border-box; }
:root {
  --navy: #0E1E36;
  --navy-light: #1B3358;
  --gold: #F5B942;
  --gold-soft: #ffc85c;
  --red: #E14B45;
  --text-dark: #1a2436;
  --text-muted: #5c6b78;
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --border: #e4e8ee;

  /* Fibonacci/altın oran (φ≈1.618) tabanlı boşluk skalası */
  --sp-1: 8px;
  --sp-2: 13px;
  --sp-3: 21px;
  --sp-4: 34px;
  --sp-5: 55px;
  --sp-6: 89px;
  --sp-7: 144px;

  /* Altın oran tabanlı tipografi skalası (φ ve √φ) */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 21px;
  --fs-xl: 26px;
  --fs-2xl: 34px;
  --fs-3xl: 42px;

  --sidebar-w: 236px;
}

html, body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  scroll-behavior: smooth;
  font-size: var(--fs-base);
  line-height: 1.618; /* altın oran satır yüksekliği */
}

body {
  padding-left: 236px;
  transition: padding-left 0.25s ease;
}
body.sidebar-collapsed { padding-left: 0 !important; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4, p { line-height: 1.3; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* ---- Sidebar ---- */
.site-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: linear-gradient(180deg, var(--navy) 0%, #0a1830 100%);
  display: flex;
  flex-direction: column;
  padding: var(--sp-4) var(--sp-3);
  z-index: 20;
  overflow-y: auto;
  box-shadow: 2px 0 24px rgba(0,0,0,0.18);
  transition: transform 0.25s ease;
}
body.sidebar-collapsed .site-sidebar { transform: translateX(-100%) !important; }
.side-brand {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-5);
  padding-top: var(--sp-1);
}
.side-brand img {
  width: 55px;
  height: 55px;
  filter: drop-shadow(0 4px 14px rgba(245, 185, 66, 0.25));
  transition: transform 0.25s ease;
}
.side-brand:hover img { transform: scale(1.05) rotate(-2deg); }
.side-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px var(--sp-2);
  border-radius: 10px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #b9c4d6;
  letter-spacing: 0.2px;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.side-nav a .i { font-size: var(--fs-md); width: 22px; text-align: center; }
.side-nav a:hover { background: rgba(255,255,255,0.07); color: #fff; padding-left: 18px; }
.side-nav a.active {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(245, 185, 66, 0.3);
}
.side-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: var(--sp-3);
  font-size: 11px;
}
.side-lang a {
  padding: 2px 3px;
  font-weight: 700;
  color: #7c8aa0;
  transition: color 0.15s ease;
}
.side-lang a:hover { color: #cdd6e4; }
.side-lang a.active { color: var(--gold); }
.side-lang-sep { color: #4a5872; font-size: 10px; }

.sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: var(--sp-2);
  left: var(--sp-2);
  z-index: 30;
  background: var(--navy);
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: var(--fs-md);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: left 0.25s ease;
}
body:not(.sidebar-collapsed) .sidebar-toggle { left: calc(var(--sidebar-w) + var(--sp-2)); }

/* ---- Header ---- */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) var(--sp-4);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 800;
  font-size: var(--fs-md);
  color: var(--navy);
  letter-spacing: 0.5px;
}
.brand img { width: 36px; height: 36px; }
nav.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
nav.main-nav a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.15s ease;
}
nav.main-nav a:hover { color: var(--gold); }
.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--bg-alt);
  border-radius: 6px;
  padding: 3px;
}
.lang-switch a {
  padding: 4px 9px;
  border-radius: 4px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
}
.lang-switch a.active {
  background: var(--navy);
  color: #fff;
}
.btn {
  display: inline-block;
  padding: 13px var(--sp-4);
  border-radius: 10px;
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(245, 185, 66, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 185, 66, 0.38); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(245,185,66,0.10), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(225,75,69,0.12), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: var(--sp-7) var(--sp-3) 100px;
  text-align: center;
}
.hero img.hero-logo {
  width: 144px;
  margin-bottom: var(--sp-3);
  filter: drop-shadow(0 10px 30px rgba(245, 185, 66, 0.25));
}
.hero h1 {
  font-size: var(--fs-3xl);
  margin: 0 0 var(--sp-2);
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.22;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: var(--fs-md);
  color: #cdd6e4;
  max-width: 640px;
  margin: 0 auto var(--sp-4);
  line-height: 1.618;
}
.hero .hero-actions {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.hero .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---- Sections ---- */
section {
  padding: var(--sp-6) var(--sp-3);
}
section.alt { background: var(--bg-alt); }
.section-title {
  text-align: center;
  margin-bottom: var(--sp-1);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--navy);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto var(--sp-5);
  font-size: var(--fs-base);
  line-height: 1.618;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-3);
  max-width: 1080px;
  margin: 0 auto;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--sp-4) var(--sp-3);
  box-shadow: 0 2px 10px rgba(14,30,54,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14,30,54,0.09); }
.card .icon {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 12px;
}
.card h3 { margin: 0 0 var(--sp-1); font-size: var(--fs-md); color: var(--navy); }
.card p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.618; }

/* ---- Product highlight (altın oran dikdörtgen) ---- */
.product-highlight {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.product-highlight .badge {
  background: var(--red);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: var(--sp-2);
  letter-spacing: 0.4px;
}
.product-highlight .text { flex: 1; min-width: 280px; }
.product-highlight .text h2 { font-size: var(--fs-2xl); color: var(--navy); margin: 0 0 var(--sp-2); }
.product-highlight .text p { color: var(--text-muted); line-height: 1.618; margin-bottom: var(--sp-3); }
.product-highlight .visual {
  flex: 1 1 380px;
  max-width: 420px;
  aspect-ratio: 1.618 / 1; /* altın dikdörtgen */
  background:
    radial-gradient(circle at 30% 20%, rgba(245,185,66,0.15), transparent 55%),
    linear-gradient(150deg, var(--navy-light), var(--navy));
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(14,30,54,0.25);
}
.product-highlight .visual img {
  width: 42%;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.35));
}

/* ---- Coming soon strip ---- */
.coming-soon {
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: var(--sp-4);
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: var(--sp-5) auto 0;
  background: var(--bg-alt);
}

/* ---- Contact form ---- */
.contact-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.form-row { margin-bottom: var(--sp-3); }
.form-row label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
  letter-spacing: 0.3px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 185, 66, 0.18);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: -8px; margin-bottom: var(--sp-3); }
.alert {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-4);
}
.alert-success { background: #e8f7ee; color: #1f7a44; border: 1px solid #bfe8cf; }
.alert-error { background: #fdeceb; color: #b3352d; border: 1px solid #f5c6c2; }

/* ---- Footer ---- */
footer.site-footer {
  background: var(--navy);
  color: #a9b6c2;
  padding: var(--sp-5) var(--sp-3);
  text-align: center;
  font-size: var(--fs-xs);
}
footer.site-footer .brand { color: #fff; justify-content: center; margin-bottom: var(--sp-1); }
footer.site-footer .brand img { width: 24px; height: 24px; }

/* ---- Admin ---- */
.admin-wrap { max-width: 1080px; margin: var(--sp-4) auto; padding: 0 var(--sp-3); }
table.requests {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.requests th, table.requests td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.requests th { background: var(--bg-alt); color: var(--navy); }
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
}
.status-yeni { background: #fdeceb; color: #b3352d; }
.status-inceleniyor { background: #fff6e0; color: #8a6300; }
.status-tamamlandi { background: #e8f7ee; color: #1f7a44; }
table.requests select { font-size: 12.5px; padding: 4px; }

@media (max-width: 900px) {
  /* Küçük ekranlarda menü varsayılan olarak kapalı başlar, içerik daraltılmaz */
  body { padding-left: 0 !important; }
  .site-sidebar { width: 250px; transform: translateX(-100%); }
  body.sidebar-open .site-sidebar { transform: translateX(0); }
  .sidebar-toggle { left: var(--sp-2) !important; }
}

@media (max-width: 640px) {
  nav.main-nav { display: none; }
  .hero h1 { font-size: 30px; }
  .product-highlight .visual { aspect-ratio: 1.618 / 1.1; }
}
