/*
 * Direction: Endüstriyel — ABT Otomotiv (Bosch Car Service) için uyarlandı.
 * Marka: Bosch kırmızısı (primary) + antrasit (secondary) + uyarı sarısı (accent).
 * Google Fonts: https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@600;700;800&display=swap
 *
 * Plain CSS on purpose: this file works unchanged in the CDN draft and in the
 * production build. Adjust hues to the brand, then run scripts/check_theme.py.
 */

:root {
  --font-sans: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Barlow", ui-sans-serif, sans-serif;
}

[data-theme="brand"] {
  color-scheme: light;
  --color-base-100: oklch(98.5% 0.002 90);
  --color-base-200: oklch(95.5% 0.004 90);
  --color-base-300: oklch(90% 0.006 90);
  --color-base-content: oklch(20% 0.01 60);
  --color-primary: oklch(52% 0.22 27);
  --color-primary-content: oklch(98% 0.01 25);
  --color-secondary: oklch(28% 0.015 60);
  --color-secondary-content: oklch(96% 0.005 90);
  --color-accent: oklch(86% 0.17 95);
  --color-accent-content: oklch(20% 0.03 90);
  --color-neutral: oklch(18% 0.01 60);
  --color-neutral-content: oklch(95% 0.005 90);
  --color-info: oklch(50% 0.13 245);
  --color-info-content: oklch(98% 0.01 240);
  --color-success: oklch(50% 0.13 150);
  --color-success-content: oklch(98% 0.01 150);
  --color-warning: oklch(82% 0.16 85);
  --color-warning-content: oklch(20% 0.04 70);
  --color-error: oklch(52% 0.2 28);
  --color-error-content: oklch(98% 0.01 25);
  --radius-selector: 0rem;
  --radius-field: 0rem;
  --radius-box: 0rem;
  --size-selector: 0.25rem;
  --size-field: 0.25rem;
  --border: 2px;
  --depth: 0;
  --noise: 0;
}

[data-theme="brand-dark"] {
  color-scheme: dark;
  --color-base-100: oklch(19% 0.008 60);
  --color-base-200: oklch(16% 0.007 60);
  --color-base-300: oklch(13% 0.006 60);
  --color-base-content: oklch(93% 0.005 90);
  --color-primary: oklch(56% 0.23 27);
  --color-primary-content: oklch(99% 0.01 25);
  --color-secondary: oklch(88% 0.01 90);
  --color-secondary-content: oklch(20% 0.01 60);
  --color-accent: oklch(86% 0.17 95);
  --color-accent-content: oklch(20% 0.03 90);
  --color-neutral: oklch(28% 0.01 60);
  --color-neutral-content: oklch(93% 0.005 90);
  --color-info: oklch(72% 0.12 240);
  --color-info-content: oklch(18% 0.04 240);
  --color-success: oklch(72% 0.14 150);
  --color-success-content: oklch(18% 0.04 150);
  --color-warning: oklch(84% 0.16 85);
  --color-warning-content: oklch(20% 0.04 70);
  --color-error: oklch(68% 0.19 28);
  --color-error-content: oklch(16% 0.04 25);
  --radius-selector: 0rem;
  --radius-field: 0rem;
  --radius-box: 0rem;
  --size-selector: 0.25rem;
  --size-field: 0.25rem;
  --border: 2px;
  --depth: 0;
  --noise: 0;
}

/* Layered so Tailwind utilities (e.g. font-sans on a heading) can still override. */
@layer base {
  body { font-family: var(--font-sans); }
  :is(h1, h2, h3):not(.footer-title), .font-display { font-family: var(--font-display); }
  [x-cloak] { display: none !important; }
  /* Mobil alt CTA çubuğu (Ara / WhatsApp) footer içinde; içeriği örtmesin diye pay bırak. */
  @media (max-width: 639px) { body { padding-bottom: 4.25rem; } }
}
