/* Hero */
.hero-section {
  width: 100%;
  background: linear-gradient(180deg, var(--color-hero-start) 0%, var(--color-hero-end) 80%);
  padding: 7rem 1rem 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Smaller hero variant for compact pages. */
.hero-section--small {
  padding: 4rem 1rem 3.5rem;
}

/* Flat hero background variant. */
.hero-section--plain {
  background: var(--color-hero-plain);
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--color-surface);
  /* Curved bottom edge to soften section transition. */
  clip-path: ellipse(70% 60% at 50% 100%);
}

.hero-logo {
  max-width: 350px;
  animation: fadeInDown 1.2s ease;
}

.hero-slogan {
  font-family: 'Marcellus', serif;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  font-weight: 600;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  animation: fadeInUp 1.2s ease;
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--color-subtext);
  margin-top: 1rem;
  animation: fadeIn 1.5s ease;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-bg {
  position: relative;
  overflow: hidden;
}

.about-bg::before {
  content: "";
  position: absolute;
  inset: 0; 
  background:
    linear-gradient(
      180deg,
      var(--color-about-overlay-start) 0%,
      var(--color-about-overlay-end) 100%
    ),
    url("../images/background.jpg") center / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.about-bg > .container {
  position: relative;
  z-index: 1;
}


@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Service cards */
.service-icon {
  font-size: 2.25rem;
  color: var(--color-primary);
}

.service-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  box-shadow: 0 3px 10px var(--shadow-light);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px var(--shadow-medium);
}

.section-title {
  font-family: 'Marcellus', serif;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.footer-image-strip img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  opacity: 0.95;
}

/* Brand section */
.brand-heading {
  position: relative;
  animation: fadeUp 1.2s ease both;
}

.brand-icon-wrap {
  display: inline-block;
  background: var(--color-overlay-green-soft);
  padding: 1rem 1.25rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px var(--shadow-light);
}

.brand-title {
  font-family: 'Marcellus', serif;
  font-weight: 600;
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.5rem);
  color: var(--color-primary);
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}

.brand-title .divider {
  color: var(--color-secondary);
  font-weight: 300;
  margin: 0 0.5rem;
}

.brand-subtext {
  font-size: 1.15rem;
  color: var(--color-subtext);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 300;
}

/* Simple reveal animation for the brand intro block. */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.highlight-quote {
  background: linear-gradient(180deg, var(--color-highlight-start) 0%, var(--color-highlight-end) 100%);
  border-left: 5px solid var(--color-secondary);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  max-width: 700px;
  position: relative;
  box-shadow: 0 4px 20px var(--shadow-light);
  font-family: 'Marcellus', serif;
  color: var(--color-primary);
}

.highlight-quote blockquote p {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.highlight-quote::before {
  content: "“";
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 4rem;
  color: var(--color-overlay-green-quote);
  font-family: Georgia, serif;
  line-height: 1;
}

.highlight-quote .blockquote-footer {
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.service-list {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.8;
}

.service-list i {
  font-size: 1.2rem;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .service-list {
    font-size: 1rem;
  }
  .service-list .list-inline-item {
    display: block;
    margin: 0.5rem 0;
  }
}

.service-item i {
  margin-bottom: 0.75rem;
}

.service-item h3 {
  margin-bottom: 0.5rem;
}
