/* ============================================================
   Ozcan Towing — Global Stylesheet
   Color palette (industry-iconic tow truck branding):
     Primary    — Black (professional, commercial)
     Accent     — Safety yellow (high-visibility, iconic for tow industry)
     CTA        — Hazard red (highest-converting emergency button)
     Background — White / soft gray
   ============================================================ */

:root {
  --color-black: #111111;
  --color-charcoal: #1f1f1f;
  --color-gray-900: #2d2d2d;
  --color-gray-700: #4a4a4a;
  --color-gray-500: #777777;
  --color-gray-300: #c9c9c9;
  --color-gray-100: #f4f4f4;
  --color-yellow: #ffcc00;          /* Safety yellow — iconic tow industry */
  --color-yellow-dark: #e6b800;
  --color-red: #dc2626;             /* Emergency red */
  --color-red-dark: #b91c1c;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-border: #e5e5e5;
  --color-bg-alt: #f8f8f8;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 6px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 30px rgba(0,0,0,.15);
  --radius: 8px;
  --container: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-black); text-decoration: none; }
a:hover { color: var(--color-red); text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin-bottom: 1em; color: var(--color-text-muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   Emergency top bar — yellow with black text (high visibility)
   ============================================================ */
.top-bar {
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: .92rem;
  padding: .55rem 0;
  font-weight: 600;
  border-bottom: 2px solid var(--color-black);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.top-bar a { color: var(--color-black); font-weight: 800; }
.top-bar a:hover { color: var(--color-red); }

/* ============================================================
   Header & nav
   ============================================================ */
.site-header {
  background: var(--color-white);
  border-bottom: 4px solid var(--color-yellow);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.25rem;
}
.logo {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--color-black);
  text-decoration: none;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.logo span {
  color: var(--color-black);
  padding: .1em .35em;
  border-radius: 4px;
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.7rem;
  color: var(--color-black);
  cursor: pointer;
}
.main-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  align-items: center;
}
.main-nav a {
  color: var(--color-black);
  font-weight: 600;
  font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover {
  color: var(--color-black);
  border-bottom-color: var(--color-yellow);
  text-decoration: none;
}

.btn-call {
  background: var(--color-red);
  color: var(--color-white) !important;
  /* Increased top/bottom to 0.9rem and left/right to 2rem */
  padding: 0.9rem 2rem; 
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  box-shadow: 0 4px 12px rgba(220,38,38,.35);
  transition: transform .12s ease, background .12s ease;
  border: 2px solid var(--color-red);
}
.btn-call:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--color-white) !important;
}

.btn-yellow {
  background: var(--color-yellow);
  color: var(--color-black) !important;
  padding: .7rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none !important;
  display: inline-flex;
  gap: .4rem;
  border: 2px solid var(--color-yellow);
}
.btn-yellow:hover { background: var(--color-yellow-dark); border-color: var(--color-yellow-dark); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--color-black) !important;
  padding: .65rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  gap: .4rem;
  border: 2px solid var(--color-black);
}
.btn-outline:hover { background: var(--color-black); color: var(--color-white) !important; text-decoration: none; }

@media (max-width: 850px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 1rem 0; gap: .5rem; align-items: flex-start; }
  .site-header .container { flex-wrap: wrap; }
}

/* ============================================================
   Hero — black with yellow accent stripe
   ============================================================ */
.hero {
  background:
    linear-gradient(135deg, rgba(0,0,0,.78), rgba(0,0,0,.88)),
    url('images/img_8630.jpg') center/cover no-repeat;
  color: var(--color-white);
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
  border-bottom: 5px solid var(--color-yellow);
}
.hero h1 { color: var(--color-white); text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.hero h1 .accent { color: var(--color-yellow); }
.hero p { color: rgba(255,255,255,.92); font-size: 1.18rem; max-width: 740px; margin: 1rem auto; }
.hero .btn-call { font-size: 1.3rem; padding: 1.1rem 2.2rem; margin-top: 1rem; box-shadow: var(--shadow-md); }
.hero .badges { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: 1.75rem; }
.hero .badge {
  background: rgba(255,255,255,.1);
  padding: .45rem .9rem;
  border-radius: 20px;
  font-size: .88rem;
  border: 1px solid rgba(255,204,0,.4);
  color: var(--color-white);
}
.hero.compact { padding: 3rem 0 2.5rem; }

/* Path-page hero (city/services) — solid black, no image */
.hero.solid {
  background: linear-gradient(135deg, var(--color-black), var(--color-charcoal));
}

/* ============================================================
   Sections & cards
   ============================================================ */
section { padding: 3.5rem 0; }
section.alt { background: var(--color-bg-alt); }
.section-title { text-align: center; margin-bottom: 2rem; }
.section-title + p { text-align: center; max-width: 720px; margin: -.5rem auto 2rem; }
.section-title::after {
  content: "";
  display: block;
  width: 60px; height: 4px;
  background: var(--color-yellow);
  margin: .75rem auto 0;
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.card {
  background: var(--color-white);
  padding: 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-yellow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--color-black); margin-bottom: .5rem; }
.card .icon {
  width: 54px; height: 54px;
  background: var(--color-black);
  color: var(--color-yellow);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* Photo gallery */
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.5rem;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-bg-alt);
  position: relative;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
  display: block;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: var(--color-white);
  padding: 1.5rem .9rem .75rem;
  font-size: .85rem;
  font-weight: 600;
}

/* Featured single image */
.featured-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 1rem 0 2rem;
}

/* Area list */
.area-list {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; margin-top: 1rem;
}
.area-list a {
  background: var(--color-white); border: 1.5px solid var(--color-border);
  padding: .5rem .95rem; border-radius: 20px; font-size: .9rem;
  color: var(--color-black);
  font-weight: 600;
}
.area-list a:hover { background: var(--color-yellow); border-color: var(--color-yellow); color: var(--color-black); text-decoration: none; }

