/* ============================================================
   TAXI BARDHI — style.css
   Premium · Mobile-first · Ultra smooth · Apple/Tesla level
   ============================================================ */

:root {
  --black:           #030303;
  --black-soft:      #070707;
  --anthracite:      #111214;
  --anthracite-light:#1b1d20;
  --gray:            #8e8e8e;
  --light-gray:      #e8e8e8;
  --white:           #ffffff;
  --soft:            #f4f4f4;
  --line-dark:       rgba(255,255,255,0.10);
  --line-light:      rgba(0,0,0,0.12);

  /* Timing tokens */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast: 0.22s;
  --dur-mid:  0.45s;
  --dur-slow: 0.75s;
}

/* ── RESET ─────────────────────────────────────────────────── */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: white;
  color: black;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(72px, 16vw, 178px);
  line-height: 0.88;
  letter-spacing: -3px;
  word-spacing: 4px;
  text-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.tag {
  display: block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 18px;
}

.center { text-align: center; }

.center-title {
  text-align: center;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  margin-bottom: 64px;
  letter-spacing: -1.5px;
  word-spacing: 3px;
}

.subtitle {
  margin-top: 20px;
  font-size: clamp(20px, 3.5vw, 38px);
  color: #e6e6e6;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.25;
  word-spacing: 2px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 16px 30px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid white;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.btn.light      { background: white;       color: black; }
.btn.ghost      { background: transparent; color: white; }
.btn.dark       { background: black;       color: white; border-color: black; }
.btn.light-map  { background: white;       color: black; border-color: white; }

.btn:hover,
.btn:focus-visible {
  opacity: 0.82;
  transform: translateY(-2px);
  outline: none;
}

.btn:active { transform: translateY(0); opacity: 1; }

/* ── HEADER ─────────────────────────────────────────────────── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-dark);
  z-index: 100;
  transition: height var(--dur-mid) var(--ease-out),
              background var(--dur-mid) var(--ease-out);
  will-change: height, background;
}

.header.scrolled {
  height: 66px;
  background: rgba(3, 3, 3, 0.96);
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 160px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-wordmark {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 3px;
  color: white;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.logo-wordmark em {
  font-style: normal;
  color: #c8c8c8;
}

/* Desktop nav */
nav {
  display: flex;
  align-items: center;
  gap: 0;
}

nav a {
  padding: 6px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #c8c8c8;
  font-weight: 600;
  position: relative;
  transition: color var(--dur-fast) ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -2px;
  height: 1px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}

nav a:hover { color: white; }
nav a:hover::after { transform: scaleX(1); }

.call-btn {
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.7);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 700;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
  flex-shrink: 0;
}

.call-btn:hover {
  background: white;
  color: black;
}

.guide-btn {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #d4d4d4;
  flex-shrink: 0;
  transition: background var(--dur-fast) ease,
              color var(--dur-fast) ease,
              border-color var(--dur-fast) ease;
}

.guide-btn:hover {
  background: rgba(255,255,255,0.14);
  color: white;
  border-color: rgba(255,255,255,0.55);
}

/* Hamburger menu button (mobile only) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: white;
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease-out),
              opacity var(--dur-fast) ease,
              width var(--dur-mid) var(--ease-out);
  transform-origin: center;
}

.menu-toggle span:nth-child(3) { width: 60%; }

/* Open state */
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

/* Mobile nav drawer */
.mobile-nav {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #030303;
  z-index: 99;
  flex-direction: column;
  align-items: stretch;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-top: 64px;
  padding-bottom: 48px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--dur-mid) var(--ease-out),
              visibility 0s var(--dur-mid);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transition: opacity var(--dur-mid) var(--ease-out),
              visibility 0s 0s;
}

.mobile-nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 5.5vw, 28px);
  color: #999;
  letter-spacing: 0;
  line-height: 1;
  padding: 19px 6%;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--dur-fast) ease,
              background var(--dur-fast) ease;
}

.mobile-nav a:not(.btn)::after {
  content: "→";
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.18);
  flex-shrink: 0;
  transition: transform var(--dur-fast) ease,
              color var(--dur-fast) ease;
}

.mobile-nav a:not(.btn):active,
.mobile-nav a:not(.btn):hover {
  color: white;
  background: rgba(255,255,255,0.04);
}

