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

html, body {
  height: 100%;
  overflow: hidden; /* we control scroll via container */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* SCROLL CONTAINER */
#slides {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  padding-bottom: 64px; 
}


/* EACH TILE */
.slide {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  color: white;
}

/* SLIDE 1 */
.slide-1 {
  background-color: #111827;
  background-image: url("/assets/images/mister-taxi-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-1 h1 {
  font-size: 6rem;
  padding-left: 25px;
  color: white;
  text-shadow: 1px 1px 3px #393C31;
  line-height: 6rem;
  text-transform: uppercase
}

.slide-1 #taxi {
  color: #F59E0B;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-1 h2 {
  font-size: 3rem;
  margin: 0 80px 0 0;
  color: #F59E0B;
   line-height: 4rem;
   text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* SLIDE 2 */
.slide-2 {
  background-image: url("/assets/images/mister-taxi-about.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.slide-2-inner {
  width: 100%;
  padding-left: 6vw;
}

/* White content box */
.slide-content-box {
  background: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  padding: 40px 40px 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.slide-2-box {
  border-left: 6px solid black;
}


/* Typography — calmer, Vans-like */
.slide-content-box h2 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #F59E0B;
  margin-bottom: 12px;
}

.slide-content-box .subhead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: black;
  margin-bottom: 24px;
}

/* Services list */
.service-list {
  list-style: none;
}

.service-list li {
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  color: #444;
}

.service-list li:last-child {
  border-bottom: none;
}

/* SLIDE 3 */
/* ================================
   SLIDE 3 — WHY CHOOSE MISTER TAXI
   ================================ */

.slide-3 {
  background-image: url("/assets/images/mister-taxi-airport.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* wrapper to control horizontal spacing */
.slide-3-inner {
  width: 100%;
  padding-right: 6vw;
  display: flex;
  justify-content: flex-end;
}

/* white content panel */
.slide-3-box {
  background: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  padding: 40px 40px 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border-right: 6px solid #F59E0B;
}

/* headline */
.slide-3-box h2 {
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #F59E0B;
  margin-bottom: 12px;
}

/* subhead */
.slide-3-box .subhead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: black;
  margin-bottom: 24px;
}

/* bullet list */
.slide-3-box .why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slide-3-box .why-list li {
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  color: #444;
}

.slide-3-box .why-list li:last-child {
  border-bottom: none;
}

/* ================================
   SLIDE 4 — HOW IT WORKS (CENTERED)
   ================================ */

.slide-4 {
  background-image: url("/assets/images/mister-taxi-services.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* white content panel */
.slide-4-box {
  background: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  padding: 40px 40px 36px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border-top: 6px solid #F59E0B; /* brand accent */
  text-align: center;
}

/* headline */
.slide-4-box h2 {
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: black;
  margin-bottom: 12px;
}

/* subhead */
.slide-4-box .subhead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: black;
  margin-bottom: 28px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;

}

.steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  padding: 14px 0;
  color: #444;
}


/* numbered steps */
.steps li::before {
  content: counter(step);
  counter-increment: step;

  flex-shrink: 0;              /* prevents resizing */
  width: 32px;
  height: 32px;

  background: #F59E0B;
  color: white;
  font-weight: 700;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps {
  counter-reset: step;
}

/* ================================
   SLIDE 5 — BOOK A RIDE
   ================================ */

.slide-5 {
  position: relative; /* 👈 THIS IS THE FIX */

  background-image: url("/assets/images/mister-taxi-book.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}


.slide-5-inner {
  width: 100%;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 1fr 520px 1fr;
  gap: 40px;
  align-items: center;
}

/* LEFT COPY */
.slide-5-copy h2 {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-5-copy .subhead {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #f5f5f5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* CENTER FORM BOX */
.slide-5-box {
  background: rgba(255,255,255,0.97);
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  border-top: 6px solid #F59E0B;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-form input,
.booking-form textarea {
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  font-family: inherit;
}

.booking-form textarea {
  resize: none;
  min-height: 80px;
}

.booking-form button {
  margin-top: 10px;
  padding: 14px;
  background: #F59E0B;
  color: black;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.booking-form button:hover {
  background: #e08c00;
}

/* RIGHT CALL NOW */
.slide-5-call {
  text-align: right;
  color: white;
}

.slide-5-call p {
  font-size: 3rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: -10px;
}

.slide-5-call a {
  font-size: 2.4rem;
  font-weight: 900;
  color: #F59E0B;
  text-decoration: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-5-call a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .slide-5-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .slide-5-call {
    text-align: center;
  }
}

/* ================================
   SLIDE 5 LEGAL ROW
   ================================ */

.slide-5-legal {
  position: absolute;
  bottom: 100px; /* ABOVE footer height */
  left: 0;
  width: 100%;

  padding: 0 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}

.slide-5-legal a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.slide-5-legal a:hover {
  text-decoration: underline;
}

.slide-5-legal span {
  margin: 0 6px;
}

@media (max-width: 900px) {
  .slide-5-legal {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}



/* DOT NAV */
#dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot:hover {
  background: rgba(255,255,255,0.7);
}

.dot.active {
  background: #F59E0B;
  transform: scale(1.5);
}

/* BOTTOM BAR */
#bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10%;
  background: white;
  border-top: 5px solid #010101;
  z-index: 200;
}

.bottom-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1146b3;
}

.logo img {
  height: 75px;
}

.call-link {
  color: black;
  font-weight: 900;
  font-size: 2rem;
  text-decoration: none;
  text-transform: uppercase
}

.call-link:hover {
  text-decoration: underline;
}

#phone-num {
  color: #F59E0B;
}

/* ================================
   LEGAL PAGES
   ================================ */

.legal-page {
  min-height: 100vh;
  padding-bottom: 10%; /* space for footer */
}

.legal-slide {
  min-height: 100vh;
  background: black;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 6vw;
}

.legal-box {
  background: white;
  max-width: 800px;
  padding: 48px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.legal-box h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.legal-box h2 {
  font-size: 1.4rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #111;
}

.legal-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* ==========================================
   MOBILE — CENTERED & STACKED LAYOUT
   (DESKTOP UNAFFECTED)
   ========================================== */

@media (max-width: 768px) {

  /* ---------- GLOBAL ---------- */
  .slide {
    padding: 0 40px;
    text-align: center;
    justify-content: center;
  }

  /* ---------- SLIDE 1: HERO ---------- */
  .slide-1 {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .slide-1 h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    padding: 0;
    margin-bottom: 12px;
  }

  .slide-1 h2 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
    max-width: 280px;
  }

  /* ---------- SLIDE 2 & 3 ---------- */
  .slide-2-inner,
  .slide-3-inner {
    padding: 0;
    display: flex;
    justify-content: center;
  }

  .slide-content-box,
  .slide-3-box {
    max-width: 100%;
    width: 100%;
    padding: 24px;
    margin: 0 auto;
    text-align: center;
  }

  .slide-content-box h2,
  .slide-3-box h2 {
    font-size: 1.8rem;
  }

  .subhead {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .service-list li,
  .why-list li {
    font-size: 0.95rem;
  }

  /* ---------- SLIDE 4 ---------- */
  .slide-4-box {
    max-width: 100%;
    width: 100%;
    padding: 24px;
    text-align: center;
  }

  .slide-4-box h2 {
    font-size: 1.8rem;
  }

  .steps {
    align-items: center;
  }

  .steps li {
    justify-content: center;
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
  }

  /* ---------- SLIDE 5 ---------- */
  .slide-5-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .slide-5-copy h2 {
    font-size: 2rem;
  }

  .slide-5-copy .subhead {
    font-size: 1.1rem;
  }

  .slide-5-box {
    max-width: 100%;
    width: 100%;
    padding: 24px;
  }

  .slide-5-call {
    text-align: center;
  }

  .slide-5-call p {
    font-size: 1.6rem;
  }

  .slide-5-call a {
    font-size: 1.8rem;
  }

  /* ---------- LEGAL ---------- */
/* --- SLIDE 5 LEGAL: MOVE BELOW FORM (MOBILE ONLY) --- */
.slide-5-legal {
  position: static;        /* remove absolute positioning */
  margin-top: 16px;        /* space below form */
  padding: 0 16px;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
}

.slide-5-legal .legal-right {
  margin-top: 4px;
}


  /* ---------- FOOTER ---------- */
  #bottom-bar {
    height: 64px;
  }

  .logo img {
    height: 40px;
  }

  .call-link {
    font-size: 1rem;
  }
}
