:root {
  /* Neutrals / labels — LIGHT (Varsayılan Beyaz Tema) */
  --bg: #FFFFFF;
  --bg-secondary: #F2F2F7;
  --bg-tertiary: #FFFFFF;
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --label: #000000;
  --label-secondary: rgba(60,60,67,.60);
  --label-tertiary: rgba(60,60,67,.30);
  --label-quaternary: rgba(60,60,67,.18);
  --separator: rgba(60,60,67,.29);
  --separator-opaque: #C6C6C8;
  --fill: rgba(120,120,128,.12);
  --fill-secondary: rgba(120,120,128,.16);

  /* System accents — LIGHT */
  --blue: #007AFF; 
  --indigo: #5856D6; 
  --purple: #AF52DE; 
  --pink: #FF2D55;
  --red: #FF3B30; 
  --orange: #FF9500; 
  --yellow: #FFCC00; 
  --green: #34C759;
  --mint: #00C7BE; 
  --teal: #30B0C7; 
  --cyan: #32ADE6;
  --accent: var(--blue);

  /* Glass */
  --glass-regular-bg: rgba(255,255,255,.72);
  --glass-thick-bg: rgba(255,255,255,.85);
  --glass-rim: rgba(255,255,255,.18);

  /* Radius */
  --r-xs: 8px; 
  --r-sm: 12px; 
  --r-md: 16px; 
  --r-lg: 22px; 
  --r-xl: 28px; 
  --r-pill: 999px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 32px 80px rgba(0,0,0,.18), 0 8px 24px rgba(0,0,0,.10);

  /* Motion */
  --ease-out: cubic-bezier(0.16,1,0.30,1);
  --ease-in-out: cubic-bezier(0.65,0,0.35,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --ease-standard: cubic-bezier(0.4,0,0.2,1);
  --dur-instant: 100ms; 
  --dur-fast: 180ms; 
  --dur-base: 280ms;
  --dur-slow: 420ms; 
  --dur-hero: 640ms;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display","SF Pro Text","Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-mono: ui-monospace,"SF Mono","JetBrains Mono",Menlo,monospace;

  /* Z-index layers */
  --z-base: 0; 
  --z-sticky: 100; 
  --z-nav: 200; 
  --z-sheet: 300;
  --z-popover: 400; 
  --z-toast: 500; 
  --z-max: 9999;
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-secondary: #1C1C1E;
  --bg-tertiary: #2C2C2E;
  --surface: #1C1C1E;
  --surface-elevated: #2C2C2E;
  --label: #FFFFFF;
  --label-secondary: rgba(235,235,245,.60);
  --label-tertiary: rgba(235,235,245,.30);
  --label-quaternary: rgba(235,235,245,.16);
  --separator: rgba(84,84,88,.60);
  --separator-opaque: #38383A;
  --fill: rgba(120,120,128,.36);
  --fill-secondary: rgba(120,120,128,.32);

  --blue: #0A84FF; 
  --indigo: #5E5CE6; 
  --purple: #BF5AF2; 
  --pink: #FF375F;
  --red: #FF453A; 
  --orange: #FF9F0A; 
  --yellow: #FFD60A; 
  --green: #30D158;
  --mint: #63E6E2; 
  --teal: #40C8E0; 
  --cyan: #64D2FF;

  --glass-regular-bg: rgba(30,30,30,.72);
  --glass-thick-bg: rgba(22,22,22,.85);
  --glass-rim: rgba(255,255,255,.10);

  /* softer shadows in dark */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.30);
  --shadow-md: 0 8px 24px rgba(0,0,0,.40);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.50);
  --shadow-xl: 0 32px 80px rgba(0,0,0,.60);
}

/* Base resets */
.hidden {
  display: none !important;
}

* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html { 
  -webkit-font-smoothing: antialiased; 
  text-rendering: optimizeLegibility; 
}

