/* =============================================
   Academy NH Ostrava — Blue Camo Edition
   Inspired by the team's blue camo jerseys
   ============================================= */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-dark: #0a1628;
  --blue-deep: #0d2240;
  --blue-primary: #1a5ab8;
  --blue-camo: #2e7ad1;
  --blue-light: #5b9bd5;
  --blue-pale: #8ec5f0;
  --white: #ffffff;
  --gray-light: #f0f4f8;
  --gray-bg: #e8edf3;
  --text-dark: #1a2332;
  --text-body: #374151;
  --text-muted: #6b7280;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}

.btn--accent {
  background: var(--blue-camo);
  color: var(--white);
  border-color: var(--blue-camo);
  box-shadow: 0 4px 15px rgba(46, 122, 209, 0.4);
}

.btn--accent:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(46, 122, 209, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}

.btn--small {
  padding: 10px 24px;
  font-size: 0.8125rem;
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}

.btn--small:hover {
  background: var(--blue-camo);
  border-color: var(--blue-camo);
  transform: translateY(-1px);
}

.btn--large {
  padding: 18px 52px;
  font-size: 1.0625rem;
  letter-spacing: 0.5px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.navbar__logo-img {
  height: 44px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.navbar__logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.3px;
}

.navbar__menu {
  display: flex;
  gap: 8px;
}

.navbar__link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.navbar__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.7) 0%,
    rgba(13, 34, 64, 0.6) 40%,
    rgba(26, 90, 184, 0.4) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 850px;
}

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.25rem, 6vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 44px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section--gray {
  background: var(--gray-light);
}

.section--dark {
  background: var(--blue-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section--dark::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 122, 209, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.section--cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.section__cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section__cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

.section__cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(26, 90, 184, 0.85) 100%
  );
}

.section__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section__title--light {
  color: var(--white);
}

/* ===== O NAS ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.about__text p {
  margin-bottom: 16px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-body);
}

.about__text a {
  color: var(--blue-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--blue-light);
  transition: all 0.3s ease;
}

.about__text a:hover {
  color: var(--blue-camo);
  border-color: var(--blue-camo);
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 22, 40, 0.05);
  transition: all 0.35s ease;
}

.about__feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 122, 209, 0.15);
}

.about__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-camo));
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--white);
}

.about__icon-wrap svg {
  width: 24px;
  height: 24px;
}

.about__label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.about__sublabel {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Photo strip */
.about__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about__photo:hover img {
  transform: scale(1.05);
}

/* ===== HALA ===== */
.hala__quote {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--blue-pale);
  margin-bottom: 24px;
  padding: 0 20px;
  line-height: 1.4;
  margin-top: 16px;
}

.hala__text {
  text-align: center;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hala__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.hala__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.hala__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hala__image:hover img {
  transform: scale(1.03);
}

.hala__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.hala__map iframe {
  display: block;
  width: 100%;
  height: 350px;
}

.hala__address {
  text-align: center;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  letter-spacing: 0.5px;
}

/* ===== TYMY ===== */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 22, 40, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card__img img {
  transform: scale(1.08);
}

.team-card__body {
  padding: 24px;
  text-align: center;
}

.team-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--blue-primary);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.team-card__coach {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.875rem;
}

/* ===== GALERIE ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 22, 40, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lightbox__close {
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
}

.lightbox__prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox__next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

/* ===== PRIHLASENI ===== */
.prihlaseni {
  text-align: center;
  position: relative;
  z-index: 1;
}

.prihlaseni__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.prihlaseni__note {
  margin-top: 24px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.prihlaseni__note a {
  color: var(--blue-pale);
  font-weight: 600;
  border-bottom: 1px solid rgba(142, 197, 240, 0.3);
}

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

/* ===== SPONZORI ===== */
.sponzori__subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1rem;
}

.sponzori-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.sponzor-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  border: 2px dashed rgba(10, 22, 40, 0.15);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.sponzor-box:hover {
  border-color: var(--blue-light);
  color: var(--blue-primary);
  background: rgba(46, 122, 209, 0.03);
}

.sponzor-box--filled {
  border-style: solid;
  border-color: rgba(10, 22, 40, 0.08);
  padding: 16px 24px;
  background: var(--white);
}

.sponzor-box--filled img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.sponzor-box--filled:hover {
  border-color: var(--blue-light);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sponzor-box--dark {
  background: #0a0a0a;
  border-color: #222;
}

.sponzor-box--dark:hover {
  background: #111;
  border-color: var(--blue-light);
}

.sponzori__cta {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.sponzori__cta a {
  color: var(--blue-primary);
  font-weight: 600;
}

.sponzori__cta a:hover {
  color: var(--blue-camo);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__brand-img {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

.footer__logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.footer__col p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer__col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.footer__nav a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease;
}

.footer__col a:hover {
  color: var(--blue-light);
}

.footer__social {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer__bottom a:hover {
  color: var(--blue-light);
}

/* ===== MOBILE MENU ===== */
body.menu-open {
  overflow: hidden;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 768px) {
  .navbar__hamburger {
    display: flex;
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--blue-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .navbar__menu.open {
    transform: translateX(0);
  }

  .navbar__link {
    font-size: 1.125rem;
    padding: 12px 32px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__photos {
    grid-template-columns: 1fr;
  }

  .about__photo {
    aspect-ratio: 16/9;
  }

  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .hala__images {
    grid-template-columns: 1fr;
  }

  .sponzori-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer__brand {
    justify-content: center;
  }

  .footer__nav {
    align-items: center;
  }

  .footer__social {
    justify-content: center;
  }

  .section {
    padding: 72px 0;
  }

  .section--cta {
    padding: 80px 0;
  }

  .hala__map iframe {
    height: 280px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .navbar__logo-text {
    font-size: 0.9375rem;
  }

  .teams-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .sponzori-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

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

  .btn--large {
    padding: 16px 40px;
  }

  .section {
    padding: 56px 0;
  }

  .section__title {
    margin-bottom: 12px;
  }

  .hala__map iframe {
    height: 220px;
  }

  .lightbox__prev {
    left: 8px;
  }

  .lightbox__next {
    right: 8px;
  }

  .sponzor-box {
    height: 80px;
    font-size: 0.75rem;
  }
}
