/* Vrtnarstvo Breskvar — modern minimal sales landing */

:root {
  --yellow: #f0d000;
  --yellow-deep: #d4b800;
  --green: #1a4a2e;
  --green-deep: #0e2a1a;
  --green-mid: #2d6b45;
  --ink: #142018;
  --ink-soft: #3a4f42;
  --paper: #f6f7f2;
  --paper-warm: #eef1e6;
  --white: #ffffff;
  --line: rgba(26, 74, 46, 0.14);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4rem;
  --shadow: 0 18px 48px rgba(14, 42, 26, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--yellow);
  color: var(--green-deep);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--green-deep);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--yellow);
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 2.25rem;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--green-mid);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: var(--yellow);
  color: var(--green-deep) !important;
  font-weight: 700 !important;
  border-radius: 999px;
}

.nav-cta iconify-icon {
  font-size: 1.05rem;
}

iconify-icon {
  display: inline-block;
  vertical-align: -0.15em;
  width: 1.1em;
  height: 1.1em;
}

.btn iconify-icon {
  font-size: 1.05em;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--yellow-deep);
  color: var(--green-deep) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--green);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--green-deep);
}

.btn-primary:hover {
  background: var(--yellow-deep);
  color: var(--green-deep);
}

.btn-secondary {
  background: var(--green);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--green-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-ghost:hover {
  background: var(--green);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}

.text-link:hover {
  color: var(--green-deep);
  border-color: var(--yellow-deep);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding-bottom: 3.25rem;
  box-sizing: border-box;
  color: var(--white);
  overflow: clip;
  text-align: left;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 12s var(--ease) both;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 42, 26, 0.22) 0%, rgba(14, 42, 26, 0.48) 45%, rgba(14, 42, 26, 0.72) 100%),
    linear-gradient(90deg, rgba(14, 42, 26, 0.4) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 5.5rem 0 3rem;
  max-width: 40rem;
  margin-left: max(calc((100% - min(1120px, calc(100% - 2.5rem))) / 2), 1.25rem);
  margin-right: auto;
  width: min(1120px, calc(100% - 2.5rem));
}

.hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--yellow);
  text-wrap: balance;
}

.hero-claim {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}

.signal-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0;
  padding: 0.85rem max(1.25rem, calc((100% - 1120px) / 2));
  background: var(--yellow);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.signal-band span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-inline: 0.9rem;
}

.signal-band span + span {
  border-left: 2px solid rgba(14, 42, 26, 0.2);
}

.signal-band iconify-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.offer .section-head h2::after,
.brands .section-head h2::after,
.visit h2::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 4px;
  margin-top: 0.85rem;
  background: var(--yellow);
}

/* ——— Sections ——— */

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-head h2,
.offer h3,
.advice h2,
.brands h2,
.visit h2,
.visit h3,
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--green);
}

.section-head h2,
.advice h2,
.brands h2,
.visit h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Offer */

.offer {
  padding: 5rem 0 4.5rem;
  background: var(--paper);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.offer-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.offer-tile-media {
  margin: 0;
  width: 100%;
  max-width: 9.5rem;
  aspect-ratio: 1;
  margin: 1.15rem 1.15rem 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper-warm);
}

.offer-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.offer-tile:hover .offer-tile-media img {
  transform: scale(1.04);
}

.offer-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.15rem 1.25rem;
  flex: 1;
}

.offer-tile-body h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 1.2rem;
}

.offer-tile-body h3 iconify-icon {
  color: var(--green-mid);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.offer-tile-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
  flex: 1;
}

.offer-tile-body .btn {
  align-self: flex-start;
  margin-top: 0.55rem;
}

.offer .btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
}

.offer .btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--line);
}

.offer .btn-ghost:hover {
  border-color: var(--green);
  background: var(--paper-warm);
  color: var(--green-deep);
}

/* Advice */

.advice {
  padding: 5rem max(1.25rem, calc((100% - 1120px) / 2));
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.9);
}

.advice .container {
  width: min(1120px, 100%);
}

.advice h2 {
  color: var(--yellow);
}

.advice-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.advice-copy p {
  margin: 0 0 1.25rem;
  max-width: 42ch;
}

.advice-list {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.advice-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(240, 208, 0, 0.22);
}

.advice-list li:last-child {
  border-bottom: 1px solid rgba(240, 208, 0, 0.22);
}

.advice-list li iconify-icon {
  margin-top: 0.15rem;
  color: var(--yellow);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.advice .btn-secondary {
  background: var(--yellow);
  color: var(--green-deep);
}

.advice .btn-secondary:hover {
  background: var(--yellow-deep);
  color: var(--green-deep);
}

.advice-panel {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(240, 208, 0, 0.35);
  border-radius: 2px;
}

.advice-panel-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--yellow);
}

.advice-phone,
.advice-mail {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.advice-phone iconify-icon,
.advice-mail iconify-icon {
  color: var(--yellow);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.advice-phone:hover,
.advice-mail:hover {
  color: var(--yellow);
}

.advice-mail {
  margin-top: 0.85rem;
  font-size: 1.05rem;
}

/* Brands */

.brands {
  padding: 4.5rem max(1.25rem, calc((100% - 1120px) / 2));
  background: var(--paper-warm);
}

.brands .container {
  width: min(1120px, 100%);
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-list li {
  padding: 0.7rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}

/* Visit */

.visit {
  padding: 5rem 0 5.5rem;
  background: var(--paper);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.visit-copy > p:not(.visit-address) {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.visit-address {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.visit-address iconify-icon {
  margin-top: 0.2rem;
  color: var(--green);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hours {
  margin: 0 0 1.75rem;
  padding: 0;
}

.hours > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
}

.hours > div:last-child {
  border-bottom: 1px solid var(--line);
}

.hours dt {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--green);
}

.hours dt iconify-icon {
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--green-mid);
}

.hours dd {
  margin: 0;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-form {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

.form-note {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  caret-color: var(--green-mid);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
  border-color: var(--green-mid);
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.form-status {
  margin: 0.85rem 0 0;
  font-weight: 600;
  color: var(--green);
}

.form-status.is-error {
  color: #8b2e1f;
}

/* Footer */

.site-footer {
  padding: 2.75rem 0;
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 1.75rem 2rem;
  align-items: start;
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--yellow);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.footer-list iconify-icon {
  margin-top: 0.12rem;
  color: var(--yellow);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-col-map {
  min-width: 0;
}

.footer-map {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(240, 208, 0, 0.25);
  background: #1a2e22;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.1) contrast(1.02);
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  color: var(--yellow);
  text-decoration: none;
  font-size: 1.1rem;
}

.footer-brand img {
  width: 1.85rem;
  height: auto;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--yellow);
}

.site-footer p {
  margin: 0.25rem 0;
}

.footer-meta {
  margin-top: 1rem !important;
  font-size: 0.85rem;
  max-width: 18rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ——— Motion ——— */

.reveal-hero {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  animation: rise 0.85s var(--ease) forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .reveal-hero,
  .offer-tile-media img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ——— Responsive ——— */

@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }

  .advice-grid,
  .visit-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-map {
    height: 220px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero {
    min-height: 88vh;
  }

  .offer,
  .advice,
  .visit {
    padding-block: 3.75rem;
  }
}