body {
  font-family: var(--font-sans);
  background: var(--bg); 
  color: var(--label);
  font-size: 17px; 
  line-height: 1.5;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
  overflow-x: hidden;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 5px color-mix(in oklab, var(--accent) 45%, transparent);
  border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { 
    animation: none !important; 
    transition-duration: .01ms !important; 
  }
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Reusable glass utility */
.glass {
  background: var(--glass-regular-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-rim);
  box-shadow: var(--shadow-md);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { 
    background: var(--surface-elevated); 
  }
}

/* Typography utilities */
.display-xl { font-size: 64px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.title-1 { font-size: 34px; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.title-2 { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.title-3 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.body { font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--label-secondary); }
.caption { font-size: 12px; line-height: 1.34; font-weight: 700; letter-spacing: 0.08em; color: var(--label-tertiary); text-transform: uppercase; }

@media (max-width: 768px) {
  .display-xl { font-size: 40px; line-height: 1.1; }
  .title-1 { font-size: 28px; }
  .title-2 { font-size: 24px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-pill);
  height: 44px;
  padding: 0 24px;
  border: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: color-mix(in oklab, var(--accent) 85%, #FFFFFF);
  box-shadow: var(--shadow-md);
}

.btn-tinted {
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent);
}

.btn-tinted:hover {
  background: color-mix(in oklab, var(--accent) 20%, transparent);
}

.btn-secondary {
  background: var(--fill);
  color: var(--label);
  border: 1px solid var(--separator);
}

.btn-secondary:hover {
  background: var(--fill-secondary);
}

/* Navigation Bar */
header.site-header {
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--separator);
  background: var(--surface);
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

header.site-header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

header.site-header .logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--label);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

header.site-header nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

header.site-header nav ul li {
  list-style: none;
}

header.site-header nav ul a {
  text-decoration: none;
  color: var(--label-secondary);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur-instant) var(--ease-out);
}

header.site-header nav ul a:hover,
header.site-header nav ul a.active {
  color: var(--accent);
}

.nav-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
  opacity: 0.75;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

header.site-header nav ul a:hover .nav-icon,
header.site-header nav ul a.active .nav-icon {
  opacity: 1;
  transform: scale(1.1);
}


/* Standard Header Actions (Theme Button, etc) */
.theme-toggle {
  background: var(--fill);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--label);
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.theme-toggle:hover {
  background: var(--fill-secondary);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--separator);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.card-interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--separator));
}

/* Card images */
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}

/* Inputs & Form Groups */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--label-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  background: var(--fill);
  border: 1px solid var(--separator);
  border-radius: var(--r-sm);
  color: var(--label);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.form-control:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
  outline: none;
}

textarea.form-control {
  height: 120px;
  padding: 12px 16px;
  resize: vertical;
}

/* Toast System */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: var(--surface-elevated);
  border-radius: var(--r-pill);
  padding: 12px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  animation: slideIn var(--dur-base) var(--ease-spring);
  border: 1px solid var(--glass-rim);
}

@keyframes slideIn {
  from { transform: translateY(-20px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.toast-message {
  font-size: 14px;
  font-weight: 600;
  color: var(--label);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--label);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

/* Mobile sliding drawer menu */
.menu-drawer {
  position: fixed;
  top: 0;
  width: 280px;
  height: 100vh;
  z-index: var(--z-max);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: var(--shadow-xl);
}

/* Nakliye Mobile Drawer: Slides from Left */
.menu-drawer.drawer-nakliye {
  left: -100%;
  right: auto;
  border-right: 1px solid var(--separator);
  background: var(--surface) !important;
  border-left: none;
  transition: left var(--dur-slow) var(--ease-out);
}

.menu-drawer.drawer-nakliye.open {
  left: 0;
}

/* Depolama Mobile Drawer: Slides from Right */
.menu-drawer.drawer-depolama {
  right: -100%;
  left: auto;
  border-left: 1px solid var(--glass-rim);
  background: var(--glass-thick-bg) !important;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-right: none;
  transition: right var(--dur-slow) var(--ease-out);
}

.menu-drawer.drawer-depolama.open {
  right: 0;
}

.menu-drawer .close-btn {
  align-self: flex-end;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--label-secondary);
}

.menu-drawer nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 20px;
}

.menu-drawer nav ul a {
  text-decoration: none;
  color: var(--label);
  font-size: 18px;
  font-weight: 600;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--separator);
}

.menu-drawer nav ul a.active {
  color: var(--accent);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: var(--z-sheet);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-out);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Footer Styles */
footer.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--separator);
  padding: 64px 0 40px 0;
  margin-top: 80px;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
}

footer.site-footer h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--label);
  text-transform: uppercase;
  margin-bottom: 20px;
}

footer.site-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer.site-footer ul li {
  list-style: none;
}

footer.site-footer ul a {
  text-decoration: none;
  color: var(--label-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--dur-instant) var(--ease-out), transform var(--dur-instant) var(--ease-out);
  display: inline-block;
}

footer.site-footer ul a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

footer.site-footer p.body {
  font-size: 14px;
  color: var(--label-secondary);
  line-height: 1.6;
}

footer.site-footer .copyright {
  border-top: 1px solid var(--separator);
  padding-top: 24px;
  font-size: 13px;
  color: var(--label-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

