/* =========================================================
   DFS Červánek HK — Main Stylesheet
   ========================================================= */

/* --- Google Fonts import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Nunito:wght@300;400;500;600;700;800&display=swap');

/* =========================================================
   1. CSS Custom Properties
   ========================================================= */
:root {
  /* Brand Colors */
  --red:         #C1272D;
  --red-dark:    #9B1B20;
  --red-light:   #E05055;
  --navy:        #1B2847;
  --navy-light:  #253662;
  --green:       #4E7233;
  --green-light: #6A9B48;
  --cream:       #FDF8F0;
  --warm-white:  #FFFCF7;

  /* Neutrals */
  --gray-50:  #FAFAFA;
  --gray-100: #F4F4F4;
  --gray-200: #E8E8E8;
  --gray-300: #CCCCCC;
  --gray-400: #AAAAAA;
  --gray-500: #888888;
  --gray-600: #666666;
  --gray-700: #444444;
  --gray-800: #2A2A2A;
  --text:     #1A1A1A;
  --text-muted: #6B6B6B;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Nunito', 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Borders */
  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.16);
  --shadow-red: 0 8px 32px rgba(193,39,45,0.30);

  /* Transitions */
  --ease: 0.3s ease;
  --ease-slow: 0.5s ease;
}

/* =========================================================
   2. Reset & Base
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

button { cursor: pointer; border: none; background: none; }

/* =========================================================
   3. Typography
   ========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  color: var(--text-muted);
  line-height: 1.75;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--gray-600);
}

.text-center { text-align: center; }
.text-white  { color: #fff !important; }
.text-red    { color: var(--red) !important; }
.text-navy   { color: var(--navy) !important; }
.text-muted  { color: var(--text-muted) !important; }

/* Section Label (eyebrow text) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* =========================================================
   4. Layout Utilities
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--space-3xl) 0;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

.section--lg {
  padding: 120px 0;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Background variants */
.bg-cream  { background: var(--cream); }
.bg-navy   { background: var(--navy); }
.bg-white  { background: #fff; }
.bg-red    { background: var(--red); }

/* =========================================================
   5. Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(193,39,45,0.40);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   6. Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--ease), box-shadow var(--ease), backdrop-filter var(--ease);
}

.nav--transparent {
  background: transparent;
}

.nav--solid {
  background: rgba(27, 40, 71, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav__logo-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(193,39,45,0.4);
}

.nav__logo-text span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--ease);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav__cta {
  background: var(--red);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--ease);
  box-shadow: var(--shadow-red);
  margin-left: 8px;
}
.nav__cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--ease);
}
.nav__hamburger:hover { background: rgba(255,255,255,0.1); }

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--ease);
}

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.nav__mobile.open { display: flex; }

.nav__mobile .nav__link {
  font-size: 1rem;
  padding: 12px 16px;
  display: block;
}
.nav__mobile .nav__cta {
  margin-top: 12px;
  text-align: center;
  display: block;
  padding: 14px;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* =========================================================
   7. Hero Section
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-height) 0 0;
}

/* Photo placeholder hero */
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0E1C3A 0%, #1B2847 40%, #2D1A1B 100%);
  z-index: 0;
}

/* Pattern overlay */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(193,39,45,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(78,114,51,0.12) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.05) 0%, transparent 30%);
  z-index: 1;
}

/* Folklorní dekorativní vzor */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-rule='evenodd'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='80' cy='0' r='3'/%3E%3Ccircle cx='0' cy='80' r='3'/%3E%3Ccircle cx='80' cy='80' r='3'/%3E%3Ccircle cx='40' cy='0' r='1.5'/%3E%3Ccircle cx='40' cy='80' r='1.5'/%3E%3Ccircle cx='0' cy='40' r='1.5'/%3E%3Ccircle cx='80' cy='40' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15,25,55,0.88) 0%,
    rgba(27,40,71,0.75) 50%,
    rgba(10,15,35,0.65) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(193,39,45,0.15);
  border: 1px solid rgba(193,39,45,0.4);
  color: #FF8A8E;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 760px;
}

.hero__title em {
  font-style: italic;
  color: #FF8A8E;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =========================================================
   8. Section Headers
   ========================================================= */
.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header--center {
  text-align: center;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.75;
}

.section-header--center p {
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 4px;
  margin: 16px 0 24px;
}

.section-header--center .section-divider {
  margin: 16px auto 24px;
}

/* =========================================================
   9. Cards
   ========================================================= */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}

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

.card__body {
  padding: var(--space-xl);
}

.card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__image img {
  transform: scale(1.04);
}

/* Feature Card */
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
  border-top: 4px solid transparent;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--red);
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: var(--space-lg);
}

