:root 
{
    --primary-color: darkgray;
    --hover-color: grey;
    --accent-color: white;
    --text-color: black;
    
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
  font-family: Arial, Helvetica, sans-serif;
    color: var(--text-color);
}

main
{
    padding: min(5em,7%);
}

main p
{
    margin-top: .35em;
}


nav
{
    background-color: white;
    border-bottom: 1px solid var(--hover-color);
}

nav ul
{
    list-style: none;
    display: flex;
}

nav .home-li
{
    margin-right:  auto;
}
nav li
{
    display: flex;
}
nav a
{
    display: flex;
    text-decoration: none;
    color: var(--text-color);
    padding: 1em 2em;
    transition: background-color 150ms ease;
}

nav a:hover
{
    background-color: var(--hover-color);
}
#open-sidebar-button
{
    display:none;
    background: none;
    border: none;
    padding: 1em;
    margin-left: auto;
    cursor: pointer;
}
#overlay
{
    background: rgb(0,0,0,0.5);
    position: fixed;
    inset: 0;
    z-index: 9;
    display: none;
}
#close-sidebar-button
{
    display: none;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
}
.hero
    {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #1a1a1a;
        color: white;
        padding: 3rem;
        gap: 2rem;
        flex-wrap: wrap ;
    }

    .hero-text
    {
        flex: 1 1 300px;
        font-size: 1.2rem;
    }
    .hero-text h1
    {
        margin-bottom: 1rem;
    }

    .hero-text .motivation
    {
        margin-top: 2rem;
        font-size: 1rem;
        color: #ccc;

    }

    .hero-image
    {

        flex: 1 1 300px;
        text-align: right;
        width: 100%;
        max-width: 500px;
        border-radius: 10px;
    }
    
    

    .about {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 4rem;
        background-color: #1a1a1a;
        padding: 3rem;
        color: white;
        flex-wrap: wrap;
    }

    


    
    .navbar-top {
        justify-content: space-between;
        padding: 0.5rem 1rem;
        background-color: white;
        border-bottom: 1px solid var(--hover-color);
        

      }
      


      body {
        background-color: #1a1a1a;
        overflow-x: hidden;
        margin: 0;
        font-family: Arial, Helvetica, sans-serif;
        color: white;
      }

      
      
    .about-text
    {
        flex: 1 1 300px;
        font-size: 1.2rem;

    }
    .about-text h1
    {
        margin-bottom: 1rem;
    }

    .about-video
    {
        width: 100%;
        max-width: 800px;
        margin: 2rem auto;
        aspect-ratio: 16/9;
        overflow: hidden;
        border-radius: 10px;

    }

    .about-video video
    {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border: none;
    }


    .berleteink_es_araink {
      padding: 2rem;
      background-color: #1a1a1a;
      color: white;
      font-family: Arial, Helvetica, sans-serif;
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  
  .berleteink_es_araink h1 {
      /*text-align: center;*/
      margin-bottom: 2rem;
      font-size: 2.2rem;
      font-weight: bold;
      color: #FFD700;
      text-shadow: 1px 1px 3px #000;
  }
  
  .berleteink_es_araink table {
      width: 95%;
      max-width: 1100px;
      margin: 0 auto;
      border-collapse: separate;
      border-spacing: 0 1.2rem;
      background-color: #222;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  }
  
  .berleteink_es_araink thead {
      background-color: #333;
  }
  
  .berleteink_es_araink th {
      padding: 1rem;
      font-size: 1.1rem;
      color: #FFD700;
      text-align: left;
      border-bottom: 1px solid #444;
      background-color: #2a2a2a;
  }
  
  .berleteink_es_araink td {
      padding: 1.2rem 1rem;
      color: #eee;
      font-size: 1rem;
      line-height: 1.6;
      background-color: #2a2a2a;
      border-radius: 8px;
  }
  
  .berleteink_es_araink td:first-child {
      font-weight: bold;
      color: #FFD700;
      width: 25%;
  }
  
  .berleteink_es_araink td:nth-child(2) {
      white-space: nowrap;
      width: 20%;
      font-weight: bold;
  }
  
  .berleteink_es_araink td:nth-child(3) {
      text-align: left;
      font-size: 1rem;
      white-space: pre-line;
      width: 55%;
  }
  
  .berleteink_es_araink tbody tr:hover td {
      background-color: #3a3a3a;
      transition: background-color 0.3s ease;
  }
  
    
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  
  
  .iron-gym-logo-wrapper {
    margin: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
  }
  
  
  .iron-gym-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  

  .Szolgaltatasok-table {
    width: 100%;
    max-width: 1300px;         
    margin: 0 auto;            
    background-color: #1a1a1a;
    padding: 2rem;
    border-spacing: 2rem 1rem;
    text-align: center;
    color: white;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


.Szolgaltatasok-table h1 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.Szolgaltatasok-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2rem 1rem;
}

.Szolgaltatasok-table th {
    font-size: 1.1rem;
    font-weight: bold;
}

.Szolgaltatasok-table td {
    text-align: left;
    vertical-align: top;
    font-size: 1rem;
    line-height: 1.5;
}

.Szolgaltatasok-table img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
    object-fit: cover;
}



.Szolgaltatasok-table h1 {
    /*text-align: center;*/
    margin-bottom: 2rem;
    color: white;
    font-size: 2rem;
}

.Szolgaltatasok-table td,
.Szolgaltatasok-table th {
    vertical-align: top;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    padding: 1rem;
    max-width: 300px;
}

.Szolgaltatasok-table th {
    font-size: 1.1rem;
    color: #ddd;
}

.Szolgaltatasok-table td img {
    width: 280px;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 0.5rem;
}


.Extra-Szolgaltatasok table {
    width: 100%;
    background-color: #1a1a1a;
    padding: 2rem;
    border-spacing: 2rem 1rem;
    text-align: center;
    color: white;
}

.Extra-Szolgaltatasok h1 {
    /*text-align: center;*/
    margin-bottom: 2rem;
    color: white;
    font-size: 2rem;
}

.Extra-Szolgaltatasok td {
    vertical-align: top;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    padding: 1rem;
    max-width: 300px;
}

.Extra-Szolgaltatasok td img {
    width: 280px;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.Extra-Szolgaltatasok td b {
    display: block;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
}

.Extra-Szolgaltatasok {
  background-color: #1a1a1a;
    padding: 2rem;
    text-align: center;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.Extra-Szolgaltatasok h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.Extra-Szolgaltatasok table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.Extra-Szolgaltatasok td {
    padding: 1rem;
    vertical-align: top;
    font-size: 1rem;
    line-height: 1.6;
}

.Extra-Szolgaltatasok img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.Extra-Szolgaltatasok td:first-child::before {
    content: "Jóga ";
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.Extra-Szolgaltatasok td:nth-child(2)::before {
    content: "CrossFit ";
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.Extra-Szolgaltatasok td:nth-child(3)::before {
    content: "Spinning ";
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.Extra-Szolgaltatasok td:nth-child(4)::before {
    width: 50%;
    content: "Boxing ";
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.Extra-Szolgaltatasok td:last-child img {
    max-width: 260px;
}


  
  .kapcsolat-wrapper {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #1a1a1a;
    color: #fff;
  }
  
  .kapcsolat-wrapper h1 {
    /*text-align: center;*/
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .kapcsolat-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
  }
  
  
  .contact-info {
    flex: 1 1 300px;
    line-height: 1.6;
  }
  
  
  .contact-form {
    flex: 1 1 300px;
    background-color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
  }
  
  .contact-form form {
    display: flex;
    flex-direction: column;
  }
  
  .contact-form label {
    margin: 0.5rem 0 0.25rem;
    font-weight: bold;
  }
  
  .contact-form input[type="text"],
  .contact-form textarea {
    padding: 0.5rem;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .contact-form textarea {
    resize: vertical;
  }
  
  .radio-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .checkbox {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .form-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
  }
  
  .form-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    background-color: white;
    color: black;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .form-buttons button:hover {
    background-color: #ccc;
  }


  .services-wrapper {
    background-color: #1a1a1a;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    padding: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .services-wrapper h1 {
    /*text-align: center;*/
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  
  .services-item {
    background-color: #1a1a1a;
    padding: 1rem;
    border-radius: 8px;
    flex: 1 1 300px;
    max-width: 380px;
    box-sizing: border-box;
    text-align: center;
  }
  
  .services-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
    object-fit: cover;
  }
  
  .services-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
  }
  
  .services-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: #eee;
  }



  .Szolgaltatasok-responsive {
    background-color: #1a1a1a;
    padding: 2rem;
    text-align: center;
    color: white;
  }
  
  .Szolgaltatasok-responsive h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .service-box {
    flex: 1 1 300px;
    background-color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: left;
  }
  
  .service-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
  }
  
  .service-box p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .service-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }


  nav a[aria-current="page"] {
    font-weight: bold;
    text-decoration: underline;
    color: #ffcc00;
  }
  

  

  .kapcsolat-hatter {
    background-image: url("bgcover.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: white; 
}

.kapcsolat-wrapper {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    color: white;
    max-width: 900px;
    width: 100%;
}

.kapcsolat-wrapper h1,
.kapcsolat-wrapper h2,
.kapcsolat-wrapper p,
.kapcsolat-wrapper label {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hasznos-info {
  padding: 15px;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.1rem;
  text-align: left;
}

.external-links {
  
  color: white;               
  padding: 30px 20px;
  margin-top: 40px;
  border-top: 3px solid #ccc;
  border-radius: 0;
  text-align: left;
}

.external-links h2 {
  font-size: 1.4em;
  margin-bottom: 16px;
  color: white;
}

.external-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.external-links li {
  margin: 10px 0;
}

.external-links a {
  text-decoration: none;
  color: #66b2ff;
  font-weight: 500;
  text-decoration: underline;
}
  
  
.external-links a:visited {
  color: #ffcc00;
}

.external-links a:hover {
  text-decoration: underline;
}

.services-item img {
  width: 100%;
  height: auto;
}

a 
{
  color: #3399ff;
  text-decoration: underline;
}

nav a
{
  color: #004080;
  text-decoration: none;
}
/*
a:link {
  color: #004080;
  text-decoration: none;
}

a:visited {
  color: #6b6b6b;
}

a:link,
a:visited {
  text-decoration: underline;
}

*/


.radio-group,
.checkbox-group {
  display: flex;
  gap: 1rem;
  margin: 0.5rem 0;
  align-items: center;
  flex-wrap: wrap;
}

.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}


.active-link {
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: underline;
  color: #000; 
}


.kontraszt-mod {
  background-color: #000 !important;
  color: #FFD700 !important;
}

.kontraszt-mod a {
  color: #00FFFF !important;
  text-decoration: underline !important;
}



.kontraszt-mod h1, 
.kontraszt-mod h2, 
.kontraszt-mod h3 {
  color: #FFFFFF !important;
}

.kontraszt-mod button {
  background-color: #000 !important;
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;
}



.kontraszt-mod * {
  background-color: inherit !important;
  color: #FFD700 !important;
  border-color: #FFD700 !important;
}


.kontraszt-mod nav,
.kontraszt-mod header,
.kontraszt-mod footer,
.kontraszt-mod main,
.kontraszt-mod section,
.kontraszt-mod aside,
.kontraszt-mod .services-item,
.kontraszt-mod .kapcsolat-container {
  background-color: #000 !important;
}

.kontraszt-mod button,
.kontraszt-mod input,
.kontraszt-mod textarea,
.kontraszt-mod select {
  background-color: #000 !important;
  color: #FFD700 !important;
  border: 1px solid #FFD700 !important;
}

.kontraszt-mod img {
  filter: grayscale(100%) contrast(150%);
}

@media screen and (max-width: 700px)
{
    #open-sidebar-button, #close-sidebar-button{display: block}
    nav
    {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(15em, 100%);
        z-index: 10;
        border-left: 1px solid var(--hover-color);
        transition: right 300ms ease-out;
    }
    
    
    nav.show ~ #overlay
    {
        display:  block;
    }

    #navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

#navbar li {
    display: flex;
    align-items: center;
}

#navbar a {
    text-decoration: none;
    color: var(--text-color);
    padding: 1rem 0;
    transition: background-color 150ms ease;
}

#navbar a:hover {
    background-color: var(--hover-color);
}
    nav.show
    {
        right: 0;
    }
    nav ul
    {
        width: 100%;
       flex-direction: column;
    }
    nav a
    {
        width: 100%;
        padding-left: 2.5em;
    }

    nav a.active-link
    {
        border-bottom: none;

    }
    nav .home-li
    {
        margin-right: unset;
    }
  }
    .skip-link
    {
        opacity: 0;
        pointer-events: none;
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 1000;
        background-color: var(--accent-color);
        color: black;
        padding: 12px 24px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        font-size: 1rem;
        transition: opacity 0.3s ease;
    }
    .skip-link:focus
    {
        opacity: 1;
        pointer-events: auto;
        outline: 3px solid black;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
        display: block;
      }
      
      .Szolgaltatasok-table table {
        border-spacing: 1rem 0.5rem;
    }

    .Szolgaltatasok-table td,
    .Szolgaltatasok-table th {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .Szolgaltatasok-table td img {
        max-width: 100%;
        height: auto;
    }
    .kapcsolat-container {
        flex-direction: column;
      }
    
      .contact-form,
      .contact-info {
        flex: 1 1 100%;
        
      }
      .services-container {
        flex-direction: column;
        align-items: center;
      }
    
      .services-item {
        max-width: 100%;
      }
     



@media screen and (min-width: 701px) and (max-width: 1024px) {
  .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media screen and (min-width: 1025px) {
  .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }
}

.services-grid img,
.services-grid video {
  max-width: 100%;
  height: auto;
}


@media print {
  nav, #navbar, .sidebar, #overlay, button, video, .skip-link {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  main {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 90%;
  }
}



