/* ===== AquaCanis CZ – nový vzhled ===================================== */

:root {
  --navy: #0a2540;
  --navy-soft: #123a5c;
  --primary: #0e7490;
  --accent: #22b8cf;
  --accent-light: #d7f2f7;
  --bg: #f5fafc;
  --text: #24303e;
  --muted: #5b6b7b;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-hover: 0 10px 30px rgba(10, 37, 64, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a { color: var(--primary); }
a:hover { color: var(--accent); }

h1, h2, h3 { line-height: 1.25; color: var(--navy); }

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

/* ===== Hlavička ======================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img { height: 46px; width: auto; }

.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-label span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before { top: -8px; }
.nav-toggle-label span::after { top: 8px; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover { background: var(--accent-light); color: var(--primary); }

.site-nav a.active {
  background: var(--primary);
  color: var(--white);
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-toggle:checked ~ .site-nav { max-height: 22rem; }

  .site-nav ul { flex-direction: column; padding: 0.75rem 1.25rem 1rem; }
}

/* ===== Hero =========================================================== */

.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.25) 0%, rgba(10, 37, 64, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6.5rem 0 7.5rem;
  text-align: center;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  margin: 0 0.4rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { color: var(--navy); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.75);
}
.btn-ghost:hover { color: var(--white); }

/* vlnka pod hero sekcí */
.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 60px;
}

/* ===== Sekce ========================================================== */

.section { padding: 4rem 0; }
.section.alt { background: var(--white); }

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin: 0 0 0.5rem;
}

.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  margin: 0.8rem auto 0;
  background: var(--accent);
}

/* karty na úvodu */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.feature-card .icon { font-size: 2rem; margin-bottom: 0.6rem; }

.feature-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.feature-card a.more { display: inline-block; margin-top: 0.8rem; font-weight: 700; text-decoration: none; }

/* textové bloky (O nás) */
.prose {
  max-width: 46rem;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
}

.prose h2:first-child { margin-top: 0; }

.prose p { margin: 0 0 1rem; }

/* mřížka osob a psů */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.4rem;
}

.person-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.person-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.person-card figcaption {
  padding: 0.8rem 1rem 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}

.person-card figcaption small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

/* podmenu kotev na O nás */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
}

.anchor-nav a {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.anchor-nav a:hover { background: var(--accent); color: var(--navy); }

/* ===== Časová osa akcí ================================================ */

.year-block { margin-bottom: 3rem; }

.year-block h2 {
  font-size: 1.7rem;
  color: var(--primary);
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.2rem;
  margin: 0 0 1.2rem;
}

.event {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.event .event-text { flex: 1 1 20rem; }

.event .date {
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.15rem;
}

.event p { margin: 0; }

.event a.photo {
  flex: 0 0 auto;
}

.event a.photo img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.15s ease;
}

.event a.photo img:hover { transform: scale(1.04); }

/* ===== Fotogalerie ==================================================== */

.gallery-event { margin-bottom: 2.8rem; }

.gallery-event h3 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--navy);
}

.year-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
}

.gallery-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 37, 64, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 84vh;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lightbox button:hover { background: rgba(255, 255, 255, 0.28); }

.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

.lb-caption {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  background: rgba(10, 37, 64, 0.6);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ===== Sponzoři ======================================================= */

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

.sponsor-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
}

.sponsor-card img {
  margin: 0 auto 1rem;
  max-height: 110px;
  width: auto;
}

.sponsor-card .tag {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  margin-bottom: 0.7rem;
}

.sponsor-card h3 { margin: 0 0 0.3rem; }

/* ===== Kontakt ======================================================== */

.contact-card {
  max-width: 34rem;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  text-align: center;
}

.contact-card img { width: 130px; margin: 0 auto 1.5rem; }

.contact-card dl { margin: 0; }

.contact-card dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.2rem;
}

.contact-card dd {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}

/* ===== Patička ======================================================== */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }

.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* menší hero pro podstránky */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0 4.5rem;
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-hero p { margin: 0.5rem auto 0; max-width: 40rem; color: rgba(255, 255, 255, 0.85); }