.feature-card__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.feature-card__text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* =========================================================
   10. Photo Placeholders (až do dodání reálných fotek)
   ========================================================= */
.photo-placeholder {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.photo-placeholder--red {
  background: linear-gradient(135deg, #8B1A1E, #C1272D);
}

.photo-placeholder--navy {
  background: linear-gradient(135deg, #0E1C3A, #1B2847);
}

.photo-placeholder--green {
  background: linear-gradient(135deg, #2D4A20, #4E7233);
}

.photo-placeholder--warm {
  background: linear-gradient(135deg, #6B3A1E, #9B5530);
}

.photo-placeholder--mix {
  background: linear-gradient(135deg, #1B2847, #C1272D);
}

.photo-placeholder::after {
  content: '📸 Foto bude doplněno';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================================
   11. Photo Grid / Gallery
   ========================================================= */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.photo-grid__item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--navy);
}

.photo-grid__item:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  aspect-ratio: auto;
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-grid__item:hover img {
  transform: scale(1.06);
}

.photo-grid__overlay {
  position: absolute;
  inset: 0;
  background: rgba(193,39,45,0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
}

.photo-grid__item:hover .photo-grid__overlay {
  background: rgba(193,39,45,0.25);
}

.photo-grid__overlay-icon {
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--ease);
}

.photo-grid__item:hover .photo-grid__overlay-icon {
  opacity: 1;
  transform: scale(1);
}

/* Gallery page grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform var(--ease);
}

.gallery-item:hover .gallery-item__caption { transform: translateY(0); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

/* =========================================================
   12. Upcoming Events / News Cards
   ========================================================= */
.event-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: var(--shadow);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  transition: transform var(--ease), box-shadow var(--ease);
  border-left: 4px solid var(--red);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.event-card__date {
  flex-shrink: 0;
  text-align: center;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  min-width: 66px;
}

.event-card__date-day {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-card__date-month {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
}

.event-card__content { flex: 1; }

.event-card__title {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: 6px;
}

.event-card__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(78,114,51,0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* News card */
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card__image img { transform: scale(1.05); }

.news-card__body {
  padding: var(--space-lg) var(--space-xl);
}

.news-card__date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.news-card__title {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 16px;
  transition: gap var(--ease);
}
.news-card__link:hover { gap: 10px; }

/* =========================================================
   13. CTA / Banner Sections
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #2D1A3A 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(193,39,45,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

/* =========================================================
   14. Testimonials
   ========================================================= */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--red);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 16px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--navy));
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================================
   15. FAQ Accordion
   ========================================================= */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: color var(--ease);
  background: none;
  border: none;
  font-family: var(--font-body);
}

.faq-question:hover { color: var(--red); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: transform var(--ease), background var(--ease);
  color: var(--red);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--red);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding-bottom: 20px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* =========================================================
   16. Contact & Forms
   ========================================================= */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--red);
}

.contact-info-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-info-value a {
  transition: color var(--ease);
}
.contact-info-value a:hover { color: var(--red); }

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(193,39,45,0.08);
}

.form-control::placeholder { color: var(--gray-400); }

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
}

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1B2847 0%, #2D4A8A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.map-placeholder__text {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.map-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
  transition: gap var(--ease);
}
.map-link-btn:hover { gap: 12px; }

/* =========================================================
   17. Page Hero (for inner pages)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: calc(var(--nav-height) + 60px) 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--warm-white);
  border-radius: 60px 60px 0 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(193,39,45,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero__title {
  color: #fff;
  margin-bottom: 16px;
}

.page-hero__subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 1.15rem;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--ease); }
.breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.breadcrumb span { color: rgba(255,255,255,0.35); }
.breadcrumb .current { color: rgba(255,255,255,0.85); font-weight: 600; }

/* =========================================================
   18. Timeline (O souboru page)
   ========================================================= */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--navy));
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(193,39,45,0.2);
}

