/* Greek Mobility Coaching — Industry-Specific Design System
   Built for taxi fleet owners, drivers & Greek mobility professionals.
   Theme: Road wisdom, practical authority, Greek identity, results on asphalt.
*/

:root {
  /* Core palette — deep authority + Mediterranean warmth */
  --navy: #0F1C2E;
  --navy-light: #1A2A42;
  --gold: #C8A15E;
  --gold-dark: #A07F46;
  --terracotta: #B76E3E;
  --sea: #2E5A8C;
  --cream: #F9F6F0;
  --white: #FFFFFF;
  --charcoal: #1F2A3A;
  --gray: #5C6675;
  --gray-light: #E8E4DB;
  --success: #2E6B4E;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-s: 14px;
  --space-m: 24px;
  --space-l: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  /* Radii & Shadows */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 28, 46, 0.12);
  --shadow-strong: 0 20px 50px rgba(15, 28, 46, 0.18);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5.8vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.65rem); }

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation — Road-ready, strong on mobile */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(249, 246, 240, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-light);
  padding: 14px 0;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-dark); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 8px;
}

.nav-mobile {
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--gray-light);
  padding: 12px 20px;
  display: none;
  z-index: 999;
  box-shadow: var(--shadow);
}
.nav-mobile.active { display: block; }
.nav-mobile a {
  display: block;
  padding: 13px 0;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-light);
  font-weight: 500;
}

/* Buttons — tactile, road-appropriate */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15,28,46,0.25);
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-small {
  padding: 9px 20px;
  font-size: 14px;
}

/* Sectioning */
section { padding: 80px 0; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title p {
  color: var(--gray);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto;
}

/* Road Card — core component */
.road-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--gray-light);
}
.road-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.road-card-img {
  height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.road-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,28,46,0.1), transparent 45%);
}
.road-card-content { padding: 24px; }
.road-card-content h3 {
  margin-bottom: 10px;
  color: var(--navy);
}
.road-card-content p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 16px;
}

/* Route Grid — thematic grid */
.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Stats — "Kilometers Driven" style */
.stats-bar {
  background: var(--navy);
  color: var(--white);
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  text-align: left;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 6px;
}

/* Quote / Driver Voice */
.driver-voice {
  background: var(--white);
  border-left: 5px solid var(--gold);
  padding: 28px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--charcoal);
  position: relative;
}
.driver-voice .author {
  margin-top: 18px;
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
}
.driver-voice .author small {
  color: var(--gray);
  font-weight: 400;
}

/* Process — "The Route" */
.route-step {
  display: flex;
  gap: 22px;
  margin-bottom: 28px;
}
.route-step:last-child { margin-bottom: 0; }
.step-num {
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content h4 {
  margin-bottom: 6px;
  color: var(--navy);
}

/* Deep content blocks */
.content-block {
  max-width: 820px;
  margin: 0 auto;
}
.content-block p {
  font-size: 16.5px;
  margin-bottom: 20px;
}

/* Two column with strong hierarchy */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Table for regulations / pricing — mobile friendly */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.data-table th, .data-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}
.data-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}
.data-table tr:hover td { background: #f8f6f1; }

/* Mobile-first responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 22px; font-size: 14.5px; }
  .road-card-img { height: 180px; }
}

/* Subtle thematic accents */
.road-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 60px 0;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 28px;
  border-radius: var(--radius);
}
.pillar h3 {
  color: var(--terracotta);
  margin-bottom: 12px;
}

/* Form improvements */
.form-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--cream);
  transition: border 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

/* Toast & Modal */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: var(--shadow-strong);
  display: none;
  z-index: 3000;
  font-size: 15px;
  align-items: center;
  gap: 10px;
}
.toast.success { background: var(--success); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,28,46,0.65);
  z-index: 1500;
  display: none;
}
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  z-index: 2000;
  max-width: 420px;
  width: 92%;
  display: none;
}