/* 
 * SIMILISIN - CSS Styles
 * Kreativní design s hyperrealistickými texturami
 * Tetrádová barevná schéma
 * 3D animační efekty
 */

/* ---------- ZÁKLADNÍ NASTAVENÍ A PROMĚNNÉ ---------- */
:root {
  /* Tetrádová barevná schéma */
  --primary: #2d55a5;
  --primary-dark: #1d3c7a;
  --primary-light: #4d75c5;
  
  --secondary: #a52d7a;
  --secondary-dark: #7a1d55;
  --secondary-light: #c54d9a;
  
  --tertiary: #7aa52d;
  --tertiary-dark: #557a1d;
  --tertiary-light: #9ac54d;
  
  --quaternary: #2da5a5;
  --quaternary-dark: #1d7a7a;
  --quaternary-light: #4dc5c5;
  
  /* Neutrální barvy */
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --medium-gray: #e1e5eb;
  --dark-gray: #555555;
  --black: #222222;

  /* Typografie */
  --heading-font: 'Space Grotesk', sans-serif;
  --body-font: 'DM Sans', sans-serif;
  
  /* Stíny a efekty */
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  --btn-shadow: 0 8px 20px rgba(45, 85, 165, 0.25);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  
  /* Přechody */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Zaoblení */
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  
  /* Rozvržení */
  --container-width: 1200px;
  --header-height: 90px;
  --section-spacing: 100px;
  --element-spacing: 30px;
}

/* ---------- ZÁKLADNÍ NASTAVENÍ ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--black);
}

h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 3rem;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 2rem;
  letter-spacing: -0.3px;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 20px auto 0;
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.2rem;
  color: var(--dark-gray);
}

/* ---------- ANIMACE ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes rotateIn {
  from {
    transform: perspective(1000px) rotateY(20deg);
    opacity: 0;
  }
  to {
    transform: perspective(1000px) rotateY(0);
    opacity: 1;
  }
}

/* ---------- TLAČÍTKA ---------- */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--border-radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--btn-shadow);
  z-index: 1;
}

.btn::before,
button::before,
input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transform: translateY(100%);
  transition: all var(--transition-medium);
}

.btn:hover::before,
button:hover::before,
input[type="submit"]:hover::before {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(45, 85, 165, 0.3);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(165, 45, 122, 0.3);
  color: var(--white);
}

.btn-tertiary {
  background-color: var(--tertiary);
  color: var(--white);
}

.btn-tertiary:hover {
  background-color: var(--tertiary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(122, 165, 45, 0.3);
  color: var(--white);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---------- HEADER A NAVIGACE ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-medium);
}

.header.scrolled {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  z-index: 1001;
}

.logo img {
  height: 60px;
  width: auto;
  transition: all var(--transition-medium);
}

.header.scrolled .logo img {
  height: 50px;
}

.desktop-nav ul {
  display: flex;
  gap: 30px;
}

.desktop-nav ul li a {
  color: var(--black);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all var(--transition-medium);
}

.desktop-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-medium);
}

.desktop-nav ul li a:hover {
  color: var(--primary);
}

.desktop-nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--black);
  transition: all var(--transition-medium);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform var(--transition-medium);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.mobile-nav ul li a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  transition: all var(--transition-medium);
}

.mobile-nav ul li a:hover {
  color: var(--primary);
}

/* ---------- HERO SEKCE ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 100px 0;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  color: var(--white);
  font-size: 4.5rem;
  margin-bottom: 20px;
  text-shadow: var(--text-shadow);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

.hero h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: var(--text-shadow);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}

.hero p {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 40px;
  text-shadow: var(--text-shadow);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.7s;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.9s;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.1s;
}

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

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  font-family: var(--heading-font);
  text-shadow: var(--text-shadow);
}

.stat-label {
  font-size: 1rem;
  color: var(--white);
  text-shadow: var(--text-shadow);
}

/* ---------- O NÁS SEKCE ---------- */
.about {
  padding: var(--section-spacing) 0;
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.image-container {
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  text-align: center;
}

.image-container img {
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform var(--transition-slow);
}

.image-container:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  margin-bottom: 20px;
  color: var(--primary);
}

