/* ===== 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,
.hero {
  padding: 100px 20px;
  text-align: center;
}

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

/* HERO SZEKCIÓ */
.hero {
  position: relative;
  width: auto;
  height: 80vh;
  color: #fff;
  text-align: center;
  background: url("../images/background.png") center/cover no-repeat;
  padding: 160px 20px;
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin: auto;
  margin-top: 30vh;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 1000;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 20px 0px 20px 0px;
  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: #003552;
  border: solid #fff 2px;
  color: #fff;
  margin-left: 10px;
}

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

/* ===== 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;
}

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

.footer-col p,
.footer-col li {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.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 {
  display: flex;
  align-items: center;
  gap: 8px;
}

#clients h2 {
  color: #003552;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 300px;
  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: 768px) {
  .section {
    padding: 50px 20px;
  }
  .nav ul {
    flex-direction: column;
    background: #08334a;
    padding: 10px;
  }

  .hero {
    padding: 100px 20px;
  }

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

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

  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;
}
