/* Gugumuck Home Inspections – Professional Website Styles */

:root {
  --green-dark: #1a3c2e;
  --green-mid: #2d5a45;
  --green-light: #3d7a5c;
  --blue-gray: #6b7c8a;
  --blue-soft: #8a9ba8;
  --beige: #c4b5a0;
  --beige-dark: #a89078;
  --cream: #f7f3eb;
  --cream-dark: #efe9dd;
  --text: #1f2a24;
  --text-muted: #4a5c52;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(26, 60, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 60, 46, 0.12);
  --radius: 12px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 235, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 60, 46, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  width: auto;
  border-radius: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--green-mid);
}

.nav-cta {
  background: var(--green-dark);
  color: var(--white) !important;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--green-mid);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== Hero ========== */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.hero-logo {
  display: flex;
  justify-content: center;
}

.hero-logo-img {
  max-width: 320px;
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

/* ========== Trust Bar ========== */
.trust-bar {
  background: var(--green-dark);
  color: var(--white);
  padding: 1.5rem 0;
}

.trust-items {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
}

.trust-icon {
  font-size: 1.25rem;
}

/* ========== Sections Common ========== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ========== Services ========== */
.services {
  padding: 5rem 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(26, 60, 46, 0.06);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ========== About ========== */
.about {
  padding: 5rem 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3.5rem;
  align-items: center;
}

.about-content h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.15rem);
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}

.about-content .btn {
  margin-top: 0.75rem;
}

.about-logo {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

/* ========== Areas ========== */
.areas {
  padding: 5rem 0;
  background: var(--white);
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.area-item {
  background: var(--cream);
  color: var(--green-dark);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(26, 60, 46, 0.1);
}

.areas-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== Contact ========== */
.contact {
  padding: 5rem 0;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: var(--white);
  text-align: center;
}

.contact-inner h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  margin-bottom: 0.85rem;
}

.contact-lead {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

.phone-display {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  transition: opacity var(--transition);
}

.phone-display:hover {
  opacity: 0.85;
}

.contact-sub {
  opacity: 0.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact .btn-primary {
  background: var(--white);
  color: var(--green-dark);
}

.contact .btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.contact .btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.contact .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* ========== Footer ========== */
.footer {
  background: #12261c;
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.footer-brand p {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-info {
  text-align: center;
  font-size: 0.9rem;
}

.footer-info a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-logo {
    order: -1;
  }

  .hero-logo-img {
    max-width: 260px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0.85rem;
    border-bottom: 1px solid rgba(26, 60, 46, 0.1);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  .trust-items {
    justify-content: center;
    gap: 1.25rem 2rem;
  }

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

  .footer-brand {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0 4rem;
  }

  .services,
  .about,
  .areas,
  .contact {
    padding: 3.5rem 0;
  }

  .btn {
    width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
  }
}
