/* ===== ALAPBEÁLLÍTÁSOK ===== */
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: #222; /* alapértelmezett sötét szöveg */
  background: #fff;
}

main {
  margin-top: 70px;
}

h2 {
  font-size: 2.5rem;
  margin-top: 0px;
  margin-bottom: 70px;
  font-weight: 900;
}
/* ===== SZEKCIÓK ===== */
.section {
  padding-top: 70px;
  padding-bottom: 70px;
  text-align: center;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HERO SZEKCIÓ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  color: #fff;
  background: url("../images/background.png") center/cover no-repeat;

  /* Layout alignment */
  display: flex;
  align-items: center; /* Vertically centers the box */
  justify-content: flex-start; /* Keeps it on the left */
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 50%; /* Sets the box to exactly half the screen width */
  height: 100%; /* Makes the blur go from top to bottom */

  /* Creating the blurred sidebar effect */
  background: rgba(0, 103, 159, 0.7); /* Darker tint for better text contrast */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  /* Internal spacing */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers text vertically within the 50% zone */
  padding: 0 5%; /* Gives the text some breathing room from the edges */
  box-sizing: border-box;
}

.hero-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.glass-pane {
  width: fit-content;
  text-align: right;
  align-items: right;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  margin-top: 10px;
  font-weight: 500;
  line-height: 1.1;
  text-align: right;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 70px;
  margin-bottom: 70px;
  text-align: right;
  margin-left: auto;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #00a5ff;
  color: #fff;
  margin-right: 10px;
}

.btn-primary:hover {
  filter: brightness(1.2);
}

.btn-contact {
  background: #00a5ff;
  color: #fff;
  margin-left: 10px;
}

.btn-contact:hover {
  background: #fff;
  color: #00a5ff;
}

/* ===== VILÁGOS / SÖTÉT SZEKCIÓK ===== */
.section.light {
  background: #00679f;
  color: #fff;
}

.section.gray {
  background: #002940;
  color: #fff;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #003552;
  color: #cdd3d8;
  padding: 60px 0 20px 0;
}

.site-footer p {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer .pitchpro {
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
  gap: 30px;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.footer-col h3 {
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  color: #fff;
}

.footer-col p,
.footer-col li,
.footer-col a {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  margin-left: 0;
}

.footer-col ul {
  padding: 0px;
}

.footer-col a,
.site-footer a {
  color: #fff;
  text-decoration: none;
}

.footer-col a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.links-footer {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
}

.links-footer li {
  display: flex;
  align-items: center;
}

.contact-info-footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  padding: 0;
}

.contact-info-footer li,
.adress,
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
}

#clients h2 {
  color: #003552;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 150px;
  margin: auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 25%; /* Default: 4 per row */
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 50%; /* Tablet: 2 per row */
  }
}

@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 100%; /* Mobile: 1 per row */
  }
}

.carousel-slide img {
  width: 250px;
}

.carousel-dots {
  text-align: center;
  margin-top: 15px;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  margin: 5px;
  border-radius: 50%;
  border: none;
  background-color: #00a5ff;
  cursor: pointer;
}

.carousel-dots button.active {
  background-color: #003552;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
  .hero-content {
    width: 70%; /* Give text more room on tablets */
  }
}

@media (max-width: 768px) {
  .hero {
    justify-content: center; /* Center the content on mobile */
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-content {
    width: 100%; /* Take full width */
    height: auto; /* Let content dictate height */
    padding: 40px 20px;

    /* Optional: If you want the blur to cover the whole screen on mobile */
    /* height: 100%; */

    /* Optional: Center text on mobile for better balance */
    text-align: center;
    align-items: center;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* Adjust for very short screens (landscape phones) */
@media (max-height: 500px) {
  .hero {
    height: auto;
    padding: 60px 0 0 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 20px;
  }
  .nav ul {
    flex-direction: column;
    background: #08334a;
    padding: 10px;
  }

  h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 425px) {
  .btn-primary {
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
  }
  .btn-contact {
    margin-right: 10px;
    margin-left: 10px;
  }
  .footer-grid {
    width: 75%;
  }
}

/** Adat kezelesi */

.adatkezeles {
  width: 90%;
  max-width: 1200px;
  padding: 40px;
  margin: auto;
  margin-top: 40px;
  text-align: left;
}
.adatkezeles p {
  overflow-wrap: anywhere;
}
