/* ============================================================
   CARS OF TULSA — Shared Design System
   Refined Industrial | Playfair Display + Source Sans 3
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --accent:      #C87941;
  --accent-lt:   #E09A65;
  --accent-dk:   #A0602E;
  --ink:         #0F0F0F;
  --ink2:        #1A1A1A;
  --ink3:        #242424;
  --ink4:        #2E2E2E;
  --steel:       #3A3A3A;
  --mist:        #888888;
  --fog:         #BBBBBB;
  --parchment:   #F5F0EA;
  --white:       #FFFFFF;
  --ff-display:  'Playfair Display', Georgia, serif;
  --ff-body:     'Source Sans 3', 'Helvetica Neue', sans-serif;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.15);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.25);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.35);
  --radius:      4px;
  --radius-lg:   8px;
  --transition:  0.3s ease;
  --max-w:       1200px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--ink2);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p  { font-size: 1.05rem; color: var(--steel); }

.accent-word { font-style: italic; color: var(--accent); }
.section-label {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* ── Layout Helpers ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-dark {
  background: var(--ink2);
  color: var(--white);
  border-color: var(--ink2);
}
.btn-dark:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Topbar ── */
#topbar {
  background: var(--ink);
  color: var(--fog);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 9px 0;
  border-bottom: 1px solid rgba(200,121,65,0.3);
}
#topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
#topbar .top-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
#topbar .top-phone svg { color: var(--accent); }
#topbar .top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
#topbar .top-hours {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
#topbar .top-cta {
  background: var(--accent);
  color: var(--white);
  padding: 5px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition);
}
#topbar .top-cta:hover { background: var(--accent-dk); }

/* ── Navigation ── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(15,15,15,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,121,65,0.2);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
#navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(200,121,65,0.15);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem !important;
}
.nav-cta:hover { background: var(--accent-dk) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav ── */
#mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,10,10,0.98);
  z-index: 800;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 80px 2rem 2rem;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  color: var(--fog);
  font-weight: 600;
  padding: 0.4rem 1rem;
  transition: color var(--transition);
  text-align: center;
}
#mobile-nav a:hover, #mobile-nav a.active { color: var(--accent); }
#mobile-nav .mob-phone {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-family: var(--ff-body);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  height: 40vh;
  min-height: 280px;
  background: var(--ink2);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 50px;
  overflow: hidden;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  transform: scale(1.05);
  transition: transform 8s ease;
}
.page-hero:hover .hero-bg { transform: scale(1); }
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-hero h1 { color: var(--white); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog);
  margin-top: 0.75rem;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { color: var(--accent-lt); }
.breadcrumb-sep { color: var(--mist); font-size: 0.6rem; }

/* ── Divider / Accent Bar ── */
.accent-bar {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.accent-bar.center { margin-left: auto; margin-right: auto; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-body { padding: 1.75rem; }

/* ── Trust Badge Strip ── */
.trust-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.trust-badge svg { color: var(--accent); flex-shrink: 0; }
.trust-badge .badge-num {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.trust-badge .badge-label {
  font-size: 0.75rem;
  color: var(--fog);
  line-height: 1.3;
  font-weight: 400;
}

/* ── Stars ── */
.stars { color: #F5A623; letter-spacing: 0.05em; font-size: 1rem; }

/* ── Section Headers ── */
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .accent-bar { margin-left: auto; margin-right: auto; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--ink);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,121,65,0.12) 0%, transparent 60%);
}
.cta-banner .container { position: relative; z-index: 2; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-banner p { color: var(--fog); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-phone-big {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}
.cta-phone-big:hover { color: var(--accent-lt); }
.cta-btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
#footer {
  background: var(--ink);
  color: var(--fog);
  padding: 70px 0 0;
  border-top: 3px solid var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-brand .footer-logo span { color: var(--accent); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-brand address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--fog);
}
.footer-brand address a { color: var(--fog); transition: color var(--transition); }
.footer-brand address a:hover { color: var(--accent-lt); }
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--fog);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-hours-list { font-size: 0.88rem; }
.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
}
.footer-hours-list li .day { color: var(--fog); }
.footer-hours-list li .time { color: var(--white); font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--mist);
}
.footer-bottom a { color: var(--mist); }
.footer-bottom a:hover { color: var(--fog); }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0.05s; }
.stagger-children.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.15s; }
.stagger-children.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.25s; }
.stagger-children.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.35s; }
.stagger-children.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.45s; }
.stagger-children.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.55s; }

/* ── Icon-box / Feature Card ── */
.icon-card {
  background: var(--parchment);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border-left: 3px solid var(--accent);
  transition: transform var(--transition), box-shadow var(--transition);
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-card .ic-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
}
.icon-card h4 { margin-bottom: 0.5rem; color: var(--ink); }
.icon-card p { font-size: 0.92rem; color: var(--steel); }

/* ── Process Steps ── */
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h4 { margin-bottom: 0.35rem; color: var(--ink); }
.step-content p { font-size: 0.92rem; }

/* ── Review Card ── */
.review-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.review-card::before {
  content: '"';
  font-family: var(--ff-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
}
.review-text {
  font-size: 0.95rem;
  color: var(--steel);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-style: italic;
}
.review-author { font-weight: 700; font-size: 0.88rem; color: var(--ink2); }
.review-source { font-size: 0.78rem; color: var(--mist); margin-top: 2px; }

/* ── Table ── */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid rgba(0,0,0,0.06); }
.hours-table td { padding: 0.6rem 0; font-size: 0.92rem; }
.hours-table .day-col { color: var(--steel); font-weight: 500; }
.hours-table .time-col { color: var(--ink2); font-weight: 600; text-align: right; }
.hours-table .closed { color: #c0392b; }
.hours-table tr.today td { color: var(--accent); font-weight: 700; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--ink3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,15,15,0);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .overlay { background: rgba(15,15,15,0.45); }
.gallery-item .overlay svg {
  color: var(--white);
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
}
.gallery-item:hover .overlay svg { opacity: 1; transform: scale(1); }

/* ── Lightbox ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
#lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
#lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ── Form ── */
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink2);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,121,65,0.15);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

/* ── Dark Section ── */
.section-dark {
  background: var(--ink2);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--fog); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  #topbar .top-right { display: none; }
  .cta-btn-group { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .section-pad { padding: 60px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

/* ── Shared JS helpers ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