/* ============================================================
   Testimonials / Reviews grid
   ============================================================ */
.review-cta-bar {
  background: var(--color-white);
  border: 2px solid var(--color-yellow);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto 2rem;
  max-width: 720px;
  box-shadow: var(--shadow-sm);
}
.review-cta-bar .stars { color: var(--color-yellow); font-size: 1.25rem; letter-spacing: 1px; }
.review-cta-bar .review-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid var(--color-black);
}
.review-cta-bar .review-link.yelp { color: #d32323; border-color: #d32323; }
.review-cta-bar .review-link.yelp:hover { background: #d32323; color: var(--color-white); }
.review-cta-bar .review-link.google { color: #4285f4; border-color: #4285f4; }
.review-cta-bar .review-link.google:hover { background: #4285f4; color: var(--color-white); }

.testimonial {
  background: var(--color-white);
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.testimonial .stars { color: var(--color-yellow); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial blockquote {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.55;
  flex: 1;
  font-style: italic;
  border: 0;
  padding: 0;
  margin: 0;
}
.testimonial blockquote::before { content: "\201C"; font-size: 2.5rem; line-height: 0; vertical-align: -.4em; color: var(--color-yellow); margin-right: .15em; }
.testimonial cite {
  display: flex; align-items: center; gap: .6rem;
  font-style: normal; font-weight: 700; color: var(--color-black);
  padding-top: .75rem; border-top: 1px solid var(--color-border);
}
.testimonial cite .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.testimonial cite small { display: block; color: var(--color-gray-500); font-weight: 500; font-size: .8rem; }

/* ============================================================
   FAQ section
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .75rem; }
.faq details {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-yellow);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: box-shadow .15s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--color-black);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-yellow);
  font-weight: 800;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > p { margin-top: .75rem; color: var(--color-text-muted); }
.faq details > ul { margin: .75rem 0 0 1.2rem; color: var(--color-text-muted); }

/* ============================================================
   Before-you-call checklist
   ============================================================ */
.checklist {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-yellow);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  max-width: 720px;
  margin: 1.5rem auto;
}
.checklist h3 { color: var(--color-black); margin-bottom: 1rem; }
.checklist ul { list-style: none; padding: 0; }
.checklist li {
  padding: .55rem 0 .55rem 2rem;
  position: relative;
  color: var(--color-text);
  border-bottom: 1px dashed var(--color-border);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: .5rem;
  width: 24px; height: 24px;
  background: var(--color-yellow);
  color: var(--color-black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: .85rem;
}

/* ============================================================
   Notice banner ("we don't impound")
   ============================================================ */
.notice {
  background: #fff8e1;
  border: 1px solid var(--color-yellow);
  border-left: 5px solid var(--color-yellow);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  max-width: 820px;
  margin: 1.5rem auto;
  color: var(--color-text);
  font-weight: 500;
}
.notice strong { color: var(--color-black); }

/* ============================================================
   CTA strip — big red call banner
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: var(--color-white);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-strip h2 { color: var(--color-white); font-size: clamp(1.7rem, 4vw, 2.4rem); }
.cta-strip p { color: rgba(255,255,255,.92); font-size: 1.1rem; }
.cta-strip .btn-call {
  background: var(--color-yellow);
  color: var(--color-black) !important;
  font-size: 1.45rem;
  padding: 1.2rem 2.5rem;
  border-color: var(--color-yellow);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  margin-top: .5rem;
}
.cta-strip .btn-call:hover { background: var(--color-yellow-dark); border-color: var(--color-yellow-dark); }

/* MEGA call banner (replaces quote form on contact) */
.call-banner-mega {
  background: var(--color-black);
  color: var(--color-white);
  padding: 3.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  margin: 2rem auto;
  max-width: 760px;
  border: 4px solid var(--color-yellow);
  box-shadow: var(--shadow-lg);
}
.call-banner-mega .number {
  display: block;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 900;
  color: var(--color-yellow);
  letter-spacing: -.02em;
  margin: .5rem 0 1rem;
  text-decoration: none;
}
.call-banner-mega .number:hover { color: var(--color-yellow-dark); text-decoration: none; }
.call-banner-mega p { color: rgba(255,255,255,.85); }

/* Sticky mobile call button */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  background: var(--color-red);
  color: var(--color-white);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  text-decoration: none;
  border-top: 3px solid var(--color-yellow);
}
.sticky-call:hover { background: var(--color-red-dark); color: var(--color-white); text-decoration: none; }
@media (max-width: 700px) { .sticky-call { display: block; } }

/* ============================================================
   Footer (black + yellow accents + social icons)
   ============================================================ */
.site-footer {
  background: var(--color-black);
  color: rgba(255,255,255,.85);
  padding: 3.5rem 0 1rem;
  margin-top: 2rem;
  border-top: 5px solid var(--color-yellow);
}
.site-footer h4 {
  color: var(--color-yellow);
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--color-yellow); }
.site-footer .grid { margin-bottom: 2rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .45rem; font-size: .95rem; }
.site-footer .social {
  display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap;
}
.site-footer .social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background .15s ease;
}
.site-footer .social a:hover { background: var(--color-yellow); color: var(--color-black); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1rem;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* Blog */
.post-meta { color: var(--color-text-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body h2 { margin-top: 2rem; color: var(--color-black); border-left: 4px solid var(--color-yellow); padding-left: .75rem; }
.post-body p, .post-body li { color: var(--color-text); }
.post-body ul, .post-body ol { margin: 0 0 1em 1.4em; }
.post-body li { margin-bottom: .35rem; }

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