.mobile-nav a:not(.btn):active::after,
.mobile-nav a:not(.btn):hover::after {
  transform: translateX(5px);
  color: rgba(255,255,255,0.5);
}

.mobile-nav .mobile-cta {
  margin-top: auto;
  padding: 28px 6% 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-nav .mobile-cta .btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 17px 24px;
  font-size: 11px;
  letter-spacing: 1.8px;
  border-bottom: none;
  font-family: "Inter", sans-serif;
}

.mobile-nav .mobile-cta .btn::after {
  display: none;
}

/* Masquer le bouton WhatsApp flottant quand le menu est ouvert */
.mobile-nav.open ~ .floating-whatsapp,
.mobile-nav.open ~ main ~ .floating-whatsapp {
  display: none;
}

/* ── HERO ───────────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  background: var(--black);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 6% 100px;
  overflow: hidden;
  padding-top: 80px; /* header height */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("hero-bg.jpeg") center/cover no-repeat;
  opacity: 0.30;
  transform: scale(1.04);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.35) 100%),
    linear-gradient(to top,   rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.05) 55%);
}

.hero-visual {
  position: absolute;
  top: 110px;
  right: 6%;
  width: 44%;
  height: 56%;
  opacity: 0.78;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 8s var(--ease-out);
}

.hero-visual:hover img {
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  max-width: 900px;
  z-index: 3;
}

.hero-buttons {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-info {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 0;
  background: rgba(8,8,8,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  margin-top: 48px;
  align-self: flex-start;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.hero-info > div {
  padding: 22px 30px;
  border-right: 1px solid rgba(255,255,255,0.10);
}

.hero-info > div:last-child {
  border-right: none;
}

.hero-info span {
  display: block;
  font-size: 9px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  margin-bottom: 6px;
}

.hero-info strong {
  font-size: 13px;
  color: white;
  font-weight: 600;
}

/* ── CINEMA ─────────────────────────────────────────────────── */

.cinema {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: black;
}

.cinema img,
.cinema video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Zoom uniquement sur les images fixes — la vidéo reste stable */
.cinema img {
  transition: transform 8s var(--ease-out);
  will-change: transform;
}

.cinema:hover img {
  transform: scale(1.03);
}

.cinema::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.70), transparent 55%),
    linear-gradient(to top,   rgba(0,0,0,0.50), transparent 60%);
  pointer-events: none;
}

.cinema-text {
  position: absolute;
  left: 6%;
  bottom: 72px;
  z-index: 2;
  max-width: 680px;
}

.cinema-text h2 {
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 0.95;
  letter-spacing: -1.5px;
  word-spacing: 3px;
}

/* ── SERVICES ───────────────────────────────────────────────── */

.section {
  padding: 110px 6%;
  background: var(--white);
  color: var(--black);
}

.services-section { padding-bottom: 130px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #111;
  border-left: 1px solid #111;
}

.service-card {
  min-height: 320px;
  padding: 44px 40px;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  background: white;
  transition: background var(--dur-mid) ease;
}

.service-card:hover {
  background: #f3f3f3;
}

.service-card span {
  color: #888;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
}

.service-card h3 {
  margin-top: 44px;
  font-size: 34px;
  line-height: 0.95;
}

.service-card p {
  margin-top: 20px;
  line-height: 1.75;
  color: #444;
  font-size: 15px;
}

/* ── VÉHICULES ──────────────────────────────────────────────── */

.vehicles {
  padding: 110px 6%;
  background: var(--anthracite);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.vehicle-text { max-width: 520px; }

.vehicle-text h2 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
  letter-spacing: -1.5px;
  word-spacing: 3px;
}

.vehicle-text p {
  margin-top: 28px;
  color: #c8c8c8;
  line-height: 1.9;
  font-size: 16px;
}

.vehicle-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vehicle-gallery img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center center;
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform var(--dur-slow) var(--ease-out);
  display: block;
}

.vehicle-gallery img:hover { transform: scale(1.03); }

.vehicle-gallery img:first-child {
  grid-column: span 2;
  height: 400px;
  object-position: center 40%;
}

/* Photo portrait dans la galerie — centrer sur le sujet */
.vehicle-gallery img[src="pharesmerco.jpeg"] {
  object-position: center 30%;
}

