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

:root {
  --red:    #CC2222;
  --blue:   #1A56B0;
  --white:  #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--blue);
  line-height: 1.7;
  font-size: 16px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--blue);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.hero-logo {
  max-width: 220px;
  width: 55%;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--red); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 5% 60px;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,86,176,.55);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 { color: var(--white); }
.hero h1 span { color: var(--white); text-decoration: underline; }
.hero .hero-sub { color: var(--white); }
.hero .hero-badge { background: var(--red); }

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue);
  margin-bottom: 1rem;
}

.hero h1 span { color: var(--red); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--blue);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
  cursor: pointer;
  border: none;
}

.btn:hover { opacity: .85; }

.btn-primary { background: var(--red); color: var(--white); }
.btn-outline  { background: var(--white); color: var(--blue); border: 2px solid var(--blue); }

/* ── SECTION BASE ── */
section { padding: 90px 5%; }

.section-label {
  display: inline-block;
  color: var(--red);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--blue);
  max-width: 580px;
  margin-bottom: 3rem;
}

/* ── O NÁS ── */
#o-nas { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-visual { position: relative; }

.about-visual .card-big {
  background: var(--red);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  color: var(--white);
  text-align: center;
}

.about-visual .card-big .icon { font-size: 4rem; margin-bottom: 1rem; }

.about-visual .card-big p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
}

.about-visual .badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--blue);
  color: var(--white);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
}

.about-visual .badge-float strong { display: block; font-size: 1.8rem; font-weight: 700; }

.values-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--blue);
}

.values-list li .dot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--white);
  margin-top: 2px;
}

/* ── AKTIVITY ── */
#aktivity { background: var(--blue); }

#aktivity .section-label { color: var(--white); }
#aktivity h2 { color: var(--white); }
#aktivity .lead { color: var(--white); }

.activities-header { max-width: 1100px; margin: 0 auto; text-align: center; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.activity-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border-top: 4px solid var(--red);
  transition: opacity .25s;
}

.activity-card:nth-child(even) { border-top-color: var(--blue); border: 2px solid var(--white); border-top: 4px solid var(--white); }

.activity-card:hover { opacity: .9; }

.activity-icon { font-size: 2.2rem; margin-bottom: 1rem; }

.activity-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: .5rem;
}

.activity-card p { font-size: .9rem; color: var(--blue); }

/* ── GALERIE ── */
#galerie { background: var(--white); }

.gallery-header { text-align: center; margin-bottom: 2.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--blue);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gallery-item video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  background: var(--blue);
}

.gallery-more {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img,
  .gallery-item video { height: 220px; }
}

/* ── POSLÁNÍ ── */
#poslani {
  background: var(--red);
  color: var(--white);
  text-align: center;
}

#poslani .section-label { color: var(--white); }
#poslani h2 { color: var(--white); }
#poslani .lead { color: var(--white); max-width: 680px; margin: 0 auto 3rem; }

.mission-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.stat { text-align: center; }

.stat .num {
  font-family: 'Lora', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.stat .lbl {
  font-size: .85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── KONTAKT ── */
#kontakt { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: .8rem; color: var(--red); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; }
.contact-item p, .contact-item a { font-size: .95rem; color: var(--blue); text-decoration: none; }
.contact-item a:hover { color: var(--red); }

.contact-form {
  background: var(--blue);
  border-radius: 16px;
  padding: 2rem;
}

.contact-form h3 {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--white);
  border-radius: 8px;
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--blue);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--red); }

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group .error {
  display: block;
  margin-top: .35rem;
  font-size: .82rem;
  color: #ffd9d9;
}

.form-submit {
  width: 100%;
  padding: .85rem;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}

.form-submit:hover { opacity: .85; }

/* ── FOOTER ── */
footer {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 5%;
  font-size: .85rem;
}

footer strong { color: var(--white); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--blue);
    flex-direction: column;
    gap: 0;
    padding: .5rem 0;
  }

  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .75rem 5%; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .about-visual .badge-float { position: static; margin-top: 1rem; }

  .mission-stats { gap: 2rem; }
}

/* ── STANOVY ── */
#stanovy { background: var(--white); }

.stanovy-content {
  max-width: 860px;
  margin: 0 auto;
}

.stanovy-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blue);
  text-align: center;
  margin-bottom: .5rem;
}

.stanovy-subtitle {
  text-align: center;
  color: var(--red);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.stanovy-clanek {
  margin-bottom: 2.5rem;
}

.stanovy-clanek h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--blue);
}

.stanovy-clanek ol {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.stanovy-clanek ol li {
  font-size: .95rem;
  color: var(--blue);
  line-height: 1.7;
}

.stanovy-clanek ul {
  list-style: none;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: .4rem;
}

.stanovy-clanek ul li::before {
  content: "○ ";
  color: var(--red);
}

.stanovy-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--blue);
  text-align: center;
  font-weight: 600;
  color: var(--blue);
  font-size: .95rem;
}

/* ── FLASH MESSAGES ── */
.flash {
  position: relative;
  margin: 80px 5% 0;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  font-size: .9rem;
}

.flash.success { background: #d4edda; color: #155724; }
.flash.error,
.flash.warning { background: #f8d7da; color: #721c24; }

/* ── GALERIE STRÁNKA / LIGHTBOX ── */
#galerie-page { padding-top: 140px; min-height: 60vh; }

/* ── REGISTRACE STRÁNKA ── */
#registrace, #registrace-dekujeme { padding-top: 140px; min-height: 60vh; }

.gallery-item.lightbox-link {
  display: block;
  text-decoration: none;
  cursor: zoom-in;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 8px;
}

.lightbox p {
  color: var(--white);
  margin-top: 1rem;
  text-align: center;
  max-width: 600px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
