:root {
  /* ── Official Forest Yummy brand colors ── */
  --brand-green: #bce0aa; /* logo background / sage */
  --brand-text: #4b452f; /* logo font / dark warm brown */

  /* ── Derived supporting palette (all anchored to the two brand colors) ── */
  --forest-dark: #2e3d26; /* deep forest: brand-green darkened ~55% */
  --forest-mid: #527a44; /* mid forest green */
  --cream: #f5f1e8; /* warm off-white page background */
  --cream-dark: #ede7d8; /* slightly deeper cream for alt sections */
  --amber: #8a6e2f; /* golden accent, derived from brand-text warm tone */
  --muted: #6b6650; /* muted body text, midpoint of brand-text + cream */
  --white: #ffffff;
  --brand-green-light: #def0d5; /* Sustainability text / green */
  --brand-green-dark: #a9ca99; /* brand-green darkened ~10%  for footer texts */
  --nav-height: 13rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

html {
  /* 10px /16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting in this way 1 rem = 10 px!! */
  font-size: 62.5%;
  overflow-y: scroll;
  height: 100%;
  scrollbar-gutter: stable;
}

body {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  color: var(--brand-text);
  background: var(--cream);
  height: auto;
  margin: 0;
  padding: 0;
}

/* ══════════════════════════════════════
            SHARED SECTION STYLES
        ══════════════════════════════════════ */

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 6.4rem 3.2rem;
}

.label {
  font-size: 1.184rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 0.8rem;
  display: block;
}

h2 {
  font-family: "Marcellus", serif;
  font-size: clamp(3.2rem, 5.6vw, 4.48rem);
  line-height: 1.18;
  color: var(--brand-text);
  margin-bottom: 1.6rem;
}

.lead {
  font-size: 1.68rem;
  line-height: 1.82;
  color: var(--muted);
  max-width: 680px;
}

.divider {
  width: 44px;
  height: 3px;
  background: var(--brand-green);
  margin: 0rem 0rem 1.6rem;
  border-radius: 2px;
}

/* ══════════════════════════════════════
            NAV
        ══════════════════════════════════════ */

.header {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.2rem;
  height: var(--nav-height);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(188, 224, 170, 0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1.04rem;
  text-decoration: none;
  background: transparent;
}

.nav-logo img {
  height: 12rem;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.nav-logo-text {
  font-family: "Marcellus", serif;
  font-size: 4.8rem;
  color: var(--brand-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.main-nav-list {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}

.main-nav-link {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 1.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-text);
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: var(--amber);
}

.main-nav-link.active {
  /* 👈 JS-added active class */
  color: var(--amber);
}

/* MOBILE Navigation Bar as Menu */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: var(--brand-text);
}

/* ══════════════════════════════════════
            HOME = HERO
        ══════════════════════════════════════ */

#home {
  height: auto;
  scroll-margin-top: var(--nav-height);
  margin: 0;
  padding-top: calc(var(--nav-height) + 2rem);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      155deg,
      rgba(46, 61, 38, 0.78) 0%,
      rgba(75, 69, 47, 0.65) 55%,
      rgba(138, 110, 47, 0.45) 100%
    ),
    url("https://images.unsplash.com/photo-1448375240586-882707db888b?w=1600&q=80")
      center/cover no-repeat;
}

/* subtle brand-green tint overlay */
#home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 80%,
    rgba(188, 224, 170, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
  overflow: auto; /* This contains internal margins */
}

.home-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0rem 6.4rem 2.4rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 6.4rem;
  align-items: center;
}

.home-tag {
  font-size: 1.248rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-green);
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: block;
}

.home-text h1 {
  font-family: "Marcellus", serif;
  font-size: clamp(4.48rem, 6vw, 6.8rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 2rem;
  font-weight: 700;
}

.home-text h1 em {
  font-style: italic;
  color: var(--brand-green);
}

.home-text p {
  font-size: 1.792rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.85);
  max-width: 510px;
  margin-bottom: 2.4rem;
}

.home-button-container {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: fit-content; /* container shrinks to buttons' natural size */
}

.btn {
  display: inline-block;
  padding: 1.36rem 3.52rem;
  border-radius: 3px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 1.312rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
  flex: 1; /* both buttons share space equally */
  text-align: center;
  white-space: nowrap;
}