/* Photo intérieur — optimisée paysage */
.vehicle-gallery img[src="interieurmercedes.jpeg"] {
  object-position: center center;
}

/* Flotte jour — cadré sur les boucliers/logos */
.vehicle-gallery img[src="fleet.jpeg"],
.blog-article-image img[src="fleet.jpeg"] {
  object-position: center 60%;
}

/* Taxi de nuit — TAXI signs en haut, phares centrés */
.vehicle-gallery img[src="taxinuit.jpeg"],
.blog-article-image img[src="taxinuit.jpeg"] {
  object-position: center 25%;
}

/* ── AVIS ───────────────────────────────────────────────────── */

.reviews {
  padding: 110px 0;
  background: #f5f5f5;
  color: var(--black);
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 22px;
  padding: 4px 6% 8px;
  /* duplicate the reviews in JS for infinite scroll */
  will-change: transform;
}

/* Google reviews badge */
.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 48px;
  padding: 14px 28px;
  background: white;
  border: 1px solid #e0e0e0;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.google-badge > span:first-of-type {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.3px;
}

.google-badge .google-stars {
  color: #f4b942;
  letter-spacing: 2px;
  font-size: 14px;
}

/* Scrollable on mobile via CSS scroll */
@media (hover: none) {
  .review-track {
    animation: none !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
  }

  .review {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

@media (hover: hover) {
  .review-track {
    animation: slideReviews 50s linear infinite;
  }

  .review-track:hover {
    animation-play-state: paused;
  }
}

@keyframes slideReviews {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review {
  min-width: 360px;
  background: white;
  border: 1px solid #e2e2e2;
  padding: 36px;
  box-shadow: 0 16px 45px rgba(0,0,0,0.07);
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
  flex-shrink: 0;
}

@media (hover: hover) {
  .review:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 64px rgba(0,0,0,0.13);
  }
}

.stars {
  letter-spacing: 3px;
  color: #f4b942;
  font-size: 13px;
}

.review h3 {
  margin-top: 20px;
  font-size: 30px;
}

.review p {
  margin-top: 14px;
  color: #333;
  line-height: 1.75;
  font-size: 15px;
}

/* ── FORM ───────────────────────────────────────────────────── */

.booking {
  padding: 110px 6%;
  background: white;
  color: black;
}

form {
  max-width: 900px;
  margin: auto;
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input, textarea, select {
  width: 100%;
  padding: 18px;
  border: 1px solid #ccc;
  background: #fafafa;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--dur-fast) ease,
              box-shadow var(--dur-fast) ease;
}

input:focus, textarea:focus, select:focus {
  border-color: #000;
  background: white;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

form button {
  justify-self: center;
  margin-top: 14px;
}

/* Booking page form wrapper */
.booking-page {
  padding: 110px 6%;
  background: white;
  color: black;
}

.booking-page form {
  max-width: 940px;
  margin: auto;
  display: grid;
  gap: 16px;
  background: white;
  padding: 48px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 24px 72px rgba(0,0,0,0.10);
}

.position-note {
  text-align: center;
  margin-top: 8px;
  color: #777;
  font-size: 13px;
  line-height: 1.6;
}

.reservation-help {
  padding: 90px 6%;
  background: var(--anthracite);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  color: white;
}

.reservation-help > div {
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background var(--dur-mid) ease,
              transform var(--dur-mid) var(--ease-out);
}

.reservation-help > div:hover {
  background: var(--anthracite-light);
  transform: translateY(-6px);
}

.reservation-help span {
  font-size: 12px;
  color: #777;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.reservation-help h3 {
  margin-top: 20px;
  font-size: 30px;
}

.reservation-help p {
  margin-top: 12px;
  color: #bbb;
  line-height: 1.7;
  font-size: 15px;
}

/* ── MAP ────────────────────────────────────────────────────── */

.map-section {
  padding: 100px 6%;
  background: var(--anthracite-light);
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 50px;
  align-items: center;
}

.map-section h2 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.92;
  letter-spacing: -2px;
}

.map-section p {
  color: #bfbfbf;
  line-height: 1.8;
  margin: 16px 0 28px;
  font-size: 15px;
}

.map-section iframe {
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(100%) contrast(1.05);
  display: block;
}

/* ── FLOATING WHATSAPP ──────────────────────────────────────── */

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  background: #25D366;
  color: white;
  padding: 13px 18px;
  border: 1px solid rgba(0,0,0,0.10);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(37,211,102,0.40);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 56px rgba(37,211,102,0.55);
}

/* ── FOOTER ─────────────────────────────────────────────────── */

footer {
  padding: 54px 6%;
  background: #030303;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

footer h3 { font-size: 32px; }

footer p {
  margin-top: 8px;
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.8;
}

footer a {
  transition: color var(--dur-fast) ease;
}

footer a:hover { color: white; }

/* ── ANIMATIONS / REVEAL ─────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside reveal containers */
.services-grid .service-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .service-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .service-card.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ── PAGE RESERVATION ───────────────────────────────────────── */

.reservation-page {
  min-height: 90svh;
  position: relative;
  padding: 140px 6% 90px;
  display: flex;
  align-items: flex-end;
  background: #030303;
  overflow: hidden;
}

.reservation-bg {
  position: absolute;
  inset: 0;
  background: url("taxinuit.jpeg") center/cover no-repeat;
  opacity: 0.26;
}

.reservation-intro {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.reservation-intro h1 {
  font-size: clamp(64px, 12vw, 145px);
  line-height: 0.80;
  letter-spacing: -4px;
}

.reservation-intro p:not(.tag) {
  margin-top: 24px;
  color: #d4d4d4;
  font-size: 17px;
  line-height: 1.85;
  max-width: 640px;
}

/* ── PAGE À PROPOS ──────────────────────────────────────────── */

.about-hero {
  min-height: 100svh;
  position: relative;
  padding: 160px 6% 100px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #030303;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background: url("taxinuit.jpeg") center/cover no-repeat;
  opacity: 0.34;
  transform: scale(1.04);
  will-change: transform;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.90), rgba(0,0,0,0.35)),
    linear-gradient(to top,   rgba(0,0,0,0.85), transparent 60%);
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.about-hero h1 {
  font-size: clamp(58px, 10vw, 138px);
  line-height: 0.84;
  letter-spacing: -4px;
}

.about-hero p:not(.tag) {
  max-width: 680px;
  margin-top: 26px;
  color: #dcdcdc;
  font-size: 18px;
  line-height: 1.85;
}

.about-hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* About story */
.about-story {
  padding: 120px 6%;
  background: #f4f4f4;
  color: #030303;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.about-story h2 {
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.90;
  letter-spacing: -2px;
}

.about-story-text p:not(.tag) {
  margin-top: 26px;
  color: #333;
  line-height: 1.9;
  font-size: 16px;
}

.about-quote {
  background: #030303;
  color: white;
  padding: 52px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
}

.about-quote span {
  font-family: "Cormorant Garamond", serif;
  font-size: 96px;
  line-height: 0.5;
  color: #555;
}

.about-quote p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  margin-top: 16px;
}

.about-quote strong {
  margin-top: 28px;
  color: #b0b0b0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
}

/* About team */
.about-team {
  background: #030303;
  color: white;
  padding: 110px 6%;
  display: grid;
  gap: 70px;
}

.team-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.team-card.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.team-card.reverse .team-image { order: 2; }

.team-image {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--anthracite-light);
}

.team-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(0,0,0,0.50), transparent 55%),
    linear-gradient(to right, rgba(0,0,0,0.18), transparent);
  pointer-events: none;
}

