/* Global Reset és alapstílusok */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: #aa2222;
  text-decoration: none;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Fejléc stílusok */
header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;

    .logo {
      display: flex;
      align-items: center;

      img {
        width: 50px;
        margin-right: 10px;
      }

      span {
        font-size: 1.5em;
        font-weight: bold;
        color: #0077B6; // vízhez illő kék árnyalat
      }
    }

    .header-info {
      p {
        color: #000;
        font-size: 1.2em;
        span {
          font-weight: bold;
        }
      }
    }

    .header-contact {
      p {
        color: #000;
        font-size: 1.3em;
        span {
          font-weight: bold;
        }
      }
    }

    nav {
      ul {
        list-style: none;
        display: flex;

        li {
          margin-left: 20px;

          a {
            text-decoration: none;
            color: #0077B6;
            font-weight: bold;
            transition: color 0.3s ease;

            &:hover {
              color: #005f8a;
            }
          }
        }
      }
    }
  }
}

/* Lapozható galéria */
.slider-gallery {
  position: relative;
  overflow: hidden;

  .slider {
    position: relative;

    .slides {
      display: flex;
      transition: transform 0.5s ease-in-out;

      .slide {
        width: 100%;
        height: 50vh;
        display: none;
        object-fit: cover;

        &.active {
          display: block;
        }
      }
    }

    .slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 119, 182, 0.7);
      border: none;
      color: #fff;
      font-size: 2em;
      padding: 10px;
      cursor: pointer;
      z-index: 2;
      transition: background 0.3s ease;

      &:hover {
        background: rgba(0, 99, 160, 0.9);
      }

      &.prev {
        left: 10px;
      }

      &.next {
        right: 10px;
      }
    }
  }
}

/* Hero (Bemutatkozó) szekció */
.hero-section {
  position: relative;
  background: url('images/hero.webp') no-repeat center center/cover;
  height: auto;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 119, 182, 0.5);
  }

  .hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;

    h1 {
      font-size: 2.5em;
      margin-bottom: 20px;
    }

    p {
      font-size: 1.2em;
      margin-bottom: 30px;
    }

    .cta-btn {
      background-color: #0077B6;
      color: #fff;
      padding: 12px 25px;
      text-decoration: none;
      border-radius: 5px;
      transition: background-color 0.3s ease;

      &:hover {
        background-color: #005f8a;
      }
    }
  }
}

/* Szolgáltatások szekció */
.services-section {
  padding: 60px 0;
  background-color: #f0f8ff;
  text-align: center;

  h2 {
    margin-bottom: 40px;
    font-size: 2em;
    color: #0077B6;
  }

  .services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    max-width:1000px;
    margin: 0 auto;

    .service-item {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 10px;
      margin: 10px;
      width: calc(33.333% - 20px);
      padding: 20px;
      transition: transform 0.3s ease;

      &:hover {
        transform: translateY(-5px);
      }

      .service-icon {
        img {
          width: 60px;
          width: 100%;
          height: auto;
          margin-bottom: 15px;
          aspect-ratio: 16 / 9;
          object-fit: cover;
        }
      }

      h3 {
        margin-bottom: 10px;
        color: #005f8a;
      }

      p {
        font-size: 0.9em;
        color: #555;
      }
    }
  }
}

section.info {

  padding: 60px 0;
  background-color: #fff;

  & > .container {
    margin-left:auto;
    margin-right:auto;
  }
}

#why-us {
  padding: 60px 0;
  background-color: #fff;
  /* text-align: center; */

  h2 {
    margin-bottom: 40px;
    font-size: 2em;
    color: #0077B6;
  }

  & > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;

    .why-us-box {
      flex: 1;
      margin: 10px;
      padding: 20px;
      min-width: 250px;

      h3 {
        margin-bottom: 15px;
        color: #005f8a;
      }

      p {
        font-size: 1em;
        color: #555;
      }
    }
  }

  .testimonials {
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
    color: #333;

    blockquote {
      quotes: "“" "”" "‘" "’";

      &:before {
        content: open-quote;
      }
      &:after {
        content: close-quote;
      }
    }

    .testimonial-author {
      margin-top: 10px;
    }
  }
}

