@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.background {
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Giriş ve menü bölümleri için temel stiller */
.background, .menu-content {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    transition: transform 0.5s ease;
}

.background {
    left: 0;
}

.menu-content {
    left: 100%; 
    background-color: #1d8469;
}

.hidden {
    display: none;
}

.show-left {
    transform: translateX(-100%);
}

.show-right {
    transform: translateX(-100%);
}

.centered-content {
    text-align: center;
    display: flex;
    flex-direction: column; 
    align-items: center; 
}


.button-container {
    display: flex;
    justify-content: center;  
    gap: 10px;           
}

#menuButton, #AboutButton {
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    border-radius: 20px;
    background-color: #136f60;
    color: white;
    transition: background-color 0.3s ease;
  font-family: "Roboto", sans-serif;
}

#menuButton:hover, #AboutButton:hover{
    background-color: #0056b3;
}


#languageSelector {
    background-color: #a31e1e;
    color: white;
    margin-top: 20px;
    padding: 10px;
    font-size: 16px;
    border-radius: 20px;

}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding: 10px 0;
          border-top: 1px solid;
      background-color: transparent;
}

.footer a{
  font-family: "Roboto", sans-serif;
    text-decoration: none;
    color: white;
}

.color{
    color: #ff6000;
}


/*NAVBAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.navbar img{
    width:200px;
    max-width:80%;
    height: auto;
}

.nav-icon, .nav-logo, .nav-placeholder {
    flex: 1;
}

.nav-icon {
    font-size: 50px;
    color: white;
    text-align: left;
    cursor: pointer;
    padding-left: 100px;
}

@media (max-width:768px) {
    .nav-icon{
        padding-left: 50px;
    }
    .background{
        background-position: center; /* Görüntüyü merkezler */

    }
}

.nav-logo {
    /* Logo için stiller */
    text-align: center;
    font-weight: bold;
    font-size: 24px;
}

.nav-placeholder {
    visibility: hidden;
}


/* KATEGORİ */
.menu-container, .about-container{
    padding: 0 20%; 

}

.gallery-container, .about-gallery-container {
    display: flex;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
}

.gallery-container::-webkit-scrollbar, .about-gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-container,.about-gallery-container {
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}


.gallery-item, .about-gallery-item {
    flex: 0 0 auto; 
    margin-right: 20px; 
    max-width: 150px; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    cursor: pointer;
}

.gallery-item img, .about-gallery-item img {
    width: 100%; 
    height: auto;
    object-fit: contain; 
}

.gallery-item p, .about-gallery-item p {
  font-family: "Roboto", sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    color: white;
    text-align: center; 
    word-wrap: break-word; 
    overflow-wrap: break-word; 
    width: 100%; 
}

.gallery-item.aktif, .about-gallery-item.aktif {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05); 
    transition: transform 0.3s 
}
.gallery-item.aktif p, .about-gallery-item.aktif p {
    color: #f4e4c3; 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 
}


@media (max-width:768px) {
    .menu-container, .about-container{
        padding: 0 0%;
    
    }
    .gallery-item, .about-gallery-item{
        max-width: 110px;
    }
}

@media (min-width:768px) and (max-width:1024px) {
    .menu-container, .about-container{
        padding: 0 0%; 
    
    }
    .gallery-item, .about-gallery-item{
        max-width: 125px;
    }
}

/* MENU */

.menu-contents {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff; /* Metin rengi */
    padding: 20px;
  font-family: "Roboto", sans-serif;

}

.menu-text {
    flex: 1;
    margin-right: 20px; /* Resim ile metin arasındaki boşluk */
}

.menu-titles {
    font-size: 18px; /* Başlık font boyutu */
    margin-bottom: 0.5em; /* Başlık altındaki boşluk */
    text-align:center;
}

.menu-items {
    font-size: 16px; /* Menü öğeleri font boyutu */
    margin-bottom: 0.5em; /* Menü öğeleri altındaki boşluk */
    text-align:center;

}

.menu-price {
    font-size: 24px; /* Fiyat font boyutu */
    font-weight: bold; /* Fiyat font kalınlığı */
    text-align:center;
}

.menu-image-container {
    flex-shrink: 0; /* Resmin sıkışmasını önle */
}

.menu-image {
    width: 250px; /* Resim genişliği */
    height: 250px; /* Resim yüksekliği */
    object-fit: cover; /* Resmin orantılı bir şekilde sığmasını sağlar */
}

@media (max-width:768px){
    .menu-image{
        width:150px;
        height:150px;
    }
}

#menu-title{
    text-align: center;
    color: white;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
}

.menu-details {
    max-height: 300px; 
    -webkit-overflow-scrolling: touch; 
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transform: translateX(100%); 
    opacity: 0; 
    max-height: 0; 
}

.menu-details.active {
    transform: translateX(0);
    opacity: 1;
    max-height: 250px; 
    overflow-y: auto;
    padding: 10px;

}