.btn-style-solid {
  background: var(--brand-green);
  color: var(--brand-text);
}
.btn-style-solid:hover {
  background: #a6d494;
}

.btn-style-empty {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  /* margin-left: 1.6rem; */
}
.btn-style-empty:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.home-logo-card {
  background: rgba(188, 224, 170, 0.12);
  border: 1px solid rgba(188, 224, 170, 0.3);
  border-radius: 8px;
  padding: 3.52rem;
  text-align: center;
  backdrop-filter: blur(6px);
}

.home-logo-card img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  border-radius: 6px;
}

.home-logo-card p {
  margin-top: 1.6rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.44rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════
            PILLARS STRIP
        ══════════════════════════════════════ */

.pillars {
  background: var(--forest-dark);
  padding: 1.6rem 3.6rem;
}

.pillars-grid {
  max-width: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.6rem;
  text-align: center;
}

.pillar {
  padding: 1.6rem;
}

.pillar-icon {
  width: 5rem;
  height: 5rem;
  object-fit: contain; /* keeps aspect ratio */
  margin: 0 auto 1.28rem; /* 👈 auto left/right centers it, keeps bottom margin */
  display: block;
}

.pillar h3 {
  font-family: "Marcellus", serif;
  font-size: 1.68rem;
  color: var(--brand-green);
  margin-bottom: 0.8rem;
}

.pillar p {
  font-size: 1.408rem;
  color: var(--brand-green-light);
  /* color: rgba(188, 224, 170, 0.65); */
  line-height: 1.68;
}

/* ══════════════════════════════════════
            ABOUT
        ══════════════════════════════════════ */

#about {
  height: auto;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
  background: var(--cream);
  padding-top: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  row-gap: 3.2rem;
  column-gap: 4.8rem;
  align-items: center;
  margin-top: 0rem;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  width: 100%;
  aspect-ratio: 6/3;
  background:
    linear-gradient(
      145deg,
      rgba(46, 61, 38, 0.6) 0%,
      rgba(75, 69, 47, 0.45) 100%
    ),
    url("../img/About Forest.jpg") center/cover no-repeat; /* WARNING THIS IS  PROBLEM */
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.about-img-frame::after {
  content: '"The answer comes\A from the forest."';
  white-space: pre;
  position: absolute;
  bottom: 2.88rem;
  left: 2.88rem;
  font-family: "Marcellus", serif;
  font-style: italic;
  font-size: 1.84rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.product-callout {
  background: var(--cream-dark);
  border-left: 4px solid var(--brand-green);
  border-radius: 0 6px 6px 0;
  padding: 1.28rem 1.6rem;
  margin-top: 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 3.2rem;
}

.product-callout .callout-icon {
  font-size: 2.72rem;
  flex-shrink: 0;
  margin-top: 0.16rem;
}

.product-callout h4 {
  font-family: "Marcellus", serif;
  font-size: 1.6rem;
  color: var(--brand-text);
  margin-bottom: 0.56rem;
}

.product-callout p {
  font-size: 1.408rem;
  line-height: 1.68;
  color: var(--muted);
  margin: 0;
}

.about-text p {
  font-size: 1.568rem;
  line-height: 1.88;
  color: var(--muted);
  margin-bottom: 1.92rem;
}
.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--brand-text);
  font-weight: 500;
}

/* ══════════════════════════════════════
            SUSTAINABILITY
        ══════════════════════════════════════ */
#sustainability {
  background: var(--forest-dark);
  height: auto;
  min-height: 500px;
  margin: 0;
  padding-top: 0.6rem;
}

#sustainability .label {
  color: rgba(188, 224, 170, 0.7);
}

#sustainability h2 {
  color: var(--brand-green);
}

#sustainability .divider {
  margin: 0rem 0rem 1.2rem;
  background: rgba(188, 224, 170, 0.4);
}

#sustainability .lead {
  color: var(--brand-green-light);
  /* color: rgba(188, 224, 170, 0.62); */
  max-width: 700px;
}

.sustain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 1.6rem;
  border-radius: 6px;
  overflow: hidden;
}

.sustain-card {
  background: rgba(188, 224, 170, 0.05);
  padding: 0.6rem 1.6rem 1rem;
  border: 1px solid rgba(188, 224, 170, 0.1);
  transition: background 0.2s;
}

