:root { 
  --bg-color: #fffdf7;
  --text-color: #1a1a1a;
  --primary-color: #d4a017;
  --accent-color: #f5e6b3;
  --card-bg: #ffffff;
  --nav-color: #f2c744;
  --button-hover: #b69000;
  --footer-bg: #333;
  --footer-text: #fff;
}

body.dark-mode {
  --bg-color: #1e1e1e;
  --text-color: #f0f0f0;
  --primary-color: #b49000;
  --accent-color: #2c2c2c;
  --card-bg: #2a2a2a;
  --nav-color: #3f3f3f;
  --button-hover: #cfa700;
  --footer-bg: #111;
  --footer-text: #ccc;
}

* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

header {
  padding: 1rem 0;
  background: var(--primary-color);
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  overflow-x: hidden;
}

#logoButton {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-block;
}

#logoButton img {
  height: 150px;
  width: auto;
  display: block;
  max-width: 100%;
}

.theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.switch {
  width: 70px;
  height: 34px;
  background: #575757;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  position: relative;
  cursor: pointer;
}

.switch .icon {
  font-size: 16px;
  z-index: 2;
}

.switch .slider {
  position: absolute;
  height: 28px;
  width: 28px;
  top: 3px;
  left: 3px;
  background: var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1;
}

.switch.dark .slider {
  transform: translateX(36px);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  background: var(--button-hover);
  padding: 0.5rem 1rem;
  max-width: 100%;
  overflow-x: auto;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
  padding: 0.3rem 0.6rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

nav a:hover {
  opacity: 0.8;
}

.highlight-bar {
  background: #fceab7;
  height: 6px;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

main {
  flex-grow: 1;
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: auto;
}

.carousel {
  position: relative;
  perspective: 1600px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.carousel h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.carousel-images {
  position: relative;
  height: 450px;
  width: 100%;
}

.carousel-images img {
  position: absolute;
  width: 640px;
  height: 450px;
  top: 0;
  left: calc(50% - 320px);
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.control-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: var(--button-hover);
}

footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 1rem;
}

footer a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: var(--button-hover);
}

.about-us, .press-about-us {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem 2.5rem;
  border-radius: 20px;
  background: rgba(212, 160, 23, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
  font-size: 1.05rem;
  color: var(--text-color);
  border: 1.5px solid rgba(212, 160, 23, 0.3);
  backdrop-filter: blur(6px);
}

.about-us h2, .press-about-us h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--primary-color);
}

.about-us .press-date, .press-about-us .press-date {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1.5rem;
}

.press-source {
  text-align: right;
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
}

.press-source a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.press-source a:hover {
  color: var(--button-hover);
}

.about-video {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  padding: 0 1rem;
}

.about-video video {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* 📱 Responsivita pro mobily */
@media (max-width: 700px) {
  #logoButton img {
    height: 100px;
  }

  .carousel-images img {
    width: 90%;
    height: auto;
    left: 5%;
  }

  nav {
    gap: 0.3rem;
    padding: 0.5rem;
  }

  nav a {
    font-size: 0.85rem;
    padding: 0.2rem 0.4rem;
  }

  .switch {
    width: 60px;
    height: 30px;
  }

  .switch .slider {
    width: 24px;
    height: 24px;
    top: 3px;
    left: 3px;
  }

  .switch.dark .slider {
    transform: translateX(30px);
  }

  .theme-toggle {
    top: 0.5rem;
    right: 0.5rem;
  }
}

.facebook-link img {
  height: 24px;          /* výška ikony */
  width: auto;           /* zachování poměru stran */
  vertical-align: middle; /* vertikální zarovnání s textem */
  transition: opacity 0.3s ease;
}

.facebook-link:hover img {
  opacity: 0.7;          /* efekt při najetí myší */
  cursor: pointer;
}
