/*
Theme Name: Olya Garden
Theme URI: https://olyagarden.com
Author: Olya Garden
Description: Тепла тема-каталог ручних садових фігурок. Кастомна тема під макет olya_garden_mockup_ua.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olya-garden
*/
:root {
  --cream: #F7F1E6;
  --warm: #FFF8ED;
  --paper: #FFFDF7;
  --green: #315B3A;
  --green-2: #5E7F4F;
  --sage: #DDE8D4;
  --sage-2: #EFF6EA;
  --clay: #C7794B;
  --terra: #E2A067;
  --brown: #594433;
  --muted: #8B7664;
  --line: #E7D9C7;
  --shadow: 0 24px 80px rgba(76, 52, 31, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(221,232,212,.82), transparent 24rem),
    radial-gradient(circle at 96% 2%, rgba(226,160,103,.28), transparent 28rem),
    var(--cream);
  color: var(--brown);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }

.page { overflow: hidden; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 18px;
  z-index: 20;
  margin-top: 18px;
}

.nav-inner {
  height: 74px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,248,237,.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 46px rgba(76,52,31,.08);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 850;
  font-size: 22px;
  color: var(--green);
  letter-spacing: -.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage);
  color: var(--green);
}

.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 650;
  font-size: 15px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 780;
  box-shadow: 0 18px 38px rgba(49,91,58,.22);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.button.secondary {
  background: var(--clay);
  box-shadow: 0 18px 38px rgba(199,121,75,.2);
}

.button.ghost {
  background: var(--warm);
  color: var(--green);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  padding: 108px 0 92px;
  min-height: 790px;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  background: var(--sage-2);
  color: var(--green);
  border: 1px solid #d9e5cf;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 26px;
}

h1 {
  margin: 0;
  font-size: clamp(50px, 6vw, 88px);
  line-height: .94;
  color: var(--green);
  letter-spacing: -.065em;
}

.hero p {
  width: min(620px, 100%);
  margin: 28px 0 0;
  font-size: 22px;
  line-height: 1.55;
  color: var(--brown);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.tiny-note {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.tiny-note strong {
  color: var(--green);
  display: block;
  font-size: 20px;
}

.hero-visual {
  position: relative;
  min-height: 575px;
}

.garden-card {
  position: absolute;
  inset: 0 0 0 30px;
  background:
    linear-gradient(180deg, rgba(255,253,247,.88), rgba(248,232,207,.95)),
    var(--warm);
  border: 1px solid var(--line);
  border-radius: 54px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sun {
  position: absolute;
  right: 68px;
  top: 58px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFD79F, #E5A968);
  opacity: .78;
}

.hill {
  position: absolute;
  left: -35px;
  right: -35px;
  bottom: -85px;
  height: 260px;
  border-radius: 50% 50% 0 0;
  background: var(--sage);
}

.grass {
  position: absolute;
  bottom: 88px;
  left: 48px;
  right: 48px;
  display: flex;
  justify-content: space-between;
  opacity: .55;
}

.grass i {
  width: 8px;
  height: 64px;
  border-radius: 999px 999px 0 0;
  background: var(--green-2);
  transform-origin: bottom;
}

.grass i:nth-child(2n) { height: 42px; transform: rotate(12deg); }
.grass i:nth-child(3n) { height: 78px; transform: rotate(-9deg); }

.edge {
  position: absolute;
  left: 82px;
  right: 48px;
  bottom: 104px;
  height: 82px;
  border-radius: 22px;
  background: linear-gradient(90deg,#C8A27B,#E4C7A1);
  box-shadow: 0 18px 30px rgba(84,62,42,.16);
}

.mascot {
  position: absolute;
  right: 36px;
  bottom: 78px;
  width: 360px;
  height: 530px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 24px rgba(60,44,28,.18));
  transform-origin: 50% 88%;
}

.hint-bubble {
  position: absolute;
  left: 42px;
  top: 48px;
  width: 230px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px 26px 26px 8px;
  box-shadow: 0 18px 44px rgba(76,52,31,.09);
  font-size: 15px;
  line-height: 1.35;
  color: var(--brown);
}

section { padding: 80px 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
}

.section-head p {
  max-width: 510px;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
}

.categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cat {
  min-height: 155px;
  padding: 20px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 46px rgba(76,52,31,.06);
}

.cat:nth-child(2n) { background: var(--sage-2); }

.cat-shape {
  width: 76px;
  height: 76px;
  border-radius: 46% 54% 52% 48%;
  background: rgba(199,121,75,.25);
  margin-bottom: 22px;
}

.cat:nth-child(2n) .cat-shape { background: rgba(49,91,58,.18); }

.cat b {
  display: block;
  color: var(--green);
  font-size: 21px;
  letter-spacing: -.025em;
}

.cat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 16px;
  box-shadow: 0 18px 54px rgba(76,52,31,.08);
}

.product-art {
  height: 235px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 38%, rgba(226,160,103,.42), transparent 30%),
    linear-gradient(180deg, var(--sage-2), #FAE9D2);
  position: relative;
  overflow: hidden;
}

.animal {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 120px;
  height: 96px;
  transform: translate(-50%,-50%);
  border-radius: 52% 48% 42% 58%;
  background: #C99B6B;
  box-shadow: inset -12px -16px 0 rgba(93,58,36,.13);
}

.animal::before,
.animal::after {
  content: "";
  position: absolute;
  top: -35px;
  width: 30px;
  height: 56px;
  border-radius: 50%;
  background: #C99B6B;
}

.animal::before { left: 20px; transform: rotate(-22deg); }
.animal::after { right: 20px; transform: rotate(22deg); }

.product h3 {
  margin: 18px 4px 8px;
  font-size: 22px;
  line-height: 1.1;
  color: var(--green);
  letter-spacing: -.03em;
}

.product p {
  margin: 0 4px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.mini-button {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
}

.personal-cta {
  margin-top: 32px;
  padding: 34px 38px;
  border-radius: 34px;
  background: var(--warm);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 18px 54px rgba(76,52,31,.07);
}

.personal-cta b {
  display: block;
  color: var(--green);
  font-size: 26px;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}

.personal-cta p {
  margin: 0;
  color: var(--brown);
  font-size: 18px;
  line-height: 1.45;
}

.process {
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 54px;
  padding: 56px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  box-shadow: var(--shadow);
}

.process h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -.055em;
  color: var(--green);
}

.process p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--brown);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.step {
  min-height: 150px;
  border-radius: 30px;
  padding: 22px;
  background: var(--sage-2);
  border: 1px solid #DDE8D4;
}

.step:nth-child(2n) {
  background: #FAE7D0;
  border-color: #EBCDAC;
}

.step small { color: var(--clay); font-weight: 850; }
.step b { display: block; margin-top: 18px; font-size: 24px; color: var(--green); }

.about-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}

