/* Alap beállítások */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212; /* Sötét háttér */
    color: #ffffff; /* Fehér szöveg */
    line-height: 1.6;
    padding-top: 80px;
}

/* Fejléc (Header) */
header {
    background-color: #1f1f1f; /* Sötét szürke */
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Logó */
h1 {
    color: #cfff00;
}
/* Navigációs menü */

.nav-container {
    flex-grow: 1; /* Középre igazítja a menüt */
    display: flex;
    justify-content: center; /* Középre igazítva */
}

.nav-links {
    display: flex;
    margin-left: 30px;
    text-align: center;
    gap: 180px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff; /* Arany sárga */
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase; /* Nagybetűk */
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #cfff00;
    transform: scale(1.1);
}

/* Hamburger alap stílus */
.hamburger {
  display: none; /* alapból ne látszódjon */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  right: 30px;
  top: 25px;
  z-index: 101; /* a menü fölött */
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}


/* Mobil nézet */
@media (max-width: 1024px) {
  /* hamburger ikon jelenjen meg */
  .hamburger {
    display: flex;
  }

  /* linkek alapból elrejtve */
  .nav-links {
    display: none;
    position: absolute;
    top: 80px; /* a navbar alatt */
    left: 0;
    width: 100%;
    background-color: #1f1f1f;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  /* amikor JS hozzáadja a .show osztályt */
  .nav-links.show {
    display: flex;
  }
}


/* home page */

.videoborito {
  display: block;       /* hogy margin-auto működjön */
  margin: 0px auto;    /* felül 20px hely, középre igazítja vízszintesen */
  max-width: 100%;      /* ha nagy a videó, ne lógjon ki */
  height: auto;         /* arányosan maradjon */
}


#introduce {
  padding: 40px 50px;
}

.intro-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px; /* szöveg és logó közötti térköz */
}

.intro-text {
  flex: 2;
}

.intro-text h1 {
  margin-bottom: 20px;
}

.intro-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.intro-logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo {
  width: 300px;
  height: auto;
  max-width: 100%;
  position: static; /* fontos: ne legyen absolute */
}

@media (max-width: 1024px) {
  .intro-wrapper {
    flex-direction: column;
    align-items: center;
  }
}


#trainers {
  padding: 40px 50px;
}

#trainers h1 {
  margin-bottom: 30px;
}

.trainer-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto; /* középre húzza a tartalmat */
}

.trainer-slide {
  display: none;
}

.trainer-slide.active {
  display: block;
}

/* szöveg és kép egymás mellett */
.trainer-content {
  display: flex;
  align-items: flex-start;
  gap: 40px; /* szöveg és kép között térköz */
  flex-wrap: wrap; /* ha kisebb a képernyő, alá tudjon törni */
}

.trainer-text {
  flex: 2;
  min-width: 250px;
}

.trainer-text h2 {
  margin-bottom: 15px;
}

.trainer-text p {
  line-height: 1.6;
}

.trainer-image {
  flex: 1;
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.indicators1 {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot1 {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot1.active {
  background-color: #333;
}

/* reszponzív töréspont */
@media (max-width: 1024px) {
  .trainer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .trainer-text {
    order: 1;
  }

  .trainer-image {
    order: 2;
    max-width: 80%;
  }
}


/* us */


#us-section h1{
    text-align: center;
}

#us-section,
#help-section {
  display: flex;
  gap: 40px;
  padding: 30px 100px;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Bal oldali szövegek */
#us,
#help-text {
  flex: 1 1 600px;
  max-width: 600px;
  color: white;
}

/* Jobb oldali képek */
.us-images {
  order: 2; /* képek jobb oldalra */
  flex: 1 1 400px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Bal oldali videók */
.help-videos {
  order: 1; /* videók bal oldalra */
  flex: 1 1 400px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.us-images img,
.help-videos video {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.help-videos video {
  margin-bottom: 40px; /* nagyobb rés a videók között */
}

.help-videos video:last-child {
  margin-bottom: 0; /* az utolsón ne legyen plusz térköz */
}


#help-text {
    order: 2;
    flex: 1 1 600px;
    max-width: 600px;
}

/* Reszponzív nézet telefonra */
@media screen and (max-width: 1024px) {
  #us-section,
  #help-section {
    flex-direction: column;
    padding: 20px;
  }

  #us,
  #help-text,
  .us-images,
  .help-videos {
    max-width: 95%;
    order: initial; /* mobilon ne variáljon a sorrend */
  }
}


/* application */


#jelentkezes h2 {
    text-align: center;
}

#tipus h2 {
    text-align: center;
}


  .leiras {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 1s ease;
    margin-top: 10px;
    text-align: center;
    max-width: 150px;
    font-size: 14px;
  }
  
  /* Amikor aktív */
  .leiras.active {
    max-height: 300px;  /* vagy nagyobb, ha hosszabb a szöveg */
    opacity: 1;
  }
  

