/* ========================================
   BAY AREA INSTALLERS — Global Stylesheet
   Bold & Modern Redesign
   ======================================== */

:root {
  --navy:    #0d1b2a;
  --navy-2:  #1a2e42;
  --navy-3:  #243b55;
  --gold:    #e8472a;
  --gold-lt: #f06040;
  --white:   #ffffff;
  --off-white: #f5f5f3;
  --gray:    #8a9ab0;
  --text:    #d0dae8;
  --radius:  6px;
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w:   1280px;
  --transition: 0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 80px;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--navy-2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-mobile a:hover { color: var(--gold); }

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/ca0f3bfb-9286-4f92-bb00-7dfbc745ba6a.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.95) 0%, rgba(13,27,42,0.5) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 140px 32px 100px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 160, 32, 0.15);
  border: 1px solid rgba(232, 160, 32, 0.4);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  max-width: 760px;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 18px;
  font-weight: 400;
  color: rgba(208, 218, 232, 0.85);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* Hero stats strip */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(26, 46, 66, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.07);
  z-index: 2;
}
.hero-stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 12px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--white);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ========================================
   SECTIONS — shared
   ======================================== */
section { padding: 96px 0; }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-sub {
  font-size: 16px;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* alt bg */
.section-alt { background: var(--navy-2); }
.section-dark { background: var(--navy-3); }

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
}
.service-card {
  background: var(--navy-2);
  padding: 36px 28px;
  transition: background var(--transition);
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card:hover { background: var(--navy-3); }
.service-icon {
  font-size: 32px;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
}
.service-link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 10px; }

/* ========================================
   PHOTO GALLERY
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 4px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

/* ========================================
   TRUST / WHY US
   ======================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.why-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.why-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--gold);
  color: var(--navy);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
}
.why-badge-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}
.why-badge-text {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.why-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}
.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-point-icon {
  width: 44px;
  height: 44px;
  background: rgba(232,160,32,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.why-point-text h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.why-point-text p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ========================================
   CTA BAND
   ======================================== */
.cta-band {
  background: var(--gold);
  padding: 72px 0;
}
.cta-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  max-width: 600px;
}
.cta-band h2 span { display: block; font-weight: 400; font-size: 0.6em; opacity: 0.7; }
.btn-dark {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  white-space: nowrap;
  transition: all var(--transition);
  display: inline-block;
}
.btn-dark:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #080f18;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo img {
  height: 80px;
  width: auto;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 10px;
}
.footer-contact-item span:first-child { font-size: 16px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--gray);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--gray);
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
  padding: 140px 0 80px;
  background: var(--navy-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,0.06) 0%, transparent 70%);
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { opacity: 0.4; }

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: var(--navy-2);
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  cursor: default;
}
.service-row:hover {
  background: var(--navy-3);
  transform: translateX(4px);
}
.service-row-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  letter-spacing: 0.08em;
}
.service-row-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.service-row-body p {
  font-size: 14px;
  color: var(--gray);
}
.service-row-icon { font-size: 28px; }

/* ========================================
   GALLERY PAGE
   ======================================== */
.gallery-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-full-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}
.gallery-full-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-full-item:hover img { transform: scale(1.06); }

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 40px;
}
.contact-info-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(232,160,32,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-detail-text label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-detail-text a,
.contact-detail-text p {
  font-size: 16px;
  color: var(--white);
  font-weight: 500;
}
.contact-detail-text a:hover { color: var(--gold); }

/* Contact Form */
.contact-form-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 48px;
}
.contact-form-card h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.contact-form-card p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group select option { background: var(--navy-2); color: var(--white); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138,154,176,0.6); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(232,160,32,0.05);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .why-badge { bottom: 12px; right: 12px; }

  .cta-band-inner { flex-direction: column; text-align: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .gallery-full { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .service-row-num { display: none; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-full { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
}

/* ========================================
   UTILITIES
   ======================================== */
.mt-0 { margin-top: 0; }
.text-gold { color: var(--gold); }
.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 24px;
}
                                   