* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding-top: 92px; /* ez a két fix sáv teljes magasságának összege */
    font-family: Arial, sans-serif;

    background-image: url("../akos/projektek/benczur_29/benczur_hatter.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;

    color: #fff;
  }

.swiper {
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
  }
  
  .swiper-slide {
    text-align: center;
    font-size: 1.5rem;
    background: #eee;
  
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Felső fekete sáv */
  .top-bar {
    background-color: #1d1d1d;
    color: #ccc;
    padding: 10px 0; /* kicsit nagyobb, hogy ne legyen túl kicsi */
    font-size: 0.9rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
    line-height: 1.4;
  }

  .project-img {
    width: 50%;
    height: 50%;
    border-radius: 50%; /* kör alakú */
    object-fit: cover;
    margin-left: 70px;
    padding-top: 5px;
  }

  @media (min-width: 768px) and (max-width: 991px) {
    .oldalascucc{
        padding-left: 80px !important;
    }
    .oldalascucc2{
        padding-left: 120px !important;
    }
  }

    /* 767px alatt: Location eltüntetése */
@media (max-width: 767px) {

    .contact-info {
        text-align: center; /* Középre igazítás */
    }
    .contact-info span {
        margin-left: 70px !important; /* Eltávolítja a bal margót */
    }
}

@media (max-width: 576px) {
    .contact-info span {
        margin-left: 50px !important;
    }
}
@media (max-width: 460px) {
    .contact-info span {
        margin-left: 30px !important;
    }
}
@media (max-width: 420px) {
    .contact-info span {
        margin-left: 25px !important;
    }
}

.company-name-mobile {
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
}
  
  /* Alsó áttetsző szürke sáv */
  .bottom-bar {
    background-color: rgba(153, 153, 153, 0.8); /* áttetsző szürke */
    color: black;
    padding: 12px 0;
    font-size: 1rem;
    position: fixed;
    width: 100%;
    top: 42px; /* pontosan a top-bar után jön (top-bar magassága = 42px) */
    z-index: 1029;
    line-height: 1.4;
  }
  
  /* Cégnév stílusa */
  .company-name {
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  /* Logó kép */
  .logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  /* Elérhetőség ikonok */
  .contact-info span {
    margin-left: 50px;
    white-space: nowrap;
  }
  
  .icon {
    color: #d2a679;
    margin-right: 5px;
  }
  
  /* Menü linkek */
  .navbar-nav .nav-link {
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 15px;
    color: black !important;
    font-size: 1rem;
  }

  /* Alsó áttetsző szürke sáv */
.bottom-bar {
    background-color: rgba(153, 153, 153, 0.8);
    color: black;
    padding: 12px 0;
    font-size: 1rem;
    position: fixed;
    width: 100%;
    top: 42px;
    z-index: 1029;
    line-height: 1.4;
}

/* Cégnév stílusa */
.company-name {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Logó kép */
.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Elérhetőség ikonok */
.contact-info span {
    margin-left: 50px;
    white-space: nowrap;
}

.icon {
    color: #d2a679;
    margin-right: 5px;
}

/* Menü linkek */
.navbar-nav .nav-link {
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 15px;
    color: black !important;
    font-size: 1rem;
}

.menu-adjust {
    padding-left: 10px;
}

.menu-adjust .nav-item {
    margin-right: 20px;
}

/* Hamburger menü ikon */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1052; /* Hamburger menünek még nagyobb z-index */
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Animáció a hamburger ikonhoz */
}

/* Hamburger ikon, ha aktív (X alak) */
.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0; /* Középső vonal eltűnik */
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hamburger menü háttér blur */
.sidebar {
    position: fixed;
    top: 0;
    right: -250px; /* Rejtve jobbra */
    width: 250px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.5); /* Áttetsző háttér */
    backdrop-filter: blur(8px); /* Blur effekt */
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Középre igazítja vízszintesen */
    justify-content: center; /* Középre igazítja függőlegesen */
    transition: right 0.5s ease, background-color 0.3s ease; /* Hosszabb transition */
    z-index: 1060; /* Magasabb z-index érték */
}

/* Menü linkek */
.sidebar a {
    text-decoration: none;
    color: #333; /* Alapértelmezett sötétszürke szín */
    font-size: 1.2rem; /* Növelt betűméret */
    padding: 15px 20px; /* Kicsit nagyobb kattintható terület */
    border-radius: 4px; /* Lekerekített sarkok */
    font-weight: 600; /* Vastagabb szöveg */
    transition: all 0.3s ease; /* Simább animáció */
    margin-bottom: 20px; /* Nagyobb távolság a menüpontok között */
}

/* Hover és aktív állapot */
.sidebar a:hover {
    color: #d2a679 !important; /* Halvány barnás szöveg hover állapotban */
    background-color: #1d1d1d; /* A háttér színe */
    transform: scale(1.05); /* Enyhe nagyítás */
    font-weight: bold; /* Vastagabb szöveg */
    text-shadow: none; /* Árnyék eltávolítása a szövegről */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Finom árnyék a háttérhez */
}

/* X gomb pozíció módosítása a hamburger menüben */
.sidebar .close-btn {
    position: absolute;
    top: 20px; /* Egy kicsit lejjebb */
    right: 20px; /* Egy kicsit balra */
    font-size: 30px; /* Nagyobb X ikon */
    color: black; /* X szín */
    cursor: pointer; /* Kéz ikon */
    z-index: 1061; /* Biztos, hogy a legfelső rétegen van */
}

/* Hamburger menü animáció */
.hamburger .line {
    transition: transform 0.3s ease, opacity 0.3s ease; /* Hamburger animáció */
}

/* Mobil nézetben */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    /* Sidebar megjelenítése, ha a show osztály hozzáadódik */
    .sidebar.show {
        right: 0; /* Sidebar megjelenítése */
    }

    /* Eredeti menüpontokat elrejtjük mobil nézetben */
    .navbar-nav {
        display: none !important; /* Elrejti a menüpontokat */
        flex-direction: column; /* Függőleges elrendezés mobil nézetben */
    }

    .company-name {
        display: none; /* Cégnév elrejtése mobil nézetben */
    }
}


