/* =====================================================
   TAXI-KO MAIN STYLESHEET
   File: css/style.css

   TABLE OF CONTENTS
   1. Root Variables
   2. Global Reset
   3. Layout Helpers
   4. Header / Navigation
   5. Buttons
   6. Hero Section
   7. General Sections
   8. Cards / Grids
   9. Why Taxi-Ko Section
   10. How It Works Steps
   11. Driver Section
   12. CTA Section
   13. FAQ Section
   14. Coming Soon Modal
   15. Footer
   16. Responsive Design
===================================================== */


/* =====================================================
   1. ROOT VARIABLES
===================================================== */
:root {
  --yellow: #ffc400;
  --yellow-dark: #f2b600;
  --black: #111111;
  --gray: #666666;
  --light-gray: #f7f7f7;
  --border: #eeeeee;
  --white: #ffffff;
}


/* =====================================================
   2. GLOBAL RESET
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* =====================================================
   3. BASE HTML / BODY STYLES
===================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}


/* =====================================================
   4. LAYOUT HELPERS
===================================================== */
.container {
  width: min(1120px, 92%);
  margin: auto;
}


/* =====================================================
   5. HEADER / NAVIGATION
===================================================== */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.logo {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.nav {
  height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* Navigation Links */
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  color: #222;
}

.nav-links a:hover {
  color: var(--yellow-dark);
}


/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--black);
  border-radius: 12px;
  background: var(--yellow);
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0 var(--black);
  transition: 0.25s ease;
  line-height: 1;
}

.menu-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--black);
}


/* =====================================================
   6. BUTTONS
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 2px solid var(--black);
  transition: 0.25s ease;
  cursor: pointer;
  background: none;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
}


/* Yellow Main Button */
.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 5px 5px 0 var(--black);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 7px 7px 0 var(--black);
}


/* White Outline Button */
.btn-outline {
  background: var(--white);
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}


/* =====================================================
   7. HERO SECTION
===================================================== */
.hero {
  padding: 82px 0 70px;
  background:
    radial-gradient(circle at top right, rgba(255, 196, 0, 0.22), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fffdf2 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 52px;
}


/* Small label above hero title */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff4bd;
  border: 1px solid #ffe47a;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 20px;
}


/* Hero Title */
.hero h1 {
  font-size: clamp(3.6rem, 6vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 24px;
}

.hero h1 span {
  background: var(--yellow);
  padding: 0 10px;
  border-radius: 14px;
  display: inline-block;
}


/* Hero Text */
.hero p {
  font-size: 1.17rem;
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 0;
}


/* App Preview Box */
.phone-showcase {
  position: relative;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 34px;
  padding: 20px;
  box-shadow: 14px 14px 0 var(--yellow);
}

.phone-showcase img {
  width: 100%;
  border-radius: 26px;
  display: block;
}


/* Floating badge beside phone preview */
.floating-badge {
  position: absolute;
  left: -24px;
  top: -20px;
  background: var(--black);
  color: var(--white);
  padding: 15px 18px;
  border-radius: 18px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}


/* =====================================================
   8. GENERAL SECTION STYLES
===================================================== */
section {
  padding: 76px 0;
}

.soft-bg {
  background: var(--light-gray);
}


/* Section heading container */
.section-head {
  max-width: 740px;
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  color: var(--yellow-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -1.6px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--gray);
  font-size: 1.05rem;
}


/* =====================================================
   9. GRID AND CARD STYLES
===================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--gray);
}


/* =====================================================
   10. WHY TAXI-KO SECTION
===================================================== */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}


/* Yellow highlighted pitch box */
.highlight-box {
  background: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 34px;
  padding: 36px;
  box-shadow: 12px 12px 0 var(--black);
}

.highlight-box h3 {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 16px;
}

.highlight-box p {
  font-weight: 600;
}


/* Benefit List */
.list {
  display: grid;
  gap: 18px;
}

.list-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 22px;
}

.check {
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  font-weight: 900;
}


/* =====================================================
   11. HOW IT WORKS STEPS
===================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--gray);
  font-size: 0.92rem;
}


/* =====================================================
   12. DRIVER SECTION
===================================================== */
.driver-box {
  background: var(--black);
  color: var(--white);
  border-radius: 36px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.driver-box p {
  color: #dddddd;
}

.driver-box .btn-outline {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  margin-top: 22px;
}

.driver-box .btn-outline:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}


/* Driver points list */
.driver-points {
  display: grid;
  gap: 12px;
}

.driver-points div {
  background: rgba(255, 255, 255, 0.09);
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}


/* =====================================================
   13. CTA SECTION
===================================================== */
.cta {
  text-align: center;
  background: var(--yellow);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

.cta h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -2px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}


/* =====================================================
   14. FAQ SECTION
===================================================== */
.faq {
  display: grid;
  gap: 14px;
}

details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-top: 12px;
  color: var(--gray);
}


/* =====================================================
   15. COMING SOON MODAL
===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
}


/* This class is added by JavaScript */
.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: min(420px, 100%);
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 28px;
  padding: 34px;
  text-align: center;
  position: relative;
  box-shadow: 12px 12px 0 var(--yellow);
  animation: modalPop 0.25s ease;
}


/* Modal animation */
@keyframes modalPop {
  from {
    transform: scale(0.94);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  font-weight: 800;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin: 0 auto 18px;
}

.modal-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.modal-card p {
  color: var(--gray);
  margin-bottom: 22px;
}


/* =====================================================
   16. FOOTER
===================================================== */
footer {
  padding: 46px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 440px;
}

.footer-brand img {
  width: 200px;
  margin-bottom: -30px;
}

.footer-brand p {
  color: var(--gray);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
}

.copyright {
  margin-top: 26px;
  color: var(--gray);
  font-size: 0.92rem;
}


/* =====================================================
   17. RESPONSIVE DESIGN
===================================================== */

/* Medium screens */
@media (max-width: 1080px) {
  .nav-links {
    gap: 14px;
    font-size: 0.9rem;
  }

  .btn {
    padding: 12px 18px;
  }
}


/* Tablet and mobile screens */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .driver-box {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 0 0 24px 24px;
    padding: 18px;
    box-shadow: 8px 8px 0 var(--yellow);
    z-index: 200;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a,
  .nav-links button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .floating-badge {
    left: 16px;
  }
}


/* Small mobile screens */
@media (max-width: 560px) {
  .hero {
    padding-top: 54px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .driver-box {
    padding: 30px;
  }

  .hero h1 {
    letter-spacing: -1.6px;
  }

  .modal-card {
    padding: 30px 24px;
  }
}