.gym {
    width: 200px;;
}

.funkc {
    width: 200px;
}

.uszas {
    width: 200px
}

.futas {
    width: 200px
}

.foci {
    width: 200px
}

.etrend {
    width: 200px;
}

.vega {
    width: 200px;
}

.telefon {
    width: 200px;
}

.email {
    width: 200px;
}

.face {
    width: 200px;
}

.insta {
    width: 200px;
}

.jelentkezes_meta {
    font-size: 1.1rem;
    color: #666;
    text-align: center;

}

.foto-sor {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    
  }  

  .tema {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
  }
  
  .tema img {
    cursor: pointer; /* 👉 kéz ikon jelenik meg */
    transition: transform 0.2s, box-shadow 0.2s; /* sima animáció */
  }
  
  .tema img:hover {
    transform: scale(1.05); /* kicsit nagyít */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* árnyék */
  }

  .foto-sor2 {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .tema2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
  }
  
  .tema2 img {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    
  }
  
  .tema2 img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .leiras2 {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 1s ease;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
  }
  
  /* Aktív (látható) állapot */
  .leiras2.active {
    max-height: 300px;
    opacity: 1;
  }
  
.foto-sor3 {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.tema3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
  }
  
  .tema3 img {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    
  }
  
  .tema3 img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .leiras3 {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 1s ease;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
  }
  
  /* Aktív (látható) állapot */
  .leiras3.active {
    max-height: 300px;
    opacity: 1;
  }

  .email-link {
    color: #0077cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    cursor: pointer;
  }
  
  .email-link:hover {
    color: #cfff00;
    text-decoration: underline;
  }

  .tel-link {
    color: #0077cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    cursor: pointer;
  }
  
  .tel-link:hover {
    color: #cfff00;
    text-decoration: underline;
  }
  
  .facebook-link {
    color: #0077cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    cursor: pointer;
  }
  
  .facebook-link:hover {
    color: #cfff00;
    text-decoration: underline;
  }

  .insta-link {
    color: #0077cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    cursor: pointer;
  }
  
  .insta-link:hover {
    color: #cfff00;
    text-decoration: underline;
  }

  /* ✅ Mobil nézet: képek egymás alatt */
@media (max-width: 1024px) {
  .foto-sor,
  .foto-sor2,
  .foto-sor3 {
    flex-direction: column;   /* egymás alá rendezés */
    align-items: center;      /* középre igazítja */
    gap: 30px;                /* távolság a képek között */
    margin-left: 0;           /* ne tolja el oldalra */
  }

  .tema,
  .tema2,
  .tema3 {
    max-width: 100%;          /* szépen igazodjon */
  }

  .tema img,
  .tema2 img,
  .tema3 img {
    width: 250px;               /* opcionális: kisebb szélesség mobilon */
    max-width: 250px;         /* ne nőjön túl nagyra */
  }

  
}


/* Location*/

.szekcio {
    margin-bottom: 60px;
    text-align: center;
  }
  
  .szekcio h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #cfff00;
  }
  
  .helyszin-sor {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .helyszin-box {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .helyszin-box p {
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .helyszin-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .map-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  
  .map-container.open {
    max-height: 400px; /* akkora, mint a térkép magassága + egy kis ráhagyás */
    margin-top: 10px;
  }

  .toggle-map {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .toggle-map:hover {
    transform: scale(1.03);        /* Kicsit nagyít */
    filter: brightness(85%);       /* Kicsit sötétebb */
  }
  

/* blog */

.blog {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  
  .blog-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
  }
  
  .blog-container {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .blog-post {
    background-color: #000000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  
  .blog-post:hover {
    transform: translateY(-5px);
  }
  
  .blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .blog-post h3 {
    margin: 15px;
    font-size: 1.3rem;
  }
  
  .blog-post .meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
  }
  
  .blog-post p {
    margin: 0 15px 15px;
  }
  
  .read-more {
    display: inline-block;
    margin-bottom: 15px;
    color: #007acc;
    text-decoration: none;
    font-weight: bold;
  }
  .read-more:hover {
    text-decoration: underline;
  }
  
.vissza-gomb-container {
  padding: 1rem;
  text-align: left;
}

.vissza-gomb {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
  background-color: #121212;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.vissza-gomb:hover {
  background-color: #000000;
  color: #cfff00;
}

.blog-cikk {
  margin: 50px;
}

/* footer */

footer {
    margin-top: auto;
    background-color: #1f1f1f;
    color: #fff;
    text-align: center;
    padding: 15px;
}
