/*MAIN VECI PROSTE*/

:root
{
  --org: rgba(240, 125, 44, 1);
  --sda: rgba(70, 72, 73, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family:Raleway, Arial, sans-serif;
  line-height: 1.6;
}

hr
{
  border: 0;
  height: 2px;
  background: var(--org);
}
/* NAVBAR */
header {
  background: var(--sda);
  color: white;
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .left,
.navbar .right {
  display: flex;
  gap: 1rem;
}

.navbar a {
  color: white;
  text-decoration: none;
}

.navbar a:hover {
  color:rgba(240, 125, 44, 1);
}

.logo {
  flex: 1;
  text-align: center;
}

.logo img {
  height: 40px;
}
/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px;
  border-radius: 5px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #444;
  padding: 1rem;
}

.mobile-menu a {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sda);
  color: white;
  text-decoration: none;
}

/* HERO */
.hero {
  position: relative;
  background: url("images/e-sport-ucebna1.jpg") center/cover no-repeat;
  height: 90vh;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px black;
}

.hero a {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background: var(--org);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
}

/* FILLER SEKCE */
.filler {
  background: var(--sda);
  color: white;
  padding: 3rem 1rem;
}

.filler-content {
  display: flex;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
  align-items: center;
}

.filler-content img {
  width: 50%;
  border-radius: 10px;
}

/* PROGRAM */
.program {
  padding: 3rem 1rem;
}

.program h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.program-container {
  display: flex;
  max-width: 1000px;
  margin: auto;
  gap: 3rem;
  position: relative;
}

/* Timeline */
.timeline {
  flex: 3;
  position: relative;
  border-left: 3px solid var(--org);
  padding-left: 2rem;
}

.program-item {
  position: relative;
  margin-bottom: 2rem;
}

.circle {
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid var(--org);
  border-radius: 50%;
  position: absolute;
  left: -30px;
  top: 5px;
}

.program-item .content .time {
  font-weight: bold;
  color: var(--org);
}

/* SIDE PANEL */
.side-panel {
  flex: 1;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.side-panel ul {
  list-style: none;
}

.side-panel li {
  margin-bottom: 1rem;
  cursor: pointer;
  color: #666;
  transition: 0.3s;
}

.side-panel li.active {
  color: var(--org);
  font-weight: bold;
}

/* MOBIL */
@media (max-width: 768px) {
  .program-container {
    flex-direction: column;
  }
  .side-panel {
    display: flex;
    justify-content: center;
    position: static;
    margin-top: 2rem;
  }
  .side-panel ul {
    display: flex;
    gap: 1rem;
  }
}

/* SPONZORI */
.sponsors {
  padding: 3rem 1rem;
  text-align: center;
  background: var(--sda);
}

.sponsors h2, .sponsors h3 {
  margin-bottom: 1rem;
  color: var(--org);
}

.sponsor-list, .media-partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.sponsor-logo{
  width: auto;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: transform 0.3s, filter 0.3s;
}

.sponsor-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* KONTAKT */
.kontakt {
  padding: 3rem 1rem;
  background: #f9f9f9;
}

.kontakt h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.kontakt-container {
  display: flex;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

/* Formulář */
.kontakt-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.kontakt-form button {
  padding: 0.8rem;
  background: var(--org);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
}

.kontakt-form button:hover {
  background: var(--org);
}

.kontakt-info img{
  width: 30px;
  margin-top: 10px;
}

/* Mapa */
.map-container {
  flex: 1;
  min-height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Responsivní */
@media (max-width: 768px) {
  .kontakt-container {
    flex-direction: column;
  }
  .map-container {
    min-height: 300px;
  }
}

/* FOOTER */
footer {
  background: var(--sda);
  color: white;
  text-align: center;
  padding: 1rem;
}

/* RESPONZIVITA */
@media (max-width: 768px) {
  .navbar .left, .navbar .right {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .filler-content {
    flex-direction: column;
  }
  .filler-content img {
    width: 100%;
  }
}

