/* Alap beállítások */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #0A1A2F;
  background-color: #F1F1F1;
}


/* FELSŐ MENÜ */
.top-nav {
  background-color: #0A1A2F;
  padding: 10px 0;
  text-align: center;
}

.top-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.top-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.top-nav a:hover {
  color: #EFBF04;
}

/* MOBILMENÜ */
.mobile-nav {
  display: none;
  background-color: #0A1A2F;
  padding: 10px;
}

.hamburger {
  width: 30px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 4px;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
}

.nav-links {
  display: none;
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.nav-links.open {
  display: block;
}

.nav-links li {
  margin: 10px 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

/* MOBIL ÁTVÁLTÁS */
@media (max-width: 768px) {
  .top-nav ul {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
}




/* HERO – IMG alapú, levágás nélkül */
/* HERO – fix keret, teljes kép vágás nélkül */
.hero {
  position: relative;
  width: 100%;
  height: 500px;          /* <<< EZ A FIX FRAME MAGASSÁG */
  overflow: hidden;
  background-color: #000; /* ha a kép nem tölti ki, legyen háttér */
}

/* A kép kitölti a keretet, de nem torzul és nem vágódik le */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Sötét overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);
  z-index: 2;
}

/* <<< ÚJ: LOGÓ KÖZÉPRE, A KÉT ALAK KÖZÉ >>> */
.hero-logo {
  position: absolute;
  z-index: 3;
  width: 300px;              /* <<< nagyobb méret */
  max-width: 20%;            /* <<< mobilon is nagyobb */
  left: 50%;
  top: 52%;                  /* <<< picit lejjebb, hogy ne érjen a H1-hez */
  transform: translate(-50%, -50%);
  pointer-events: none;
}


/* Szöveg a kép fölött */
.hero-content {
  position: absolute;
  z-index: 4;
  text-align: left;
  color: white;
  width: 100%;
  top: 18%;                     /* <<< FELJEBB HOZZUK A SZÖVEGET */
  transform: translateY(-50%);
  padding: 20px;
}

.hero-content h1 {
  font-family: 'Freshman', sans-serif;
  font-size: 3rem;
  letter-spacing: 3px;
  font-weight: 900;
  margin-bottom: 0px;
  color: #FFD700; /* arany kitöltés */
  
  /* PIROS SZEGÉLY */
  -webkit-text-stroke: 2px #E63946;   /* piros stroke */
  text-stroke: 2px #E63946;

  /* mélyebb hatás */
  text-shadow: 
    0 0 12px rgba(0,0,0,0.9),
    0 0 4px #E63946;
}


.hero-content h2 {
  font-family: 'Anton', sans-serif;
  font-size: 1.6rem;           /* <<< JÓVAL KISEBB, NEM LÓG LE */
  letter-spacing: 2px;
  font-weight: 400;
  margin: 5px 0 15px 0;        /* OUTLAWS alatt, gomb felett */
  color: #FFD700;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}


.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 0 0 12px rgba(0,0,0,0.9);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(0,0,0,0.9);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(0,0,0,0.9);
}

.btn {
  background-color: #E63946;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
}

.btn-outline {
  border: 2px solid #E63946;
  background: transparent;
  color: #E63946;
}




/* ABOUT – fő szekció */
.about {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 60px 40px;
  background: #f7f7f7; /* finom háttér, profi hatás */
  border-top: 4px solid #003366; /* OUTLAWS kék */
  border-bottom: 4px solid #FFD700; /* arany */
}

/* ABOUT – kép */
.about-img img {
  max-height: 480px;
  width: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;

  /* ARANY + KÉK KERET */
  border: 4px solid #FFD700;
  outline: 3px solid #003366;

  /* MÉLY ÁRNYÉK */
  box-shadow: 0 0 35px rgba(0,0,0,0.35);
}

/* ABOUT – szöveg */
.about-text {
  flex: 1;
  padding: 10px;
}

/* ABOUT – cím */
.about-text h2 {
  font-family: sans-serif;      /* <<< visszaállítva az eredeti betűtípusra */
  font-size: 2.4rem;            /* <<< marad a szép, nagy cím */
  font-weight: 600;             /* <<< elegáns, nem túl vastag */
  color: #003366;               /* <<< OUTLAWS kék marad */
  margin-bottom: 20px;
  text-shadow: 0 0 6px rgba(0,0,0,0.15);
}


/* ABOUT – bekezdések */
.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}

/* MOBIL – reszponzív */
@media (max-width: 768px) {

  .about {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .about-img img {
    width: 100%;
    max-height: 300px;
    border-radius: 12px;
    border: 4px solid #FFD700;
    outline: 3px solid #003366;
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
  }

  .about-text {
    text-align: left;
    padding: 10px;
  }

  .about-text h2 {
    text-align: center;
  }
}


/* GALÉRIA OVERLAY */
.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  z-index: 9999;
  overflow-y: auto;
}

