/* ── ROCOVET – sdílené styly ── */

:root {
  --c-primary: #C84B0F;
  --c-primary-dark: #a33a09;
  --c-accent: #F4721E;
  --c-bg: #FDFAF7;
  --c-bg-alt: #F5EDE3;
  --c-dark: #1C1412;
  --c-text: #3D3028;
  --c-muted: #7A6A5E;
  --c-white: #ffffff;
  --c-border: #EAD9CC;
  --f-head: 'Plus Jakarta Sans', sans-serif;
  --f-body: 'Inter', sans-serif;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 9999px;
  --sh-sm: 0 1px 3px rgba(0,0,0,0.06);
  --sh-md: 0 4px 16px rgba(0,0,0,0.08);
  --sh-lg: 0 12px 40px rgba(0,0,0,0.12);
  --tr: 0.25s cubic-bezier(0.4,0,0.2,1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); color: var(--c-text); background: var(--c-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--dark { background: var(--c-dark); color: var(--c-white); }
.section--alt { background: var(--c-bg-alt); }

h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.2; color: var(--c-dark); }
.section--dark h2 { color: var(--c-white); }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 12px;
}
.label::before { content: ''; width: 20px; height: 2px; background: var(--c-primary); border-radius: 2px; }

.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; color: var(--c-muted); max-width: 540px; line-height: 1.7; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-md);
  font-family: var(--f-head); font-weight: 600; font-size: 0.95rem;
  transition: var(--tr); cursor: pointer; border: none; white-space: nowrap;
}
.btn--primary { background: var(--c-primary); color: var(--c-white); box-shadow: 0 4px 20px rgba(200,75,15,0.3); }
.btn--primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); box-shadow: 0 6px 28px rgba(200,75,15,0.4); }
.btn--outline { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: white; }

/* ── NAVBAR ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); transition: background var(--tr), box-shadow var(--tr);
}
.nav.scrolled {
  background: rgba(253,250,247,0.95); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--c-border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 10px 0; }
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 800; font-size: 1.2rem;
  color: var(--c-white); transition: color var(--tr);
}
.nav.scrolled .nav__logo { color: var(--c-dark); }
.nav__logo-mark {
  width: 36px; height: 36px; background: var(--c-primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem; font-weight: 800;
}
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  padding: 8px 14px; border-radius: var(--r-sm);
  font-family: var(--f-head); font-weight: 500; font-size: 0.9rem;
  color: rgba(255,255,255,0.85); transition: var(--tr);
}
.nav.scrolled .nav__links a { color: var(--c-text); }
.nav__links a:hover { background: rgba(255,255,255,0.15); color: white; }
.nav.scrolled .nav__links a:hover { background: var(--c-bg-alt); color: var(--c-dark); }
.nav__links a.active { color: var(--c-primary) !important; font-weight: 600; }
.nav__cta {
  margin-left: 8px; background: var(--c-primary) !important; color: white !important;
  padding: 10px 20px !important; box-shadow: 0 2px 12px rgba(200,75,15,0.35);
  border-radius: var(--r-md);
}
.nav__cta:hover { background: var(--c-primary-dark) !important; transform: translateY(-1px); }
.nav__burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border: none; background: none;
}
.nav__burger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--tr); }
.nav.scrolled .nav__burger span { background: var(--c-dark); }

.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--c-border);
  padding: 16px 24px 24px; z-index: 999; box-shadow: var(--sh-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 0; font-family: var(--f-head); font-weight: 500;
  color: var(--c-text); border-bottom: 1px solid var(--c-border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ── PAGE HERO (podstránky) ── */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 52px;
  background: linear-gradient(135deg, #1a0700 0%, #C84B0F 55%, #F4721E 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 28px 28px;
}
.page-hero__inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-size: 0.8rem; font-weight: 500;
  color: rgba(255,255,255,0.55); margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--tr); }
.breadcrumb a:hover { color: white; }
.breadcrumb svg { width: 12px; height: 12px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.page-hero__title {
  font-family: var(--f-head); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: white; line-height: 1.1; margin-bottom: 12px;
}
.page-hero__desc {
  font-size: 1rem; color: rgba(255,255,255,0.65); max-width: 500px; line-height: 1.7;
}

/* ── ANIMAL NAV (boční navigace zvířat) ── */
.content-layout {
  display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start;
}
.animal-nav { position: sticky; top: calc(var(--nav-h) + 24px); }
.animal-nav__title {
  font-family: var(--f-head); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-muted);
  margin-bottom: 12px;
}
.animal-nav__list { display: flex; flex-direction: column; gap: 4px; }
.animal-nav__item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-md);
  font-family: var(--f-head); font-weight: 500; font-size: 0.9rem;
  color: var(--c-text); transition: var(--tr);
}
.animal-nav__item:hover { background: var(--c-bg-alt); color: var(--c-dark); }
.animal-nav__item.active {
  background: rgba(200,75,15,0.1); color: var(--c-primary); font-weight: 600;
}
.animal-nav__item img { width: 28px; height: 28px; object-fit: contain; }

/* ── ARTICLE CONTENT ── */
.article-content h1 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 800;
  color: var(--c-dark); margin: 40px 0 14px; line-height: 1.25;
}
.article-content h1:first-child { margin-top: 0; }
.article-content p {
  font-size: 0.97rem; color: var(--c-text); line-height: 1.85;
  margin-bottom: 16px;
}
.article-content ul {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin: 0 0 20px; padding: 0;
}
.article-content ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.97rem; color: var(--c-text); line-height: 1.7;
}
.article-content ul li::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-primary); flex-shrink: 0; margin-top: 8px;
}
.article-content strong { font-weight: 600; color: var(--c-dark); }
.article-divider {
  border: none; border-top: 1px solid var(--c-border);
  margin: 48px 0;
}
.article-author {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-bg-alt); border-radius: var(--r-md);
  padding: 8px 16px; font-size: 0.85rem; font-weight: 600;
  font-family: var(--f-head); color: var(--c-primary); margin-top: 8px;
}

/* ── FOOTER ── */
.footer { background: var(--c-dark); padding: 52px 0 32px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px;
}
.footer__brand { font-family: var(--f-head); font-weight: 800; font-size: 1.2rem; color: white; margin-bottom: 8px; }
.footer__tagline { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 240px; }
.footer__col-title { font-family: var(--f-head); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer__nav { display: flex; flex-direction: column; gap: 9px; }
.footer__nav a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--tr); }
.footer__nav a:hover { color: white; }
.footer__bottom { display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.28); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .content-layout { grid-template-columns: 1fr; }
  .animal-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .animal-nav__title { width: 100%; }
  .animal-nav__list { flex-direction: row; flex-wrap: wrap; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
