/* Zöldudvar Kertészet — ricucgroun.homes
   Leaf-green family nursery, Pécs */

@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Literata:opsz,wght@7..72,500;7..72,650;7..72,700&display=swap");

:root {
  --leaf: #2f8a45;
  --leaf-deep: #1a5c2e;
  --leaf-mid: #4aaa5c;
  --leaf-light: #a8d4a8;
  --canopy: #e8f4e6;
  --moss: #6b9b4a;
  --soil: #243528;
  --bark: #3d4f3a;
  --ink: #142018;
  --muted: #4a5c4c;
  --line: rgba(26, 92, 46, 0.15);
  --white: #ffffff;
  --cream: #f5faf3;
  --shadow: 0 20px 48px rgba(20, 32, 24, 0.12);
  --radius: 3px;
  --font-display: "Literata", "Georgia", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1140px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 50% at 10% -10%, rgba(168, 212, 168, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(107, 155, 74, 0.12), transparent 45%),
    linear-gradient(180deg, var(--cream) 0%, #eef6ec 40%, var(--canopy) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--leaf-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--leaf);
}

h1,
h2,
h3,
.logo {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.2;
  color: var(--soil);
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin: 0 0 0.45em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin: 0 0 0.5em;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 250, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  color: var(--leaf-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--leaf);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 45% 55%;
  background:
    radial-gradient(circle at 35% 30%, #7bc87a, transparent 45%),
    linear-gradient(145deg, var(--leaf-mid), var(--leaf-deep));
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bark);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--leaf-deep);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  font-size: 1.25rem;
  color: var(--soil);
  cursor: pointer;
  line-height: 1;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 32, 24, 0.45);
  z-index: 90;
}

.nav-overlay.visible {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--leaf-deep);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--leaf);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--leaf-deep);
  border-color: var(--leaf-deep);
}

.btn-ghost:hover {
  background: var(--leaf-deep);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--leaf-deep);
}

.btn-light:hover {
  background: var(--canopy);
  color: var(--leaf-deep);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroRise 1.2s ease-out both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 32, 24, 0.25) 0%, rgba(20, 32, 24, 0.55) 45%, rgba(20, 32, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(26, 92, 46, 0.35), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 36rem;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.6rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.75rem;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.82);
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.hero .btn-ghost:hover {
  background: var(--white);
  color: var(--leaf-deep);
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(47, 138, 69, 0.08), transparent 50%),
    var(--cream);
}

.page-hero .lede {
  margin-top: 0.5rem;
}

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.cat-block {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cat-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cat-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cat-block:hover img {
  transform: scale(1.04);
}

.cat-block-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.cat-block h3 {
  margin-bottom: 0.25rem;
  color: var(--leaf-deep);
}

.cat-block p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* Feature bands */
.band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.band.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.band.reverse .band-copy {
  order: 2;
}

.band-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.band-visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.band-copy .lede {
  margin-bottom: 1rem;
}

.checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--bark);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--leaf);
}

/* Soft panel */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.panel-green {
  background: linear-gradient(160deg, var(--leaf-deep), #246b38);
  color: var(--white);
  border: none;
}

.panel-green h2,
.panel-green h3 {
  color: var(--white);
}

.panel-green p,
.panel-green .lede {
  color: rgba(255, 255, 255, 0.88);
}

/* Why / perks */
.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.perk {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--leaf);
}

.perk h3 {
  font-size: 1.1rem;
  color: var(--leaf-deep);
}

.perk p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.quote {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--soil);
}

.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--leaf);
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.hours-table th {
  color: var(--muted);
  font-weight: 600;
  width: 45%;
}

/* Split CTA */
.visit-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--bark);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--leaf-light);
  border-color: var(--leaf);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-message {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--canopy);
  border-left: 3px solid var(--leaf);
  color: var(--leaf-deep);
  font-weight: 600;
}

.form-message.visible {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-details dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-top: 1.1rem;
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  margin: 0.25rem 0 0;
  color: var(--soil);
}

.contact-details a {
  text-decoration: none;
  font-weight: 600;
}

/* Legal */
.legal-content {
  max-width: 42rem;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  background: var(--soil);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--leaf-light);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Cookie banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--soil);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.15rem 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}

.cookie-banner.visible {
  display: block;
  animation: fadeUp 0.35s ease both;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
}

.cookie-inner a {
  color: var(--leaf-light);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-actions .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

/* Plant detail blocks on plants page */
.plant-stack {
  display: grid;
  gap: 3rem;
  margin-top: 2.5rem;
}

.plant-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.plant-row:nth-child(even) {
  grid-template-columns: 1.1fr 1fr;
}

.plant-row:nth-child(even) .plant-text {
  order: -1;
}

.plant-row img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Motion */
@keyframes heroRise {
  from {
    transform: scale(1.08);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .cat-grid,
  .perk-grid,
  .quote-grid {
    grid-template-columns: 1fr 1fr;
  }

  .band,
  .band.reverse,
  .plant-row,
  .plant-row:nth-child(even),
  .contact-layout,
  .visit-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .band.reverse .band-copy,
  .plant-row:nth-child(even) .plant-text {
    order: 0;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 320px);
    height: 100vh;
    background: var(--cream);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(105%);
    transition: transform 0.3s ease;
    z-index: 110;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--line);
  }

  .main-nav a {
    display: block;
    padding: 0.9rem 0;
  }

  .cat-grid,
  .perk-grid,
  .quote-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(78vh, 580px);
  }

  .footer-bottom {
    flex-direction: column;
  }
}