.gallery-content {
  width: 100%;
  max-width: 1200px;
  position: relative;
}

/* Bezárás gomb */
.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #EFBF04;
  color: #000;
  border: none;
  font-size: 2rem;
  padding: 5px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
}

/* INDEXKÉP RÁCS */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* Lightbox gombok */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  background: #EFBF04;
  color: #000;
  border: none;
  font-size: 2rem;
  padding: 5px 12px;
  border-radius: 50%;
  cursor: pointer;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #EFBF04;
  color: #000;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
}

#prev-img { left: 40px; }
#next-img { right: 40px; }






/* TEAMS */
.teams {
  text-align: center;
  padding: 20px 20px;
  background-color: #123C7A;
}

.teams h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(0,0,0,0.9);
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

/* TEAM CARD – finom 3D lebegés */
.team-card {
  width: 400px;
  padding: 0;
  border-radius: 6px;
  perspective: 900px; /* 3D mélység */
  position: relative;
}

/* A kártya belső része */
.team-inner {
  background: white;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
}

.team-inner img {
  width: 200px;
  height: auto;
  margin: 0 auto 10px;
}

/* BILLEGÉS MEGTARTÁSA */
.team-card:hover .team-inner {
  transform: translateY(-10px) rotateX(4deg) rotateY(4deg);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* ========================= */
/* NÉVLISTA – kibővülő alsó rész */
/* ========================= */
.team-bottom-list {
  margin-top: 10px;
  background: rgba(10, 46, 122, 0.95); /* KSZSE sötétkék */
  color: #FFD700; /* arany szöveg */
  padding: 10px 15px;
  border-radius: 6px;
  border: 2px solid #FFD700;
  display: none; /* csak hoverre jelenik meg */
  text-align: left;
}

.team-bottom-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-bottom-list li {
  font-size: 15px;
  margin: 3px 0;
}

/* Hover aktiválás – kibővül a kártya */
.team-card:hover .team-bottom-list {
  display: block;
}




/* PLAYER TABLE */
/* ============================
   PLAYERS + DOCUMENTS WRAPPER
   ============================ */

/* ============================
   PLAYERS + DOCUMENTS WRAPPER
   ============================ */

.players-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 20px;
  background: #FFFFFF;
}

.players-column,
.docs-column {
  flex: 1;
}

.players-column h2,
.docs-column h2 {
  color: #123C7A;
  margin-bottom: 20px;
  font-size: 2rem;
}


/* TÁBLÁZAT */
#players-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

#players-table th {
  background: #123C7A;
  color: white;
  padding: 10px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

#players-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 0.95rem;
}

#players-table td:first-child {
  text-align: center;
  vertical-align: middle;
}
#players-table td:first-child img {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#players-table td:first-child img:hover {
  transform: scale(1.5);
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}



#players-table tr:last-child td {
  border-bottom: none;
}

/* Profilképek */
#players-table td img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #EFBF04;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  object-position: center;
}

/* ============================
   PLAYERS TABLE – MOBIL JAVÍTÁS
============================ */
@media (max-width: 768px) {

  /* A táblázat ne lógjon ki, hanem legyen scrollozható */
  #players-table {
    display: block;
    width: 100%;
    overflow-x: auto;        /* <<< vízszintes görgetés, ha kell */
    -webkit-overflow-scrolling: touch;
  }

  /* A cellák törjenek, ne nyomják szét a táblázatot */
  #players-table td,
  #players-table th {
    white-space: nowrap;     /* <<< nem törik, de nem is lóg ki */
  }

  /* A képek legyenek kisebbek mobilon */
  #players-table td img {
    width: 40px;
    height: 40px;
  }

  /* A név link ne legyen túl széles */
  .player-link {
    display: inline-block;
    max-width: 120px;        /* <<< ne nyomja szét a sort */
    overflow: hidden;
    text-overflow: ellipsis; /* <<< ... ha túl hosszú */
    white-space: nowrap;
  }

  /* A wrapper oszlopok már jól működnek, csak finomítunk */
  .players-wrapper {
    padding: 20px;
  }
}






/* DOKUMENTUM LISTA */
#docs-list {
  list-style: none;
  padding: 0;
}


#docs-list li {
  background: #f7f7f7;
  padding: 12px 15px;
  margin-bottom: 22px;
  border-left: 5px solid #EFBF04;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#docs-list a {
  color: #123C7A;
  font-weight: bold;
  text-decoration: none;
}

#docs-list a:hover {
  text-decoration: underline;
}

/* LAPOZÓ GOMBOK */
.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination button {
  background: #123C7A;
  color: white;
  border: none;
  padding: 8px 14px;
  margin: 0 5px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.pagination button:hover {
  background: #0d2c5a;
}

.pagination button:disabled {
  background: #ccc;
  cursor: default;
}

/* MOBILBARÁT */
@media (max-width: 768px) {
  .players-wrapper {
    flex-direction: column;
  }

  #players-table td img {
    width: 45px;
    height: 45px;
  }
}



