:root {
  --ink: #16191f;
  --black: #07090d;
  --muted: #67707d;
  --line: #e2e6ec;
  --soft: #f6f8fb;
  --gold: #c99b45;
  --teal: #126d72;
  --red: #c84f4a;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(18, 28, 42, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226,230,236,.82);
}
.admin-page-wrap { background: var(--soft); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--black), #30343b);
  color: var(--gold);
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); color: #303743; font-weight: 650; }
.nav a { font-size: 14px; }
.top-select {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.icon-btn svg { width: 19px; height: 19px; }
#cartCount {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: end;
  padding: clamp(34px, 7vw, 84px) clamp(18px, 4vw, 54px);
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(201,155,69,.28), transparent 32%),
    linear-gradient(90deg, rgba(8,10,14,.88), rgba(8,10,14,.48) 48%, rgba(8,10,14,.1)),
    url("https://images.unsplash.com/photo-1549924231-f129b911e442?auto=format&fit=crop&w=1900&q=82") center/cover;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, rgba(0,0,0,.42), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-bottom: 122px;
}
.hero-lead { max-width: 100%; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 850;
}
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 16px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: .94;
  letter-spacing: 0;
  text-shadow: 0 22px 70px rgba(0,0,0,.45);
  word-break: break-word;
}
h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}
.hero-copy {
  max-width: 610px;
  color: rgba(255,255,255,.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}
.hero-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.primary-btn, .ghost-btn, .whatsapp-btn, .booking-strip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
}
.primary-btn { background: linear-gradient(135deg, #f0c76b, var(--gold)); color: #111418; box-shadow: 0 12px 26px rgba(201,155,69,.28); }
.ghost-btn { background: rgba(255,255,255,.12); color: inherit; border-color: rgba(255,255,255,.32); }
.compact { color: var(--ink); background: var(--white); border-color: var(--line); }
.primary-btn svg, .ghost-btn svg, .whatsapp-btn svg, .booking-strip button svg { width: 18px; height: 18px; }
.booking-strip {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 4vw, 54px);
  right: clamp(18px, 4vw, 54px);
  bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 190px 180px;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
label { display: grid; gap: 7px; color: #3c4652; font-size: 13px; font-weight: 800; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18,109,114,.14); }
.booking-strip button { align-self: end; background: var(--teal); color: var(--white); }

/* Trust Band */
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #f8fafc, #fff7e8);
}
.trust-band div { padding: 24px clamp(18px, 4vw, 54px); border-right: 1px solid var(--line); }
.trust-band strong { display: block; font-size: 24px; }
.trust-band span { color: var(--muted); font-size: 14px; }

/* Section */
.section { padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 54px); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #38424f;
  font-weight: 800;
}
.filter.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(18,28,42,.08);
  transition: transform .2s ease, box-shadow .2s ease, opacity 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(18,28,42,.14); }
.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--soft);
  transition: transform .35s ease;
}
.product-card:hover img { transform: scale(1.04); }
.product-body { padding: 18px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 800; }
.product-body h3 { margin: 0 0 9px; font-size: 21px; }
.product-body p { min-height: 66px; color: var(--muted); line-height: 1.5; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price-row strong { font-size: 22px; }
.price-row button, .admin-actions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

/* Split Section (Fleet) */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  min-height: 560px;
  background: radial-gradient(circle at 80% 20%, rgba(201,155,69,.2), transparent 28%), #10151b;
  color: var(--white);
}
.fleet-photo {
  background: url("https://images.unsplash.com/photo-1580273916550-e323be2ae537?auto=format&fit=crop&w=1500&q=82") center/cover;
}
.fleet-copy {
  align-self: center;
  padding: clamp(34px, 6vw, 78px);
}
.fleet-copy p:not(.eyebrow) { color: rgba(255,255,255,.72); line-height: 1.65; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.feature-list span { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.9); }
.feature-list svg { width: 19px; height: 19px; color: var(--gold); }

/* Cart & Overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(14,18,24,.48);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.cart-panel {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  width: min(100%, 430px);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: .24s ease;
}
.cart-panel.open { transform: translateX(0); }
.overlay.open { opacity: 1; pointer-events: auto; }
.cart-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.cart-head h2 { font-size: 32px; }
.cart-items { display: grid; gap: 12px; overflow: auto; flex: 1; padding-right: 4px; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cart-item h3 { margin: 0 0 5px; font-size: 16px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 13px; }
.qty { display: flex; align-items: center; gap: 7px; }
.qty button {
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}
.cart-total strong {
  transition: transform 0.2s ease;
}
.customer-box { display: grid; gap: 10px; }
.whatsapp-btn { background: #21a65b; color: var(--white); width: 100%; }
.whatsapp-btn.disabled,
.whatsapp-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}
.empty { color: var(--muted); padding: 20px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; }

/* ========== ADMIN PANEL STILLERI ========== */
.admin-panel-full {
  display: flex;
  min-height: 100vh;
  background: #f4f6f9;
}

