:root {
  --forest-deep: #1e2a1f;
  --forest-mid: #314634;
  --moss: #7f9b6a;
  --cream: #f4efe6;
  --card: rgba(18, 24, 18, 0.8);
  --nav: rgba(10, 14, 10, 0.82);
  --border: rgba(244, 239, 230, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--cream);
  background:
    var(--background-overlay, linear-gradient(rgba(12, 19, 12, 0.6), rgba(12, 19, 12, 0.8))),
    url("../images/mushrooms-background.jpg") center center / cover no-repeat fixed,
    linear-gradient(135deg, var(--forest-deep), var(--forest-mid));
  min-height: 100vh;
}

a {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--nav);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-shell,
.hero,
.feature-grid,
.site-footer,
.content-shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: rgba(244, 239, 230, 0.14);
  color: #ffffff;
}

.hero {
  display: grid;
  align-items: start;
  padding: 4rem 0 5rem;
}

.hero-panel,
.panel,
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.hero-panel {
  max-width: 680px;
  border-radius: 24px;
  padding: 2rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(127, 155, 106, 0.2);
  color: #dbe7cf;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 0.95;
}

.hero p {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f5f1ea;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button-link {
  display: inline-block;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

.button-link.primary {
  background: var(--moss);
  color: #162014;
}

.button-link.secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-bottom: 4rem;
}

.feature-card {
  border-radius: 20px;
  padding: 1.5rem;
}

.feature-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  line-height: 1.6;
  color: #ece5da;
}

.site-footer {
  padding: 0 0 2rem;
  color: #e4ddcf;
  font-size: 0.95rem;
}

.content-shell {
  padding: 4rem 0;
}

.panel {
  border-radius: 24px;
  padding: 2rem;
}

.panel.narrow {
  max-width: 760px;
}

.panel h1 {
  margin-top: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.panel p {
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-tile {
  min-height: 220px;
  border-radius: 18px;
  border: 1px dashed rgba(244, 239, 230, 0.35);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

@media (max-width: 820px) {
  .nav-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }
}