.about-copy h2 {
  margin: 0;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.055em;
  color: var(--green);
}

.about-copy p {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.55;
}

.pose-card {
  min-height: 500px;
  border-radius: 54px;
  background: linear-gradient(180deg,#FFF8ED,#F2DDC1);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pose-card img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 22px rgba(62,42,26,.16));
}

.cta {
  margin: 70px 0 90px;
  min-height: 240px;
  border-radius: 54px;
  background:
    radial-gradient(circle at 90% 0%, rgba(226,160,103,.4), transparent 26rem),
    var(--green);
  color: white;
  padding: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
}

.cta h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -.05em;
}

.cta p {
  max-width: 620px;
  opacity: .88;
  line-height: 1.5;
  font-size: 18px;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero,
  .process,
  .about-section { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero-visual { min-height: 520px; }
  .garden-card { left: 0; }
  .mascot { width: 300px; right: 18px; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .personal-cta { display: block; }
  .personal-cta .button { margin-top: 20px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 420px); }
  .nav { top: 10px; margin-top: 10px; }
  .nav-inner { height: 62px; padding: 0 12px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 36px; height: 36px; }
  .nav .button { min-height: 42px; padding: 0 14px; font-size: 14px; }
  h1 { font-size: 48px; }
  .hero p { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .tiny-note { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 450px; }
  .edge { left: 24px; right: 24px; bottom: 78px; }
  .mascot { width: 270px; right: 10px; bottom: 54px; }
  .hint-bubble { width: 178px; font-size: 14px; }
  section { padding: 54px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .categories { gap: 12px; }
  .cat { min-height: 124px; padding: 16px; }
  .cat-shape { width: 54px; height: 54px; margin-bottom: 16px; }
  .products { grid-template-columns: 1fr; }
  .process { padding: 28px; border-radius: 38px; }
  .process h2,
  .about-copy h2 { font-size: 40px; }
  .steps { grid-template-columns: 1fr; }
  .cta { display: block; padding: 34px 26px; border-radius: 38px; }
  .cta h2 { font-size: 38px; }
  .cta .button { margin-top: 20px; width: 100%; }
}

/* --- WordPress integration --- */
.admin-bar .nav { top: 50px; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.product-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pose-card { display: grid; align-items: end; }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.site-footer { padding: 26px 0 40px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nav-links a:hover, .site-footer a:hover { color: var(--clay); }
.mini-button:hover { background: var(--green); color: #fff; }