/* Kapcsolat szekció */
.contact-section {
  padding: 60px 0;
  background-color: #f0f8ff;

  h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #0077B6;
  }

  .contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    .contact-form,
    .contact-info {
      flex: 1;
      min-width: 300px;
      margin: 10px;
      padding: 20px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .contact-form {
      form {
        label {
          display: block;
          margin-bottom: 5px;
          font-weight: bold;
          color: #333;
        }
        input,
        textarea {
          width: 100%;
          padding: 10px;
          margin-bottom: 15px;
          border: 1px solid #ccc;
          border-radius: 5px;
        }
        button {
          width: 100%;
          padding: 12px;
          background-color: #0077B6;
          color: #fff;
          border: none;
          border-radius: 5px;
          font-size: 1em;
          cursor: pointer;
          transition: background-color 0.3s ease;

          &:hover {
            background-color: #005f8a;
          }
        }
      }
    }

    .contact-info {
      h3 {
        margin-bottom: 15px;
        color: #005f8a;
      }
      p {
        margin-bottom: 10px;
      }
      .map-container {
        iframe {
          border: 0;
          width: 100%;
          height: 250px;
          border-radius: 5px;
        }
      }
    }
  }
}

/* Lábléc */
footer {
  background-color: #0077B6;
  color: #fff;
  padding: 20px 0;

  a {
    color: white;
  }

  ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    place-content: space-between;
    gap:10px;
    margin-bottom:20px;
    li {
      white-space: nowrap;
    }
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;

    .footer-logo {
      display: flex;
      align-items: center;

      img {
        width: 40px;
        margin-right: 10px;
      }
      span {
        font-size: 1.2em;
        font-weight: bold;
      }
    }

    .footer-info {
      text-align: center;
      flex: 1;
      p {
        font-size: 0.9em;
      }
    }

    .footer-social {
      a {
        margin-left: 15px;
        color: #fff;
        transition: color 0.3s ease;

        &:hover {
          color: #cce7ff;
        }

        .social-icon {
          width: 24px;
          height: 24px;
          fill: currentColor;
        }
      }
    }
  }
}

/* Reszponzív fejlesztések */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;

    nav {
      ul {
        margin-top: 10px;
        flex-direction: column;

        li {
          margin: 5px 0;
        }
      }
    }
  }

  .services-container {
    flex-direction: column;

    .service-item {
      width: 100%;
    }
  }

  .why-us-content {
    flex-direction: column;
  }

  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-content {
    h1 {
      font-size: 2em;
    }
    p {
      font-size: 1em;
    }
  }
}

        .menu-container {
            position: relative;
            z-index: 10; 

            .menu-button {
                /* background-color: #333; */
                /* color: white; */
                padding: 10px 15px;
                border: none;
                cursor: pointer;
                font-size: 30px;
                display: block;
                width: 100%;
                text-align: center;
                span {
                  display:block;
                  font-size:12px;
                }
            }

            .menu-content {
                opacity: 0;
                max-height: 0;
                overflow: hidden;
                position: absolute;
                background-color: #f9f9f9;
                width: 100%;
                box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
                z-index: 1;
                transition: opacity 0.5s ease, max-height 0.5s ease;

    /* opacity: 1; */
    /* max-height: 254px; */
    width: 300px;
    max-width: 100vw;
    right: 0;


                a {
                    display: block;
                    color: black;
                    padding: 12px 16px;
                    text-decoration: none;
                    border-bottom: 1px solid #ddd;

                    &:hover {
                        background-color: #ddd;
                    }
                }
            }
        }

        @media (max-width: 768px) {
            .menu-container {
                .menu-content {
                    position: static;
                }
            }
        }


h1 {
    font-size: 2em;
    margin: 20px 0;
}
h2 {
    font-size: 1.5em;
    margin: 20px 0 10px 0;
}
ol, ul {
	margin-left:50px;
}

.cta-container {
  display: none;
}

@media screen and (max-width: 768px) {
  .cta-container {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .cta-button {
    padding: 12px 24px;
    background-color: #aa2222;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
  }

  .services-section {
    .services-container {
      .service-item {
        width: calc(100% - 20px);
      }
    }
  }

  footer {
    margin-bottom: 46px;
  }

}
