/* Earl Scheib Of Concord — custom styles on top of Tailwind */

:root {
  --es-red: #C8202F;
  --es-red-dark: #A81828;
  --es-navy: #1A2D4D;
  --es-ink: #0a0a0a;
  --es-slate: #18181b;
  --es-slate-2: #27272a;
  --es-bone: #fafaf9;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--es-bone);
  color: #1f2937;
}

/* visible focus rings (WCAG) */
*:focus-visible {
  outline: 3px solid var(--es-red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* hero — bright navy matching shop signs */
.hero-grit {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(200, 32, 47, 0.15), transparent 50%),
    linear-gradient(180deg, #1A2D4D 0%, #243d66 100%);
}

/* angled red slash divider */
.slash::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--es-red);
  margin-right: 0.6em;
  transform: skewX(-18deg);
  vertical-align: -2px;
}

/* card hover lift */
.lift {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.25);
}

/* ribbon for top-seller / popular */
.ribbon {
  position: absolute;
  top: 14px;
  right: -34px;
  transform: rotate(35deg);
  background: var(--es-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 40px;
  text-transform: uppercase;
}

/* mobile sticky call bar */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--es-red);
  color: #fff;
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}
@media (min-width: 768px) {
  .callbar { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 767.98px) {
  body { padding-bottom: 60px; }
}

/* nav active */
.nav-link[aria-current="page"] {
  color: var(--es-red);
}
.nav-link[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--es-red);
  margin-top: 2px;
}

/* placeholder gallery card */
.gallery-ph {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, #27272a, #27272a 12px, #18181b 12px, #18181b 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  font-size: 13px;
  text-align: center;
  padding: 16px;
  border: 1px solid #3f3f46;
}

/* faq details/summary */
details {
  border-bottom: 1px solid #e4e4e7;
  padding: 18px 0;
}
details > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--es-red);
  font-weight: 300;
  line-height: 1;
}
details[open] > summary::after { content: "−"; }
details > div { margin-top: 12px; color: #4b5563; line-height: 1.65; }

/* form */
.form-field {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d4d4d8;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.form-field:focus {
  border-color: var(--es-red);
  box-shadow: 0 0 0 3px rgba(200, 32, 47, 0.15);
  outline: none;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

/* mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* Setmore booking iframe — content height varies by viewport */
.setmore-iframe { height: 560px; }
@media (min-width: 768px)  { .setmore-iframe { height: 720px; } }
@media (min-width: 1024px) { .setmore-iframe { height: 820px; } }
