/* ===================================
   KYTKA DO ŠKOLY — V4 "Pastel / Airy"
   =================================== */

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

:root {
  --color-primary: #6DBE89;
  --color-primary-dark: #55A070;
  --color-primary-light: #E8F8EE;
  --color-accent: #FF9FB0;
  --color-text: #2D4A35;
  --color-text-muted: #7A9A82;
  --color-bg: #FEFEFE;
  --color-bg-alt: #F5FBF7;
  --color-bg-dark: #2D4A35;
  --color-border: #D8EFE0;
  --color-sidebar: #F5FBF7;
  --color-sidebar-border: #D8EFE0;

  --sidebar-width: 260px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 4px 20px rgba(109, 190, 137, 0.08);
  --shadow-card: 0 2px 16px rgba(45, 74, 53, 0.06);
  --shadow-hover: 0 8px 32px rgba(109, 190, 137, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-width: 1440px;
  display: flex;
}

/* ===== SIDEBAR ===== */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--color-sidebar);
  border-right: 1.5px solid var(--color-sidebar-border);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.25rem;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.sidebar-brand .brand-emoji {
  font-size: 1.4rem;
}

.sidebar-tagline {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 400;
  padding: 0 0.75rem 1.5rem;
  letter-spacing: 0.01em;
}

.sidebar-divider {
  height: 1.5px;
  background: var(--color-sidebar-border);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.sidebar-nav a .nav-icon {
  font-size: 1.05rem;
  width: 1.3rem;
  text-align: center;
}

.sidebar-cta {
  margin-top: 2rem;
}

.sidebar-cta a {
  display: block;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(109, 190, 137, 0.35);
}

.sidebar-cta a:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(109, 190, 137, 0.45);
}

.sidebar-back {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--color-sidebar-border);
}

.sidebar-back a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  transition: color 0.2s;
}

.sidebar-back a:hover {
  color: var(--color-primary-dark);
}

/* ===== MAIN CONTENT ===== */

.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ===== HERO ===== */

.hero {
  background: linear-gradient(160deg, var(--color-bg-alt) 0%, #fff 60%);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(109,190,137,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 15%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,159,176,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  color: var(--color-primary);
  display: block;
}

.hero-perex {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(109, 190, 137, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(109, 190, 137, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-text);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--color-border);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
}

.hero-visual {
  position: relative;
}

.hero-card-float {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-hover);
  border: 1.5px solid var(--color-border);
  position: relative;
}

.hero-plant-preview {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #c8f0d4 0%, #a8e6be 50%, #d4f5e0 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 1rem;
}

.hero-card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-card-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.hero-card-info p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.badge-available {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.hero-card-bubble {
  position: absolute;
  top: -14px;
  right: 1.5rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* ===== STATS BAR ===== */

.stats-bar {
  background: var(--color-bg-alt);
  border-top: 1.5px solid var(--color-border);
  border-bottom: 1.5px solid var(--color-border);
  padding: 1.25rem 0;
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 1.5px;
  background: var(--color-border);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* ===== SECTIONS COMMON ===== */

section {
  padding: 5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.65;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ===== HOW IT WORKS ===== */

.how-it-works {
  background: var(--color-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step-card.step-1 { background: #E8F8EE; }
.step-card.step-2 { background: #FFF8E1; }
.step-card.step-3 { background: #E3F4FF; }

.step-number-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.step-1 .step-number-circle { background: #6DBE89; color: #fff; }
.step-2 .step-number-circle { background: #F6C94E; color: #fff; }
.step-3 .step-number-circle { background: #60AFEC; color: #fff; }

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.step-emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* ===== PLANT CARDS ===== */

.plants-section {
  background: var(--color-bg-alt);
}

.plants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.plant-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.plant-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

.plant-image {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.plant-card:nth-child(1) .plant-image { background: linear-gradient(135deg, #c8f0d4, #a8e6be); }
.plant-card:nth-child(2) .plant-image { background: linear-gradient(135deg, #d4f0e8, #b8e6d4); }
.plant-card:nth-child(3) .plant-image { background: linear-gradient(135deg, #e8f4c8, #d4ecb0); }
.plant-card:nth-child(4) .plant-image { background: linear-gradient(135deg, #ffecd4, #ffd8b0); }

.plant-info {
  padding: 1.1rem 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plant-school {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plant-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.plant-latin {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.plant-difficulty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.difficulty-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.difficulty-dots {
  display: flex;
  gap: 3px;
}

.difficulty-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-border);
}

.difficulty-dots span.active {
  background: var(--color-primary);
}

.plant-adopt-btn {
  display: block;
  width: 100%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  text-align: center;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.plant-adopt-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ===== SCHOOLS ===== */

.schools-section {
  background: var(--color-bg);
}

.schools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.school-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  text-align: center;
}

.school-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-light);
}

.school-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}

.school-card:nth-child(1) .school-avatar { background: #E8F8EE; }
.school-card:nth-child(2) .school-avatar { background: #FFF0F3; }
.school-card:nth-child(3) .school-avatar { background: #EEF4FF; }

.school-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.school-full {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.school-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.school-stat {
  text-align: center;
}

.school-stat-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}

.school-stat-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ===== CTA BANNER ===== */

.cta-banner {
  background: linear-gradient(135deg, #E8F8EE 0%, #d4f5e4 50%, #c8f0dc 100%);
  border-top: 1.5px solid var(--color-border);
  border-bottom: 1.5px solid var(--color-border);
  padding: 5rem 0;
}

.cta-banner-inner {
  text-align: center;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-banner p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.cta-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 0.75rem;
}

.cta-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-left: -8px;
}

.cta-avatar:first-child { margin-left: 0; }

.cta-avatar:nth-child(1) { background: #c8f0d4; }
.cta-avatar:nth-child(2) { background: #ffd4dc; }
.cta-avatar:nth-child(3) { background: #c8e4ff; }
.cta-avatar:nth-child(4) { background: #fff0c8; }
.cta-avatar:nth-child(5) { background: #e4c8ff; }

.cta-join-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

/* ===== FOOTER ===== */

footer {
  background: var(--color-bg-alt);
  border-top: 1.5px solid var(--color-border);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 220px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--color-primary-dark);
}

.footer-bottom {
  border-top: 1.5px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.footer-heart {
  color: var(--color-accent);
}
