/* ==========================================================================
   Murray Building & Remodeling — style.css
   ========================================================================== */

:root {
  --forest: #1E3A2C;
  --forest-dark: #142720;
  --forest-light: #35604A;
  --cedar: #BD7A3F;
  --cedar-light: #D9985C;
  --cream: #F7F3EA;
  --cream-dark: #EEE7D6;
  --charcoal: #24261F;
  --ink-soft: #4B5148;
  --sage: #8AA48D;
  --border-soft: rgba(30, 58, 44, 0.12);

  --font-heading: 'Bitter', 'Georgia', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5,
.font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--forest-dark);
  letter-spacing: -0.01em;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--cedar);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-pad {
  padding: 5.5rem 0;
}

.bg-forest {
  background-color: var(--forest);
}

.bg-cream-dark {
  background-color: var(--cream-dark);
}

.text-cedar {
  color: var(--cedar);
}

.divider-line {
  width: 64px;
  height: 3px;
  background: var(--cedar);
  border-radius: 2px;
  margin: 0.9rem 0 1.4rem;
}

.divider-line.center {
  margin-left: auto;
  margin-right: auto;
}

.btn-cedar {
  background-color: var(--cedar);
  border-color: var(--cedar);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.7rem;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cedar:hover,
.btn-cedar:focus {
  background-color: #A5692F;
  border-color: #A5692F;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(189, 122, 63, 0.35);
}

.btn-outline-forest {
  border: 2px solid var(--forest);
  color: var(--forest);
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  background: transparent;
  transition: all 0.2s ease;
}

.btn-outline-forest:hover {
  background: var(--forest);
  color: #fff;
}

.btn-outline-cream {
  border: 2px solid rgba(247, 243, 234, 0.7);
  color: var(--cream);
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  background: transparent;
  transition: all 0.2s ease;
}

.btn-outline-cream:hover {
  background: var(--cream);
  color: var(--forest-dark);
  border-color: var(--cream);
}

/* ---------------------------------- Navbar ---------------------------------- */

.navbar-wfw {
  background-color: rgba(247, 243, 234, 0.97);
  box-shadow: 0 2px 18px rgba(20, 39, 32, 0.08);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  backdrop-filter: blur(6px);
}

.navbar-brand-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar-logo {
  height: 42px;
  width: auto;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.navbar-brand-text .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--forest-dark);
}

.navbar-brand-text .brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cedar);
  font-weight: 600;
}

.navbar-wfw .nav-link {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.7rem !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-wfw .nav-link:hover {
  color: var(--cedar);
}

.nav-call-btn {
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-wfw .nav-link {
    font-size: 0.82rem;
    padding: 0.5rem 0.5rem !important;
  }
  .navbar-brand-text .brand-name {
    font-size: 1.02rem;
  }
}

/* ---------------------------------- Hero (split-panel) ---------------------------------- */

.hero-split {
  display: flex;
  flex-wrap: wrap;
  min-height: 92vh;
  margin-top: 0;
}

.hero-photo-side {
  flex: 1 1 56%;
  min-height: 480px;
  background: url('img/hero.webp') center/cover no-repeat;
  position: relative;
}

.hero-photo-tag {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  background: rgba(20, 39, 32, 0.72);
  color: var(--cream);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-panel {
  flex: 1 1 44%;
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--cream);
  display: flex;
  align-items: center;
  padding: 4rem 3.25rem;
}

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

.hero-eyebrow {
  color: var(--cedar-light);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.1rem;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: rgba(247, 243, 234, 0.88);
  margin-bottom: 1.9rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(247, 243, 234, 0.2);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: rgba(247, 243, 234, 0.85);
}

.hero-meta-item i {
  color: var(--cedar-light);
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .hero-split {
    min-height: auto;
  }
  .hero-photo-side {
    min-height: 46vh;
    flex-basis: 100%;
  }
  .hero-panel {
    flex-basis: 100%;
    padding: 2.75rem 1.5rem;
  }
}

/* ---------------------------------- Promise strip ---------------------------------- */

.promise-strip {
  background: var(--cream-dark);
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.promise-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--forest-dark);
  font-style: italic;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.promise-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 960px;
  margin: 0 auto;
}

