/* registrace.css */
.registration-stage {
  position: relative;
  padding-bottom: 4rem;
  background-color: var(--background-color);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.registration-stage.animate-element {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 1.5s ease-out forwards;
}

.registration-stage .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.registration-stage .banner {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 650px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-image: var(--hero-bg-xxlarge);
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
  transition: height 0.3s ease, background-image 0.3s ease;
}

.registration-stage .banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.registration-stage .banner-content {
  position: relative;
  z-index: 1;
  color: var(--primary-color);
  padding: 0 1rem;
  max-width: 1200px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.registration-stage .banner-content.animate {
  opacity: 1;
  transform: translateY(0);
}

.registration-stage .banner-content .banner-title {
  font-size: var(--font-size-3xl);
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: 'Press Start 2P', sans-serif;
  color: var(--accent-color);
  line-height: 1.2;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 1s ease-out forwards;
  animation-delay: 0.5s;
  will-change: transform, opacity;
}

.registration-stage .banner-content h2 {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: 'Press Start 2P', sans-serif;
  color: var(--primary-color);
  line-height: 1.2;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 1s ease-out forwards;
  animation-delay: 0.7s;
  will-change: transform, opacity;
}

@media (max-width: 767px) {
  .registration-stage .banner {
    height: 400px;
    background-image: var(--hero-bg-small-landscape);
    background-position: center top;
  }

  .registration-stage .banner-content .banner-title {
    font-size: var(--font-size-xl);
  }

  .registration-stage .banner-content h2 {
    font-size: var(--font-size-lg);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .registration-stage .banner {
    height: 500px;
    background-image: var(--hero-bg-medium-landscape);
    background-position: center top;
  }
}

@media (min-width: 1024px) and (max-width: 1599px) {
  .registration-stage .banner {
    background-image: var(--hero-bg-large);
    background-position: center top;
    height: 600px;
  }
}

@media (min-width: 1600px) and (max-width: 2559px) {
  .registration-stage .banner {
    background-image: var(--hero-bg-xlarge);
    background-position: center top;
    height: 650px;
  }
}

@media (min-width: 2560px) and (max-width: 3439px) {
  .registration-stage .banner {
    background-image: var(--hero-bg-ultrawide);
    background-position: center top;
    height: 700px;
  }
}

@media (min-width: 3440px) {
  .registration-stage .banner {
    background-image: var(--hero-bg-xxultrawide);
    background-position: center top;
    height: 750px;
  }
}

.registration-stage h2.sub-heading {
  font-family: 'Press Start 2P', sans-serif;
  font-size: var(--font-size-xl);
  color: var(--accent-color);
  margin: 0 0 1rem 0;
  text-align: center;
  position: relative;
}

.registration-stage .registration-details {
  font-size: var(--font-size-md);
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto 4rem auto;
  line-height: 1.6;
  text-align: center;
}

.registration-stage .registration-details h2 {
  font-size: var(--font-size-xl);
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-family: 'CAMetro', sans-serif;
}

.registration-stage .registration-details p {
  text-align: center;
}

.registration-stage .registration-details ul {
  list-style: disc inside;
  margin: 1rem auto;
  padding: 0;
  display: inline-block;
  text-align: center;
}

.registration-stage .registration-details ul li {
  margin-bottom: 0.5rem;
  text-align: center;
}

.registration-stage .instructions {
  font-size: var(--font-size-md);
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto 4rem auto;
  line-height: 1.6;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.4s ease, border 0.3s ease;
  backdrop-filter: blur(5px);
}

.registration-stage .instructions h2 {
  font-size: var(--font-size-xl);
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-family: 'CAMetro', sans-serif;
}

.registration-stage .instructions ol {
  list-style: none;
  counter-reset: step-counter;
  margin: 0 auto;
  padding: 0;
  display: inline-block;
  text-align: center;
}

.registration-stage .instructions ol li {
  counter-increment: step-counter;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.registration-stage .instructions ol li::before {
  content: counter(step-counter);
  font-size: 1.5rem;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;
  line-height: 2.2rem;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.registration-stage .instructions ol li strong {
  display: block;
  font-size: var(--font-size-lg);
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.registration-stage .instructions ol li p {
  margin: 0;
  font-size: var(--font-size-md);
  color: var(--text-color);
  display: block;
  width: 100%;
}

.registration-stage .instructions .buttons-container {
  margin-top: 2rem;
}

.registration-stage .instructions .cta-button {
  background-color: var(--accent-color);
  color: var(--text-color-dark);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  font-size: var(--font-size-lg);
  cursor: pointer;
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.registration-stage .instructions .cta-button:hover,
.registration-stage .instructions .cta-button:focus {
  box-shadow: 0 0 15px var(--accent-color);
  transform: translateY(-2px);
  outline: none;
  text-decoration: none;
}

.registration-stage .instructions .cta-button .btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.registration-stage .instructions .cta-button .btn-content i {
  font-size: 1.5rem;
}

.flyer-section {
  padding: 4rem 0;
  background-color: var(--background-color);
  text-align: center;
}

.flyer-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.flyer-section h2 {
  font-size: var(--font-size-xl);
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-family: 'Press Start 2P', sans-serif;
}

.flyer-section .flyer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flyer-section .flyer {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flyer-section .flyer img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.4s ease, outline 0.3s ease;
}

.flyer-section .flyer img:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px 5px var(--accent-color);
  outline: 3px solid var(--accent-color);
}

.flyer-section .flyer .download-flyer {
  background-color: var(--accent-color);
  color: var(--text-color-dark);
  padding: 0.8rem 2.5rem;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-size: var(--font-size-lg);
  cursor: pointer;
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  display: inline-block;
  margin-top: 1rem;
}

.flyer-section .flyer .download-flyer:hover,
.flyer-section .flyer .download-flyer:focus {
  box-shadow: 0 0 15px var(--accent-color);
  transform: translateY(-2px);
  outline: none;
  text-decoration: none;
}

.flyer-section .flyer .cta-button .btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.flyer-section .flyer .cta-button .btn-content i {
  font-size: 1.5rem;
}

@media (max-width: 480px) {
  .registration-stage .banner {
    height: 350px;
    background-image: var(--hero-bg-small-landscape);
  }

  .registration-stage .banner-content .banner-title {
    font-size: var(--font-size-lg);
  }

  .registration-stage .banner-content h2 {
    font-size: var(--font-size-md);
  }

  .registration-stage h2.sub-heading {
    font-size: var(--font-size-md);
  }

  .registration-stage .registration-details,
  .registration-stage .instructions {
    font-size: var(--font-size-xs);
  }

  .registration-stage .instructions .cta-button {
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.8rem 1.5rem;
    font-size: var(--font-size-md);
  }

  .flyer-section h2 {
    font-size: var(--font-size-md);
  }

  .flyer-section .flyer .download-flyer {
    padding: 0.6rem 1.5rem;
    font-size: var(--font-size-md);
  }
}