/* submenu */

/* Menü alapértelmezett stílus */
/* Menü alapértelmezett stílus */
.sidebar .menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Linkek alapértelmezett stílusa */
.sidebar .menu-item > a {
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #333;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 4px;
    display: block;
}

/* Hover állapot a főmenü linkeknél */
.sidebar .menu-item > a:hover {
    background-color: #1d1d1d;
    color: #d2a679;
    transform: scale(1.05);
    font-weight: bold;
}

/* Alapértelmezett legördülő menü */
.submenu {
    list-style-type: none;
    padding-left: 20px;
    display: none; /* Alapértelmezés szerint el van rejtve */
}

/* Alapértelmezett második szintű legördülő menü */
.submenu-level-2 {
    list-style-type: none;
    padding-left: 20px;
    display: none; /* Alapértelmezés szerint el van rejtve */
}

/* Hover a "Projektek" menüpontnál */
.sidebar .menu-item.projektek:hover > .submenu {
    display: block; /* Megjeleníti a Projektek alatti menüt */
}

/* Az aktív állapotú menüpontok megjelenítése */
.sidebar .submenu-item.active > .submenu-level-2 {
    display: block; /* Ha aktív a menüpont, megjeleníti a második szintű menüt */
}

/* Akciók a "Projektek" és "Befejezett építkezések" linkekhez */
.submenu a {
    font-size: 1rem;
    padding: 8px 12px;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover a legördült menü elemeken */
.sidebar .submenu a:hover,
.sidebar .submenu-level-2 a:hover {
    background-color: #333;
    color: #d2a679;
    transform: scale(1.05);
    font-weight: bold;
}

/* Az alapértelmezett listajelölők eltüntetése */
.sidebar .menu li {
    list-style: none; /* Eltünteti a pontokat */
}

/* Kattintásra nyíló menü a Befejezett építkezésekhez */
.sidebar .submenu-item.befejezett > a {
    cursor: pointer; /* A kattinthatóság jelzése */
}

.legordulo::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

/* ----------------------------- */

  .menu-adjust {
    padding-left: 10px; /* jobbról beljebb */
  }

  .menu-adjust .nav-item {
    margin-right: 20px; /* nagyobb tér a menüpontok között */
  }

/* Alapstílus a menühöz */
.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* A főmenü alatt */
    left: 0;   /* Balra nyíljon, a főmenü bal szélével egyvonalban */
    background-color: #fff;
    border-radius: 4px;
    padding: 0;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

/* A legördülő menü megjelenítése, amikor hover-elek a menün */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: scaleY(1); /* Felfelé kinyílik a menü */
}

