/* ============================================================
   Family Values Remodeling — Clean Static Site Stylesheet v2
   Fonts: Oswald (hero only), Montserrat (headings), Open Sans (body/buttons)
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; height: 100%; }

body {
  font-family: "Open Sans", sans-serif;
  color: #7a7a7a;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main { flex: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Layout ------------------------------------------------ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header ----------------------------------------------- */
.site-header {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img { height: 56px; width: auto; }

.site-nav a {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #173501;
  margin-left: 32px;
  transition: color 0.2s;
}

.site-nav a:hover { color: #00ce1b; }
.site-nav a.active { border-bottom: 2px solid #173501; padding-bottom: 2px; }
.site-nav a.nav-phone-icon.active { border-bottom: none; padding-bottom: 0; }

/* Mobile phone icon — shown only on small screens */
.nav-phone-icon {
  display: none;
  color: #173501;
  transition: color 0.2s;
}
.nav-phone-icon:hover { color: #00ce1b; }
.nav-phone-icon svg { display: block; }

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 712px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #6ec1e4;
  background-image: url("../images/hero.webp");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.13);
  mix-blend-mode: lighten;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; padding: 40px 24px; }

.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: 90px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 4px 0px 10px #54595f;
  line-height: 1.1;
}

/* --- Services Card ----------------------------------------- */
.services-card {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: -115px auto 0;
  padding: 25px 50px 15px;
  background: #fff;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.5);
}

.services-card h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #173501;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service-item {
  text-align: center;
  padding: 16px 24px;
}

.service-item h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #173501;
  margin-bottom: 8px;
}

.service-item p {
  font-size: 15px;
  color: #7a7a7a;
  line-height: 1.6;
}

/* Full-width service item */
.service-item.full-width {
  grid-column: 1 / -1;
}

/* --- Why Choose Us ---------------------------------------- */
.why-section {
  margin: 43px auto;
  padding: 0 24px;
  max-width: 1140px;
}

.why-box {
  border: 1px solid #000;
  padding: 50px 200px;
  text-align: center;
}

.why-box h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #173501;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 24px;
}

.why-box p {
  font-weight: 400;
  line-height: 1.6;
  color: #7a7a7a;
  font-size: 15px;
  margin-bottom: 8px;
}

/* --- Button ----------------------------------------------- */
.btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: #000;
  border: none;
  border-radius: 0;
  padding: 15px 45px;
  margin-top: 24px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.btn:hover, .btn:focus { background: #00ce1b; color: #fff; }

/* --- Contact Page ----------------------------------------- */
.contact-section {
  padding: 100px 0;
}

.contact-section .container {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.contact-info-col {
  width: 37.9%;
  flex-shrink: 0;
}

.contact-info-box {
  background: #000;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info-box .phone-icon {
  color: #686868;
  margin-bottom: 8px;
}

.contact-info-box .phone-link {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-box .phone-link:hover { color: #00ce1b; }

.contact-info-box .hours {
  color: #bfbfbf;
  font-size: 15px;
  font-weight: 300;
  margin-top: -4px;
}

.contact-info-box .email-label {
  color: #fff;
  font-size: 15px;
  font-weight: 200;
  letter-spacing: 0.5px;
  margin-top: 12px;
}

.contact-info-box .email-link {
  color: #fff;
  font-size: 15px;
  font-weight: 200;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.contact-info-box .email-link:hover { color: #00ce1b; }

.contact-intro-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10% 0 60px;
}

.contact-intro-col h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: #000;
  margin-bottom: 24px;
}

.contact-intro-col p {
  font-size: 16px;
  line-height: 1.8;
  color: #7a7a7a;
  margin-bottom: 16px;
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: #173501;
  color: #fff;
  text-align: center;
  padding: 32px 24px;
  font-size: 14px;
}

.site-footer p + p { margin-top: 6px; }

.site-footer a { color: #61ce70; }
.site-footer a:hover { color: #fff; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 64px; }
  .services-card { margin: -80px 20px 0; padding: 20px 30px; }
  .why-box { padding: 50px; }
  .why-box h2 { font-size: 35px; }
  .contact-section { padding: 100px 25px; }
  .contact-intro-col { padding: 0 0 0 40px; }
  .contact-info-box { padding: 15px; }
  .contact-info-col .contact-heading,
  .contact-info-col .phone-link { font-size: 32px; }
}

@media (max-width: 767px) {
  .hero h1 { font-size: 42px; }
  .services-card { margin: -60px 12px 0; padding: 20px 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item.full-width { grid-column: 1; }
  .why-section { margin: 43px 0; }
  .why-box { padding: 30px 20px; }
  .why-box h2 { font-size: 26px; }

  /* Hide text nav, show phone icon */
  .site-nav a:not(.nav-phone-icon) { display: none; }
  .nav-phone-icon { display: block; margin-left: 16px; }

  .contact-section { padding: 50px 20px; }
  .contact-section .container { flex-direction: column; }
  .contact-info-col { width: 100%; }
  .contact-intro-col { padding: 40px 0 0; }
  .contact-intro-col h1 { font-size: 32px; }
  .contact-info-box .phone-link { font-size: 24px; }
  .contact-info-box .email-label,
  .contact-info-box .email-link { font-size: 13px; }
  .contact-info-box .hours { font-size: 13px; }
}
