/* ===================================================
   MINIPIVOVAR HARVÁNEK – Shared Stylesheet
   SVETLÁ TÉMA (bledá)
   Farby: #2b542c (zelená) · #d4a017 (zlato) · #f3ecdb (krém pozadie) · #20301d (tmavý text)

   --- TMAVÁ TÉMA (záloha) ---
   Kompletná pôvodná verzia je uložená v style-dark.css.
   Kľúčové: --bg:#363632; --bg2:#2e2e2a; text=#f5f5dc (krém);
   nav.scrolled rgba(48,48,42,0.97); glass rgba(43,84,44,0.10);
   muté texty rgba(245,245,220, alfa).
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Cabin:wght@400;500;600;700&display=swap');

/* === VARIABLES === */
:root {
  --bg:        #f3ecdb;   /* warm cream page background */
  --bg2:       #ece2cc;   /* slightly deeper cream */
  --surface:   #ffffff;   /* cards */
  --ink:       #20301d;   /* primary dark text / headings */
  --green:     #2b542c;
  --green2:    #1e3d1f;
  --green3:    #162d17;
  --cream1:    #f7f3e6;   /* light text on dark/coloured fills (buttons) */
  --cream2:    #ede8c8;
  --cream3:    #e0d49a;
  --gold:      #c08d10;   /* amber accent (readable on cream) */
  --gold2:     #b07f0d;
  --gold3:     #99700b;
  --glass-bg:  rgba(255,255,255,0.72);
  --glass-bd:  rgba(43,84,44,0.16);
  --radius:    18px;
  --radius-sm: 12px;
  --transition: 0.25s ease;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Cabin', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* Noise overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

/* Ambient blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .blob { display: none; }
}

/* === NAVIGATION === */
#nav {
  position: fixed;
  top: 14px; left: 14px; right: 14px;
  z-index: 100;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
#nav.scrolled {
  background: rgba(248,243,232,0.95);
  border-color: rgba(43,84,44,0.14);
  box-shadow: 0 8px 30px rgba(43,84,44,0.10);
}
#nav.menu-open {
  background: rgba(248,243,232,0.97);
  border-color: rgba(43,84,44,0.14);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  /* Natural green logo on light background */
  filter: none;
  transition: opacity var(--transition);
}
.nav-logo:hover img {
  opacity: 0.8;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(32,48,29,0.6);
  transition: color var(--transition);
  cursor: pointer;
  letter-spacing: 0.03em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), #3a7a3c);
  color: var(--cream1) !important;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: all var(--transition) !important;
  white-space: nowrap;
  border: 1px solid rgba(212,160,23,0.3);
}
.nav-cta:hover {
  background: linear-gradient(135deg, #3a7a3c, #4a9a4e) !important;
  box-shadow: 0 0 24px rgba(43,84,44,0.45);
  transform: translateY(-1px);
  color: var(--cream1) !important;
}
.nav-mobile-btn {
  display: none;
  background: none; border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--transition);
}
.nav-mobile-btn:hover { background: rgba(212,160,23,0.1); }
.nav-mobile-menu {
  display: none;
  padding: 8px 24px 16px;
  border-top: 1px solid rgba(212,160,23,0.1);
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block;
  padding: 10px 0;
  color: rgba(32,48,29,0.8);
  font-weight: 500;
  transition: color var(--transition);
  border-bottom: 1px solid rgba(212,160,23,0.07);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover,
.nav-mobile-menu a.active { color: var(--gold); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-hero h1 {
  font-family: 'Amatic SC', cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(32,48,29,0.55);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.7;
}
.page-hero-divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), #e8c040);
  border-radius: 2px;
  margin: 18px 0;
}

/* === FOOTER === */
footer {
  border-top: 1px solid rgba(212,160,23,0.09);
  padding: 40px 0;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
.footer-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.9;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.footer-links a {
  font-size: 0.84rem;
  color: rgba(32,48,29,0.3);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(32,48,29,0.2);
  text-align: center;
}

/* === SECTION WRAPPER === */
.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-sep {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.2), transparent);
}

/* === SECTION HEADER === */
.sec-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.sec-title {
  font-family: 'Amatic SC', cursive;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 12px;
}
.sec-rule {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), #e8c040);
  border-radius: 2px;
  margin: 14px 0;
}
.sec-sub {
  color: rgba(32,48,29,0.55);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}
