@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

/*
  Dr. Kertesz - Bootstrap-alapu, de sajat ritmussal kiegeszitett CSS.
  A tipografia es a szekciok valtakozasa adja a kertészeti, emberkozeli hangot.
*/
:root {
  --dk-green: #198754;
  --dk-green-dark: #123f2a;
  --dk-leaf: #edf7ee;
  --dk-mint: #dff1e7;
  --dk-warm: #fff6dc;
  --dk-ink: #17211b;
  --dk-muted: #66736d;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background-color: #fbfcf8;
  color: var(--dk-ink);
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-3,
.display-4,
.display-5 {
  color: var(--dk-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.lead {
  color: var(--dk-muted) !important;
  font-size: clamp(1.05rem, 1vw + 0.78rem, 1.35rem);
  line-height: 1.75;
}

.text-secondary {
  color: var(--dk-muted) !important;
}

.text-success {
  color: var(--dk-green) !important;
}

section {
  position: relative;
}

.bg-success-subtle {
  background-color: var(--dk-leaf) !important;
}

.bg-light {
  background-color: #f6f8f3 !important;
}

.text-uppercase.small {
  color: var(--dk-green-dark) !important;
  font-size: 0.78rem;
  font-weight: 800 !important;
  letter-spacing: 0.14em;
}

.brand-mark,
.icon-box {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
}

.project-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-gallery {
  background:
    radial-gradient(circle at 92% 4%, rgb(255 214 102 / 26%), transparent 24rem),
    #fbfcf8;
}

.project-feature,
.project-card {
  overflow: hidden;
  border: 1px solid rgb(25 135 84 / 13%);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgb(18 63 42 / 9%);
}

.project-feature-media,
.project-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgb(223 241 231 / 74%), rgb(255 246 220 / 76%));
}

.project-feature-media {
  min-height: 34rem;
}

.project-feature-image {
  width: 100%;
  height: 34rem;
  object-fit: contain;
}

.project-feature-copy {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4.5rem);
}

.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card-media {
  height: 25rem;
}

.project-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-card-media--landscape .project-card-image {
  object-fit: cover;
}

.project-card-body {
  flex: 1;
  padding: clamp(1.5rem, 2vw, 2.25rem);
}

.project-number {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--dk-green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 0.55rem 1.15rem rgb(25 135 84 / 22%);
}

.project-card h3,
.project-feature h3 {
  margin-bottom: 0.9rem;
}

.section-intro {
  max-width: 48rem;
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  padding-inline: 1.25rem;
}

.btn-success {
  background: linear-gradient(135deg, #198754 0%, #11633d 100%);
  border-color: #198754;
  box-shadow: 0 0.85rem 1.7rem rgb(25 135 84 / 20%);
}

.btn-outline-success {
  background-color: #fff;
  border-width: 2px;
  box-shadow: 0 0.45rem 1.25rem rgb(25 135 84 / 7%);
}

main > section:first-child {
  overflow: hidden;
}

main > section:first-child::before {
  content: "";
  position: absolute;
  inset: auto -8rem -9rem auto;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgb(255 214 102 / 42%), transparent 67%);
  pointer-events: none;
}

.feature-card,
.step-card,
.service-highlight-card {
  height: 100%;
  border: 1px solid rgb(25 135 84 / 13%);
  border-radius: 1.35rem;
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 96%) 0%,
    rgb(248 252 248 / 98%) 100%
  );
  box-shadow: 0 1.2rem 3rem rgb(18 63 42 / 8%);
}

.feature-card,
.step-card {
  padding: clamp(1.4rem, 1vw + 1rem, 2.15rem);
}

.feature-card-icon,
.step-number {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--dk-green);
  color: #fff;
  box-shadow: 0 0.6rem 1.25rem rgb(25 135 84 / 22%);
}

.feature-card-icon {
  margin-bottom: 1.15rem;
  font-size: 1.45rem;
}

.step-number {
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.soft-feature-band {
  background:
    linear-gradient(90deg, rgb(18 63 42 / 7%) 0 1px, transparent 1px 100%),
    radial-gradient(
      circle at 8% 20%,
      rgb(255 214 102 / 42%),
      transparent 18rem
    ),
    linear-gradient(135deg, #dff1e7 0%, #f1f8f0 48%, #fff4d2 100%);
  background-size:
    4.5rem 4.5rem,
    auto,
    auto;
}

.soft-feature-band .feature-card-icon {
  background: #146c43;
}

.related-link {
  border-radius: 1rem;
  padding: 0.95rem 1.15rem;
  text-align: left;
}

.related-link i {
  margin-right: 0.5rem;
}

.service-highlight-card {
  position: relative;
  overflow: hidden;
}

.service-highlight-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgb(25 135 84 / 9%);
}

.service-highlight-card .card-body {
  position: relative;
  z-index: 1;
}

.feature-card h2,
.feature-card h3,
.step-card h2,
.step-card h3,
.service-highlight-card h2,
.service-highlight-card h3 {
  margin-bottom: 0.85rem;
}

.feature-card ul li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  line-height: 1.45;
}

.feature-card:nth-child(odd) {
  transform: translateY(-0.35rem);
}

.row.g-4 > [class*="col"]:nth-child(2) .feature-card {
  margin-top: 1.25rem;
}

.row.g-4 > [class*="col"]:nth-child(3) .feature-card {
  margin-top: 0.45rem;
}

.step-card {
  background: #fff;
}

.step-card strong {
  color: var(--dk-ink);
}

#folyamat h2,
#folyamat h3 {
  color: #fff;
}

#folyamat .text-success {
  color: #8bd8ad !important;
}

.accordion-item {
  border-color: rgb(25 135 84 / 16%);
}

.accordion-button {
  color: var(--dk-ink);
  font-weight: 700;
}

.accordion-button:not(.collapsed) {
  background-color: var(--dk-leaf);
  color: var(--dk-green-dark);
}

.navbar-brand strong,
.footer strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
}

@media (max-width: 767.98px) {
  .container > .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .row.g-4 > [class*="col"]:nth-child(2) .feature-card,
  .row.g-4 > [class*="col"]:nth-child(3) .feature-card,
  .feature-card:nth-child(odd) {
    margin-top: 0;
    transform: none;
  }

  .project-feature-media,
  .project-feature-image {
    height: 30rem;
    min-height: 30rem;
  }

  .project-card-media {
    height: 23rem;
  }
}
