
body {
  font-family: "Segoe UI", "Arial", sans-serif;  
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f8f8f8;
  color: #333;
}

header, footer {
  background-color: #000000;
  color: rgb(255, 245, 245);
  text-align: center;
  padding: 1rem;
}
/*LOGÓK*/
.header-branding {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-branding h1 {
  margin: 0;
  font-size: 2rem;
}

.logos {
  display: flex;
  gap: 1rem;
}

.logos img {
  height: 60px;
  vertical-align: middle;
  margin-top: 5px;
}

main {
  padding: 2rem;
}

hr {
  border: none;
  border-top: 2px solid #444;
  width: 80%;
  margin: 2rem auto;
}

/* Ja Morant szekció */
.morant-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.morant-video,
.morant-text,
.morant-image {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.morant-video video,
.morant-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.morant-text {
  align-items: center;
  justify-content: center;
  text-align: justify;
  display: flex;
}

.morant-text p {
  margin: 0;
  max-width: 90%;
}

.media-caption {
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  text-align: center;
  color: #555;
}

.kozepre {
  text-align: center;
}


/* MVP játékosok szekció */
.player-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  align-items: flex-start;
}

.player-card {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.player-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

.player-card p {
  text-align: justify;
}

/*MENÜ STÍLUS*/
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.nav li a:hover {
  background-color: #444;
}

.nav li a.active {
  background-color: white;
  color: #222;
  font-weight: bold;
}

/*TÁBLÁZAT*/
.team-table {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
font-size: 0.95rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-table th,
.team-table td {
border: 1px solid #999;
padding: 0.75rem;
text-align: center;
}

.team-table th {
background-color: #333;
color: white;
}

.team-table tr:nth-child(even) {
background-color: #f0f0f0;
}
/*SZÖVEG ÉS TÁBLÁZAT*/
.section-row {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 2rem;
margin-top: 1rem;
flex-wrap: wrap;
}

.section-text,
.section-table {
flex: 1 1 48%;
min-width: 300px;
}

.section-text p {
text-align: justify;
}

.table-heading {
visibility: hidden;
height: 0;
margin: 0;
padding: 0;
}


/* FELSŐ SZÖVEG ÉS KÉP BLOKK */
.intro-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 2rem;
padding: 2rem;
flex-wrap: wrap;
}

/* BAL OLDALI SZÖVEG */
.intro-text {
flex: 1 1 60%;
}

/* JOBB OLDALI KÉP */
.intro-image {
flex: 1 1 35%;
}

/* KÉP MÉRETEZÉS */
.intro-image img {
width: 100%;
max-width: 300px;
border-radius: 10px;
}

/* ALSÓ ŰRLAP ÉS KÉP BLOKK */
.form-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 2rem;
padding: 2rem;
flex-wrap: wrap;
}

/* BAL OLDALI ŰRLAP */
.form-wrapper {
flex: 1 1 60%;
}

/* JOBB OLDALI KÉP + LEÍRÁS */
.form-image-box {
flex: 1 1 35%;
text-align: center;
}

/* KÉP STÍLUS */
.form-image-box img {
width: 100%;
max-width: 300px;
border-radius: 10px;
}

/* KÉPALÁÍRÁS STÍLUS */
.image-caption {
font-size: 0.9rem;
margin-top: 0.5rem;
color: #555;
}

/* ŰRLAP BLOKKJA */
.form-section {
max-width: 1100px;
margin: 2rem auto;
padding: 2rem;
background-color: white;
border-radius: 10px;
box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

/* OSZLOPOS RENDEZÉS */
.form-container {
display: flex;
flex-direction: column;
gap: 1rem;
margin-top: 1rem;
}

/* MEZŐK FORMÁZÁSA */
.form-container input,
.form-container select,
.form-container textarea {
padding: 0.6rem;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 1rem;
}

/* RÁDIÓGOMB BLOKK */
form fieldset {
border: none;
padding: 0;
margin: 0;
}

form legend {
font-weight: bold;
margin-bottom: 0.5rem;
}

/* CHECKBOX FORMÁZÁSA */
.checkbox-label {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.95rem;
}

/* GOMBOK FORMÁZÁSA */
.button-row {
display: flex;
gap: 1rem;
margin-top: 1rem;
}

/* BEKÜLDÉS ÉS RESET GOMB */
.form-container button {
padding: 0.8rem 1.2rem;
font-size: 1rem;
border: none;
background-color: #222;
color: white;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}

/* GOMB HOVER STÍLUS */
.form-container button:hover {
background-color: #444;
}

/* JS GOMB DEMO BLOKK */
.js-demo {
  text-align: center;
  margin-top: 3rem;
}

.js-demo button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border: none;
  background-color: #222;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.js-demo button:hover {
  background-color: #444;
}

/* SÖTÉT MÓD JS-HEZ */
.dark-mode {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.dark-mode header,
.dark-mode footer {
  background-color: #000;
  color: #f8f8f8;
}

/* HÁTTÉRKÉP BLOKK */
.highlighted {
  background-image: url("images/ja-morant-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
  color: white;
  text-shadow: 1px 1px 4px black;
}

/* MVP thumbnail képek és linkek igazítása */
.player-card a {
  display: inline-block;
  width: 100%;
}

.player-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

aside {
  background-color: #f4f4f4;
  padding: 1rem;
  margin: 2rem auto;
  max-width: 800px;
  border-left: 5px solid #888;
  font-style: italic;
}

.highlight-box {
  background-color: #f6f6f6;
  border-left: 4px solid #444;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.highlight-box ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0;
}

.highlight-box li {
  margin-bottom: 0.4rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background-color: #000;
  color: #fff;
  font-weight: bold;
  z-index: 1000;
}
