:root {
  --leaf-900: #102d1b;
  --leaf-800: #183f25;
  --leaf-700: #275f37;
  --leaf-600: #3c7c47;
  --leaf-500: #5e9d55;
  --grass-300: #bfdc84;
  --grass-200: #dcebb2;
  --grass-100: #edf6d7;
  --paper: #fffdf4;
  --cream: #fbf1d8;
  --blossom: #f7bfd2;
  --apple: #b8322b;
  --peach: #e88d4f;
  --pear: #d4b64d;
  --plum: #5c3b78;
  --ink: #18331f;
  --muted: rgba(24, 51, 31, 0.68);
  --shadow-soft: 0 22px 60px rgba(19, 57, 28, 0.22);
  --shadow-map: 0 30px 90px rgba(13, 43, 22, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(247, 191, 210, 0.62) 0 2.1rem, transparent 2.2rem),
    radial-gradient(circle at 91% 18%, rgba(232, 141, 79, 0.42) 0 2.5rem, transparent 2.6rem),
    radial-gradient(circle at 78% 88%, rgba(180, 50, 43, 0.24) 0 2.8rem, transparent 2.9rem),
    linear-gradient(145deg, #f6fbdf 0%, #d9eba6 38%, #78ac5c 72%, #3f7c46 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.52), transparent 34%),
    repeating-linear-gradient(100deg, rgba(39, 95, 55, 0.08) 0 2px, transparent 2px 26px);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -8vw -16vh -8vw;
  height: 42vh;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(16, 45, 27, 0.34), transparent 62%),
    radial-gradient(ellipse at 80% 100%, rgba(24, 63, 37, 0.28), transparent 58%);
}

.leaf-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.leaf-field span {
  position: absolute;
  width: 74px;
  height: 38px;
  border-radius: 100% 0 100% 0;
  opacity: 0.18;
  background: linear-gradient(135deg, var(--leaf-700), var(--leaf-500));
  transform: rotate(var(--r));
}

.leaf-field span:nth-child(1) { --r: -28deg; left: 4%; top: 28%; }
.leaf-field span:nth-child(2) { --r: 44deg; left: 88%; top: 34%; width: 92px; height: 44px; }
.leaf-field span:nth-child(3) { --r: 18deg; left: 21%; top: 82%; width: 110px; height: 52px; }
.leaf-field span:nth-child(4) { --r: -58deg; left: 74%; top: 5%; width: 64px; height: 32px; }
.leaf-field span:nth-child(5) { --r: 66deg; left: 47%; top: 14%; width: 82px; height: 40px; }
.leaf-field span:nth-child(6) { --r: -14deg; left: 92%; top: 80%; width: 118px; height: 56px; }

.page-shell {
  position: relative;
  width: min(1540px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 30px 0 48px;
}

.hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  min-height: 162px;
  padding: 10px 6px 22px;
}

h1 {
  display: flex;
  align-items: baseline;
  gap: 0.1375em;
  flex-wrap: wrap;
  margin: 0;
  color: var(--leaf-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.4rem, 11vw, 10.8rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow:
    0 4px 0 rgba(255, 253, 244, 0.94),
    0 14px 36px rgba(16, 45, 27, 0.26);
}

h1 span {
  font: inherit;
  font-size: 0.18em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(255, 253, 244, 0.94),
    0 10px 24px rgba(16, 45, 27, 0.18);
}

.fruit-bloom {
  position: relative;
  flex: 0 0 220px;
  height: 132px;
}

.fruit-bloom::before,
.fruit-bloom::after,
.fruit-bloom i {
  content: "";
  position: absolute;
  display: block;
  border-radius: 50%;
  box-shadow: inset -10px -12px 20px rgba(89, 39, 19, 0.14);
}

.fruit-bloom::before {
  right: 94px;
  bottom: 12px;
  width: 74px;
  height: 74px;
  background: var(--apple);
}

.fruit-bloom::after {
  right: 32px;
  bottom: 30px;
  width: 56px;
  height: 56px;
  background: var(--pear);
}

.fruit-bloom i:nth-child(1) {
  right: 2px;
  top: 6px;
  width: 38px;
  height: 38px;
  background: var(--blossom);
}

.fruit-bloom i:nth-child(2) {
  right: 146px;
  top: 18px;
  width: 42px;
  height: 42px;
  background: var(--peach);
}

.fruit-bloom i:nth-child(3) {
  right: 74px;
  top: 4px;
  width: 30px;
  height: 30px;
  background: var(--plum);
}

.orchard {
  position: relative;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border: 10px solid rgba(255, 253, 244, 0.94);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 244, 0.96), rgba(243, 249, 221, 0.96));
  box-shadow: var(--shadow-map);
}

