/* ===================================================================
   Penrith Windscreens — hand-written static clone
   =================================================================== */

:root {
  --red: #ba0e02;
  --red-dark: #a10c02;
  --black: #000000;
  --charcoal: #1a1a1a;
  --grey-text: #494949;
  --grey-band: #e8e9eb;
  --white: #ffffff;
  --grey-light: #bbbbbb;

  --content-max: 1200px;
  --topbar-h: 130px;
  --topbar-h-mobile: 110px;

  --font-body: 'Roboto', -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-heavy: 'Roboto', -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--grey-text);
  font-size: 16px;
  line-height: 1.5;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button { cursor: pointer; font: inherit; }

/* ---------- header ---------- */
.site-header {
  position: relative;
  width: 100%;
  height: var(--topbar-h);
  background-image: url('/assets/images/logo-mascot.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 100;
}

.header-inner {
  position: relative;
  max-width: 100%;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.brand {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  line-height: 0;
}
.brand img {
  height: 168px;
  width: auto;
  display: block;
  /* panther is black + white text; keep as-is so black overlays red diagonal cleanly */
  filter: brightness(0) invert(1); /* -> makes the whole graphic pure white on the red header */
}

.header-right {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-top: 22px;
  padding-right: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > li > a {
  color: var(--white);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.5px;
  line-height: 1;
  padding: 4px 0;
  text-transform: uppercase;
}
.main-nav > li > a:hover,
.main-nav > li.is-active > a {
  color: var(--charcoal);
}

.header-phone {
  color: var(--white);
  font-family: 'Arial Black', 'Arial', sans-serif;
  font-weight: 900;
  font-size: 40px;
  letter-spacing: 0.5px;
  padding-top: 8px;
  padding-right: 10px;
  line-height: 1;
}
.header-phone a { color: inherit; }

/* mobile burger */
.burger {
  display: none;
  position: absolute;
  right: 14px;
  top: 14px;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  z-index: 210;
  color: var(--white);
}
.burger span,
.burger span::before,
.burger span::after {
  content: '';
  display: block;
  position: absolute;
  left: 6px;
  right: 6px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.burger span { top: 21px; }
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  left: 0; right: 0;
  top: var(--topbar-h-mobile);
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
  z-index: 200;
}
.mobile-drawer.is-open {
  max-height: calc(100vh - var(--topbar-h-mobile));
}
.mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}
.mobile-drawer a {
  display: block;
  padding: 14px 28px;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-drawer a:hover,
.mobile-drawer li.is-active a { color: var(--red); }
.mobile-drawer .m-phone {
  display: block;
  padding: 20px 28px;
  color: var(--red);
  font-family: 'Arial Black', sans-serif;
  font-size: 26px;
  border-bottom: 0;
}

/* ---------- hero / carousel (home) ---------- */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--white);
}
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 537;
  min-height: 260px;
  max-height: 540px;
  background: #0d0d0d;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ---------- page-title banner (subpages) ---------- */
.page-title {
  background: var(--grey-band);
  padding: 44px 20px 44px;
  text-align: center;
}
.page-title h1 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 44px;
  color: var(--grey-text);
  line-height: 1.1;
}

/* ---------- content section wrapper ---------- */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 60px 0;
}
.section-tight { padding: 40px 0; }

/* ---------- home: intro paragraph block ---------- */
.home-intro {
  padding: 70px 24px 40px;
  text-align: center;
}
.home-intro .container {
  max-width: 1160px;
}
.home-intro p {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  color: var(--grey-text);
  margin: 0 0 18px;
}
.home-intro .accent {
  color: var(--red);
  font-weight: 900;
}

