/* Urban Taxi Development - Authentic Design System for Greek Taxi Professionals */

:root {
  --navy: #0C1629;
  --navy-light: #1A2744;
  --gold: #B45309;
  --gold-dark: #92400E;
  --terracotta: #9F4B2C;
  --warm: #E07A3D;
  --cream: #F8F1E9;
  --cream-dark: #F0E6D9;
  --light: #F9F6F2;
  --charcoal: #2C2F36;
  --gray: #5F636B;
  --gray-light: #8A8F98;
  --white: #FFFFFF;
  --success: #2E5A3C;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system_ui, -apple-system, sans-serif;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--light);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.spectral {
  font-family: 'Spectral', Georgia, serif;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* NAVIGATION - Mobile First, Professional */
.nav {
  position: sticky;
  top: 0;
  background: rgba(249, 246, 242, 0.97);
  backdrop-filter: blur(20px);
  z-index: 200;
  border-bottom: 1px solid rgba(12, 22, 41, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  min-height: 68px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: white;
  padding: 11px 24px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold);
  color: white;
}

.mobile-menu {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--navy);
  line-height: 1;
  padding: 4px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 10px 30px -10px rgba(12, 22, 41, 0.15);
  border-top: 1px solid rgba(12, 22, 41, 0.06);
  z-index: 199;
}

.nav-mobile.show {
  display: flex;
}

.nav-mobile a {
  padding: 14px 24px;
  border-bottom: 1px solid #f0e6d9;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.nav-mobile a:last-child {
  border: none;
  margin-top: 8px;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
}

/* TYPOGRAPHY */
h1 {
  font-size: 52px;
  letter-spacing: -1.6px;
}

h2 {
  font-size: 34px;
  letter-spacing: -1px;
}

h3 {
  font-size: 24px;
  letter-spacing: -0.4px;
}

.section-title {
  font-size: 34px;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.section-subtitle {
  color: var(--gray);
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 42px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  h1 { font-size: 38px; letter-spacing: -1.2px; }
  h2 { font-size: 28px; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  gap: 8px;
}

.btn-primary {
  background: var(--gold);
  color: white;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: white;
}

.btn-large {
  padding: 18px 36px;
  font-size: 16px;
}

/* CARDS & LAYOUTS */
.card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(12, 22, 41, 0.06), 0 2px 4px -2px rgba(12, 22, 41, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(12, 22, 41, 0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(12, 22, 41, 0.1), 0 4px 6px -4px rgba(12, 22, 41, 0.1);
}

.card-body {
  padding: 26px;
}

.scenario-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 22px;
  position: relative;
}

.scenario-card:before {
  content: "Σενάριο";
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold);
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 9999px;
}

/* DRIVER STORY BLOCKS - Industry Specific */
.driver-story {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 4px 6px -1px rgba(12, 22, 41, 0.06);
  border: 1px solid rgba(12, 22, 41, 0.04);
}

.driver-story-header {
  padding: 26px 28px 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.driver-story-header img {
  width: 68px;
  height: 68px;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid var(--cream);
  flex-shrink: 0;
}

.driver-info h4 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 2px;
}

.driver-info span {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.driver-story-body {
  padding: 22px 28px 28px;
}

.driver-story-body .quote {
  font-size: 17px;
  line-height: 1.7;
  font-style: italic;
  color: #3F434C;
  margin-bottom: 22px;
}

.story-outcomes {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--cream-dark);
}

.story-outcome {
  font-size: 14px;
}

.story-outcome strong {
  display: block;
  color: var(--gold);
  font-size: 15px;
}

/* PROGRAM CARDS - Taxi Specific */
.program-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(12, 22, 41, 0.06);
  border: 1px solid rgba(12, 22, 41, 0.04);
  display: flex;
  flex-direction: column;
}

.program-card .program-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.program-card .program-image:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(12,22,41,0.35), transparent);
}

.program-meta {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(249, 246, 242, 0.95);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
}

.program-card .program-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--navy);
}

.program-card .program-desc {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.program-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.program-details li {
  font-size: 14.5px;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.program-details li:before {
  content: "→";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* SECTIONS */
section {
  padding: 78px 0;
}

@media (max-width: 768px) {
  section {
    padding: 54px 0;
  }
}

.bg-cream {
  background: var(--cream);
}

.bg-navy {
  background: var(--navy);
  color: white;
}

.bg-navy h2,
.bg-navy h3 {
  color: white;
}

.bg-navy .section-subtitle {
  color: rgba(255,255,255,0.75);
}

/* TAXI-SPECIFIC COMPONENTS */
.reality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.reality-item {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--cream-dark);
}

.reality-item h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--navy);
}

.reality-item p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.65;
}

.master-framework {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.framework-item {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 20px 22px;
  border-radius: 0 10px 10px 0;
}

.framework-item h4 {
  font-size: 16px;
  margin-bottom: 7px;
  color: var(--navy);
}

.wisdom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.wisdom-card {
  background: var(--white);
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--cream-dark);
  font-size: 15px;
  line-height: 1.65;
}

.wisdom-card strong {
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

/* FORMS */
.form-group {
  margin-bottom: 18px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D4C9B8;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

/* MODALS & TOASTS */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(12, 22, 41, 0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--white);
  border-radius: 18px;
  max-width: 480px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.35);
}

.close-modal {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray);
  line-height: 1;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  padding: 15px 26px;
  border-radius: 9999px;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.25);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  font-size: 14.5px;
  max-width: 92%;
}

/* FOOTER */
.footer {
  background: var(--navy);
  color: #A8B0C0;
  padding: 62px 0 34px;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer a {
  color: #A8B0C0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: white;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* RESPONSIVE GRIDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* IMAGE HANDLING */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ACCESSIBILITY & MOBILE TOUCH */
button, .btn, a {
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 480px) {
  .btn {
    padding: 14px 22px;
    font-size: 14.5px;
    width: 100%;
    justify-content: center;
  }
  
  .nav-inner {
    padding: 14px 0;
  }
}

/* Print friendly */
@media print {
  .nav, .footer, .btn { display: none; }
}