.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 20%),
    radial-gradient(circle at 50% 50%, transparent 66%, rgba(16, 45, 27, 0.2));
  mix-blend-mode: multiply;
}

.map-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(47, 107, 63, 0.22);
  border-radius: 4px;
}

.map-label {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  background: rgba(24, 63, 37, 0.78);
  box-shadow: 0 10px 24px rgba(16, 45, 27, 0.18);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scheme {
  display: block;
  width: 100%;
  height: auto;
  filter: contrast(1.04) saturate(0.94);
}

.markers {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 253, 244, 0.92);
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.72) 0 9%, transparent 10%),
    linear-gradient(145deg, var(--leaf-500), var(--leaf-800));
  box-shadow:
    0 8px 18px rgba(16, 45, 27, 0.22),
    0 0 0 5px rgba(255, 253, 244, 0.34);
  font-weight: 900;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.marker::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.marker span {
  position: relative;
  z-index: 1;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(16, 45, 27, 0.42);
}

.marker:hover,
.marker:focus-visible {
  transform: translate(-50%, -50%) scale(1.12);
  filter: saturate(1.08);
  outline: none;
  box-shadow:
    0 12px 24px rgba(16, 45, 27, 0.28),
    0 0 0 6px rgba(255, 253, 244, 0.52),
    0 0 0 11px rgba(94, 157, 85, 0.28);
}

.marker-jabuka {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.72) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 58%, #df4a3f 0 62%, #9f251e 100%);
}

.marker-green-apple {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.76) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 58%, #95c94b 0 62%, #4f8d34 100%);
}

.marker-jabuka::before,
.marker-kruska::before,
.marker-sljiva::before,
.marker-breskva::before,
.marker-nektarinka::before,
.marker-kajsija::before {
  top: -8px;
  right: 7px;
  width: 16px;
  height: 9px;
  border-radius: 100% 0 100% 0;
  background: #2f7b3f;
  transform: rotate(-25deg);
}

.marker-kruska {
  border-radius: 58% 58% 48% 48%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.72) 0 8%, transparent 9%),
    radial-gradient(circle at 50% 36%, #eadf74 0 34%, #cda94a 35% 100%);
}

.marker-bosc {
  width: 42px;
  height: 54px;
  border-radius: 58% 58% 48% 48% / 42% 42% 62% 62%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 244, 194, 0.68) 0 8%, transparent 9%),
    radial-gradient(circle at 50% 34%, #c89545 0 30%, #9b6530 31% 67%, #6f431f 100%);
}

.marker-sljiva {
  width: 42px;
  height: 50px;
  border-radius: 54% 46% 56% 44%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.58) 0 8%, transparent 9%),
    linear-gradient(145deg, #7a5198, #4b2b67);
}

.marker-japanese-plum {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.62) 0 8%, transparent 9%),
    radial-gradient(circle at 48% 54%, #914da3 0 62%, #4b2b67 100%);
}

.marker-breskva,
.marker-kajsija {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.7) 0 8%, transparent 9%),
    linear-gradient(145deg, #f0b15e 0 48%, #df7447 49% 100%);
}

.marker-breskva::after,
.marker-kajsija::after,
.marker-nektarinka::after {
  padding-top: 7px;
}

.marker-nektarinka {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.7) 0 8%, transparent 9%),
    linear-gradient(145deg, #f1a44d 0 45%, #d74231 46% 100%);
}

.marker-tresnja {
  width: 50px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.marker-tresnja::before {
  left: 7px;
  bottom: 2px;
  width: 21px;
  height: 21px;
  border: 2px solid rgba(255, 253, 244, 0.92);
  border-radius: 50%;
  background: #b8322b;
  box-shadow:
    18px 0 0 #9f251e,
    18px 0 0 2px rgba(255, 253, 244, 0.92),
    0 8px 16px rgba(16, 45, 27, 0.22);
}

.marker-tresnja span {
  transform: translateY(3px);
}

.marker::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: 210px;
  padding: 7px 10px;
  border-radius: 7px;
  color: #fff;
  background: rgba(16, 45, 27, 0.96);
  box-shadow: 0 12px 22px rgba(16, 45, 27, 0.22);
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.marker:hover::after,
.marker:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.season-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  display: grid;
  gap: 3px;
  min-width: 144px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 253, 244, 0.36);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(247, 191, 210, 0.45) 0 14px, transparent 15px),
    linear-gradient(145deg, var(--leaf-700), var(--leaf-900));
  box-shadow: 0 18px 38px rgba(16, 45, 27, 0.34);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.extra-photos-button {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 5;
  display: grid;
  gap: 3px;
  min-width: 144px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 253, 244, 0.36);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(197, 60, 52, 0.1) 0 14px, transparent 15px),
    linear-gradient(145deg, var(--leaf-700), var(--leaf-900));
  box-shadow: 0 18px 38px rgba(16, 45, 27, 0.34);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.season-button:hover,
