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

  /* 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 */
  .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;              /* szépen törje a szavakat */
  }

  .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;     /* nincs absolute */
    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;
  }

  /* Középső menü gomb: nagyobb, könnyen tappolható */
  .menu-btn{
    padding: 14px 20px;
  }
  .menu-label{
    font-size: 15px;
  }
  .hamburger span{
    width: 20px;
    height: 2px;
  }

  /* Dropdown: szélesebb, középre, nagy betű */
  .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;      /* 700 helyett mobilbarát */
    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;
  }

  /* Mobilon a sorkizárt gyakran csúnyán néz ki -> inkább balra */
  .intro-container p{
    text-align: left;
  }

  /* =========================
     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: left; /* mobilon olvashatóbb */
  }

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

  /* Desktopon soros (bal kép + jobb tartalom), mobilon oszlop */
  .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 — elérhetőség középen, térkép alatta
     ========================= */
  .contact-section{
    padding: 0 12px;
  }
.contact-map{
    display: flex;
    justify-content: center;
  }
  .map-box{
    order: 2;
    width: 320px;
	height: 320px; 
    max-width: 100%;
    min-height: 300px;     /* 🔒 ennél kisebb NEM lehet */
    border-width: 4px;
    border-radius: 14px;
    margin: 0 auto;
  }
	.map-box iframe{
    width: 100%;
    height: 100%;
    min-height: 300px;     /* iframe se lehessen kisebb */
    border: 0;
  }
 .map-note{
    order: 3;
    text-align: center;
  }
  /* Fontok nagyobbak */
  .contact-details h3,
  .contact-map h3{
    order: 1;
    text-align: center;
  }

  /* A két hasáb -> egymás alá */
  .contact-grid{
    flex-direction: column;
    gap: 16px;
  }

  .contact-details{
    text-align: center; /* elérhetőség középre */
  }

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

  /* Térkép doboz: full width, nem fix 500x500 */
  .map-box{
    width: 100%;
    height: 320px;
    border-width: 4px;
    border-radius: 14px;
    margin: 0 auto;
  }

  .map-note{
    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;
  }
	.projects-intro-wrapper{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px; /* oldalsó levegő mobilon */
  }

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

  /* Cím */
  .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;
  }

  /* Szöveg */
  .projects-intro-box p{
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
  }
}
