:root {
  --brand-green: #1f5548;
  --brand-cream: #f7f4ed;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #23312d;
  background: #ffffff;
}

.site-header,
.bg-white {
  background-color: #ffffff !important;
}

.site-footer {
  background-color: #000000;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-size: 1.1rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.footer-social-link:hover {
  background: var(--brand-green);
  color: #ffffff;
}

.brand-logo {
  display: block;
  width: 180px;
  height: auto;
}

.top-bar-info {
  color: #23312d;
  font-size: 1rem;
  line-height: 1.2;
}

.top-bar-info i {
  color: var(--brand-green);
}

.main-nav {
  background-color: var(--brand-green);
}

.main-nav .navbar-nav .nav-link {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 1.25rem;
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
  color: var(--brand-cream);
}

.main-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.main-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 767.98px) {
  .main-nav .navbar-collapse {
    background-color: #f4f2ee;
    margin-top: 0.5rem;
  }

  .main-nav .navbar-nav .nav-link {
    color: #6b6259;
    text-align: left;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .main-nav .navbar-nav .nav-item:first-child .nav-link {
    color: #23312d;
    font-weight: 700;
  }

  .main-nav .navbar-nav .nav-link:hover,
  .main-nav .navbar-nav .nav-link.active {
    color: var(--brand-green);
  }
}

.hero-section {
  min-height: 62vh;
  display: flex;
  align-items: center;
}

.hero-logo {
  max-width: 320px;
}

.hero-banner {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 11rem;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.5)),
    url("../images/marci-metzger-hero-banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-banner-content {
  max-width: 100%;
  margin: 0 auto;
}

.hero-topline {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 6rem);
  font-weight: 700;
}

@media (min-width: 768px) {
  .hero-headline {
    white-space: nowrap;
  }
}

.search-listings-wrapper {
  position: relative;
  margin-top: -150px;
  margin-bottom: 4rem;
  z-index: 2;
}

.search-listings-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.search-listings-title {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green);
  font-size: 1.9rem;
  font-weight: 600;
}

.form-control-underline {
  border: none;
  border-bottom: 1px solid #cfcac2;
  border-radius: 0;
  padding-left: 0;
  background: transparent;
}

.form-control-underline:focus {
  box-shadow: none;
  border-bottom-color: var(--brand-green);
}

.btn-search {
  background-color: #222222;
  border: none;
  border-radius: 50px;
  padding: 0.9rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.btn-search:hover {
  background-color: #000000;
  color: #ffffff;
}

.about-section {
  background-color: var(--brand-cream);
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.about-image-wrap {
  position: relative;
  max-width: 380px;
}

.about-image-wrap::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--brand-green);
  border-radius: 50%;
  z-index: 0;
}

.about-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -30px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  padding: 1rem;
  background: #ffffff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.about-badge span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--brand-green);
  text-transform: uppercase;
}

.sold-section {
  background-color: #ffffff;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.sold-title {
  font-family: var(--font-serif);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 2.25rem;
  color: var(--brand-green);
}

.sold-row-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.75rem;
  color: var(--brand-green);
}

.sold-row-text {
  max-width: 480px;
  color: #6b6259;
}

.sold-image {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.services-section {
  background-color: var(--brand-green);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.services-section .eyebrow {
  color: var(--brand-cream);
}

.services-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 3.25rem;
  color: #ffffff;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.service-card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.85rem;
  color: #23312d;
  margin: 0;
}

.service-card-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-cream);
  color: var(--brand-green);
  font-size: 1.1rem;
}

.service-card-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 1.25rem 0;
}

.service-card-text {
  color: #6b6259;
  margin-bottom: 1.5rem;
}