/* ============================
   RESULTS + STANDINGS WRAPPER
   ============================ */

.results-table-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 20px;
  background: #FFFFFF;
}

/* Bal oszlop – eredmények */
.results-column {
  flex: 1;
}

.results-column h2,
.standings-column h2 {
  color: #123C7A;
  margin-bottom: 20px;
  font-size: 2rem;
}

/* Eredménykártyák */
.result-item {
  background: #f7f7f7;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-left: 5px solid #EFBF04;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 0.95rem;
}

/* Jobb oszlop – tabella */
.standings-column {
  flex: 1;
}

#standings-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

#standings-table th {
  background: #123C7A;
  color: white;
  padding: 10px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

#standings-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 0.95rem;
  text-align: center;
}

#standings-table td:nth-child(2) {
  text-align: center;
  vertical-align: middle;
}


#standings-table tr:last-child td {
  border-bottom: none;
  text-align: center;
}

/* Csapatlogók */
.team-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
}

/* Mobilbarát */
@media (max-width: 768px) {
  .results-table-wrapper {
    flex-direction: column;
  }
}


/* CONTACT */
/* CONTACT – kétoszlopos elrendezés */
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 20px;
  background: #FFFFFF;
}

/* Bal oszlop */
.contact-left {
  flex: 1;
}

.contact-left h2 {
  color: #123C7A;
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Edzéslista */
.training-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.training-list li {
  background: #f7f7f7;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-left: 5px solid #EFBF04;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 1rem;
}

/* Címkék */
.tag {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
}

.tag.adult {
  background: #123C7A;
}

.tag.kids {
  background: #EFBF04;
  color: #000;
}

.tag.open {
  background: #2a8f2a;
}

.tag.na {
  background: #B9BBB6;
  color: #000;
}

/* Jobb oszlop – kép */
.contact-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.training-photo {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  object-fit: cover;
}

/* Mobilbarát */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}


/* FOOTER */
.footer {
  background-color: #0A1A2F;
  color: white;
  text-align: center;
  padding: 20px;
}


/* ======== MODAL ALAP ======== */
.player-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  overflow-y: auto;
  padding-top: 40px;
}

.player-modal-content {
  background: #fff;
  width: 70%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 8px;
  border: 3px solid #0A2E5C;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* ======== BEZÁRÓ GOMB ======== */
.player-modal-close {
  float: right;
  font-size: 28px;
  cursor: pointer;
  color: #0A2E5C;
}

/* ======== KÉTOSZLOPOS RÁCS ======== */
.player-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 20px;
}

/* ======== BAL OSZLOP ======== */
.player-modal-left {
  border-right: 2px solid #0A2E5C;
  padding-right: 20px;
}

.player-left-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

/* FOTÓ – MÉRETARÁNYOS KICSINYÍTÉS */
.player-photo {
  width: 150px;
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid #FFD700;
}

/* NÉV */
.player-name {
  font-size: 26px;
  color: #0A2E5C;
  margin: 0;
}

/* FELSZERELÉS + STATISZTIKA */
.player-modal-left h3 {
  color: #0A2E5C;
  margin-top: 15px;
}

.player-modal-left ul {
  list-style: none;
  padding-left: 0;
}

.player-modal-left ul li {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* ======== JOBB OSZLOP ======== */
.player-modal-right {
  padding-left: 20px;
}

.player-modal-right h3 {
  color: #0A2E5C;
  margin-bottom: 10px;
}

.player-modal-right h4 {
  margin-top: 10px;
  color: #FFD700;
}

/* ÉV FEJLÉC */
.year-header {
  background: #0A2E5C;
  color: #FFD700;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* EREDMÉNYLISTA */
.player-modal-right ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
}

.player-modal-right ul li {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

/* ======== GRAFIKONOK ======== */
#winsChart,
#formChart,
#pointsChart,
#diffChart {
  width: 100%;
  max-height: 280px;
  margin-top: 25px;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ======== MOBIL NÉZET ======== */
@media (max-width: 900px) {
  .player-modal-content {
    width: 95%;
    padding: 20px;
  }

  .player-modal-grid {
    grid-template-columns: 1fr;
  }

  .player-modal-left {
    border-right: none;
    padding-right: 0;
    border-bottom: 2px solid #0A2E5C;
    padding-bottom: 20px;
  }

  .player-modal-right {
    padding-left: 0;
    padding-top: 20px;
  }

  .player-photo {
    width: 120px;
    max-height: 150px;
  }

  #winsChart,
  #formChart,
  #pointsChart,
  #diffChart {
    max-height: 240px;
  }
}