.team-image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
  will-change: transform;
}

.team-card:hover .team-image img { transform: scale(1.04); }

.team-content h2 {
  font-size: clamp(48px, 6vw, 90px);
  line-height: 0.87;
  letter-spacing: -2px;
}

.team-content p:not(.tag) {
  margin-top: 26px;
  color: #c8c8c8;
  line-height: 1.9;
  font-size: 16px;
  max-width: 640px;
}

.team-content blockquote {
  margin-top: 30px;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.30);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.2;
  color: #e0e0e0;
}

/* About values */
.about-values {
  padding: 110px 6%;
  background: white;
  color: black;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #111;
  border-left: 1px solid #111;
}

.value-card {
  min-height: 300px;
  padding: 44px 38px;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  background: white;
  transition: background var(--dur-mid) ease;
}

.value-card:hover { background: #f2f2f2; }

.value-card span {
  color: #888;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
}

.value-card h3 {
  margin-top: 44px;
  font-size: 32px;
  line-height: 0.95;
}

.value-card p {
  margin-top: 18px;
  color: #444;
  line-height: 1.75;
  font-size: 15px;
}

/* About testimonials */
.about-testimonials {
  padding: 110px 6%;
  background: #f5f5f5;
  color: #030303;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote-card {
  background: white;
  border: 1px solid #e0e0e0;
  padding: 38px;
  min-height: 280px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.07);
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) ease;
}