.login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1f2b 0%, #0d1117 100%);
  padding: 20px;
}
.login-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.login-card h2 {
  color: #fff;
  margin-bottom: 28px;
  font-size: 24px;
  font-weight: 600;
}
.login-card label {
  display: block;
  text-align: left;
  margin-bottom: 20px;
  color: #a0aec0;
  font-weight: 600;
  font-size: 13px;
}
.login-card input {
  margin-top: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-size: 16px;
  outline: none;
  width: 100%;
  transition: border 0.2s;
}
.login-card input:focus {
  border-color: var(--gold);
}
.login-btn {
  width: 100%;
  background: linear-gradient(135deg, #f0c76b, var(--gold)) !important;
  color: #111418 !important;
  border: none !important;
  padding: 14px;
  font-weight: 800;
  border-radius: 12px;
  margin-top: 8px;
}

.admin-sidebar {
  width: 260px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; height: 100vh;
  z-index: 10;
  box-shadow: 2px 0 12px rgba(0,0,0,0.03);
}
.sidebar-header {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.sidebar-header strong { font-size:16px; color:var(--ink); }
.sidebar-header small { font-size:11px; color:var(--muted); }
.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #38424f;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.15s;
  text-align: left;
  text-decoration: none;
}
.sidebar-link:hover { background: var(--soft); }
.sidebar-link.active {
  background: linear-gradient(135deg, rgba(201,155,69,0.12), rgba(201,155,69,0.25));
  color: #b68b2e;
  font-weight: 700;
}
.sidebar-link svg { width:20px; height:20px; }
.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.logout-link { color: var(--red) !important; }

.admin-main {
  margin-left: 260px;
  flex: 1;
  padding: 32px 40px;
  min-height: 100vh;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.admin-topbar h1 { margin:0; font-size:28px; font-weight:700; }
.admin-section { display: none; }
.admin-section.active { display: block; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon svg { width:26px; height:26px; }
.stat-info span { font-size:13px; color:var(--muted); font-weight:600; }
.stat-info strong { font-size:30px; font-weight:800; color:var(--ink); display:block; }

.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.chart-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.chart-card h3 { margin:0 0 16px; font-size:18px; font-weight:700; }

.admin-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  margin-bottom: 20px;
}
.admin-card h3 { margin:0 0 20px; font-size:20px; font-weight:700; }
.admin-list-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #f9fafb;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.admin-list-item img { width:72px; height:56px; object-fit:cover; border-radius:8px; }
.admin-list-item h3 { font-size:16px; margin:0; }
.admin-list-item p { margin:0; color:var(--muted); font-size:13px; }
.admin-actions { display: flex; gap: 8px; }
.admin-actions button {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38424f;
}
.admin-actions .edit { color: var(--teal); }
.admin-actions .delete { color: var(--red); }
.compact-item { grid-template-columns: 1fr auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.inline-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--muted); }
.mini-form { display: grid; gap: 12px; }

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .admin-sidebar { width: 72px; }
  .sidebar-header strong, .sidebar-header small, .sidebar-link { font-size:0; justify-content:center; }
  .sidebar-link svg { margin:0; }
  .admin-main { margin-left: 72px; padding: 20px; }
  .stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .booking-strip, .product-grid, .admin-layout, .split-section { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 310px; }
  .trust-band { grid-template-columns: repeat(2, 1fr); }
  .fleet-photo { min-height: 360px; }
  .section-head { align-items: start; flex-direction: column; }
}

@media (max-width: 640px) {
  .site-header { align-items: start; flex-direction: column; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { font-size: 13px; }
  .hero { min-height: 860px; }
  .hero-content { padding-bottom: 390px; }
  .booking-strip { bottom: 16px; }
  .trust-band { grid-template-columns: 1fr; }
  .trust-band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-list-item { grid-template-columns: 76px 1fr; }
  .admin-list-item img { width: 76px; height: 62px; }
  .admin-actions { grid-column: 1 / -1; }
  .feature-list { grid-template-columns: 1fr; }
  .grid-2, .grid-4, .admin-grid { grid-template-columns: 1fr; }
  .card-head, .form-head { align-items: start; flex-direction: column; }
}

/* Yukarıdaki orijinal CSS'in sonuna ekleyin */
.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 1000;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.toast.show {
  visibility: visible;
  opacity: 1;
}
.toast.success { background-color: #2e7d32; }
.toast.error { background-color: #c84f4a; }

/* Admin panel grafik düzeltmeleri */
.chart-card {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.chart-card h3 {
  flex-shrink: 0;
}

.chart-card canvas {
  flex: 1;
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 350px;
}