/* Menü elemek */
.dropdown-menu li {
    list-style: none;
    padding: 0;
    margin: 0; /* Eltávolítjuk az esetleges extra margót */
}

.dropdown-menu li a,
.dropdown-menu li p {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none; /* Ez a p tageknél is működik */
    margin: 0; /* Eltávolítjuk a <p> alapértelmezett margóját */
    transition: background-color 0.3s ease;
}

/* Hover effektus a menüpontokon */
.dropdown-menu li a:hover,
.dropdown-menu li p:hover {
    background-color: rgb(205, 133, 63);
    color: white;
}

.dropdown-menu li p {
    cursor: default; /* Nyíl marad */
    user-select: none; /* Szöveg nem kijelölhető */
}

/* Reszponzivitás */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
    }
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        display: block;
    }
}
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    background-color: #fff;
}

.dropdown-submenu.show .dropdown-menu {
    display: block;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block !important; /* Biztosítjuk, hogy megjelenjen */
    opacity: 1;
    visibility: visible;
}

/* Menü elemek */
.dropdown-menu li p {
    cursor: default; /* Nyíl marad */
    user-select: none; /* Szöveg nem kijelölhető */
    margin: 0; /* Eltávolítjuk az alapértelmezett margót */
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Hover effektus a második szintű menüben */
.dropdown-menu li p:hover {
    background-color: rgb(205, 133, 63);
    color: white;
}

.navbar-nav .dropdown-menu {
    transform: none; /* Távolítsd el az animációt */
    transition: none; /* Távolítsd el az átmenetet */
}

/* Főmenü alapértelmezett stílus */
.navbar-nav .nav-item > .nav-link {
    transition: all 0.3s ease; /* Simább animáció */
    color: #333; /* Alapértelmezett sötétszürke szín */
    font-size: 1rem; /* Alapértelmezett méret */
    background-color: transparent; /* Alapértelmezett háttér */
    padding: 10px 15px; /* Kicsit nagyobb kattintható terület */
    border-radius: 4px; /* Lekerekített sarkok */
}

/* Hover és aktív állapot */
.navbar-nav .nav-item > .nav-link:hover,
.navbar-nav .nav-item.show > .nav-link {
    color: #d2a679 !important; /* Halvány barnás szöveg hover és aktív állapotban */
    background-color: #1d1d1d; /* A felső navbar színe */
    transform: scale(1.05); /* Enyhe nagyítás */
    font-weight: bold; /* Vastagabb szöveg */
    text-shadow: none; /* Árnyék eltávolítása a szövegről */
    border-radius: 4px; /* Lekerekített sarkok a háttérhez */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Finom árnyék a háttérhez */
}

/* Ha a dropdown-menu látható */
.navbar-nav .nav-item.dropdown:hover > .nav-link,
.navbar-nav .nav-item.dropdown.show > .nav-link {
    color: #d2a679 !important; /* Halvány barnás szöveg */
    background-color: #1d1d1d; /* Sötét háttér */
    transform: scale(1.05); /* Enyhe nagyítás */
    font-weight: bold; /* Vastagabb szöveg */
}

.alcim{
    font-weight: normal;
    text-align: center;
    font-size: 18px;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 50px 0 15px 0;
    padding: 1rem 0 1rem 0;
}
.alcim1{
    font-weight: normal;
    text-align: center;
    font-size: 18px;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 50px 0 15px 0;
    padding: 1rem 0 1rem 0;
    cursor: pointer;
}

.alcim2{
    font-weight: normal;
    text-align: center;
    font-size: 18px;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.1rem 0 0 0;
}

.cim{
    font-weight: normal;
    text-align: center;
    font-size: 24px;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 50px 0 15px 0;
    padding: 5.3rem 0 5rem 0;
}

.cim::before {
    content: "";
    width: 70px;
    height: 15px;
    border-top: solid 2px #d2a679;
    display: block;
    margin: 0 auto;
}
/* A csúszka magassága */
.glide {
    position: relative;
    width: 100%;
    height: 40vh; /* Slider magassága */
}

/* Track (a csúszka tartalom) */
.glide__track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Slides (a csúszó képek) */
.glide__slides {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

/* Képpozicionálás és stílus */
.glide__slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    background-size: cover;  /* A kép kitölti a téglalapot */
    background-position: center;  /* A kép középre van igazítva */
    background-repeat: no-repeat;  /* Ne ismétlődjön a háttérkép */
}

  /* 767px alatt: Location eltüntetése */
  @media (max-width: 767px) {
    

    .contact-info {
        text-align: center; /* Középre igazítás */
    }

    .contact-info span {
        margin-left: 70px !important; /* Balra igazítás */
        white-space: nowrap;
    }
}

/* Szöveg a képen */
.text-overlay {
    position: absolute;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    z-index: 2; /* Szöveg legyen a legfelső rétegen */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Középre igazítva */
}

.cursor{
    cursor: pointer; /* Kéz ikon a képen */
}

/* Nyilak */
.glide__arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.glide__arrow {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.glide__arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.glide__slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}


/* Szöveg és hover effektus */
.glide__slide a .text-overlay {
    z-index: 2; /* A szöveg legyen a legfelső rétegen */
}


.background-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.borderes{
    border: 2px solid #333;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    width: 100%;
    position: relative;
    bottom: 0;
}

/* Footer content container */
.footer-content {
    max-width: 1200px;
    margin: 0 auto; /* Középre igazítja a footer-t */
    display: flex;
    justify-content: space-between; /* Balra és jobbra igazítás */
    text-align: left; /* Balra igazítja a szöveget */
    align-items: flex-start;
    gap: 40px; /* Az elemek közötti távolság */
}

.footer-group h3 {
    margin-bottom: 30px; /* Megnöveljük, hogy a vonal alatti rész is benne legyen */
    padding-bottom: 10px; /* Extra hely a vonalnak */
    position: relative;
    text-align: left; /* Balra igazítja a címeket */
    color: #ff7f50;
    font-family: 'Verdana', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.footer-group h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 70px; /* fix szélesség */
    height: 2px;
    background-color: #ff7f50;
}


/* Footer contact (telefon, email, cím) */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Balra igazítja a tartalmat */
    gap: 10px;
    margin-top: 10px;
    cursor: pointer;
}