.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.12);
}

.quote-card p {
  margin-top: 20px;
  color: #333;
  line-height: 1.8;
  font-size: 16px;
}

.quote-card strong {
  display: block;
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #555;
}

/* About CTA */
.about-cta {
  min-height: 500px;
  padding: 110px 6%;
  background:
    linear-gradient(to right, rgba(0,0,0,0.92), rgba(0,0,0,0.42)),
    url("fleet.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
}

.about-cta h2 {
  max-width: 860px;
  font-size: clamp(46px, 7vw, 100px);
  line-height: 0.90;
  letter-spacing: -2px;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — Tablet  ≤ 1024px
───────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .vehicles {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vehicle-text { max-width: 100%; }

  .team-card,
  .team-card.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-card.reverse .team-image { order: 0; }

  .team-image,
  .team-image img {
    min-height: 460px;
    height: 460px;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — Mobile  ≤ 768px
───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {

  /* Header — hamburger mode */
  .header {
    height: 64px;
    padding: 0 5%;
  }

  .header.scrolled { height: 56px; }

  .logo img { height: 42px; }

  nav { display: none; }          /* hidden — mobile nav overlay used */
  .call-btn { display: none; }    /* shown inside mobile nav instead */
  .guide-btn { display: none; }   /* shown inside mobile nav instead */
  .menu-toggle { display: flex; } /* show burger */

  /* Hero */
  .hero {
    min-height: 100svh;
    padding: 80px 5% 60px;
    justify-content: flex-end;
  }

  .hero-visual { display: none; }

  h1 {
    font-size: clamp(56px, 18vw, 82px);
    line-height: 0.92;
    letter-spacing: -2px;
    word-spacing: 3px;
  }

  .subtitle { font-size: clamp(20px, 6vw, 28px); }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn { width: 100%; text-align: center; padding: 15px 24px; }

  .hero-info {
    flex-direction: column;
    gap: 0;
    margin-top: 32px;
  }

  .hero-info > div {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    padding: 18px 22px;
  }

  .hero-info > div:last-child { border-bottom: none; }

  /* Sections — compact padding */
  .section,
  .vehicles,
  .reviews,
  .booking,
  .map-section,
  .about-story,
  .about-team,
  .about-values,
  .about-testimonials,
  .about-cta,
  .booking-page,
  .reservation-help {
    padding: 72px 5%;
  }

  .center-title {
    font-size: clamp(32px, 10vw, 52px);
    margin-bottom: 44px;
    letter-spacing: -0.8px;
    word-spacing: 2px;
    line-height: 1.02;
  }

  /* Cinema */
  .cinema { height: 400px; }
  .cinema-text { left: 5%; right: 5%; bottom: 44px; }
  .cinema-text h2 {
    font-size: clamp(30px, 10vw, 52px);
    letter-spacing: -1px;
    line-height: 1.0;
    word-spacing: 2px;
  }

  /* Services */
  .services-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .value-card {
    min-height: auto;
    padding: 32px;
  }

  .service-card h3,
  .value-card h3 {
    margin-top: 32px;
    font-size: 28px;
  }

  /* Vehicles */
  .vehicles { grid-template-columns: 1fr; gap: 40px; }

  .vehicle-text h2 {
    font-size: clamp(40px, 12vw, 60px);
    letter-spacing: -1.5px;
  }

  .vehicle-gallery { grid-template-columns: 1fr; gap: 10px; }

  .vehicle-gallery img,
  .vehicle-gallery img:first-child {
    grid-column: span 1;
    height: 260px;
  }

  /* Reviews */
  .reviews { padding: 72px 0; }

  /* Map */
  .map-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .map-section iframe { height: 300px; }

  .map-section h2 {
    font-size: clamp(36px, 12vw, 52px);
    letter-spacing: -1.5px;
  }

  /* Team */
  .about-team { padding: 72px 5%; gap: 56px; }

  .team-card,
  .team-card.reverse { grid-template-columns: 1fr; gap: 0; }

  .team-card.reverse .team-image { order: 0; }

  .team-image,
  .team-image img { min-height: 360px; height: 360px; }

  .team-content { padding-top: 28px; }

  .team-content h2 {
    font-size: clamp(42px, 12vw, 62px);
    letter-spacing: -2px;
  }

  /* About hero */
  .about-hero,
  .reservation-page {
    min-height: 80svh;
    padding: 100px 5% 64px;
  }

  .about-hero h1,
  .reservation-intro h1 {
    font-size: clamp(54px, 16vw, 80px);
    letter-spacing: -3px;
  }

  /* About quote */
  .about-quote { padding: 36px; min-height: auto; }

  /* About story */
  .about-story { grid-template-columns: 1fr; gap: 40px; }

  .about-story h2 {
    font-size: clamp(36px, 12vw, 52px);
    letter-spacing: -1.5px;
  }

  /* About CTA */
  .about-cta h2 {
    font-size: clamp(40px, 12vw, 62px);
    letter-spacing: -2px;
  }

  /* Testimonials */
  .quote-grid { grid-template-columns: 1fr; }

  /* Reservation help */
  .reservation-help { grid-template-columns: 1fr; gap: 14px; }

  .reservation-help > div:hover { transform: none; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  .booking-page form { padding: 24px; }

  /* Footer */
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 52px 5%;
  }

  /* Floating WhatsApp — bigger tap target */
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 14px 16px;
    font-size: 10px;
  }

  /* Tag */
  .tag { font-size: 10px; letter-spacing: 1.8px; }

  /* Subtitle mobile */
  .subtitle {
    font-size: clamp(18px, 5.5vw, 26px);
    line-height: 1.3;
  }

  /* About/blog headings */
  .about-hero h1,
  .reservation-intro h1,
  .blog-hero-content h1 {
    letter-spacing: -2px;
    line-height: 0.92;
    word-spacing: 3px;
  }

  .about-story h2,
  .vehicle-text h2,
  .blog-article-content h2 {
    letter-spacing: -1px;
    word-spacing: 2px;
    line-height: 0.96;
  }
}

/* ── Very small screens (iPhone SE, 375px) ─────────────────── */
@media (max-width: 390px) {
  h1 {
    font-size: 52px;
    letter-spacing: -1.5px;
    word-spacing: 2px;
    line-height: 0.94;
  }
  .reservation-intro h1,
  .about-hero h1,
  .blog-hero-content h1 {
    font-size: 46px;
    letter-spacing: -1px;
    word-spacing: 2px;
  }
}

/* ─────────────────────────────────────────────────────────────
   PAGE TAXI-PAYERNE (blog SEO)
───────────────────────────────────────────────────────────── */

/* ── Blog Hero ──────────────────────────────────────────────── */
.blog-hero {
  min-height: 72svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 80px 6% 80px;
  overflow: hidden;
  background: var(--black);
}

.blog-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.20) 100%),
    linear-gradient(to top,   rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.05) 55%);
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  background: var(--white);
  color: var(--black);
  padding: 14px 6%;
  border-bottom: 1px solid #eee;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.breadcrumb ol li + li::before {
  content: "›";
  margin-right: 10px;
}