.promise-pillar {
  text-align: center;
  padding: 0 0.5rem;
}

.promise-pillar .pillar-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.promise-pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.promise-pillar p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .promise-pillars {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------------------------------- About ---------------------------------- */

.about-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.about-name-card {
  background: var(--forest);
  border-radius: 14px;
  padding: 2.75rem;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.about-name-card::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(189, 122, 63, 0.18);
}

.about-name-card .who {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cedar-light);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.about-name-card h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-name-card p {
  color: rgba(247, 243, 234, 0.88);
  position: relative;
  z-index: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-stat {
  background: rgba(247, 243, 234, 0.08);
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.about-stat .num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--cedar-light);
  display: block;
}

.about-stat .label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 234, 0.8);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.trust-badge {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(30, 58, 44, 0.1);
}

.trust-badge i {
  font-size: 1.9rem;
  color: var(--forest);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.trust-badge .tb-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--forest-dark);
  margin-bottom: 0.25rem;
}

.trust-badge .tb-sub {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.trust-badge img.tb-logo {
  height: 30px;
  width: auto;
  margin-bottom: 0.7rem;
}

a.trust-badge {
  display: block;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .about-block {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------- Services ---------------------------------- */

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px rgba(30, 58, 44, 0.12);
}

.service-card .service-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.service-card .service-body {
  padding: 1.4rem 1.4rem 1.6rem;
}

.service-card .service-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--cream-dark);
  color: var(--cedar);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.service-card a.service-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
}

.service-card a.service-link:hover {
  color: var(--cedar);
}

/* ---------------------------------- Cape Cod Decks feature ---------------------------------- */

.decks-feature {
  background: var(--forest-dark);
  color: var(--cream);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.decks-feature-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.decks-feature-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 260px;
}

.decks-feature-text {
  padding: 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.decks-feature-text .df-eyebrow {
  color: var(--cedar-light);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.decks-feature-text h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.9rem;
}

.decks-feature-text p {
  color: rgba(247, 243, 234, 0.85);
  margin-bottom: 1rem;
}

.decks-feature-materials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.decks-feature-materials span {
  background: rgba(247, 243, 234, 0.1);
  border: 1px solid rgba(247, 243, 234, 0.22);
  padding: 0.32rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--cream);
}

@media (max-width: 991.98px) {
  .decks-feature {
    grid-template-columns: 1fr;
  }
  .decks-feature-photos img {
    min-height: 200px;
  }
}

/* ---------------------------------- Gallery ---------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item .gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(to top, rgba(20, 39, 32, 0.85), rgba(20, 39, 32, 0));
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover .gallery-cap {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------------------------------- Reviews ---------------------------------- */

.review-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.9rem;
  height: 100%;
}

.review-stars {
  color: var(--cedar);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.review-card p.review-text {
  color: var(--charcoal);
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}

.review-name {
  font-weight: 700;
  color: var(--forest-dark);
  font-size: 0.9rem;
}

.review-loc {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------------------------------- Location & Contact ---------------------------------- */

.contact-info-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}

.contact-info-list i {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(247, 243, 234, 0.12);
  color: var(--cedar-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-list .ci-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 234, 0.65);
  margin-bottom: 0.15rem;
}

.contact-info-list a,
.contact-info-list span.ci-value {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.contact-info-list a:hover {
  color: var(--cedar-light);
}

.map-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(247, 243, 234, 0.18);
  height: 100%;
  min-height: 380px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
  background: var(--forest-dark);
  color: rgba(247, 243, 234, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-logo-chip {
  background: var(--cream);
  border-radius: 12px;
  padding: 0.85rem 1.4rem;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.1rem;
}

.footer-logo-chip img {
  height: 40px;
  width: auto;
}

.site-footer h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: rgba(247, 243, 234, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--cedar-light);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(247, 243, 234, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--cedar);
  border-color: var(--cedar);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 234, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(247, 243, 234, 0.75);
  font-weight: 600;
}

.powered-by a {
  color: var(--cedar-light);
  font-weight: 700;
}

/* ---------------------------------- Misc ---------------------------------- */

.small-caps-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

::selection {
  background: var(--cedar);
  color: #fff;
}
