/* ============================================================
   Fahrschule Aydin – Global Stylesheet 2026
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary:        #0B1D3E;
  --primary-light:  #1E3A6E;
  --accent:         #E63329;
  --accent-dark:    #C4261D;
  --bg:             #F0F4FF;
  --bg-card:        #FFFFFF;
  --text:           #1A2744;
  --text-muted:     #64748B;
  --border:         rgba(15, 23, 42, 0.09);
  --shadow-sm:      0 2px 8px rgba(11, 29, 62, 0.06);
  --shadow:         0 4px 20px rgba(11, 29, 62, 0.10);
  --shadow-lg:      0 12px 40px rgba(11, 29, 62, 0.18);
  --radius:         14px;
  --radius-sm:      8px;
  --transition:     0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h:       72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ── Header ─────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 29, 62, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0 clamp(16px, 5vw, 48px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

#navbar {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.menu li a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  font-size: 0.925rem;
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.menu li a:hover,
.menu li a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background var(--transition), transform var(--transition);
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.social-icons img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ── Burger Menu ─────────────────────────────────────────── */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
  transition: background var(--transition);
}

.burger-menu:hover { background: rgba(255, 255, 255, 0.10); }

.burger-menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Page Header (inner pages) ───────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 72px clamp(16px, 5vw, 48px) 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(230, 51, 41, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 45%);
}

.page-header h1 {
  position: relative;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.page-header p {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  margin-top: 12px;
  max-width: 480px;
  margin-inline: auto;
}

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 48px);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

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

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 51, 41, 0.38);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.70);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ── Card ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--primary);
  padding: 36px clamp(16px, 5vw, 48px);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.50);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

/* ── WhatsApp FAB ────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #25D366;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.10);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .burger-menu { display: flex; }

  #navbar {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--primary);
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px 20px;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  }

  #navbar.active { display: flex; }

  .menu {
    flex-direction: column;
    flex: unset;
    gap: 2px;
    width: 100%;
  }

  .menu li a {
    padding: 10px 14px;
    font-size: 1rem;
    width: 100%;
    display: block;
  }

  .social-icons {
    padding: 10px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    justify-content: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .whatsapp-fab {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-fab img {
    width: 26px;
    height: 26px;
  }
}
