/* oconnells.css - O'Connell's Transport site styles.
   Matches the look of the current oconnellstransport.com (GoDaddy Website Builder theme, captured Oct 21, 2026):
   - brand green #166d06 (rgb 22,109,6) for the hero panel, headings, buttons and the quote band
   - dark pricing band #161616, top bar #1b1b1b, black footer #000
   - headings: Oswald 700, uppercase (self-hosted, assets/fonts, SIL OFL); body: Helvetica/Arial (system)
   - body text grey #5e5e5e, dark text #1b1b1b, light text #f7f7f7, rules #e2e2e2
   No web-font CDN, no external requests. Light theme only, like the original (color-scheme: light). */

@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --green: #166d06;          /* primary (theme) */
  --green-600: #187507;      /* pricing heading shade */
  --green-700: #0e5303;      /* hover / pressed */
  --green-900: #073902;
  --green-bright: #30c513;   /* green for text on dark bands (AA on #161616) */
  --ink: #1b1b1b;
  --text: #5e5e5e;
  --text-strong: #474747;
  --light: #f7f7f7;
  --rule: #e2e2e2;
  --band-dark: #161616;
  --bar: #1b1b1b;
  --white: #ffffff;
  --head: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, Arial, sans-serif;
  --body: Helvetica, Arial, sans-serif;
  --wrap: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 1.125rem; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-700); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.on-dark :focus-visible, .on-green :focus-visible { outline-color: var(--white); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; line-height: 1.2; color: var(--green); margin: 0 0 .6em; letter-spacing: .01em; }
h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.45rem); text-align: center; }
h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 740px); margin-inline: auto; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 0; z-index: 10; background: var(--white); color: var(--green); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: .5rem; }

/* Top bar (dark, like the original announcement bar) */
.topbar { background: var(--bar); color: var(--light); text-align: center; font-size: .95rem; padding: .55rem 1rem; text-transform: uppercase; letter-spacing: .02em; }
.topbar a { color: var(--white); }

/* Buttons: pill, uppercase, bold, like the original "CALL NOW" */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1.6rem; border-radius: 999px; font-family: var(--body); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .055em; text-decoration: none; border: 2px solid transparent; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-700); color: var(--white); }
.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { background: var(--light); color: var(--green-700); }
.btn-outline-white { color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }

/* Hero: vans photo left, green panel right (the original split hero) */
.hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--green); }
.hero-photo { margin: 0; min-height: 100%; background: #dfe5e8; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.hero-panel { color: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 3rem 2.5rem; }
.hero h1 { color: var(--white); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.05rem); max-width: 26rem; }
.hero .tag { font-size: 1.3rem; max-width: 27rem; }
.hero .phone { font-weight: 700; font-size: 1.35rem; margin: .3rem 0 1.2rem; }
.hero .phone a { color: var(--white); text-decoration: none; }
.hero .phone a:hover { text-decoration: underline; }

