/* Akif Ersin Taksi — yellow + soft paper, NOT a Murteza replica */
:root {
  --taxi: #f5c400;
  --taxi-deep: #e0b000;
  --ink: #141414;
  --soft: #5a5a5a;
  --paper: #f3efe6;
  --white: #f8f4eb;
  --wa: #4cbb17;
  --wa-deep: #3fa012;
  --font-brand: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  height: 100%;
}

body {
  /* Fit one screen when possible; scroll only if phone is very short */
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bg-band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(34dvh, 280px);
  background:
    linear-gradient(165deg, #ffe566 0%, var(--taxi) 45%, #f0c61a 100%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  animation: band-in 0.7s ease both;
}

.bg-dots {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 1px 1px, rgba(20, 20, 20, 0.35) 1px, transparent 0);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
}

.checker {
  position: fixed;
  inset: auto 0 0 0;
  height: 18px;
  background: repeating-linear-gradient(
    90deg,
    #141414 0 14px,
    #f5c400 14px 28px
  );
  z-index: 5;
  animation: slide-check 14s linear infinite;
}

@keyframes slide-check {
  to {
    background-position: 56px 0;
  }
}

@keyframes band-in {
  from {
    transform: translateY(-12px);
    opacity: 0.7;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.wrap {
  width: min(100%, 440px);
  /* Extra right/bottom room so hard shadows don’t clip on narrow Androids */
  padding: clamp(0.35rem, 1.2dvh, 0.85rem) 1rem clamp(0.4rem, 1.2dvh, 0.9rem);
  padding-right: max(1rem, calc(0.75rem + env(safe-area-inset-right, 0px)));
  padding-left: max(1rem, calc(0.75rem + env(safe-area-inset-left, 0px)));
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(0.2rem, 0.9dvh, 0.55rem);
  animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  margin-bottom: 0;
  padding-top: clamp(0.15rem, 0.8dvh, 0.5rem);
  text-align: center;
  flex-shrink: 0;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: clamp(0.3rem, 1dvh, 0.65rem);
  flex-wrap: wrap;
}

.mark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--paper);
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border: 2px solid var(--ink);
}

.place {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.75);
}

.brand {
  font-family: var(--font-brand);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.28em;
  white-space: nowrap;
}

.brand-a,
.brand-b {
  /* Sized for ~360px Android (common in TR) up to larger iPhones */
  font-size: clamp(1.85rem, 9.2vw, 3.2rem);
  text-transform: uppercase;
}

.brand-a {
  color: var(--ink);
}

.brand-b {
  color: var(--paper);
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 var(--ink);
}

.visual {
  margin: 0 auto;
  width: min(100%, 420px);
  flex-shrink: 0;
  animation: cab-in 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cab {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 16px rgba(20, 20, 20, 0.14));
}

@keyframes cab-in {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.28rem, 0.8dvh, 0.42rem);
  width: 100%;
  flex-shrink: 0;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: min(100%, 180px);
  min-height: clamp(38px, 5dvh, 42px);
  padding: clamp(0.35rem, 0.8dvh, 0.5rem) 0.65rem;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.btn-ico {
  display: inline-flex;
  line-height: 0;
  flex-shrink: 0;
}

.btn:active {
  transform: translate(2px, 2px);
}

.btn-call {
  background: var(--taxi);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-call:active {
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-wa {
  background: var(--wa);
  color: var(--white);
  border-color: #128c7e;
  box-shadow: 3px 3px 0 #128c7e;
}

.btn-wa:hover {
  background: var(--wa-deep);
}

.btn-wa:active {
  box-shadow: 1px 1px 0 #128c7e;
}

.btn-reserve {
  background: var(--white);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-reserve:active {
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-share {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  width: min(100%, 220px);
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-share:active {
  box-shadow: 1px 1px 0 var(--ink);
}

.phone {
  align-self: center;
  margin: clamp(0.25rem, 0.8dvh, 0.55rem) 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--taxi);
  padding-bottom: 2px;
  flex-shrink: 0;
}

.points {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: clamp(0.55rem, 1.2dvh, 0.9rem) 0.9rem clamp(0.45rem, 1dvh, 0.75rem);
  margin-right: 6px; /* room for offset shadow on 360px screens */
  box-shadow: 6px 6px 0 rgba(245, 196, 0, 0.85);
  flex-shrink: 1;
  min-height: 0;
  animation: rise 0.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.points h2 {
  font-family: var(--font-brand);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: clamp(0.35rem, 0.9dvh, 0.55rem);
  color: var(--soft);
}

.points ol {
  list-style: none;
  counter-reset: svc;
  display: flex;
  flex-direction: column;
  gap: clamp(0.28rem, 0.9dvh, 0.5rem);
}

.points li {
  counter-increment: svc;
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: clamp(0.82rem, 3.4vw, 0.95rem);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.points li::before {
  content: counter(svc, decimal-leading-zero);
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--taxi-deep);
  background: var(--ink);
  padding: 0.15rem 0;
  text-align: center;
  line-height: 1.4;
}

.foot {
  width: min(100%, 440px);
  padding: 0.2rem 1rem calc(1.55rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--soft);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.foot .site-url {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--soft);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.foot .site-url:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Short phones: tighter buttons/spacing only — keep car full size for door text */
@media (max-height: 720px) {
  .cta {
    gap: 0.28rem;
  }

  .btn {
    min-height: 38px;
    padding: 0.32rem 0.6rem;
    font-size: 0.84rem;
  }

  .points {
    box-shadow: 4px 4px 0 rgba(245, 196, 0, 0.85);
    padding: 0.5rem 0.75rem 0.4rem;
  }

  .points li {
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 0.1rem;
  }

  .meta {
    margin-top: 0.3rem;
  }

  .phone {
    margin: 0.2rem 0;
    font-size: 0.95rem;
  }
}

/* Very short: hide services so CTAs + full-size car still fit */
@media (max-height: 640px) {
  .points {
    display: none;
  }

  .brand-a,
  .brand-b {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }
}

/* Very small Android widths (~360px) — common Xiaomi / Samsung A in TR */
@media (max-width: 360px) {
  .brand {
    gap: 0.2em;
  }

  .brand-a,
  .brand-b {
    font-size: clamp(1.7rem, 8.6vw, 2.1rem);
  }

  .brand-b {
    text-shadow: 2px 2px 0 var(--ink);
  }

  .points {
    box-shadow: 4px 4px 0 rgba(245, 196, 0, 0.85);
    margin-right: 4px;
  }
}

.foot a {
  color: var(--soft);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .bg-band,
  .wrap,
  .visual,
  .points,
  .checker {
    animation: none !important;
  }
}