.service-card-image {
  margin-top: auto;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

.trusted-by-section {
  background-color: #ffffff;
}

.trusted-by {
  width: 100%;
  padding: 3rem 2rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.trusted-by-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10rem;
}

.trusted-by-logos img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.gallery-section {
  background-color: var(--brand-cream);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.gallery-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.5rem;
  color: #23312d;
}

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

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #ffffff;
  background: rgba(31, 85, 72, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

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

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-section {
  background-color: #ffffff;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.contact-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 2.75rem;
  color: var(--brand-green);
}

.contact-subheading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: #23312d;
}

.contact-info-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: #23312d;
}

.contact-info-text {
  color: #6b6259;
}

.contact-phone-link {
  color: var(--brand-green);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}

.contact-phone-link:hover {
  text-decoration: underline;
}

.contact-hours {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.contact-hours-label {
  min-width: 110px;
  font-weight: 600;
  color: #23312d;
}

.contact-hours-value {
  color: var(--brand-green);
}

.contact-note {
  color: #6b6259;
}

.contact-form .form-control-underline {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.contact-disclaimer {
  font-size: 0.8rem;
  color: #8a8378;
}

.contact-disclaimer a {
  color: var(--brand-green);
}

.map-section {
  line-height: 0;
}

.map-embed {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* Scroll / load fade-in animations */
.fade-el {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-el.fade-up {
  transform: translateY(28px);
}

.fade-el.fade-down {
  transform: translateY(-20px);
}

.fade-el.fade-left {
  transform: translateX(-40px);
}

.fade-el.fade-right {
  transform: translateX(40px);
}

.fade-el.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-el {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.about-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.5rem;
  color: #23312d;
}

.about-subheading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--brand-green);
}

.about-quote {
  margin: 0;
  border-left: 3px solid var(--brand-green);
  padding-left: 1.25rem;
  font-style: italic;
  color: #4b544e;
}

.about-quote p {
  margin-bottom: 1rem;
}

.eyebrow {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--brand-green);
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.btn-primary {
  --bs-btn-bg: #222222;
  --bs-btn-border-color: #222222;
  --bs-btn-hover-bg: #000000;
  --bs-btn-hover-border-color: #000000;
}

.btn-outline-primary {
  --bs-btn-color: #222222;
  --bs-btn-border-color: #222222;
  --bs-btn-hover-bg: #222222;
  --bs-btn-hover-border-color: #222222;
}

@media (max-width: 767.98px) {
  .brand-logo {
    width: 145px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    text-align: center;
  }

  .hero-section .lead {
    font-size: 1.05rem;
  }

  .hero-logo {
    max-width: 220px;
  }

  .hero-banner {
    background-attachment: scroll;
    min-height: 480px;
    padding-top: 1.5rem;
    padding-bottom: 8rem;
  }

  .hero-topline {
    font-size: 0.95rem;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .search-listings-wrapper {
    margin-top: -100px;
    margin-bottom: 2.5rem;
  }

  .search-listings-card {
    padding: 1.75rem 1.25rem;
  }

  .about-image-wrap {
    max-width: 260px;
  }

  .about-image-wrap::before {
    top: -12px;
    right: -12px;
  }

  .about-badge {
    width: 92px;
    height: 92px;
    bottom: -12px;
    left: -16px;
    padding: 0.65rem;
  }

  .about-badge span {
    font-size: 0.6rem;
  }

  .about-heading {
    font-size: 2rem;
  }

  .about-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .sold-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .sold-title {
    font-size: 1.75rem;
  }

  .sold-row-title {
    font-size: 2rem;
  }

  .sold-image {
    height: 220px;
  }

  .services-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .services-heading {
    font-size: 2rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .gallery-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .gallery-heading {
    font-size: 2rem;
  }

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

  .contact-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-hours {
    flex-direction: column;
    gap: 0.15rem;
  }

  .contact-hours-label {
    min-width: 0;
  }

  .map-embed {
    height: 300px;
  }

  .site-footer {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .trusted-by {
    padding: 1.75rem 1.25rem;
  }

  .trusted-by-logos {
    gap: 1.25rem;
  }

  .trusted-by-logos img {
    height: 48px;
  }
}