/* Sections */
section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.service { padding: 1rem 2rem 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.service + .service { border-left: 1px solid var(--rule); }
.service p { flex: 1; font-size: 1.15rem; }

.general { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; margin-top: 1.5rem; }
.general .mascot { justify-self: center; width: min(100%, 360px); }
.general .lead { color: var(--ink); font-size: 1.35rem; }
.general .small-list { font-size: 1rem; }

/* Rates: dark band (was the price list on the old site) */
.pricing { background: var(--band-dark); color: var(--light); }
.pricing h2 { color: var(--green-bright); }
.pricing h3 { color: var(--green-bright); font-size: 1.2rem; margin: 0 0 .25rem; }

ul.bullets { padding-left: 1.2rem; margin: 0; }
ul.bullets li { margin-bottom: .35rem; }

.quote { background: var(--green); color: var(--white); text-align: center; padding: 2.6rem 0; }
.quote p { font-size: 1.3rem; margin-bottom: 1.1rem; }

.book .note { font-family: var(--head); font-weight: 700; text-transform: uppercase; color: var(--green); font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.book .sum { color: var(--text-strong); font-weight: 700; margin: 0; }
.book .pay { font-style: italic; }

.info { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; text-align: center; }
.info h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.info .big a { font-size: 1.3rem; text-decoration: none; }
.info .big a:hover { text-decoration: underline; }
.info-note { font-size: .95rem; margin-top: 1.2rem; }

/* Footer: black, like the original */
footer.site { background: #000; color: #bdbdbd; padding: 2rem 0 1.6rem; font-size: .95rem; }
footer.site a { color: var(--white); }
footer.site .row { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
footer.site .copy { max-width: 32rem; margin: 0; }
footer.site .social { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
footer.site .social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
footer.site .social svg { width: 22px; height: 22px; fill: var(--white); }
footer.site .name { text-align: center; color: var(--white); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 1.4rem 0 0; font-size: .95rem; }

.prose { max-width: 46rem; margin-inline: auto; }
.prose h1 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem); text-align: center; }
.prose h2 { text-align: left; font-size: 1.5rem; margin-top: 1.6rem; }
.lede { color: var(--ink); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 2016 / 1039; }
  .services { grid-template-columns: 1fr; }
  .service + .service { border-left: 0; border-top: 1px solid var(--rule); padding-top: 2rem; }
  .general { grid-template-columns: 1fr; text-align: center; }
  .general .mascot { width: min(70%, 300px); }
  .info { grid-template-columns: 1fr; }
  footer.site .row { justify-content: center; text-align: center; }
  }

/* Rates band (replaces the price list; John decided Oct 21, 2026: no prices on the site) */
.pricing .rates-lead { color: var(--light); font-size: 1.3rem; margin-bottom: .8rem; }
.pricing .rates-note { color: #c8c8c8; font-size: 1rem; margin-bottom: 1.4rem; }
.pricing .rates-note span { display: block; }
footer.site .parent { text-align: center; font-size: .8rem; color: #bdbdbd; margin: .5rem 0 0; }
footer.site .parent a { color: #e0e0e0; }

/* Booking-first CTAs (John, Oct 21, 2026: "more book now less call now") */
.btn-lg { min-height: 56px; padding: .9rem 2.4rem; font-size: 1.1rem; }
.btn-sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .8rem; }
.btn-outline-green { color: var(--green); border-color: var(--green); }
.btn-outline-green:hover { background: rgba(22,109,6,.08); color: var(--green-700); }
.hero .secondary { margin: 1rem 0 0; font-size: 1rem; color: var(--white); }
.hero .secondary a { color: var(--white); font-weight: 700; }
.secondary-dark { margin: 1rem 0 0; font-size: 1rem; }
.topbar-book { display: inline-block; background: var(--green); color: var(--white) !important; font-weight: 700; padding: .2rem .9rem; border-radius: 999px; text-decoration: none; margin-right: .4rem; letter-spacing: .06em; }
.topbar-book:hover { background: var(--green-700); text-decoration: underline; }
.topbar-rest { font-size: .85rem; }

/* SEO draft (Oct 22, 2026): hero <picture> wrapper, footer links */
.hero-photo picture { display: block; width: 100%; height: 100%; }
footer.site .foot-nav { order: 3; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; font-size: .9rem; }
footer.site .foot-nav a { display: inline-block; padding: .35rem 0; min-height: 24px; }
footer.site .name a { color: var(--white); text-decoration: none; }
footer.site .name a:hover { text-decoration: underline; }
@media (max-width: 860px) { footer.site .foot-nav { justify-content: center; } }

/* Mailing address (John, Oct 22, 2026): labelled, for mailed payments or letters only */
address.mailing { font-style: normal; line-height: 1.5; }
address.mailing .mail-label { font-weight: 700; }
.mailing-wrap { margin-top: 1.6rem; }
.mailing-wrap address.mailing { color: var(--ink); }
.mailing-wrap .mail-label { font-family: var(--head); text-transform: uppercase; color: var(--green); font-size: 1.15rem; letter-spacing: .01em; }
.mailing-wrap .mail-help { font-size: .95rem; margin: .3rem 0 0; }
footer.site address.mailing { color: #bdbdbd; font-size: .9rem; }
footer.site address.mailing .mail-label { color: var(--white); }
