/* Süleyman Tekin Taxi OG — classic, square-edged taxi website */
:root {
  --yellow: #e8ba19;
  --yellow-light: #fff4d1;
  --black: #202020;
  --gray: #666;
  --border: #d6d6d6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #e9e7e1; color: #303030; font: 15px/1.6 Arial, Helvetica, sans-serif; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; color: #242424; }
h1 { font-size: 34px; }
h2 { font-size: 25px; }
h3 { font-size: 18px; }
a { color: #202020; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
:focus-visible { outline: 3px solid #c07c00; outline-offset: 2px; }
.skip-link { position: absolute; top: -60px; left: 15px; z-index: 100; padding: 8px 12px; background: var(--yellow); }
.skip-link:focus { top: 10px; }
.site-shell { width: min(100%, 1120px); min-height: 100vh; margin: 0 auto; background: #fff; border-inline: 1px solid #ceccc5; box-shadow: 0 2px 14px #0000001c; }
.wrap { padding-inline: 28px; }

/* Header and navigation */
.top-strip { min-height: 30px; padding: 5px 28px; display: flex; justify-content: space-between; gap: 15px; background: #252525; color: #eee; font-size: 12px; }
.header-main { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 28px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.taxi-sign { position: relative; width: 90px; height: 56px; display: grid; place-items: center; border: 3px solid #222; background: var(--yellow); color: #111; font: bold 23px/1 Arial, sans-serif; letter-spacing: .06em; }
.taxi-sign::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 7px; background: repeating-linear-gradient(90deg, #222 0 9px, #fff 9px 18px); }
.brand-name { display: block; color: #222; font-size: 22px; line-height: 1.15; font-weight: bold; }
.brand-name small { display: block; margin-top: 5px; color: #666; font-size: 13px; font-weight: normal; }
.header-phone { text-align: right; }
.header-phone span { display: block; color: #666; font-size: 13px; }
.header-phone a { display: block; color: #111; font-size: 22px; font-weight: bold; text-decoration: none; white-space: nowrap; }
.header-phone a:hover { text-decoration: underline; }
.main-nav { display: flex; background: #303030; border-bottom: 4px solid var(--yellow); padding: 0 17px; }
.main-nav a { display: inline-block; padding: 12px 18px; color: #f2f2f2; text-decoration: none; font-weight: bold; border-right: 1px solid #4b4b4b; }
.main-nav a:first-child { border-left: 1px solid #4b4b4b; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--yellow); color: #202020; }

/* Main page */
.hero-panel { position: relative; min-height: 540px; overflow: hidden; background: #1f1f1f; }
.hero-panel > img { width: 100%; height: 540px; object-fit: cover; object-position: center 57%; }
.hero-copy { position: absolute; top: 34px; right: 34px; bottom: 34px; width: 380px; padding: 27px 29px; background: #fffffff2; border-top: 6px solid var(--yellow); box-shadow: 0 3px 16px #0005; }
.hero-copy h1 { margin-bottom: 14px; font-size: 42px; }
.hero-copy p { font-size: 16px; }
.hero-copy ul { margin: 17px 0 21px; padding-left: 20px; }
.hero-copy li { margin: 4px 0; }
.button { display: inline-block; min-height: 42px; padding: 9px 19px; border: 1px solid #171717; border-radius: 0; background: #252525; color: #fff; font-size: 15px; font-weight: bold; text-align: center; text-decoration: none; }
.button:hover { background: #444; color: #fff; }
.button-secondary { background: #fff; color: #222; }
.button-secondary:hover { background: #f0f0f0; color: #222; }
.button-whatsapp { background: #246b3e; border-color: #19512d; color: #fff; }
.button-whatsapp:hover { background: #1b5631; }
.hero-tel { display: block; width: fit-content; min-height: 30px; padding: 5px 0; margin-top: 8px; font-size: 13px; font-weight: bold; }
.hero-tel + .hero-tel { margin-top: 4px; }
.quick-facts { display: flex; border-bottom: 4px solid var(--yellow); background: #2b2b2b; color: #eee; }
.quick-facts span { flex: 1; padding: 20px 18px; text-align: center; border-right: 1px solid #555; font-size: 13px; }
.quick-facts span:last-child { border-right: 0; }
.quick-facts strong { display: block; color: var(--yellow); font-size: 26px; line-height: 1.2; }
.content-section { padding: 45px 34px 49px; }
.content-section h2 { padding-bottom: 10px; border-bottom: 1px solid #d2d2d2; margin-bottom: 21px; position: relative; }
.content-section h2::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 74px; height: 3px; background: var(--yellow); }
.content-section p { margin-bottom: 12px; }
.welcome { padding-bottom: 36px; }
.services { background: #f8f8f6; border-block: 1px solid #e3e3e3; }
.faq { border-top: 1px solid #e3e3e3; }
.faq article + article { margin-top: 18px; }
.faq h3 { margin-bottom: 6px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { padding: 20px 21px 21px; border: 1px solid #d8d8d8; border-top: 4px solid var(--yellow); background: #fff; }
.service:first-child { padding-left: 21px; }
.service:last-child { padding-right: 21px; border-right: 1px solid #d8d8d8; }
.service h3 { margin-bottom: 10px; }
.service p { min-height: 105px; color: #555; }
.service a { display: inline-block; min-height: 32px; padding: 5px 0; font-weight: bold; text-decoration: none; }
.service a:hover { text-decoration: underline; }
.vehicle > p { margin-top: -2px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; margin-top: 22px; }
.gallery figure { border: 1px solid #c8c8c8; background: #fff; }
.gallery img { width: 100%; height: 285px; object-fit: cover; }
.gallery figcaption { padding: 9px 14px; background: #f4f4f1; color: #333; font-size: 13px; font-weight: bold; }
.contact-box { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 34px 42px; padding: 26px 27px; background: var(--yellow); border-top: 3px solid #252525; }
.contact-box h2 { font-size: 23px; margin-bottom: 4px; }
.contact-box p { max-width: 530px; }
.contact-actions { display: flex; gap: 9px; flex-shrink: 0; }

/* Contact page and form */
.page-heading { padding: 22px 28px 24px; background: #f6f6f6; border-bottom: 1px solid #ddd; }
.page-heading p:first-child { color: #666; font-size: 13px; margin-bottom: 7px; }
.page-heading p:first-child a { color: #555; }
.page-heading h1 { font-size: 31px; margin-bottom: 6px; }
.page-heading p:last-child { color: #555; }
.booking > p { max-width: 790px; color: #555; }
.booking-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 30px; align-items: start; margin-top: 24px; }
.booking-form { padding: 24px; background: #f8f8f6; border: 1px solid #d5d5d5; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 5px; font-weight: bold; }
.field label .optional { color: #666; font-size: 13px; font-weight: normal; }
.field input, .field textarea { display: block; width: 100%; min-height: 41px; border: 1px solid #bababa; border-radius: 0; background: #fff; padding: 8px 10px; color: #333; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #666; }
.form-privacy { margin-bottom: 14px; color: #666; font-size: 12px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.form-status { margin-top: 10px; font-size: 13px; min-height: 1.4em; }
.contact-aside { padding: 20px; background: #fff6dc; border: 1px solid #e5d5a1; border-top: 3px solid var(--yellow); }
.contact-aside h2 { font-size: 21px; padding: 0; margin: 0 0 12px; border: 0; }
.contact-aside p { margin-bottom: 11px; }
.contact-aside .phone-number a { font-size: 22px; font-weight: bold; text-decoration: none; white-space: nowrap; }
.contact-aside .phone-number a:hover { text-decoration: underline; }
.contact-aside .button { margin: 2px 0 14px; }
.contact-aside img { width: 100%; height: 205px; margin-top: 17px; object-fit: cover; object-position: center 64%; }

/* Customer reviews */
.reviews { background: #f8f8f6; border-top: 1px solid #ddd; }
.review-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; }
.review-pause { border: 1px solid #aaa; background: #fff; color: #222; padding: 7px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.review-pause:hover, .review-pause:focus-visible { border-color: #222; text-decoration: underline; }
.review-window { overflow: hidden; margin-top: 22px; }
.review-track { display: flex; width: max-content; animation: review-move 62s linear infinite; }
.review-window:hover .review-track, .review-window:focus-within .review-track { animation-play-state: paused; }
.review-window:focus { overflow-x: auto; }
.review-window:focus .review-track { animation: none; }
.review-window.is-paused { overflow-x: auto; }
.review-window.is-paused .review-track { animation: none; }
.review-set { display: flex; flex: none; gap: 14px; padding-right: 14px; }
.review { display: flex; flex: none; flex-direction: column; width: 310px; min-height: 245px; padding: 19px 20px; border: 1px solid #d8d8d8; border-top: 4px solid var(--yellow); background: #fff; }
.review-stars { display: block; margin-bottom: 12px; color: #9b7000; font-size: 21px; line-height: 1; letter-spacing: 2px; }
.review h3 { margin-bottom: 11px; font-size: 17px; }
.review-text { font-size: 14px; line-height: 1.6; }
.review-info-link { font-size: 13px; }
@keyframes review-move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .review-track { animation: none; } .review-window { overflow-x: auto; } .review-pause { display: none; } }

/* Legal information stays on the second page */
.legal { border-top: 1px solid #ddd; }
.legal-privacy { background: #fafafa; }
.legal h2 { font-size: 25px; }
.legal-copy { max-width: 880px; overflow-wrap: anywhere; }
.legal-copy p { margin-bottom: 13px; }
.legal-copy h3 { font-size: 18px; margin: 24px 0 9px; }
.legal-copy dl { margin: 20px 0; }
.legal-copy dl div { display: grid; grid-template-columns: 210px 1fr; gap: 12px; border-top: 1px solid #e0e0e0; padding: 8px 0; }
.legal-copy dt { color: #666; }
.legal-copy dd { margin: 0; }
.missing { background: #fff0aa; padding: 1px 4px; box-decoration-break: clone; }
.legal-note { padding: 10px 12px; border-left: 4px solid var(--yellow); background: #fff7d7; }
.section-index { display: none; }

/* Footer */
.site-footer { background: #252525; color: #e6e6e6; padding: 28px 28px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.footer-grid strong { color: #fff; }
.footer-grid p { margin-top: 8px; color: #d0d0d0; font-size: 13px; }
.footer-grid a { display: inline-block; min-height: 30px; padding: 4px 0; color: #eee; }
.footer-bottom { margin-top: 25px; padding: 12px 0; border-top: 1px solid #505050; color: #bfbfbf; font-size: 12px; }

@media (max-width: 850px) {
  .hero-copy { right: 22px; width: 345px; }
  .contact-box { align-items: flex-start; flex-direction: column; }
  .service p { min-height: 155px; }
}

@media (max-width: 660px) {
  .site-shell { border: 0; box-shadow: none; }
  .top-strip { padding-inline: 16px; }
  .top-strip span:last-child { display: none; }
  .header-main { min-height: 0; padding: 15px 16px; }
  .taxi-sign { width: 66px; height: 46px; font-size: 18px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 16px; }
  .brand-name small { font-size: 11px; }
  .header-phone span { display: none; }
  .header-phone a { font-size: 15px; }
  .main-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; }
  .main-nav a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 5px 3px; font-size: 11px; line-height: 1.2; text-align: center; border-bottom: 1px solid #4b4b4b; }
  .main-nav a:first-child { border-left: 0; }
  .hero-panel { display: block; min-height: 0; }
  .hero-panel > img { width: 100%; height: 260px; object-position: center 57%; }
  .hero-copy { position: static; width: auto; padding: 23px 19px 27px; border-top: 5px solid var(--yellow); box-shadow: none; background: #fff8e3; }
  .hero-copy h1 { font-size: 34px; }
  .hero-copy ul { margin: 13px 0 17px; }
  .quick-facts { display: block; }
  .quick-facts span { display: block; padding: 11px 17px; text-align: left; border-right: 0; border-bottom: 1px solid #555; }
  .quick-facts strong { display: inline; font-size: 18px; }
  .content-section { padding: 28px 17px 32px; }
  .wrap { padding-inline: 17px; }
  .content-section h2 { font-size: 23px; }
  .service-list { display: block; }
  .service { padding: 18px !important; border: 1px solid #d8d8d8; border-top: 4px solid var(--yellow); margin-bottom: 12px; }
  .service:first-child { padding-top: 18px !important; }
  .service:last-child { border: 1px solid #d8d8d8; border-top: 4px solid var(--yellow); padding-bottom: 18px !important; margin-bottom: 0; }
  .service p { min-height: 0; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery img { height: 160px; }
  .contact-box { margin: 0 17px 28px; padding: 19px; }
  .contact-actions { flex-wrap: wrap; }
  .page-heading { padding: 21px 17px; }
  .booking-layout { grid-template-columns: 1fr; gap: 18px; }
  .form-pair { grid-template-columns: 1fr; gap: 0; }
  .booking-form { padding: 17px; }
  .contact-aside img { height: 175px; }
  .review { width: 280px; min-height: 0; }
  .legal-copy dl div { grid-template-columns: 1fr; gap: 1px; }
  .site-footer { padding: 25px 17px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 390px) {
  .header-main { flex-wrap: wrap; gap: 10px; }
  .header-phone { padding-left: 75px; text-align: left; }
  .main-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .main-nav a { min-height: 38px; font-size: 12px; }
  .main-nav a:nth-child(-n+3) { grid-column: span 2; }
  .main-nav a:nth-child(n+4) { grid-column: span 3; }
  .gallery img { height: 115px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
