/* ============================================================
   Janus Garage Doors — static one-page (migrated from Wix)
   Libre Baskerville headings · Helvetica body
   Black / white · taupe footer (#A79A90)
   ============================================================ */

:root {
  --black: #000000;
  --white: #ffffff;
  --taupe: #a79a90;
  --grey: #404040;
  --divider: rgba(0, 0, 0, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
}

h1, h2, h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}

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

/* ---------- Buttons (square, Wix-style ghost/solid) ---------- */
.btn-ghost {
  display: inline-block;
  min-width: 160px;
  padding: 14px 30px;
  text-align: center;
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--white);
  text-decoration: none;
  transition: background 0.4s ease, color 0.4s ease;
}
.btn-ghost:hover { background: var(--white); color: var(--black); }

.btn-solid {
  display: inline-block;
  min-width: 140px;
  padding: 12px 26px;
  text-align: center;
  font-size: 16px;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
  text-decoration: none;
  transition: background 0.4s ease, color 0.4s ease;
}
.btn-solid:hover { background: var(--white); color: var(--black); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease;
}
.header.scrolled { background: var(--black); }

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo { height: 44px; width: auto; }
.header-name {
  color: var(--white);
  font-size: 16px;
}

.header-nav { display: flex; gap: 28px; }
.header-nav a {
  color: var(--white);
  font-size: 15px;
  text-decoration: none;
  opacity: 0.9;
}
.header-nav a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("img/hero.jpg") center / cover no-repeat;
  padding: 120px 24px 80px;
}

.hero-content { max-width: 900px; }

.hero-logo {
  width: min(420px, 70vw);
  margin: 0 auto 8px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 7vw, 5.1rem);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.hero-tagline {
  color: var(--white);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 18px;
  margin-bottom: 40px;
}

/* ---------- Services ---------- */
.services {
  padding: 110px 24px;
  text-align: center;
  background: var(--white);
}

.services h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 70px;
}

.service-cards {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 28px;
}

.service-card h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.service-tagline {
  color: var(--grey);
  font-size: 15px;
  margin-bottom: 22px;
  min-height: 2.6em;
}

.card-divider {
  width: 72px;
  border-top: 1px solid var(--divider);
  margin-bottom: 22px;
}

/* ---------- About ---------- */
.about {
  background: var(--black);
  color: var(--white);
  padding: 110px 24px;
}

.about-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.about h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  margin-bottom: 36px;
}

.about-lede {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  margin-bottom: 24px;
}

.about-body {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 40px;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 27 / 16;
  object-fit: cover;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--taupe);
  color: var(--black);
  padding: 90px 24px 0;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer h2 {
  font-size: 26px;
  margin-bottom: 24px;
}

.hours { border-collapse: collapse; }
.hours td {
  padding: 4px 0;
  font-size: 16px;
}
.hours td:first-child { padding-right: 48px; }

.footer-col p { margin-bottom: 8px; }
.footer-col a {
  color: var(--black);
  text-decoration: underline;
}
.footer-col a:hover { text-decoration: none; }

.footer-base {
  max-width: 1180px;
  margin: 64px auto 0;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .header-name { display: none; }
  .header-nav { gap: 18px; }
  .service-cards { grid-template-columns: 1fr; max-width: 460px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
}