.sec-header-center { text-align: center; }
.sec-header-center .sec-rule { margin: 14px auto; }
.sec-header-center .sec-sub { margin: 0 auto; }

/* === GLASS CARD === */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(43,84,44,0.07);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.glass:hover {
  background: #ffffff;
  border-color: rgba(43,84,44,0.26);
  box-shadow: 0 12px 30px rgba(43,84,44,0.12);
}
.card-lift:hover {
  transform: translateY(-4px);
}

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(43,84,44,0.10);
  border: 1px solid rgba(43,84,44,0.22);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}
.badge-type {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* === BUTTONS === */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold), #e8c040);
  color: #1b1b1b;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #e8c040, #f0d060);
  box-shadow: 0 0 28px rgba(212,160,23,0.45);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid rgba(212,160,23,0.35);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-ghost:hover {
  background: rgba(212,160,23,0.08);
  border-color: var(--gold);
}

/* === ICON BOX === */
.icon-box {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(43,84,44,0.18);
  border: 1px solid rgba(212,160,23,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.icon-box-lg {
  width: 56px; height: 56px;
  border-radius: 16px;
}

/* === SHIMMER TEXT === */
.shimmer {
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 35%, var(--cream1) 55%, var(--gold) 75%, var(--green) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.18s; }
.d4 { transition-delay: 0.24s; }
.d5 { transition-delay: 0.30s; }

/* === GRID HELPERS === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* === KEYFRAMES === */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
/* Nav switches to the hamburger earlier than the rest of the layout —
   with 7 items the inline menu no longer fits below ~900px. */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-btn { display: flex; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .page-hero { padding: 130px 0 60px; }
  .nav-logo img { height: 42px; }
}
@media (max-width: 480px) {
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .reveal, .shimmer, [style*="animation"] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* === AGE GATE === */
#ageGate {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(28,40,24,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: ageFadeIn 0.4s ease both;
}
#ageGate.hide {
  animation: ageFadeOut 0.35s ease both;
  pointer-events: none;
}
.age-card {
  max-width: 440px; width: 100%;
  background: linear-gradient(160deg, #ffffff 0%, #f3ecdb 100%);
  border: 1px solid rgba(43,84,44,0.18);
  border-radius: 24px;
  padding: 48px 40px 40px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(28,40,24,0.30);
}
@media (max-width: 480px) {
  .age-card { padding: 36px 24px 32px; }
}
.age-logo {
  height: 64px; width: auto;
  object-fit: contain;
  margin: 0 auto 24px;
  filter: none;
}
.age-rule {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), #e8c040);
  border-radius: 2px;
  margin: 0 auto 20px;
}
.age-title {
  font-family: 'Amatic SC', cursive;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 14px;
}
.age-icon {
  font-size: 2.8rem;
  margin-bottom: 10px;
  display: block;
}
.age-text {
  font-size: 0.9rem;
  color: rgba(32,48,29,0.6);
  line-height: 1.65;
  margin-bottom: 28px;
}
.age-text strong {
  color: var(--gold);
  font-weight: 600;
}
.age-actions {
  display: flex; flex-direction: column; gap: 12px;
}
.age-yes {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green), #3a7a3c);
  color: var(--cream1);
  font-weight: 700; font-size: 1rem;
  border: 1px solid rgba(212,160,23,0.3);
  cursor: pointer;
  transition: all var(--transition);
}
.age-yes:hover {
  background: linear-gradient(135deg, #3a7a3c, #4a9a4e);
  box-shadow: 0 0 28px rgba(43,84,44,0.5);
  transform: translateY(-2px);
}
.age-no {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(32,48,29,0.35);
  font-size: 0.85rem;
  border: 1px solid rgba(32,48,29,0.1);
  cursor: pointer;
  transition: all var(--transition);
}
.age-no:hover {
  color: rgba(32,48,29,0.6);
  border-color: rgba(32,48,29,0.2);
}
.age-note {
  font-size: 0.72rem;
  color: rgba(32,48,29,0.22);
  margin-top: 20px;
  line-height: 1.5;
}
@keyframes ageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ageFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
