
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #292f38;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #292f38;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(223, 128, 4, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo{
  height: 70px;
  padding-bottom: 40px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #f38c17;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #cf630a;
  margin: 3px 0;
  transition: 0.3s;
}

/* main menu */


.main {
    position: relative;
    background-image: url(obrazky/obr1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin-top: 80px;
    color: white;
    z-index: 1;
}

.main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.main h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
   z-index: 1;
}

.main-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0.9;
  z-index: 1;
  color: white;


}

.main-date {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  z-index: 1;
}

.date-highlight {
  font-size: 2rem;
  font-weight: 600;
  color: white;
  z-index: 1;
}

.time {
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.8;
  color: white;
  z-index: 1;
}

.cta-button {
  display: inline-block;
  background: #292f38;
  color: #f38c17;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
  z-index: 1;
}

/* udalosti */
.event-info {
  padding: 5rem 0;
  background: #f38c17;
}

.event-info h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #292f38;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.event-card {
  background: #292f38;
  color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.schedule {
  padding: 5rem 0;
  background: #292f38;
}

.schedule h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #f38c17;
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-time {
  width: 80px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-align: right;
  padding-right: 2rem;
}

.timeline-content {
  flex: 1;
  background: #f38c17;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  margin-left: 2rem;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #f38c17;
}

.timeline-content h3 {
  color: #292f38;
  margin-bottom: 0.5rem;
}

.location {
  display: inline-block;
  background: #292f38;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* vizualizace */
.classroom {
  padding: 5rem 0;
  background: #f38c17;
}


.classroom h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #292f38;
}


.classroom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.equipment-card {
  background: #292f38;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  color: white;
}

.equipment-card:hover {
  transform: translateY(-5px);
}

.equipment-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.equipment-card h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.classroom-visualization {
  background: #292f38;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.classroom-visualization h3 {
  margin-bottom: 2rem;
  color: #ffffff;
}

.classroom-layout {
  display: grid;
  grid-template-columns: repeat(4, 2fr);
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 2rem;
  background: #f38c17;
  border-radius: 10px;
}

.gaming-station {
  width: 60px;
  height: 40px;
  background: #292f38;
  border-radius: 5px;
  position: relative;
}

.gaming-station::before {
  content: '🖥️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
}

.teacher-desk {
  grid-column: 2 / 4;
  width: 100%;
  height: 40px;
  background: #573604;
  border-radius: 5px;
  position: relative;
}

.teacher-desk::before {
  content: '👨‍🏫';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
}

.projector {
  grid-column: 1 / 5;
  width: 100%;
  height: 30px;
  background: #292f38;
  border-radius: 5px;
  position: relative;
}

.projector::before {
  content: '📽️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}

.layout-description {
  color: #6b7280;
  font-style: italic;
}

/* sponzoři */
.sponsors {
  padding: 5rem 0;
  background:#292f38;
  text-decoration: none;
}

.sponsors h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff;
}

.sponsors-section {
  margin-bottom: 3rem;
  text-decoration: none;
}

.sponsors-section h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: white;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.sponsor-card {
  background: #f38c17;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 2px solid #292f38;
  transition: border-color 0.3s ease;
}

.sponsor-card:hover {
  border-color: #292f38;
}


.sponsor-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #292f38;
  margin-bottom: 1rem;
}

.media-partners {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.partner-card {
  background: #f38c17;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  min-width: 200px;
}

.partner-logo {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.supporters {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.supporter-item {
  text-decoration:none;
  color: #292f38;
  background: #f38c17;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
}

/* kontakt */
.contact {
  padding: 5rem 0;
  background: #f38c17;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #292f38;
}

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

.contact-card {
  background: #292f38;
  color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  color: white;
  margin-bottom: 1rem;
}

/* patička */
.footer {
  background: #292f38;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  margin-bottom: 0.5rem;
}

/* responzivita mobil */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main {
    margin-top: 60px;
    min-height: 90vh;
  }

  .main-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .main h1 {
    font-size: 2.5rem;
  }

  .main-subtitle {
    font-size: 1.2rem;
  }

  .date-highlight {
    font-size: 1.5rem;
  }

  .gaming-setup {
    width: 250px;
    height: 150px;
  }

  .monitor {
    width: 150px;
    height: 90px;
  }

  .keyboard {
    width: 130px;
    height: 45px;
  }

  .mouse {
    width: 30px;
    height: 45px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-time {
    width: auto;
    text-align: left;
    padding-right: 0;
    margin-bottom: 0.5rem;
    padding-left: 60px;
  }

  .timeline-content {
    margin-left: 60px;
  }

  .timeline-content::before {
    left: -40px;
  }

  .classroom-layout {
    grid-template-columns: repeat(2, 1fr);
    max-width: 300px;
  }

  .gaming-station {
    width: 80px;
    height: 50px;
  }

  .teacher-desk {
    grid-column: 1 / 3;
  }

  .projector {
    grid-column: 1 / 3;
  }

  .media-partners {
    flex-direction: column;
    align-items: center;
  }
}

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

  .main h1 {
    font-size: 2rem;
  }

  .main-subtitle {
    font-size: 1rem;
  }

  .event-grid,
  .classroom-grid,
  .sponsors-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline-content {
    margin-left: 40px;
  }

  .timeline-time {
    padding-left: 40px;
  }

  .timeline-content::before {
    left: -20px;
  }
}

/* Smooth scroll*/
html {
  scroll-behavior: smooth;
}

/* Animace */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-card,
.equipment-card,
.sponsor-card,
.contact-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Hover  */
.timeline-content:hover {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.supporter-item:hover {
  background: #dbeafe;
  transition: background 0.3s ease;
}