.footer-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-contact .icon {
    width: 20px;
    height: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Maradjon balra igazítva */
    gap: 10px;
}
.footer-links li {
    align-self: stretch; /* A <li> is teljes szélességet vegyen fel */
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background-color: #ff7f50;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #ff7f50;
}

.footer-links a:hover::after {
    transform: scaleX(1);
}



/* Footer bottom */
.footer-bottom {
    font-size: 0.9rem;
    color: #aaa;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .footer-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      justify-items: center;
      gap: 40px 0;
      text-align: left;
    }
  
    .footer-group {
      width: 100%;
      max-width: 400px;
    }
  
    /* Bal oldali: alapból balra igazított */
    .footer-content .footer-group:first-child {
      align-items: flex-start;
      text-align: left;
    }
  
    /* Jobb oldali: most jobbra igazítjuk */
    .footer-content .footer-group:last-child {
      align-items: flex-end;
      text-align: right;
    }
  
    .footer-contact {
      align-items: flex-start;
    }
  
    .footer-links {
      text-align: inherit; /* Kövesse a group szövegigazítását */
    }

    .footer-content .footer-group:last-child h3 {
        text-align: right;
    }

    .footer-content .footer-group:last-child h3::after {
      left: auto;
      right: 0;
    }
  }


  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 oszlop */
    gap: 15px;
    justify-items: center;
  }
  
  .gallery img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.3s ease;
  }
  
  .gallery img:hover {
    transform: scale(1.05);
  }

  .hidden-lightbox {
    display: none;
  }
  


















 