* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
}

#b_kapcsolat{
    background: url('/img/rendeles.webp') no-repeat;
}

#b_index{
    background: url('/img/background.PNG') repeat;
}

#b_gallery{
     height: 100%;
    display: flex;
    flex-direction: column;
    content: "";
    background: url('/img/galeria.webp') no-repeat center center fixed;
    background-size: cover;
    image-rendering: crisp-edges;
    min-height: 100vh;
    padding-top: 135px;
}

#b_etlap{
    content: "";
    background: url('/img/wall.webp') repeat;
    background-size: cover;
    image-rendering: crisp-edges;
    min-height: 100vh;
    padding-top: 135px;
}

.fejlec {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px 100px;
    background-color: rgb(0 0 0 / 65%);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255);
    z-index: 100;
}

.fejlec_others{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px 100px;
    background-color: rgb(0 0 0 / 65%);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255);
    z-index: 100;
}

.navbar:hover::before {
    left: 100%;
}

.logo img {
    max-height: 135px;
    width: auto;
    text-decoration: none;
    cursor: pointer;
}

.navbar a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    margin-left: 45px;
    transition: .3s;
}

.navbar a:hover {
    color: #f00;
}

#menu-icon {
    font-size: 2.4rem;
    color: #fff;
    display: none;
}


.footer{
    padding: 10px 0;
    margin-top: auto;
    border-top: 2px solid rgba(255, 255, 255);
    background-color: rgb(0 0 0 / 65%);
}

.footer .social{
    text-align: center;
    padding: 10px;
    color: rgb(255, 255, 255);   
}

.footer .social a{
    font-size: 1.5rem;
    color: inherit;
    border: 2px solid #ffffff;
    width: 40px;
    height: 40px;
    line-height: 38px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 8px;
}

.footer .social a:hover {
    opacity: 0.9;
    color: red;
}

.footer ul {
    padding: 10px;
    list-style: none;
    font-size: 18px;
    text-align: center;
}

.footer ul li a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

.footer ul li{
    display: inline-block;
    padding: 0 15px;
    color: #fff;
}

.footer ul li a:hover {
    opacity: 1;
    color: red;
}

.footer .copyright{
    padding: 10px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}

.footer .creator{
    text-align: center;
    font-size: 13px;
    color: #aaa;
}


.copyright a{
    text-decoration: none;
    color: inherit;
}

.copyright a:hover strong{
    color: red;
}

.gallery_cont{
    flex: 2; 
    width: 100%;
    padding: 0 8%;
    margin-bottom: auto; 
}

.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px 0; 
}
.gallery img {
    width: 100%;
    height: auto; 
    max-height: 350px; 
    display: block;
    border-radius: 8px;
    object-fit: cover; 
    aspect-ratio: 16/9; 

}

.gallery img:hover {
    transform: scale(1.02); 
    border-radius: 16px; 
}

.contact_section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; 
    gap: 3rem;
    padding: 0 9rem;
}

.gallery_menu{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px 0; 
}

.menu{
    padding: 20px;
    display: block;
    text-align: center;
}

.gallery_menu img{
    width: 60%;
    height: auto;
    display: block;
    border-radius: 10px;
    gap: 3.125rem;
    top: 0%;
    left: 0%;
    margin: 0 auto;
    margin-bottom: 1.875rem;
}

.gallery_menu img:hover {
    transform: scale(1.01); 
    border-radius: 16px; 
}

#google_map_link{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 4;
    background-color: rgba(0,0,0,0);
    cursor: pointer;
    display: block;
}

.google_map {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.google_map iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

.nyitvatartas {
    flex: 1;
    min-width: 300px; 
    text-align: center;
}
  

.opening_hours td:first-child {
    text-align: left;
}

.opening_hours td:last-child {
    text-align: right;
}

.opening_hours table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
}

.opening_hours td {
    padding: 8px;
    border-bottom: 1px solid #000000;
    text-align: left;
}

.opening_hours h3 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 25px;
}


.table_reservation {
    margin-top: 0px; 
    padding-top: 4rem;
    box-sizing: border-box;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 3rem; 
  }


.table_reservation h2 {
    padding-top: 10px;
}


  
.table_reservation_tel {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    font-size: 20px;
    width: 100%;
    text-align: center;
    padding-top: 4rem;
}
  
.table_reservation h2 {
    text-align: center;
    font-size: 2rem;
    margin-top: 0;
  }
  
.table_reservation_tel a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 25px;
}

.table_reservation_tel a:hover {
    animation: pulse 1s infinite;
    color: #ff0000; 
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}