.sustain-card:hover {
  background: rgba(188, 224, 170, 0.1);
}

.icon-circle {
  width: 4.5rem;
  height: 4.5rem;
  background-color: #f4f7ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.6rem;
  margin-bottom: 1.2rem;
}

.icon-circle .fill-icon {
  width: 3.2rem;
  height: 3.2rem;
  fill: #2d5a27;
  stroke: none;
}

.icon-circle .line-icon {
  width: 3.2rem;
  height: 3.2rem;
  fill: none;
  stroke: #2d5a27;
  stroke-width: 2;
}

.reason-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.sustain-card h3 {
  font-family: "Marcellus", serif;
  font-size: 1.84rem;
  color: #fff;
  margin-bottom: 0.96rem;
}

.sustain-card p {
  font-size: 1.44rem;
  line-height: 1.75;
  color: var(--brand-green-light);
}

.sustain-banner {
  margin-top: 2.4rem;
  background: rgba(188, 224, 170, 0.08);
  border: 1px solid rgba(188, 224, 170, 0.2);
  border-radius: 6px;
  padding: 1.6rem 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.sustain-banner .big-stat {
  font-family: "Marcellus", serif;
  font-size: 5.12rem;
  font-weight: 700;
  color: var(--brand-green);
  flex-shrink: 0;
  line-height: 1;
}

.sustain-banner p {
  font-size: 1.488rem;
  line-height: 1.75;
  color: var(--brand-green-light);
}

/* ══════════════════════════════════════
            CONTACT
        ══════════════════════════════════════ */

#contact {
  background: var(--cream-dark);
  height: auto;
  min-height: 500px;
  margin: 0;
  padding-top: 0.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  margin-top: 1.6rem;
  align-items: start;
}

.contact-info h3 {
  font-family: "Marcellus", serif;
  font-size: 2.16rem;
  color: var(--brand-text);
  margin-bottom: 1.44rem;
}

.contact-info p {
  font-size: 1.52rem;
  line-height: 1.82;
  color: var(--muted);
  margin-bottom: 2.88rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1.12rem;
  margin-bottom: 1.28rem;
  font-size: 1.488rem;
}

.contact-detail img.icon {
  width: 3rem;
  height: 3rem;
  object-fit: contain; /* keeps aspect ratio */
}

div.contact-detail a {
  color: var(--forest-dark);
  text-decoration: none;
  transition: color 0.2s;
}

div.contact-detail a:hover,
div.contact-detail a:active {
  color: var(--amber); /* 👈 same specificity as above */
}

/* ══════════════════════════════════════
              FORM
        ══════════════════════════════════════ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.76rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 1.2rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: block;
  text-align: left;
  margin-left: 1.5px; /* Matches the input border thickness */
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1.6rem;
  border: 1.5px solid rgba(188, 224, 170, 0.55);
  border-radius: 3px;
  background: var(--white);
  font-family: "Jost", sans-serif;
  font-size: 1.488rem;
  color: var(--brand-text);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--forest-mid);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  font-size: 1.312rem;
  color: var(--muted);
  font-style: italic;
}

.hidden-form-field {
  /* Honeypot anti bot filed made invisible */
  display: none;
}

/* When the form is submitted with an invalid input, this makes it obvious (This to have a reaction by Firefix Mobile that otherwise does not show which field NEEDS to be filled before allowing sending  */
.input-error {
  border: 2px solid #ff6b6b !important;
  background-color: rgba(255, 107, 107, 0.05);
}

/* Add a subtle shake animation to the button if invalid */
.shake {
  transform-box: border-box; /* 👈 reset to normal for HTML elements */
  animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  border: 2px solid #ff6b6b !important;
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* ══════════════════════════════════════
            FOOTER
        ══════════════════════════════════════ */

footer {
  background: var(--brand-text);
  padding: 0.8rem 3.2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  height: auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.92rem;
}

.footer-brand img {
  height: 55px;
  width: auto;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.8;
}

.footer-brand span {
  font-family: "Marcellus", serif;
  font-size: 2rem;
  color: var(--brand-green);
  opacity: 0.85;
}

footer p {
  font-size: 1.4rem;
  color: var(--brand-green-dark);
  text-wrap: pretty;
}

footer p:first-of-type {
  text-align: center;
}

footer p:last-child {
  text-align: right;
}
