/* =====================================================
   CSS Variables - colors sampled from mockup reference
   ===================================================== */
:root {
  --navy:       #04203B;   /* headings, nav, icons */
  --navy-panel: #03213F;   /* about section bg */
  --navy-dark:  #042140;   /* footer bg */
  --gold:       #BD7D1A;   /* buttons, accents, gold headline */
  --gold-dark:  #9C6510;
  --sand:       #F7F3EA;
  --white:      #FFFFFF;
  --off-white:  #F4F6F8;
  --charcoal:   #1B1F24;
  --muted:      #65717D;
  --border:     #E2E7ED;

  --header-h:   86px;
  --content-max: 1120px;
  --media-band-max: 1440px;
  --radius:     10px;
  --shadow:     0 4px 18px rgba(4,32,59,0.08);
  --shadow-lg:  0 10px 34px rgba(4,32,59,0.16);
}

/* =====================================================
   Reset & Base
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Inter', sans-serif; color: var(--charcoal); background: var(--white); line-height: 1.6; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
figure { margin: 0; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-lg   { padding: 14px 26px; font-size: 0.85rem; }
.btn-pill { border-radius: 50px; }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(189,125,26,0.4);
}

.btn-outline-navy {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* =====================================================
   Section helpers
   ===================================================== */
.section { padding: 84px 0; }

.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.eyebrow.centered { text-align: center; }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 44px;
}
.section-title.centered { text-align: center; }

/* =====================================================
   LOGO (shared header/footer)
   ===================================================== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-icon { width: 54px; height: 60px; flex-shrink: 0; }

.lg-navy-stroke  { stroke: var(--navy); }
.lg-gold-stroke  { stroke: var(--gold); }
.lg-white-stroke { stroke: var(--white); }
.lg-gold-fill    { fill: var(--gold); }
.lg-navy-fill    { fill: var(--navy); }
.lg-white-fill   { fill: var(--white); }

.logo-text { display: flex; flex-direction: column; line-height: 1; }

.logo-harris {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--navy);
}
.logo-painting {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 3.5px;
  color: var(--gold);
  margin-top: 3px;
}
.logo-tagline {
  font-weight: 700;
  font-size: 0.5rem;
  letter-spacing: 1.6px;
  color: var(--navy);
  margin-top: 5px;
}

/* footer logo = white variant */
.logo-footer .logo-harris,
.logo-footer .logo-tagline { color: var(--white); }

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 4px 18px rgba(4,32,59,0.1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--navy);
  padding: 8px 12px;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.22s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO - photo bg, white gradient overlay from the left
   ===================================================== */
.hero {
  position: relative;
  max-width: var(--media-band-max);
  margin: var(--header-h) auto 0;
  min-height: clamp(560px, 44vw, 640px);
  display: flex;
  align-items: center;
  background-color: #FDFCFA;
  background-image: url('assets/project-01-vaulted-drywall-room.webp');
  background-size: clamp(540px, 46%, 680px) auto;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #FDFCFA 0%,
    #FDFCFA 30%,
    rgba(253,252,250,0.88) 44%,
    rgba(253,252,250,0.45) 60%,
    rgba(253,252,250,0.05) 76%,
    rgba(253,252,250,0) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 64px;
}

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

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.3vw, 3.5rem);
  line-height: 1.1;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.hero-title .gold { color: var(--gold); }

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 26px;
  line-height: 1.65;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
}

.check-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  flex-shrink: 0;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services { background: var(--off-white); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  height: 170px;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-body {
  position: relative;
  padding: 38px 18px 24px;
}

.service-icon-sq {
  position: absolute;
  top: -24px;
  left: 18px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(4,32,59,0.28);
  transition: background 0.25s ease;
}
.service-card:hover .service-icon-sq { background: var(--gold); }

.service-card-body h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.service-card-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(4,32,59,0.9));
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  padding: 36px 16px 14px;
}

/* =====================================================
   ABOUT - navy left / avatar illustration right
   ===================================================== */
.about {
  display: grid;
  grid-template-columns: 50% 50%;
  max-width: var(--media-band-max);
  margin: 0 auto;
  min-height: 380px;
}

.about-text-col {
  background: var(--navy-panel);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 44px clamp(28px, 4vw, 56px);
}

.about-text-inner { max-width: 530px; width: 100%; }

.about-text-col .eyebrow { color: var(--gold); }

.about-heading {
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.about-para {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 14px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--white);
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.about-avatar-col {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4,32,59,0.08), rgba(255,255,255,0.18)),
    url('assets/project-04-new-build-drywall-interior.webp') center / cover;
}
.about-avatar-img {
  position: absolute;
  right: 7%;
  bottom: -44px;
  width: min(72%, 460px);
  height: auto;
  max-height: 112%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,0.18));
}

/* =====================================================
   CTA BAND - white strip
   ===================================================== */
.cta-band {
  background: var(--white);
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta-band-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.cta-band-text h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cta-band-text p {
  color: var(--muted);
  margin-top: 2px;
  font-size: 0.9rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 44px;
  padding-bottom: 40px;
  align-items: start;
}

.footer-brand .logo-icon { width: 46px; height: 52px; }

.footer-contact h4,
.footer-areas h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-contact ul { display: flex; flex-direction: column; gap: 11px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.footer-contact li svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold); }

.footer-areas p {
  font-size: 0.85rem;
  line-height: 2;
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}
.footer-bottom p {
  font-size: 0.78rem;
  text-align: center;
  color: rgba(255,255,255,0.35);
}

/* =====================================================
   RESPONSIVE - Tablet (max 992px)
   ===================================================== */
@media (max-width: 992px) {
  .hero { background-size: auto 100%; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }

  .about { grid-template-columns: 1fr; }
  .about-text-col { justify-content: flex-start; padding: 56px 36px; }
  .about-text-inner { max-width: 640px; }
  .about-avatar-col { min-height: 380px; }
  .about-avatar-img {
    position: absolute;
    right: 50%;
    bottom: -48px;
    width: min(58%, 420px);
    height: auto;
    max-height: 112%;
    transform: translateX(50%);
  }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    background: var(--white);
    padding: 14px 28px 26px;
    box-shadow: 0 12px 28px rgba(4,32,59,0.16);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
    z-index: 190;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    margin-bottom: 16px;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
  }
  .nav-link::after { display: none; }
  .header-cta { width: 100%; justify-content: center; }
}

/* =====================================================
   RESPONSIVE - Mobile (max 768px)
   ===================================================== */
@media (max-width: 768px) {
  :root { --header-h: 72px; }

  .logo-icon { width: 42px; height: 47px; }
  .logo-harris { font-size: 1.2rem; }
  .logo-painting { font-size: 0.9rem; letter-spacing: 2.5px; }
  .logo-tagline { font-size: 0.42rem; }

  /* hero - near-solid white wash so text stays readable */
  .hero {
    min-height: auto;
    background-size: auto 100%;
    background-position: 68% center;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(253,252,250,0.97) 0%,
      rgba(253,252,250,0.93) 70%,
      rgba(253,252,250,0.85) 100%
    );
  }
  .hero .container { padding-top: 48px; padding-bottom: 48px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .service-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .about-text-col { padding: 48px 28px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .about-avatar-col { min-height: 340px; }
  .about-avatar-img {
    right: 50%;
    bottom: -38px;
    width: min(86%, 360px);
    height: auto;
    max-height: 118%;
  }

  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-left { flex-direction: column; text-align: center; }
  .cta-band-inner .btn { width: 100%; justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
}