/* ---------- home: 3 tiles ---------- */
.home-tiles {
  padding: 20px 24px 70px;
}
.home-tiles .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.tile { text-align: center; }
.tile-image {
  width: 100%;
  aspect-ratio: 480 / 400;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transition: background-position .25s ease;
}
.tile:hover .tile-image { background-position: bottom center; }
.tile-image.faq { background-image: url('/assets/images/tile-faq.png'); }
.tile-image.replacement { background-image: url('/assets/images/tile-windscreen.png'); }
.tile-image.services { background-image: url('/assets/images/tile-services.png'); }
.tile h3 {
  margin: 22px 0 4px;
  font-weight: 300;
  color: var(--grey-text);
  font-size: 26px;
  line-height: 1.3;
}
.tile h3 strong {
  display: block;
  font-weight: 900;
  font-size: 26px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--red);
  color: var(--white);
  padding: 34px 20px 60px;
  text-align: center;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--charcoal);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.cta-band p {
  position: relative;
  z-index: 1;
  margin: 6px 0;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.25;
}
.cta-band p.strong {
  font-weight: 900;
}
.cta-band a { color: var(--white); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 34px 24px 32px;
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.footer-logo img {
  width: 260px;
  max-width: 100%;
  filter: brightness(0) invert(1);
}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  color: var(--white);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}
.footer-nav a:hover { color: var(--red); }
.footer-copy {
  text-align: right;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ---------- About page ---------- */
.about-body {
  padding: 40px 24px 60px;
}
.about-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey-text);
  margin: 0 0 14px;
}
.about-body .services-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 30px;
}
.about-body .services-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 15px;
  color: var(--grey-text);
  line-height: 1.45;
}
.about-body .services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.about-body .van {
  float: right;
  margin: 0 0 20px 30px;
  max-width: 340px;
}
.about-body h2 {
  color: var(--red);
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  margin: 32px 0 14px;
  clear: both;
}
.about-body .suburbs {
  text-align: center;
  color: var(--red);
  font-size: 16px;
  line-height: 1.7;
  max-width: 1000px;
  margin: 0 auto;
}
.about-body .not-listed {
  text-align: center;
  color: var(--red);
  font-style: italic;
  font-size: 15px;
  margin-top: 22px;
}

/* ---------- Services page ---------- */
.services-list-page {
  padding: 30px 24px 60px;
}
.svc-row {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #ececec;
}
.svc-row:last-child { border-bottom: 0; }
.svc-row .txt h3 {
  color: var(--red);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 10px;
}
.svc-row .txt p {
  font-size: 15px;
  color: var(--grey-text);
  line-height: 1.55;
  margin: 0;
}
.svc-row .img {
  aspect-ratio: 420 / 260;
  background: #eee;
  overflow: hidden;
}
.svc-row .img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Process page ---------- */
.process-body {
  padding: 40px 24px 60px;
}
.process-body p {
  font-size: 15px;
  color: var(--grey-text);
  line-height: 1.6;
  margin: 0 0 18px;
}
.process-body .process-image {
  float: right;
  margin: 0 0 20px 30px;
  max-width: 380px;
  border-radius: 2px;
}

/* ---------- FAQ page ---------- */
.faq-body {
  padding: 40px 24px 60px;
}
.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid #ececec;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 {
  color: var(--red);
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 10px;
  line-height: 1.35;
}
.faq-item p {
  font-size: 15px;
  color: var(--grey-text);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Contact page ---------- */
.contact-body {
  padding: 40px 24px 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-col h2 {
  color: var(--red);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 20px;
  text-align: center;
}
.contact-details img.portrait {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 22px;
  display: block;
}
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--grey-text);
  line-height: 1.4;
}
.contact-info li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
}
.hours-card {
  background: var(--red);
  color: var(--white);
  padding: 28px 20px;
  border-radius: 4px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.hours-card .num {
  font-family: 'Arial Black', sans-serif;
  font-size: 56px;
  line-height: 1;
}
.hours-card .lbl {
  font-family: 'Arial Black', sans-serif;
  font-size: 32px;
  line-height: 1;
  padding-left: 18px;
  border-left: 2px solid rgba(255,255,255,0.4);
}
.payment-options {
  text-align: center;
}
.payment-options img {
  max-width: 100%;
  margin: 10px auto 0;
}

/* ---------- Contact form ---------- */
.contact-form {
  margin-top: 30px;
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form label {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-text);
  display: block;
  margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: var(--white);
  color: var(--grey-text);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form button {
  background: var(--red);
  color: var(--white);
  border: 0;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: start;
  transition: background .2s ease;
}
.contact-form button:hover { background: var(--red-dark); }
.form-note {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .site-header {
    height: var(--topbar-h-mobile);
    background-position: center top;
    background-size: cover;
  }
  .header-inner { padding: 0 16px; }
  .brand img { height: 92px; }
  .main-nav, .header-phone { display: none; }
  .burger { display: block; }
  .home-tiles .container { grid-template-columns: 1fr; gap: 24px; }
  .home-intro p { font-size: 17px; }
  .cta-band p { font-size: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .footer-logo img { margin: 0 auto; }
  .footer-nav { justify-content: center; grid-template-columns: 1fr 1fr; max-width: 260px; margin: 0 auto; }
  .footer-copy { text-align: center; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row .img { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-body .van { float: none; margin: 0 auto 20px; }
  .process-body .process-image { float: none; margin: 0 auto 20px; }
  .page-title h1 { font-size: 32px; }
}

body.menu-open { overflow: hidden; }

/* focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  border-radius: 2px;
}
