body 
{
        margin: 0;
    font-family: Arial, sans-serif;
    background-color: black;
}
  
  .header 
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    padding: 10px 20px;
    border-bottom: 2px solid #ccc;
}

.skip-link {
      position: absolute;
      top: -40px;
      left: 0;
      background: #000;
      color: #fff;
      padding: 8px;
      z-index: 100;
      text-decoration: none;
    }

    .skip-link:focus {
      top: 0;
    }
  
  .logo 
{
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
  .logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  .title {
    text-align: center;
    align-self: last baseline;
    flex-grow: 1;
  }
  
  .title h1 {
    margin: 0;
    font-size: 300%;
    /*background-color: #ccc;*/
    font-weight: bold;
    color: white;
  }
  
  .navbar {
    display: flex;
    justify-content: center;
    background-color: red;
    border-top: 2px solid black;
  }

  .navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  body.sticky-nav-active {
    padding-top: 60px; /* vagy amekkora a navbar magassága */
  }
  
  .navbar a {
    padding: 15px 25px;
    text-decoration: none;
    color: black;
    font-size: 140%;
    transition: background-color 0.3s ease;
  }
  
  .navbar a:hover {
    background-color: rgb(5, 183, 5);
  }

  .active
  {
    background-color: rgb(5, 183, 5);
  }
/*
  #fb
  {
    text-align: right;
    justify-content: right;
  }
*/
  #fb:hover
  {
    background-color: blue;
    color: white;
  }

  .map {
    flex: 1 1 300px;
  }
  
  .map img {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
  }

  /* Lightbox overlay */
.overlay {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.overlay img.large-map {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  cursor: zoom-out;
}

/* Thumbnail hover effect */
.map img.thumbnail {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.map img.thumbnail:hover {
  transform: scale(1.02);
}

  .content {
    min-height: calc(100vh - 200px); /* hogy kitöltse a képernyőt header + nav után */
    display: flex;
    line-height: 130%;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    /*background-image: url('csapat2.jpg');  */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }
  
  /* Csak a szövegdoboz középen */
  .content-box {
    background-color: black;
    color: black;
    padding: 40px;
    /*max-width: 800px;*/
    width: 200%;
    /*border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);*/
    text-align: left;
  }

  .kiscim
  {
    color: white;
    font-weight: bolder;
  }

  figcaption
  {
    color: white;
  }


  .coaches {
    margin: 40px 0;
    padding: 0 20px;
  }
  
  .coaches h2 {
    margin-bottom: 20px;
  }
  
  .coach-gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
  }

  .flickity-viewport
  {
    transition: height 0.2s;
  }

  .main-carousel {
  width: 90%;       /* vagy pl. 800px ha fixet akarsz */
  max-width: 1000px;
  margin: 0 auto;   /* középre igazítja */
}


  .carousel-cell {
  width: 45%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  background-color: #000; /* vagy világosabb háttér */
  height: 500px; /* 500px */
}

.carousel-pic {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}


/*
  .carousel-cell img
  {
    max-height: 600px;
    max-width: 100%;
    /*height: auto;
    width: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;

    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }*/

  .carousel.is-fullscreen .carousel-cell {
    height: 100%;
  }

  .carousel-cell.is-selected
  {
    /*max-width: 100%;
    max-height: 600px;
    height: auto;
    width: auto;*/

    transform: scale(1.1);
    z-index: 2;
    filter: brightness(1);
  }

  .button-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
  }
  
  .image-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 150px;
    text-decoration: none;
    color: white;

    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;

    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
  }
  
  .image-button:hover {
    transform: scale(1.05);
  }
  
  /* Különböző háttérképek a két gombhoz */
  .btn-1 {
    background-image: url("kepek/edzes.jpg");
  }
  
  .btn-2 {
    background-image: url("kepek/gyozelem.jpg");
  }
  
  
  /* Hamburger gomb alapstílus */
.menu-toggle {
  display: none;
  font-size: 140%;
  cursor: pointer;
  padding: 10px 20px;
  background-color: red;
  border-bottom: 2px solid #ccc;
}

/* Mobilnézet */
@media (max-width: 890px) {
  .trainers {
    flex-direction: column;
    gap: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    display: none; /* alapból rejtve */
    background-color: red;
  }

  .navbar.active {
    display: flex; /* megjelenítés gombra */
  }

  .navbar a {
    width: 100%;
    text-align: center;
    border-top: 1px solid #ccc;
  }

  .title h1
  {
    font-size: 200%;
  }

  /* ezeket a magasságokat majd a véglegeshez jobban be kellene állítani */
  .content-box
  {
    width: 100%;
  }

  .coach 
  {
    width: 100%;
  }

  #csabi
  {
    width: 100%;
  }

  #nagyrambo
  {
    height: 200%;
  }

  #nagycsabi
  {
    max-width: 100%;
  }
}

@media print {
  /* Elrejtjük a fejlécet, menüt, hamburger ikont */
  .header,
  .navbar,
  .menu-toggle,
  .skip-link,
  script,
  .button-container,
  footer {
    display: none !important;
  }

  /* Háttérkép eltávolítása és szín fehérre állítása */
  body,
  .content {
    background: white !important;
    background-image: none !important;
    color: black !important;
  }

  /* Szövegdoboz kinézet egyszerűsítése */
  .content-box {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0;
  }

  /* Betűméret, margók nyomtatáshoz */
  body {
    font-size: 12pt;
    margin: 2cm;
  }

  /* Linkek ne legyenek kékek */
  a {
    color: black !important;
    text-decoration: none !important;
  }

  /* Oldaltörés segítése ha szükséges */
  h2, h3 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  p {
    page-break-inside: avoid;
  }
}