.season-button:focus-visible,
.extra-photos-button:hover,
.extra-photos-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 22px 44px rgba(16, 45, 27, 0.42);
}

.season-button span,
.extra-photos-button span {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.season-button strong,
.extra-photos-button strong {
  font-size: 1.12rem;
  line-height: 1.1;
}

.modal {
  width: min(940px, calc(100vw - 24px));
  max-height: min(88vh, 920px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
}

.modal::backdrop {
  background:
    radial-gradient(circle at 30% 20%, rgba(94, 157, 85, 0.24), transparent 35%),
    rgba(16, 45, 27, 0.68);
  backdrop-filter: blur(5px);
}

.modal-shell {
  position: relative;
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(47, 107, 63, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 98% 0%, rgba(247, 191, 210, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 244, 0.99), rgba(246, 250, 228, 0.99));
  box-shadow: var(--shadow-soft);
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--leaf-900);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.modal-kicker {
  margin: 0 0 8px;
  color: var(--leaf-700);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  max-width: calc(100% - 54px);
  margin: 0 0 18px;
  color: var(--leaf-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.tab {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(47, 107, 63, 0.28);
  border-radius: 999px;
  color: var(--leaf-900);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  cursor: pointer;
}

.tab:hover,
.tab:focus-visible {
  outline: none;
  border-color: var(--leaf-700);
}

.tab.active {
  color: #fff;
  background: linear-gradient(145deg, var(--leaf-700), var(--leaf-900));
}

.modal-content {
  color: rgba(24, 51, 31, 0.92);
  font-size: 1rem;
  line-height: 1.62;
}

.modal-content h3 {
  margin: 26px 0 8px;
  color: var(--leaf-900);
  font-size: 1.28rem;
}

.modal-content p {
  margin: 0 0 12px;
}

.modal-content a {
  color: #8f2e26;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.modal-content ul {
  margin: 0 0 16px;
  padding-left: 1.2rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.photo-card {
  overflow: hidden;
  border: 1px solid rgba(47, 107, 63, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 50, 26, 0.13);
}

.photo-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--grass-200);
}

.photo-card figcaption {
  padding: 10px 12px 12px;
  font-weight: 800;
}

.photo-lightbox {
  width: min(1120px, calc(100vw - 24px));
  max-height: min(92vh, 980px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.photo-lightbox::backdrop {
  background: rgba(16, 45, 27, 0.78);
  backdrop-filter: blur(5px);
}

.photo-lightbox figure {
  position: relative;
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 253, 244, 0.98);
  box-shadow: var(--shadow-soft);
}

.photo-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 96px);
  object-fit: contain;
  border-radius: 6px;
  background: var(--grass-200);
}

.photo-lightbox figcaption {
  padding-top: 12px;
  color: var(--leaf-900);
  font-weight: 900;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 64px;
  border: 1px solid rgba(255, 253, 244, 0.44);
  border-radius: 8px;
  color: #fff;
  background: rgba(16, 45, 27, 0.78);
  box-shadow: 0 14px 30px rgba(16, 45, 27, 0.28);
  font-size: 3rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  outline: none;
  background: rgba(39, 95, 55, 0.92);
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.lightbox-nav[hidden] {
  display: none;
}

.season-tree {
  padding: 16px 0;
  border-top: 1px solid rgba(47, 107, 63, 0.18);
}

.season-tree h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .fruit-bloom {
    flex-basis: 150px;
    height: 106px;
  }

  .map-label {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100vw - 20px);
    padding-top: 18px;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .fruit-bloom {
    display: none;
  }

  .map-frame {
    border-width: 5px;
  }

  .marker {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }

  .marker-sljiva {
    width: 32px;
    height: 38px;
  }

  .marker-bosc {
    width: 32px;
    height: 42px;
  }

  .marker-japanese-plum {
    width: 34px;
    height: 34px;
  }

  .marker-tresnja {
    width: 40px;
    height: 34px;
  }

  .season-button {
    right: 12px;
    bottom: 12px;
    min-width: 118px;
    padding: 12px 14px;
  }

  .extra-photos-button {
    left: 12px;
    bottom: 12px;
    min-width: 118px;
    padding: 12px 14px;
  }

  .modal-shell {
    padding: 22px 16px;
  }

  .lightbox-nav {
    width: 40px;
    height: 54px;
    font-size: 2.5rem;
  }
}
