:root {
  --color-moss-green: #6B8C68;
  --color-clay-beige: #D4C4B0;
  --color-sky-mist: #E8EEF5;
  --color-soft-apricot: #E8C5A5;
  --color-muted-teal: #7D9B96;
  --color-graphite-grey: #5A5A5A;
  --color-white: #FFFFFF;
  --color-off-white: #F9F7F5;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-graphite-grey);
  background-color: var(--color-off-white);
  line-height: 1.6;
}

body {
  padding-top: 70px;
}

header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-clay-beige);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-moss-green);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.navbar-brand:hover {
  color: var(--color-muted-teal);
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--color-graphite-grey);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-moss-green);
  border-bottom-color: var(--color-moss-green);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 4rem 1rem;
  background-color: var(--color-off-white);
}

section:nth-child(even) {
  background-color: var(--color-sky-mist);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-moss-green);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1rem;
  color: var(--color-graphite-grey);
  margin-bottom: 1.5rem;
}

.hero {
  position: relative;
  background-image: url('../images/hero-morning-growth.jpg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 0;
  margin-bottom: 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-graphite-grey);
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem 2rem;
  border-radius: 20px;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--color-graphite-grey);
}

.section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.section-row:nth-child(even) {
  direction: rtl;
}

.section-row:nth-child(even) > * {
  direction: ltr;
}

.section-row.reversed {
  direction: rtl;
}

.section-row.reversed > * {
  direction: ltr;
}

.section-content {
  padding: 1rem 0;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.leaf-card {
  background-color: var(--color-white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.leaf-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(107, 140, 104, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.leaf-card:hover {
  border-color: var(--color-moss-green);
  box-shadow: 0 12px 32px rgba(107, 140, 104, 0.15);
  transform: translateY(-2px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: linear-gradient(135deg, var(--color-white) 0%, rgba(232, 238, 245, 0.5) 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid var(--color-clay-beige);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 12px 36px rgba(107, 140, 104, 0.15);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-body {
  padding: 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-moss-green);
  margin-bottom: 0.5rem;
}

.product-label {
  display: inline-block;
  background-color: var(--color-sky-mist);
  color: var(--color-moss-green);
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.product-field {
  margin-bottom: 1rem;
}

.product-field-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-muted-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
  display: block;
}

.product-field-value {
  color: var(--color-graphite-grey);
  font-size: 0.95rem;
}

.product-description {
  color: var(--color-graphite-grey);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-link {
  align-self: flex-start;
  color: var(--color-moss-green);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.product-link:hover {
  border-bottom-color: var(--color-moss-green);
  color: var(--color-muted-teal);
}

.cta-button {
  display: inline-block;
  background-color: var(--color-moss-green);
  color: var(--color-white);
  padding: 0.9rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--color-moss-green);
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: var(--color-muted-teal);
  border-color: var(--color-muted-teal);
}

.cta-secondary {
  background-color: transparent;
  color: var(--color-moss-green);
}

.cta-secondary:hover {
  background-color: var(--color-clay-beige);
  color: var(--color-graphite-grey);
}

form {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-moss-green);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-clay-beige);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--color-off-white);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-moss-green);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(107, 140, 104, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1.5rem 0;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-moss-green);
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--color-graphite-grey);
  line-height: 1.5;
  cursor: pointer;
  font-weight: normal;
  margin: 0;
}

.checkbox-label a {
  color: var(--color-moss-green);
  text-decoration: none;
  border-bottom: 1px solid var(--color-moss-green);
}

.checkbox-label a:hover {
  color: var(--color-muted-teal);
  border-bottom-color: var(--color-muted-teal);
}

footer {
  background-color: var(--color-graphite-grey);
  color: var(--color-white);
  padding: 3rem 1rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--color-clay-beige);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: var(--color-soft-apricot);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--color-clay-beige);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-box {
  background-color: var(--color-sky-mist);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--color-moss-green);
}

.info-box h4 {
  margin-top: 0;
}

.highlight-text {
  color: var(--color-moss-green);
  font-weight: 600;
}

.muted-text {
  color: var(--color-graphite-grey);
  opacity: 0.85;
}

.alert {
  background-color: var(--color-soft-apricot);
  border-left: 4px solid var(--color-clay-beige);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.alert h4 {
  margin-top: 0;
}

.thank-you-box {
  text-align: center;
  background: linear-gradient(135deg, var(--color-sky-mist) 0%, var(--color-off-white) 100%);
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 2px solid var(--color-moss-green);
}

.thank-you-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.thank-you-box p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.back-link {
  display: inline-block;
  color: var(--color-moss-green);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.back-link:hover {
  border-bottom-color: var(--color-moss-green);
  color: var(--color-muted-teal);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-graphite-grey);
  color: var(--color-white);
  padding: 1.5rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-height: 200px;
  overflow-y: auto;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.cookie-link {
  color: var(--color-clay-beige);
  text-decoration: none;
  border-bottom: 1px solid var(--color-clay-beige);
}

.cookie-link:hover {
  color: var(--color-soft-apricot);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-button {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.cookie-accept {
  background-color: var(--color-moss-green);
  color: var(--color-white);
}

.cookie-accept:hover {
  background-color: var(--color-muted-teal);
}

.cookie-decline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .navbar-nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-row,
  .section-row:nth-child(even),
  .section-row.reversed {
    direction: ltr;
  }

  .section-row > * {
    direction: ltr;
  }

  .hero {
    min-height: 350px;
  }

  .hero-content {
    padding: 2rem 1rem;
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-button {
    width: 100%;
  }

  body {
    padding-top: 60px;
  }

  section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.75rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .navbar-nav {
    gap: 0.8rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  .hero-content h1 {
    font-size: 1.4rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  form {
    padding: 1.5rem;
  }

  .leaf-card {
    padding: 1.5rem;
  }

  footer {
    padding: 2rem 1rem 1.5rem;
  }

  section {
    padding: 1.5rem 1rem;
  }
}
