@charset "UTF-8";
/* =========================
   MOBIL (iPhone 16 / 780px alatt)
   ========================= */
@media (max-width: 780px){

  /* Ne legyen oldalsó "kényszer" flex-középre rendezés mobilon */
  body{
    display: block;
    margin-top: 0;
  }

  .container{
    border-radius: 0;
    overflow: hidden;
  }

  /* Általános tipó: olvashatóbb (alapból sorkizárt mobilon is) */
  .intro-container p,
  .contact-intro,
  .contact-details p,
  .circle-item p,
  .project-body p,
  .projects-intro{
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  .intro-container h2,
  .contact-box h2{
    font-size: 28px;
  }

  /* =========================
     HEADER + MENÜ
     ========================= */
  .main-header{
    flex-direction: column;
    height: auto;
    padding: 12px 10px;
    gap: 10px;
  }

  .header-half.left,
  .header-half.right{
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  .header-center{
    position: static;
    transform: none;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 6px;
  }

  .header-content{
    justify-content: center;
    gap: 10px;
  }

  .header-content img{
    max-height: 44px;
    max-width: 90px;
  }

  .company-name{
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .menu-btn{
    padding: 14px 20px;
  }
  .menu-label{
    font-size: 15px;
  }
  .hamburger span{
    width: 20px;
    height: 2px;
  }

  .menu-dropdown{
    left: 50%;
    transform: translateX(-50%);
  }
  .menu-dropdown a{
    font-size: 18px;
    padding: 12px 14px;
    margin: 8px 0;
  }

  /* =========================
     SLIDER
     ========================= */
  .slider-wrapper{
    margin-top: 10px;
    padding: 0 12px;
  }

  .slider-container{
    height: 360px;
    border-radius: 14px;
  }

  .slider-text h3{
    font-size: 22px;
    letter-spacing: 2px;
    padding: 0 10px;
  }

  .slider-dots{
    bottom: 12px;
    gap: 8px;
  }

  /* =========================
     INTRO
     ========================= */
  .intro-wrapper{
    padding: 0 12px;
  }

  .intro-container{
    padding: 22px 18px;
  }

  /* FONTOS: mobilon is maradjon sorkizárt (NINCS text-align:left itt) */
  .intro-container p{
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  /* =========================
     3 KÖR — egymás alatt
     ========================= */
  .circle-section{
    flex-direction: column;
    gap: 24px;
    margin: 30px auto;
    padding: 0 12px;
  }

  .circle-image{
    width: 240px;
    height: 240px;
    border-width: 6px;
    margin-bottom: 16px;
  }

  .circle-item h3{
    font-size: 22px;
    margin-bottom: 10px;
  }

  .circle-item p{
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  /* =========================
     PROJEKTEK — kártyák egymás alá
     ========================= */
  .projects-intro{
    padding: 0 12px;
    margin: 18px auto 26px;
    font-size: 18px;
    line-height: 1.9;
  }

  .projects-list{
    padding: 0 12px;
    gap: 18px;
  }

  .project-row{
    flex-direction: column;
    gap: 14px;
    padding: 14px;
  }

  .project-left{
    width: 100%;
    border-width: 4px;
  }

  .project-visual{
    height: 180px;
  }

  .project-top h2{
    font-size: 20px;
  }

  .project-meta li{
    font-size: 16px;
  }

  .project-actions{
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary{
    text-align: center;
    padding: 12px 16px;
    font-size: 16px;
  }

  /* =========================
     KAPCSOLAT — minden középen, térkép legalul
     ========================= */
  .contact-section{
    padding: 0 12px;
    text-align: center;
  }

  /* Két hasáb -> egymás alá */
  .contact-grid{
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Elérhet?ség felül */
  .contact-details{
    order: 1;
    text-align: center;
  }

  .contact-details h3,
  .contact-details p{
    text-align: center;
  }

  .contact-details p{
    font-size: 18px;
  }

  /* Térkép blokk legalul */
  .contact-map{
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
/* Kapcsolatok – bevezet? szöveg: középre, NEM sorkizárt */
.contact-intro{
  text-align: center !important;
  text-justify: unset;
  hyphens: none;
}
  .contact-map h3{
    order: 1;
    text-align: center;
  }

  .map-box{
    order: 2;
    width: 100%;
    height: 320px;
    max-width: 100%;
    min-height: 300px;
    border-width: 4px;
    border-radius: 14px;
    margin: 0 auto;
  }

  .map-box iframe{
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
  }

  .map-note{
    order: 3;
    text-align: center;
    font-size: 14px;
  }

  /* Kapcsolat kép (ha használod) */
  .contact-image-wrapper{
    padding: 0 12px;
  }

  .contact-image-container{
    height: 260px;
    border-radius: 14px;
  }

  /* =========================
     FOOTER
     ========================= */
  .footer-container{
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 16px 14px;
  }

  /* =========================
     PROJEKTEK INTRO BOX (ha van ilyen külön dobozod)
     ========================= */
  .projects-intro-wrapper{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
  }

  .projects-intro-box{
    padding: 25px 20px;
    border-radius: 12px;
  }

  .projects-intro-box h2{
    font-size: 26px;
    margin-bottom: 15px;
    text-align: center;
  }

  .projects-intro-box h4{
    font-size: 17px;
    margin-bottom: 15px;
    text-align: center;
  }

  .projects-intro-box p{
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  /* =========================
     TEXT + IMAGE BOX (ha van ilyen szekciód)
     ========================= */
  .text-image-box{
    flex-direction: column;
    min-height: auto;
  }

  .text-content{
    width: 100%;
    padding: 20px;
  }

  .text-content p{
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  .image-content{
    width: 100%;
    padding-left: 0;
    padding-top: 15px;
    box-sizing: border-box;
  }

  .image-content img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }

}
