/* ============================================
   SLOFreeParking.com — styles.css
   ============================================ */

/* VARIABLES */
:root {
  --navy:    #1a1f2e;
  --cream:   #f5f0e8;
  --blue:    #1565C0;
  --blue-lt: #1e88e5;
  --gold:    #e6a817;
  --red:     #c0392b;
  --green:   #27ae60;
  --white:   #ffffff;
  --text:    #1a1f2e;
  --muted:   #5a6170;

  --font-head: 'Anton', Impact, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;

  --radius: 6px;
  --shadow: 0 8px 32px rgba(26,31,46,0.14);
  --shadow-hover: 0 16px 48px rgba(26,31,46,0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: 3px solid var(--gold);
}
.btn-primary:hover {
  background: #f5b820;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,168,23,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}

/* subtle texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  animation: fadeUp 0.7s ease both;
}

/* BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.badge-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  box-shadow:
    0 0 0 3px var(--navy),
    0 0 0 8px var(--gold),
    0 0 0 11px var(--navy),
    0 8px 40px rgba(230,168,23,0.3);
  position: relative;
}

.badge-ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.25);
  pointer-events: none;
}

.badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 1;
}

.badge-top {
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.75);
}

.badge-middle {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
}

.badge-bottom {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--white);
}

.badge-sub {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 5px;
}

/* HEADLINE */
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-headline span {
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 16px;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.4s ease both;
}

.hero .btn { animation: fadeUp 0.7s 0.5s ease both; }

/* bottom stripe */
.hero-stripe {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px,
    var(--gold) 40px,
    var(--navy) 40px,
    var(--navy) 50px
  );
}

/* ============================================
   RESTAURANTS
   ============================================ */
.restaurants {
  background: var(--white);
  padding: 0;
}

.restaurants-header {
  background: var(--navy);
  text-align: center;
  padding: 40px 24px 36px;
}

.restaurants-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--gold);
  letter-spacing: 0.08em;
}

.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 520px;
}

/* CARD */
.restaurant-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-right: 3px solid var(--cream);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.restaurant-card:last-child { border-right: none; }

.restaurant-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
  z-index: 2;
}

.card-image {
  width: 100%;
  flex: 1;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.restaurant-card:hover .card-image img {
  transform: scale(1.05);
}

.card-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}

.placeholder-icon { font-size: 3rem; }

.placeholder-hint {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  font-weight: 600;
}

.card-body {
  padding: 24px;
  background: var(--white);
  border-top: 4px solid var(--gold);
}

.card-name {
  font-family: var(--font-head);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.restaurant-card:hover .card-btn {
  color: var(--gold);
  border-color: var(--gold);
}

/* CARD LOGO */
.card-logo-wrap {
  margin-bottom: 10px;
  height: 40px;
  display: flex;
  align-items: center;
}

.card-logo-dark {
  background: #111;
  padding: 6px 10px;
  border-radius: 4px;
  display: inline-flex;
  height: auto;
}

.card-logo {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}

/* CARD LOGO */
   ============================================ */
.how-it-works {
  background: var(--cream);
  padding: 80px 24px;
  text-align: center;
}

.hiw-inner { max-width: 960px; margin: 0 auto; }

.hiw-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.hiw-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 56px;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  padding: 0 20px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.6rem;
  margin-bottom: 12px;
  line-height: 1;
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 900;
  padding: 0 4px;
  margin-top: 24px;
  flex-shrink: 0;
  align-self: flex-start;
}

.hiw-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 56px;
  background: var(--blue);
  color: var(--white);
  padding: 20px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hiw-free {
  font-family: var(--font-head);
  font-size: 2.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  line-height: 1;
}

.hiw-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
  color: rgba(255,255,255,0.85);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
}

.cta-inner { max-width: 680px; margin: 0 auto; }

.cta-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin-bottom: 24px;
}

.cta-copy {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ============================================
   AS HEARD ON
   ============================================ */
.heard-on {
  background: var(--navy);
  padding: 32px 24px;
  text-align: center;
  border-top: 3px solid rgba(230,168,23,0.3);
  border-bottom: 3px solid rgba(230,168,23,0.3);
}

.heard-on-inner {
  max-width: 800px;
  margin: 0 auto;
}

.heard-on-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.heard-on-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.heard-logo {
  display: inline-block;
  height: 52px !important;
  width: auto !important;
  max-height: 52px !important;
  max-width: 110px !important;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  border-radius: 4px;
}

.heard-logo:hover { opacity: 1; }

/* FOOTER POWERED BY */
.footer-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.powered-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

.powered-logo {
  height: 32px !important;
  width: auto !important;
  max-height: 32px !important;
  max-width: 80px !important;
  object-fit: contain;
  opacity: 0.7;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.powered-logo:hover { opacity: 1; }

/* ============================================
   FOOTER
.site-footer {
  background: #111520;
  padding: 40px 24px;
  text-align: center;
  border-top: 4px solid var(--gold);
}

.footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.footer-badge span:not(:last-child)::after {
  content: ' ·';
  color: rgba(255,255,255,0.3);
  margin-left: 8px;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}

.footer-domain {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 900px) {
  .restaurants-grid {
    grid-template-columns: 1fr;
  }

  .restaurant-card {
    border-right: none;
    border-bottom: 3px solid var(--cream);
    flex-direction: row;
    min-height: auto;
  }

  .restaurant-card:last-child { border-bottom: none; }

  .card-image {
    width: 180px;
    min-height: 180px;
    flex: 0 0 180px;
  }

  .card-body {
    flex: 1;
    border-top: none;
    border-left: 4px solid var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .step-arrow { display: none; }

  .steps { gap: 32px; }

  .step { min-width: 160px; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 600px) {
  .hero { padding: 64px 20px 80px; }

  .badge-ring { width: 150px; height: 150px; }
  .badge-middle { font-size: 1.9rem; }

  .restaurant-card {
    flex-direction: column;
  }

  .card-image {
    width: 100%;
    flex: none;
    min-height: 220px;
  }

  .card-body { border-left: none; border-top: 4px solid var(--gold); }

  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .step { max-width: 100%; padding: 0 8px; }
}
