/*
Theme Name: Athens 2026
Theme URI: https://athensservices.com
Author: Athens Services
Author URI: https://athensservices.com
Description: Custom homepage theme for Athens Services, built from the Civic v4 "First Choice" prototype. Static first pass — content becomes editable in a later step.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: athens-2026
*/

/* ---------- Tokens (from the Civic v4 palette) ---------- */
:root {
  --as-blue:   #1A2736;
  --as-ink:    #1A2736;
  --as-body:   #3A434F;
  --as-muted:  #6B7280;
  --as-rule:   #E2E5EA;
  --as-bg:     #FFFFFF;
  --as-gray:   #F1F3F5;
  --as-red:    #C8102E;
  --as-coral:  #FF6B5C;
  --as-sans:   'Helvetica Neue', Helvetica, Arial, sans-serif;
  --as-pad:    clamp(20px, 5vw, 64px);   /* responsive side padding (64px on desktop) */
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--as-bg);
  color: var(--as-ink);
  font-family: var(--as-sans);
  line-height: 1.55;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }

/* ---------- Top mini utility bar ---------- */
.as-topbar {
  background: var(--as-blue);
  color: #fff;
  padding: 9px var(--as-pad);
  font-size: 12.5px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.as-topbar__links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.as-topbar__links a { opacity: .95; font-weight: 500; cursor: pointer; }
.as-topbar__links a:hover { opacity: 1; text-decoration: underline; }
.as-topbar__sep { opacity: .3; }

/* ---------- Main nav ---------- */
.as-nav {
  border-bottom: 1px solid var(--as-rule);
  padding: 16px var(--as-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--as-bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.as-nav__logo { height: 44px; width: auto; display: block; }
.as-nav__links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 700;
  color: var(--as-red);
  justify-content: center;
  flex: 1;
}
.as-nav__links a { color: var(--as-red); white-space: nowrap; display: flex; align-items: center; gap: 5px; cursor: pointer; }
.as-nav__links a:hover { opacity: .8; }
.as-nav__caret { opacity: .55; font-size: 10px; }
.as-nav__menu { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; align-items: center; }
.as-nav__menu a { color: var(--as-red); font-weight: 700; font-size: 14px; white-space: nowrap; }
.as-nav__menu a:hover { opacity: .8; }
.as-nav__menu .current-menu-item > a { text-decoration: underline; }
.as-nav__actions { display: flex; gap: 10px; align-items: center; }
.as-btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  font-family: var(--as-sans);
}
.as-btn--outline { padding: 10px 18px; border: 1.5px solid var(--as-blue); color: var(--as-blue); font-size: 13px; background: transparent; }
.as-btn--red     { padding: 11px 20px; background: var(--as-red); color: #fff; font-size: 13px; }
.as-btn--outline:hover { background: var(--as-blue); color: #fff; }
.as-btn--red:hover { opacity: .92; }

/* ---------- Hero ---------- */
.as-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}
.as-hero__media {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.as-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.as-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,39,54,.86) 0%, rgba(26,39,54,.66) 45%, rgba(26,39,54,.30) 100%);
}
.as-hero__content {
  position: relative;
  padding: 56px 56px 56px var(--as-pad);
  max-width: 620px;
  color: #fff;
}
.as-eyebrow {
  font-size: 12.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
}
.as-hero__eyebrow { margin-bottom: 16px; opacity: .85; }
.as-hero__title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.06;
}
.as-hero__title .as-accent { color: var(--as-coral); }
.as-hero__lede {
  font-size: 17px;
  margin-top: 18px;
  margin-bottom: 30px;
  max-width: 470px;
  color: rgba(255,255,255,.9);
}
.as-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.as-btn--hero-red   { padding: 15px 26px; background: var(--as-red); color: #fff; font-size: 15px; }
.as-btn--hero-ghost { padding: 15px 26px; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.5); color: #fff; font-size: 15px; }
.as-btn--hero-ghost:hover { background: rgba(255,255,255,.22); }

/* ---------- Hero sign-in box ---------- */
.as-signin {
  background: var(--as-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
}
.as-signin__eyebrow { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; opacity: .65; font-weight: 700; margin-bottom: 10px; }
.as-signin__title { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 26px; line-height: 1.2; }
.as-signin__form { display: grid; gap: 16px; }
.as-signin label.as-field-label { font-size: 12px; opacity: .7; letter-spacing: .4px; text-transform: uppercase; font-weight: 600; }
.as-signin input[type=text],
.as-signin input[type=email],
.as-signin input[type=password] {
  width: 100%;
  margin-top: 7px;
  padding: 14px 15px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 7px;
  color: #fff;
  font-size: 15px;
  outline: none;
  font-family: var(--as-sans);
}
.as-signin input::placeholder { color: rgba(255,255,255,.5); }
.as-signin__remember { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: .82; cursor: pointer; }
.as-signin__remember input { width: 15px; height: 15px; accent-color: var(--as-red); }
.as-signin__submit { padding: 15px 18px; background: var(--as-red); color: #fff; border: none; border-radius: 7px; font-weight: 700; font-size: 15.5px; cursor: pointer; font-family: var(--as-sans); }
.as-signin__submit:hover { opacity: .92; }
.as-signin__links { display: flex; justify-content: space-between; font-size: 13px; opacity: .85; margin-top: 2px; }
.as-signin__links a { cursor: pointer; }
.as-signin__links a:hover { text-decoration: underline; }

/* ---------- Section header ---------- */
.as-section { padding: 80px var(--as-pad) 72px; }
.as-section--white { background: var(--as-bg); }
.as-section--gray  { background: var(--as-gray); padding: 72px var(--as-pad); }
.as-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.as-section__eyebrow { color: var(--as-muted); margin-bottom: 12px; }
.as-section__eyebrow--red { color: var(--as-red); }
.as-section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--as-ink);
  line-height: 1.1;
  max-width: 640px;
}
.as-section__link { color: var(--as-blue); font-weight: 700; font-size: 14px; white-space: nowrap; cursor: pointer; }
.as-section__link:hover { text-decoration: underline; }

/* ---------- Service cards ---------- */
.as-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.as-card { border: 1px solid var(--as-rule); border-radius: 10px; overflow: hidden; background: #fff; }
.as-card__img { width: 100%; height: 230px; object-fit: cover; display: block; }
.as-card__body { padding: 26px; }
.as-card__tag { font-size: 11px; letter-spacing: 1.5px; color: var(--as-red); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.as-card__title { font-size: 23px; font-weight: 700; color: var(--as-ink); margin-bottom: 10px; letter-spacing: -.4px; }
.as-card__text { font-size: 14.5px; color: var(--as-body); line-height: 1.55; margin-bottom: 18px; }
.as-card__cta { color: var(--as-blue); font-weight: 700; font-size: 14px; cursor: pointer; }
.as-card__cta:hover { text-decoration: underline; }

/* ---------- Sustainability ---------- */
.as-sustain { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.as-sustain__title { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; letter-spacing: -1px; line-height: 1.12; color: var(--as-ink); }
.as-sustain__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.as-stat__n { font-size: clamp(38px, 5vw, 52px); font-weight: 700; letter-spacing: -2px; color: var(--as-red); line-height: 1; }
.as-stat__l { font-size: 13.5px; color: var(--as-body); margin-top: 10px; line-height: 1.45; }

/* ---------- Footer ---------- */
.as-footer { padding: 56px var(--as-pad) 32px; background: var(--as-blue); color: rgba(255,255,255,.85); }
.as-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.as-footer__logo { height: 44px; width: auto; display: block; }
.as-footer__blurb { font-size: 13px; margin-top: 16px; opacity: .8; line-height: 1.55; }
.as-footer__colhead { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 14px; color: #fff; }
.as-footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.as-footer__col a { opacity: .82; cursor: pointer; }
.as-footer__col a:hover { opacity: 1; text-decoration: underline; }
.as-footer__bar { border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; opacity: .65; gap: 16px; flex-wrap: wrap; }
.as-footer__legal { display: flex; gap: 18px; }

/* ---------- Interior page content ---------- */
.as-page-content { max-width: 760px; font-size: 16px; color: var(--as-body); line-height: 1.7; }
.as-page-content h2 { font-size: 28px; font-weight: 700; color: var(--as-ink); margin: 28px 0 12px; letter-spacing: -.4px; }
.as-page-content h3 { font-size: 21px; font-weight: 700; color: var(--as-ink); margin: 22px 0 10px; }
.as-page-content p { margin: 0 0 16px; }
.as-page-content a { color: var(--as-red); text-decoration: underline; }
.as-page-content ul, .as-page-content ol { margin: 0 0 16px; padding-left: 22px; }
.as-page-content li { margin-bottom: 6px; }
.as-page-content img { border-radius: 8px; height: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .as-hero { grid-template-columns: 1fr; }
  .as-hero__media { min-height: 420px; }
  .as-sustain { grid-template-columns: 1fr; gap: 32px; }
  .as-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .as-nav__links { display: none; }   /* mobile: hide center links (a real menu comes later) */
}
@media (max-width: 720px) {
  .as-cards { grid-template-columns: 1fr; }
  .as-sustain__stats { grid-template-columns: 1fr; gap: 20px; }
  .as-footer__grid { grid-template-columns: 1fr 1fr; }
  .as-hero__content { padding: 40px var(--as-pad); }
  .as-signin { padding: 36px var(--as-pad); }
}