/* ---------- PROCES SEKCE ---------- */
.process {
  padding: var(--section-spacing) 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/texture-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
  display: flex;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-icon {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 8px rgba(45, 85, 165, 0.2);
}

.timeline-content {
  position: relative;
  width: calc(50% - 40px);
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -15px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid var(--white);
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: '';
  position: absolute;
  top: 30px;
  left: -15px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid var(--white);
}

.timeline-content .image-container {
  margin-top: 20px;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.timeline-content .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-cta {
  text-align: center;
  margin-top: 60px;
}

/* ---------- VIZE SEKCE ---------- */
.vision {
  padding: var(--section-spacing) 0;
  background-color: var(--white);
}

.vision-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.vision-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.vision-image img {
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-slow);
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.vision-image:hover img {
  transform: perspective(1000px) rotateY(5deg);
}

.vision-text {
  flex: 1;
  min-width: 300px;
}

.vision-text h3 {
  margin-bottom: 20px;
  color: var(--secondary);
}

.stats-widgets {
  margin-top: 80px;
}

.stats-widgets h3 {
  text-align: center;
  margin-bottom: 40px;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.stat-widget {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: all var(--transition-medium);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.stat-widget:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--hover-shadow);
}

.stat-widget .stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: var(--heading-font);
}

.stat-widget .stat-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 15px;
}

.stat-widget .stat-description {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* ---------- EXTERNÍ ZDROJE SEKCE ---------- */
.external-resources {
  padding: var(--section-spacing) 0;
  background-color: var(--light-gray);
  position: relative;
}

.external-resources::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--white), transparent);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.resource-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.resource-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.resource-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.resource-card:hover .card-image img {
  transform: scale(1.1);
}

.resource-card .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.resource-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.resource-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.resource-link {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
  align-self: flex-start;
}

.resource-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width var(--transition-medium);
}

.resource-link:hover {
  color: var(--secondary-dark);
}

.resource-link:hover::after {
  width: 100%;
}

/* ---------- WEBINÁŘE SEKCE ---------- */
.webinars {
  padding: var(--section-spacing) 0;
  background-color: var(--white);
}

.webinars-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.webinar-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin: 10px;
  transition: all var(--transition-medium);
}

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

.webinar-card .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  text-align: center;
}

.webinar-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.webinar-card:hover .card-image img {
  transform: scale(1.05);
}

.webinar-card .card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.webinar-date {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.webinar-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.webinar-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.webinar-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 30px;
}

.prev-webinar,
.next-webinar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: var(--card-shadow);
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  display: flex;
  justify-content: center;
  align-items: center;
}

.prev-webinar span,
.next-webinar span {
  border: solid var(--primary);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 5px;
}

.prev-webinar span {
  transform: rotate(135deg);
}

.next-webinar span {
  transform: rotate(-45deg);
}

.prev-webinar:hover,
.next-webinar:hover {
  background-color: var(--primary);
  transform: scale(1.1);
}

.prev-webinar:hover span,
.next-webinar:hover span {
  border-color: var(--white);
}

.webinar-archive {
  margin-top: 80px;
}

.webinar-archive h3 {
  text-align: center;
  margin-bottom: 40px;
}

.archive-list {
  max-width: 800px;
  margin: 0 auto;
}

.archive-item {
  padding: 20px;
  background-color: var(--light-gray);
  border-radius: var(--border-radius-md);
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  transition: all var(--transition-medium);
}

.archive-item:hover {
  background-color: rgba(45, 85, 165, 0.05);
}

.archive-date {
  background-color: var(--tertiary);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 20px;
}

.archive-item h4 {
  flex-grow: 1;
  margin-bottom: 0;
  font-size: 1.2rem;
}

.archive-link {
  color: var(--tertiary);
  font-weight: 600;
}

.archive-link:hover {
  color: var(--tertiary-dark);
}

/* ---------- REFERENCE SEKCE ---------- */
.testimonials {
  padding: var(--section-spacing) 0;
  background-color: var(--light-gray);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/quotes-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--card-shadow);
  margin: 10px;
  transition: all var(--transition-medium);
}

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

.testimonial-quote {
  position: relative;
  padding: 20px 0;
  margin-bottom: 30px;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: -10px;
  font-size: 100px;
  font-family: serif;
  color: rgba(45, 85, 165, 0.1);
  line-height: 1;
}

.testimonial-quote p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  margin: 0 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--medium-gray);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

.prev-testimonial,
.next-testimonial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: var(--card-shadow);
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  display: flex;
  justify-content: center;
  align-items: center;
}

.prev-testimonial span,
.next-testimonial span {
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
}

.prev-testimonial span {
  transform: rotate(135deg);
}

.next-testimonial span {
  transform: rotate(-45deg);
}

.prev-testimonial:hover,
.next-testimonial:hover {
  background-color: var(--primary);
  transform: scale(1.1);
}

.prev-testimonial:hover span,
.next-testimonial:hover span {
  border-color: var(--white);
}

/* ---------- MÉDIA SEKCE ---------- */
.media {
  padding: var(--section-spacing) 0;
  background-color: var(--white);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.media-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.media-card:hover {
  transform: translateY(-10px) rotateY(2deg);
  box-shadow: var(--hover-shadow);
}

.media-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.media-card .card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.media-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.media-card:hover .card-image img {
  transform: scale(1.1);
}

.media-card .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.media-source {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--quaternary);
  margin-bottom: 10px;
}