@media (max-width:768px){
    .menu-details.active{
        max-height: 350px;
    }
}


.menu-details::-webkit-scrollbar {
    display: none;
}

.menu-details {
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}



@media (max-width:768px) {
    .menu-titles {
        font-size: 18px; 
    }
    
    .menu-items {
        font-size: 12px;
    }
    
    .menu-price {
        font-size: 16px;
    }
}

.menu-contents{
    cursor:pointer;
    border: 1px solid #fff;
    border-radius:10px;
}
.gtranslate_wrapper {
    display: inline-block;
    position: relative;
    z-index: 1000;
    margin: 10px; 
    padding: 5px;
    border-radius: 10px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gtranslate_wrapper select {
    border: 1px solid #ccc; 
    padding: 5px 10px; 
    border-radius: 5px; 
    background-color:#136f60;
    color:#fff;
    cursor: pointer; 
    outline: none; 
    transition:background-color 0.3s ease;
  font-family: "Roboto", sans-serif;
}

.gtranslate_wrapper select:hover {
    border-color: #888;
    background-color:#0056b3;
}

.gtranslate_wrapper select:focus {
    box-shadow: 0 0 5px rgba(30, 144, 255, 0.5);
}

.gtranslate_wrapper option {
    padding: 5px; 
}
.menu-allergens {
    display: flex;
    align-items: center; 
    margin-top: 5px;
    margin-bottom:10px;
}

.allergen-icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    opacity: 0.8;
}

.allergen-icon:hover {
    opacity: 1; 
}
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%; 
    left: 50%; 
    transform: translateX(-50%);
    white-space: nowrap; 
    background-color: black; 
    color: white; 
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px; 
    font-size: 12px;
    z-index: 1001; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000000;
  font-family: "Roboto", sans-serif;
    overflow: auto;
}

.popup-content {
    background: #1d8469;
    border-radius: 8px;
    padding: 15px;  /* Azaltılan padding */
    width: 80%;     /* Genişlik yüzde olarak ayarlandı */
    max-width: 400px;  /* Maksimum genişlik küçültüldü */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: #fff;
}

.close-btn {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size:34px;
    color: #fff;
    z-index: 10000;
}

.product-image {
    width: 100%;
    height: auto;
    margin: auto;
    border-radius: 4px;
    margin-bottom: 20px;
}

.info-section {
    margin-bottom: 20px;
    padding: 8px; /* Azaltılan padding */
    background: transparent;
    border-radius: 4px;
    border: 1px solid #fff;
}

.popup-container h4, .popup-container h3 {
    text-align: center;
    margin-top: 10px; /* Azaltılan üst marj */
    color: #fff;
}

#popup-price {
    font-size: 24px; 
    color: #f4e4c3;  
    font-weight: bold; 
    text-align: center;
    padding: 10px; 
    margin-top: 10px; 
    background-color: transparent;  
    border-radius: 5px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
}

.wifi-container {
    display: block;
    margin-top: 20px;
    text-align: center;
}

.wifi-info {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
  font-family: "Roboto", sans-serif;
}

.wifi-info:hover {
    transform: translateY(-5px);
}

.wifi-icon {
    width: 60px;
    height: auto;
    margin-right: 30px;
    align-self: center; 
}

.wifi-details {
    flex: 1; 
    margin-right:100px;

}

.wifi-details h3 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.wifi-details p {
    margin-top: 5px;
    font-size: 16px;
    color: #f0f0f0;
    font-weight: 300;
}

.wifi-details span {
    color: #e1ffff;
    font-weight: 500;

}


.restaurant-info-container {
    max-height: 1000px; 
    overflow-y: auto;  
    background-color: transparent; 
    border-radius: 10px; 
    padding: 20px; 
    margin: 20px 0; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); 
    color: #333; 
    font-family:'League Spartan', sans-serif;
}

.restaurant-info-container h2{
    text-align:center;
    color:#fff;
}

.info-item {
    display: flex;
    align-items: center; 
    margin-bottom: 15px; 
    padding: 10px; 
    border-bottom: 1px solid #e0e0e0; 
}

.info-item:last-child {
    border-bottom: none; 
}

.info-item img {
    width: 30px;
    margin-right: 15px;
}

.info-item p {
    margin: 0; 
    font-size: 16px; 
    color: #fff; 
    flex: 1;
}

.info-item strong {
    font-weight: bold; 
    color: #fff; 
}

.hours-container {
    background-color: transparent;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin: 20px auto;
    overflow: hidden; 
    font-family:'League Spartan', sans-serif;

}

.hours-title {
    font-size: 24px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.day-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.3s ease;
}


.day-container:hover {
    background-color: #000; 
}

.day-name {
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
}

.day-hours {
    font-size: 18px;
    color: #fff;
    font-weight: 500; 
}

.day-icon {
    width: 20px;
    margin-right: 8px; 
}