.breadcrumb a { color: #555; transition: color 0.2s; }
.breadcrumb a:hover { color: #000; }

/* ── Blog Intro ─────────────────────────────────────────────── */
.blog-intro {
  padding: 90px 6% 0;
  background: var(--white);
  color: var(--black);
}

.blog-intro-inner {
  max-width: 860px;
}

.blog-intro-inner p {
  margin-top: 20px;
  color: #333;
  line-height: 1.9;
  font-size: 16px;
}

.blog-intro-inner p + p { margin-top: 16px; }

.blog-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--black);
  margin-top: 60px;
  border: 1px solid rgba(255,255,255,0.08);
}

.blog-stats > div {
  padding: 30px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.blog-stats > div:last-child { border-right: none; }

.blog-stats strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 500;
  color: white;
}

.blog-stats span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: #777;
  margin-top: 6px;
}

/* ── Blog Grid ──────────────────────────────────────────────── */
.blog-grid-section {
  padding: 90px 6% 110px;
  background: var(--white);
  color: var(--black);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #111;
  border-left: 1px solid #111;
}

.blog-card {
  padding: 44px 36px;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  background: white;
  transition: background var(--dur-mid) ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover { background: #f5f5f5; }

.blog-card-num {
  font-size: 12px;
  letter-spacing: 2px;
  color: #888;
  font-weight: 700;
}

.blog-card h3 {
  font-size: 28px;
  line-height: 1.0;
  margin-top: 40px;
}

.blog-card p {
  margin-top: 16px;
  color: #444;
  font-size: 15px;
  line-height: 1.75;
  flex: 1;
}

.blog-card-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  transition: opacity 0.2s;
  width: fit-content;
}

.blog-card-link:hover { opacity: 0.55; }

/* ── Blog Article ───────────────────────────────────────────── */
.blog-article {
  padding: 100px 6%;
  background: var(--white);
  color: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.blog-article-reverse {
  background: #f5f5f5;
}

.blog-article-content p {
  margin-top: 22px;
  color: #333;
  line-height: 1.9;
  font-size: 16px;
}

.blog-article-content p + p { margin-top: 14px; }

.blog-article-content h2 {
  font-size: clamp(38px, 4vw, 66px);
  line-height: 0.92;
  letter-spacing: -1.5px;
  margin-top: 10px;
}

.blog-article-content h3 {
  font-size: 26px;
  margin-top: 36px;
  margin-bottom: -4px;
}

.blog-article-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform var(--dur-slow) var(--ease-out);
  display: block;
}

.blog-article-image img:hover { transform: scale(1.02); }

.blog-article-cta { margin-top: 36px; }

/* ── Blog List ──────────────────────────────────────────────── */
.blog-list {
  margin-top: 18px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-list li {
  padding-left: 18px;
  position: relative;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.blog-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #aaa;
}

/* ── Airports Grid ──────────────────────────────────────────── */
.airports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 8px;
}

.airport-card {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  padding: 28px 24px;
}

.airport-card strong {
  display: block;
  font-size: 18px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.airport-card span {
  display: block;
  font-size: 22px;
  font-family: "Cormorant Garamond", serif;
  color: #111;
  margin: 6px 0 12px;
  font-weight: 500;
}

.airport-card p {
  font-size: 14px !important;
  color: #555 !important;
  margin-top: 0 !important;
  line-height: 1.6 !important;
}

/* ── Coverage Zone ──────────────────────────────────────────── */
.coverage-section {
  background: #f9f9f9;
  color: var(--black);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.coverage-group {
  background: white;
  border: 1px solid #e0e0e0;
  padding: 36px;
}

.coverage-group h3 {
  font-size: 22px;
  border-bottom: 1px solid #eee;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.coverage-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coverage-group ul li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 8px;
}

.coverage-group ul li span {
  font-size: 11px;
  color: #999;
  letter-spacing: 1px;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section {
  background: var(--white);
  color: var(--black);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid #e0e0e0;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  list-style: none;
  gap: 20px;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question::after {
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #888;
  flex-shrink: 0;
  transition: transform var(--dur-fast) ease;
}

details[open] > .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 26px;
  animation: fadeDown 0.3s var(--ease-out);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-answer p {
  color: #333;
  line-height: 1.85;
  font-size: 15px;
}

.faq-answer a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Blog Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid,
  .airports-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-article {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .blog-article-reverse .blog-article-image { order: -1; }

  .coverage-grid { grid-template-columns: 1fr 1fr; }

  .blog-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-hero { min-height: 80svh; padding: 80px 5% 64px; }

  .blog-intro { padding: 72px 5% 0; }

  .blog-grid-section { padding: 72px 5%; }

  .blog-grid,
  .airports-grid,
  .coverage-grid { grid-template-columns: 1fr; }

  .blog-article,
  .blog-article-reverse { padding: 72px 5%; }

  .blog-article-image img { height: 280px; }

  .blog-stats { grid-template-columns: repeat(2, 1fr); }

  .blog-stats > div { padding: 22px 20px; }
}