.media-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.media-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.media-date {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.media-link {
  display: inline-block;
  color: var(--quaternary);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
  align-self: flex-start;
}

.media-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--quaternary);
  transition: width var(--transition-medium);
}

.media-link:hover {
  color: var(--quaternary-dark);
}

.media-link:hover::after {
  width: 100%;
}

/* ---------- KONTAKT SEKCE ---------- */
.contact {
  padding: var(--section-spacing) 0;
  background-color: var(--light-gray);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-item {
  margin-bottom: 30px;
}

.info-item h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-top: 30px;
  box-shadow: var(--card-shadow);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
}

.contact-form h3 {
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--medium-gray);
  border-radius: var(--border-radius-sm);
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--black);
  transition: border var(--transition-medium);
  background-color: var(--white);
}

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

.toggle-container {
  display: flex;
  align-items: center;
}

.toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.toggle-button {
  position: relative;
  width: 50px;
  height: 26px;
  background-color: var(--medium-gray);
  border-radius: 30px;
  margin-right: 15px;
  transition: all var(--transition-medium);
}

.toggle-button::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border-radius: 50%;
  transition: all var(--transition-medium);
}

.toggle-input:checked + .toggle-label .toggle-button {
  background-color: var(--primary);
}

.toggle-input:checked + .toggle-label .toggle-button::after {
  left: 27px;
}

.toggle-text {
  font-size: 0.95rem;
}

.toggle-text a {
  color: var(--primary);
  text-decoration: underline;
}

.toggle-text a:hover {
  color: var(--primary-dark);
}

/* ---------- FOOTER ---------- */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/footer-texture.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-medium);
}

.footer-nav a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: all var(--transition-medium);
}

.social-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  font-family: var(--body-font);
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 12px 20px;
  border: none;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.newsletter-form button:hover {
  background-color: var(--secondary-dark);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all var(--transition-medium);
}

.footer-links a:hover {
  color: var(--white);
}

/* ---------- COOKIE POPUP ---------- */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(34, 34, 34, 0.95);
  color: var(--white);
  padding: 20px;
  z-index: 9999;
  display: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  margin-bottom: 0;
  flex-grow: 1;
}

.cookie-button {
  padding: 10px 25px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.cookie-button:hover {
  background-color: var(--primary-dark);
}

/* ---------- SUCCESS PAGE ---------- */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
  background-color: var(--light-gray);
}

.success-container {
  max-width: 600px;
  background-color: var(--white);
  padding: 60px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  animation: scaleIn 0.5s ease;
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--tertiary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  color: var(--white);
  font-size: 2.5rem;
  animation: float 3s ease-in-out infinite;
}

.success-icon i {
  font-size: 2.5rem;
}

.success-title {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.success-message {
  margin-bottom: 40px;
  font-size: 1.2rem;
}

/* ---------- PRIVACY & TERMS PAGE ---------- */
.page-content {
  padding: 150px 0 100px;
}


.page-title {
  margin-bottom: 50px;
  color: var(--primary);
  text-align: center;
}

.page-section {
  margin-bottom: 50px;
}

.page-section h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 2rem;
}

.page-section h3 {
  color: var(--secondary);
  margin: 30px 0 15px;
  font-size: 1.5rem;
}

.page-section p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-section ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-section li {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* ---------- RESPONZIVNÍ DESIGN ---------- */
@media (max-width: 1200px) {
  :root {
    --section-spacing: 80px;
  }
  
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  :root {
    --section-spacing: 70px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .timeline::before {
    left: 40px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    justify-content: flex-start;
  }
  
  .timeline-icon {
    left: 40px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
    --element-spacing: 20px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero {
    min-height: auto;
    padding: 150px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .stat-item {
    flex-basis: calc(50% - 15px);
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .section-description {
    margin-bottom: 40px;
  }
  
  .about-content,
  .vision-content {
    flex-direction: column;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-form {
    padding: 30px;
  }
  
  .resources-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    gap: 50px;
  }
  
  .footer-column {
    flex-basis: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .success-container {
    padding: 40px 20px;
  }
}

@media (max-width: 576px) {
  :root {
    --section-spacing: 50px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero h2 {
    font-size: 1.3rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-item {
    flex-basis: 100%;
  }
  
  .timeline-content {
    padding: 20px;
  }
  
  .webinar-controls,
  .testimonial-controls {
    gap: 15px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .prev-webinar, .next-webinar,
  .prev-testimonial, .next-testimonial {
    width: 36px;
    height: 36px;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: var(--border-radius-sm);
  }
}

textarea {
  resize: none;
}

.page-hero-content {
  padding-top: 60px;
  padding-bottom: 60px;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.additional-info {
  margin-top: 60px;
}