/*
 * MVP Mobile Tire Shop — Base styles
 * Design tokens, reset, layout utilities, buttons, accessibility.
 * Ported verbatim from the live site's stylesheet so the rebuilt theme
 * renders pixel-identical to the current site. Do not rename the
 * CSS custom properties below — every other stylesheet in this theme
 * (and every template file) references them by name.
 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --red:        #D0111A;
    --red-dark:   #A30D14;
    --gold:       #F5A623;
    --navy:       #0B1929;
    --navy-mid:   #122035;
    --navy-light: #1B2F4A;
    --white:      #FFFFFF;
    --gray-100:   #F4F6F9;
    --gray-200:   #E2E8F0;
    --gray-400:   #94A3B8;
    --gray-600:   #64748B;
    --gray-800:   #1E293B;
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body:    'Inter', sans-serif;
    --radius:     10px;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:  0 8px 24px rgba(0,0,0,0.14);
    --shadow-lg:  0 20px 60px rgba(0,0,0,0.22);
    --max-w:      1200px;
    --transition: all 0.22s ease;
    /* Market colors */
    --kc-accent:  #1E40AF;  /* KC blue accent */
    --fl-accent:  #0891B2;  /* Florida teal accent */
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--white); color: var(--gray-800); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--dark      { background: var(--navy); color: var(--white); }
.section--navy-mid  { background: var(--navy-mid); color: var(--white); }
.section--gray      { background: var(--gray-100); }
.section--red       { background: var(--red); color: var(--white); }

.eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.section--dark .eyebrow, .section--navy-mid .eyebrow, .section--red .eyebrow { color: var(--gold); }

.section-title { font-family: var(--font-display); font-size: clamp(2rem,5vw,3rem); font-weight: 900; line-height: 1.08; color: var(--navy); }
.section--dark .section-title, .section--navy-mid .section-title, .section--red .section-title { color: var(--white); }

.section-subtitle { font-size: 1.05rem; color: var(--gray-600); margin-top: 12px; max-width: 620px; }
.section--dark .section-subtitle, .section--navy-mid .section-subtitle { color: var(--gray-400); }

.section-header { max-width: 640px; }
.section-header.center { text-align: center; margin: 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 700; border-radius: var(--radius); padding: 14px 26px; cursor: pointer; border: 2px solid transparent; transition: var(--transition); white-space: nowrap; line-height: 1; text-align: center; }
.btn-primary  { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover  { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(208,17,26,0.4); }
.btn-secondary{ background: transparent; color: #fff; border-color: #fff; }
.btn-secondary:hover { background: #fff; color: var(--navy); }
.btn-gold     { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: #e0941a; border-color: #e0941a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.4); }
.btn-outline  { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-navy     { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-xl { padding: 20px 40px; font-size: 1.15rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* KC / FL specific button colors */
.btn-kc  { background: var(--kc-accent); color: #fff; border-color: var(--kc-accent); }
.btn-kc:hover  { background: #1e3a8a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,64,175,0.35); }
.btn-fl  { background: var(--fl-accent); color: #fff; border-color: var(--fl-accent); }
.btn-fl:hover  { background: #0e7490; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(8,145,178,0.35); }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.screen-reader-text { border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px; }
.skip-link { background:var(--red);color:#fff;font-weight:700;left:0;padding:8px 16px;position:absolute;top:-40px;z-index:10000;transition:top .2s; }
.skip-link:focus { top:0; }
*:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* WordPress admin bar offset (kept here since it affects base layout) */
.admin-bar .site-nav { top:32px; }
@media screen and (max-width:782px) { .admin-bar .site-nav { top:46px; } }