button{
    width: 100%;
    padding: 12px;
    background: #f00;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-size: 1em;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}


/*index img valaszto*/

.img-slider {
  position: relative;
  width: 100%;
  height: 100vh; 
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-slider .slide {
   position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0; 
    transition: opacity 0.5s ease; 
    transform: translateZ(0); 
    backface-visibility: hidden; 
    will-change: opacity; /
}

.img-slider .slide.active {
    opacity: 1; 
    clip-path: none; 
}

.img-slider .slide-container {
    position: relative;
    width: 65%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    backface-visibility: hidden;
}

.img-slider .slide .info {
    position: absolute;
    width: 100%;
    text-align: center;
}

.img-slider .slide .info h2 {
    position: absolute;
    top: -67px; 
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: clamp(24px, 5vw, 48px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
    z-index: 10;
}

.img-slider .slide .info p {
    position: absolute;
    bottom: -50px; 
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 4px;
    max-width: 90%;
    text-align: center;
}

.img-slider .slide .info h2 a:hover {
    text-decoration: underline; 
    transform: scale(1.05); 
}

.img-slider .navigation {
    z-index: 2;
    position: absolute;
    display: flex;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.img-slider .navigation .btn {
    background: rgba(255, 255, 255, 0.5);
    width: 1rem;
    height: 1rem;
    margin: 0 0.625rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.img-slider .navigation .btn.active {
    background: red;
    box-shadow: 0 0 0.3125rem rgba(0, 0, 0, 0.5);
    transform: scale(1.3);
}

.serviceprov {
  color: red;
  text-decoration: none;
  animation: pulzalas 1.6s infinite;
  transition: animation-duration 0.3s ease;
}

.serviceprov:hover {
  animation-duration: 0.5s;
  cursor: pointer;
}

@keyframes pulzalas {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Mobil nézet*/


@media (max-width: 950px) {  /*885*/
    #menu-icon {
        display: block;
    }

    .gallery{
        padding: 20px 0;
    }

    .fejlec, .fejlec_others{
        justify-content: space-between;
    }

    .contact_section{
        padding: 0 0.3rem;
    }

    .table_reservation_tel {
        padding-top: 0rem;
    }

    .navbar {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        padding: .5rem 4%;       
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        margin: 1.5rem 0;
    }

    .logo img {
        max-height: 100px; 
    }

    .navbar_big{
        position: fixed;
        top: 8.8%;
        left: 0;
        width: 100%;
        height: 300px;
        background: rgba(0, 0, 0, 0.8);
        border-bottom: 2px solid rgba(255, 255, 255, .2);
        z-index: 99;
        display: none;
    }

    .navbar_big.active{
        display: block;
    }

    .input_group{
        font-size: 0.9em;
        padding: 10px 35px;
    }
    button{
        font-size: 0.9em;
    }

    .img-slider .slide .info{
        padding: 10px 25px;
    }

    .img-slider .slide .info h2{
        font-size: 35px;
    }

    .img-slider .slide .info p{
        width: 70%;
        font-size: 15px;
    }

    .img-slider .navigation{
        bottom: 25px;
    }

    .img-slider .navigation .btn{
        width: 10px;
        height: 10px;
        margin: 8px;
    }

}

@media (max-width: 767px) { 

    .navbar {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        padding: .5rem 4%;       
        display: none;
    }

    .fejlec_others {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 2rem; 
        gap: 1.5rem; 
    }

    .contact_section{
        padding: 0 3rem;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        margin: 1.5rem 0;
    }

    .logo img {
        max-height: 100px; 
    }

    .navbar_big{
        position: fixed;
        top: 8.8%;
        left: 0;
        width: 100%;
        height: 300px;
        background: rgba(0, 0, 0, 0.8);
        border-bottom: 2px solid rgba(255, 255, 255, .2);
        z-index: 99;
        display: none;
    }

    .navbar_big.active{
        display: block;
    }

    .table_reservation{
        padding: 30px;
        max-width: 100%;
    }

    .input_group{
        font-size: 0.9em;
        padding: 10px 35px;
    }
    button{
        font-size: 0.9em;
    }

    .img-slider .slide .info{
        padding: 10px 25px;
    }

    .img-slider .slide .info h2{
        font-size: 35px;
    }

    .img-slider .slide .info p{
        width: 70%;
        font-size: 15px;
    }

    .img-slider .navigation{
        bottom: 25px;
    }

    .img-slider .navigation .btn{
        width: 10px;
        height: 10px;
        margin: 8px;
    }

}

@media (max-width:620px) {
    .table_reservation{
        padding: 20px;
    }

    
    .table_reservation h2{
        font-size: 1.5rem;
    }
    .input_group i{
        font-size: 1em;
    }
    .input_group input{
        padding: 10px 30px;
        font-size: 0.85em;
    }
    button{
        padding: 10px;
        font-size: 0.9em;
    }

    .img-slider .slide .info{
        padding: 10px 20px;
    }

    .img-slider .slide .info h2{
        font-size: 30px;
    }

    .img-slider .slide .info p{
        width: 80%;
        font-size: 13px;
    }

    .img-slider .navigation{
        bottom: 15px;
    }

    .img-slider .navigation .btn{
        width: 8px;
        height: 8px;
        margin: 6px;
    }

    /*uuuj*/
    .opening_hours table {
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
    
      .opening_hours table thead,
      .opening_hours table tbody,
      .opening_hours table tr,
      .opening_hours table td,
      .opening_hours table th {
        display: table; 
        width: 100%;
      }
    
}

@media (max-width: 520px) { 
    
    .contact_section{
        padding: 0 1rem;
    }

    .table_reservation {
        padding: 0.2rem;
        gap: 2rem;
    }

    .contact_section {
        gap: 1rem;
    }
}