.timeline-year {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.timeline-title {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================================
   19. Stats / Numbers Section
   ========================================================= */
.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =========================================================
   20. Tags / Badges
   ========================================================= */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag--red { background: rgba(193,39,45,0.1); color: var(--red); }
.tag--navy { background: rgba(27,40,71,0.1); color: var(--navy); }
.tag--green { background: rgba(78,114,51,0.1); color: var(--green); }
.tag--gray { background: var(--gray-100); color: var(--gray-600); }

/* =========================================================
   21. Social Links
   ========================================================= */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
  font-size: 1.1rem;
}

.social-link--fb {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
}
.social-link--fb:hover {
  background: #1877F2;
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   22. Footer
   ========================================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.footer__heading {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.footer__links { display: flex; flex-direction: column; gap: 8px; }

.footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--ease);
}
.footer__link:hover { color: #fff; }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}

.footer__contact-icon {
  font-size: 1rem;
  color: var(--red);
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer__credit {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   23. Scroll Animations
   ========================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =========================================================
   24. Decorative Elements
   ========================================================= */
/* Folk pattern divider */
.folk-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: var(--space-xl) 0;
}

.folk-divider::before,
.folk-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.folk-divider__icon {
  font-size: 1.4rem;
  color: var(--red);
}

/* Highlighted quote block */
.quote-block {
  background: var(--cream);
  border-left: 4px solid var(--red);
  padding: var(--space-xl);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: var(--space-xl) 0;
}

.quote-block p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.6;
}

.quote-block cite {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  font-style: normal;
}

/* Folklorní ozdoba — dekorativní hrubá linie */
.decor-line {
  width: 80px;
  height: 3px;
  background: var(--red);
  border-radius: 3px;
  margin: 0 auto var(--space-md);
}

/* =========================================================
   25. Utility Classes
   ========================================================= */
.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: var(--space-sm) !important; }
.mb-md { margin-bottom: var(--space-md) !important; }
.mb-lg { margin-bottom: var(--space-lg) !important; }
.mb-xl { margin-bottom: var(--space-xl) !important; }
.mb-2xl { margin-bottom: var(--space-2xl) !important; }

.mt-xl { margin-top: var(--space-xl) !important; }
.mt-2xl { margin-top: var(--space-2xl) !important; }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================================================
   26. Responsive — General
   ========================================================= */
@media (max-width: 768px) {
  :root {
    --space-3xl: 64px;
    --space-2xl: 48px;
  }

  .section { padding: var(--space-2xl) 0; }

  .hero__stats { gap: 24px; }
  .hero__stat-number { font-size: 1.75rem; }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-lg {
    padding: 15px 32px;
    font-size: 1rem;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid__item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .event-card { flex-direction: column; }

  .page-hero {
    padding: calc(var(--nav-height) + 40px) 0 50px;
  }

  .timeline { padding-left: 30px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .gallery-grid { grid-template-columns: 1fr; }

  .btn-group .btn {
    width: 100%;
  }
}

/* Fotografie a skutečné logo souboru */
.real-photo { position: relative; overflow: hidden; display: block; background: var(--cream); }
.real-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-grid__item { min-height: 145px; }
.photo-grid__item:first-child { min-height: 300px; }
.brand-logo.nav__logo-icon { width: 112px; height: 55px; object-fit: contain; background: #fff; border-radius: 8px; padding: 5px; flex-shrink: 0; }
.brand-logo.footer__logo-icon { width: 120px; height: 62px; object-fit: contain; background: #fff; border-radius: 8px; padding: 6px; flex-shrink: 0; }
.hero__bg > img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero__overlay { background: linear-gradient(90deg,rgba(10,20,35,.82),rgba(10,20,35,.35)); }
.gallery-item.real-photo { width: 100%; padding: 0; border: 0; text-align: left; cursor: pointer; font: inherit; }
.gallery-item.real-photo:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.gallery-item__caption { display: block; }
.gallery-masonry .gallery-item.real-photo { aspect-ratio: 4/3; }
.gallery-masonry .gallery-item[data-category="soustredeni"]:nth-last-child(2) { aspect-ratio: 3/4; }
@media (max-width: 600px) { .brand-logo.nav__logo-icon { width: 88px; height: 48px; } .nav__logo-text { font-size: 1rem; } .hero__overlay { background: rgba(10,20,35,.66); } }
.real-photo .gallery-item__caption { opacity: 1; transform: none; background: linear-gradient(transparent,rgba(0,0,0,.8)); }
@media (max-width: 600px) { .gallery-grid[style] { grid-template-columns: repeat(2,minmax(0,1fr)) !important; } }
.nav__logo { flex-shrink: 0; }
.nav__logo-text { white-space: nowrap; }
@media (max-width: 1100px) { .nav__links { display: none; } .nav__hamburger { display: flex; } }

/* Dvousloupcová rozložení a kontaktní pruh – na mobilu pod sebou */
.split-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.split-2--contact { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); align-items: start; }
.contact-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; text-align: center; }
.contact-strip a { overflow-wrap: anywhere; }
.contact-card { background: #fff; border-radius: var(--radius-xl); padding: 48px; box-shadow: var(--shadow-md); }
@media (max-width: 900px) { .split-2, .split-2--contact { grid-template-columns: minmax(0,1fr); gap: 40px; } }
@media (max-width: 600px) { .contact-strip { grid-template-columns: minmax(0,1fr); gap: 28px; } .contact-card { padding: 28px 20px; } }
.photo-grid > .photo-grid__item { min-width: 0; width: 100%; }
.contact-card .btn { margin: 6px 6px 0 0; }
