body{
  margin: 0;
  padding: 0;   
  background-color: #FEF5EC;
}
img {
    border: none;
    outline: 0;
    border-style: none;
    background-position: center;
    background-size: cover;
    object-fit:cover ;
    border-radius: 3%;
    background-position-x: center;
    }

  a {
    text-decoration: none;
    color: rgba(60, 60, 59, 0.75);
    font-family: 'afacad', serif;}

  .page-container {
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    align-content: center;
    padding: 0;
    margin: 0;
}

.main-section {
    width: 95%;
    height: auto;
    position: relative;
    align-items: center;
    gap: 10px;
    display: inline-flex;
    background-size: cover;
    flex-direction: row;
    align-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 50px;
    justify-content: center;
    margin-top: 10px;

}
  /* Navbar */
  .navbar {
    width: 95%;
    height: 70px;
    position: relative;
    border-radius: 13px;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    margin-top: 15px;
  }
  
  
  .logo {
    padding: 0;
    margin: 0;
    width: auto;
    height: 50px;
    position: relative;
    background-size: cover;
    background-position: center;
    object-fit: cover;
    
  
  }
  
  .navbar .menu-item {
    width: auto;
    position: relative;
    text-align: center;
    color: rgba(60, 60, 59, 1);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.4px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    font-family: 'afacad', serif;
  }

.footer-nav {
    width: 100%;
    height: auto;
    background: #FEF5EC;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 5px;
}

.nav-link {
    width: auto; 
    text-align: center; 
    justify-content: center;
    display: flex; 
    flex-direction: column; 
    color: rgba(60, 60, 59, 0.75); 
    font-size: 24px; 
    font-family: Afacad; 
    font-weight: 400; 
    text-decoration: none; 
    letter-spacing: 0.48px; 
    word-wrap: break-word
}
.menu-language-switcher {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 35px;
}
.button-underline {
    width: 50px;
    height: 20px;
    background: rgba(255, 145, 10, 0.11);
    position: absolute;
}
.menu-button a {
    height: 25px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-button p {
    font-family: 'afacad', serif;
    font-size: 18px;
    font-weight: 500;
    color: rgba(60, 60, 59, 1);
    margin: 0;
    padding: 0;
}


/* --- Menu Kategorileri Bölümü --- */
.menu-categories-section {
    height: 95%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
}

/* Her bir kategori kartı için genel stil */
.category-card {
    position: relative;
    display: flex
;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    flex-wrap: wrap;
    align-content: flex-end;
}

/* Kategori kartı resimleri için genel stil */
.card-image {
    position: absolute;
    border-radius: 5px;
    width: 100%;
    height: 100%; /* Kartın yüksekliğine göre ayarlanacak */
    object-fit: cover; /* Resmin kapsayıcıya göre tam olarak sığmasını sağlar */

}

/* Kategori etiketlerinin arka planı için genel stil */
.card-label-bg {
    position: absolute;
    background: #FEF5EC;
    border-radius: 3px;
    height: 39px; /* Varsayılan yükseklik */;
    display: flex;
    justify-content: center;
    align-items: center; /* Metni dikeyde ortala */

}

/* Kategori etiketlerinin metinleri için genel stil */
.card-label {
    position: absolute;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #3C3C3B;
    font-family: 'afacad', serif;
    font-weight: 600;
    letter-spacing: 0.40px;
    word-wrap: break-word;
    font-size: 20px; /* Varsayılan font boyutu */;
    width: 100%;
    text-align: center;
}




/* KAHVALTI KATEGORİSİ */
.category-card-top-left {
    width: 390px;
    height: 350px;
}

.category-card-top-left .card-label-bg {
    width: 146px;
}

/* ÖĞLE/AKŞAM KATEGORİSİ */
.category-card-top-middle {
    width: 390px;
    height: 350px;
}
.category-card-top-middle .card-label-bg-long { /* Özel arka plan genişliği */
    width: 170.45px;
}

/* TATLI KATEGORİSİ */
.category-card-top-right {
    width: 390px;
    height: 350px;
}
.category-card-top-right .card-label-bg {
    width: 148px;
}

/* MUG KATEGORİSİ */
.category-card-middle-left {
    width: 500px;
    height: 300px;
}
.category-card-middle-left .card-label-bg-mug { /* Özel arka plan boyutu */
    width: 112.47px;
    height: 40.61px;
}
.category-card-middle-left .card-label-mug-text { /* Özel metin boyutu */
    width: 76.84px;
    height: 27.08px;
}

/* MOCKTAILLER KATEGORİSİ */
.category-card-middle-right {
    width: 500px;
    height: 300px;
}
.category-card-middle-right .card-label-bg-mocktail { /* Özel arka plan boyutu */
    width: 222.15px;
    height: 40px;
}

/* SICAK İÇECEKLER KATEGORİSİ */
.category-card-bottom-left {
    width: 360px;
    height: 180px;
}
.category-card-bottom-left .card-label-bg-small-item { /* Ortak arka plan boyutu */
    width: 154px;
    height: 35px;
}

/* SOĞUK KAHVELER KATEGORİSİ */
.category-card-bottom-middle {
    width: 360px;
    height: 180px;
}
.category-card-bottom-middle .card-label-bg-small-item {
    width: 154px;
    height: 35px;
}

/* SOĞUK İÇECEKLER KATEGORİSİ */
.category-card-bottom-right {
    width: 360px;
    height: 180px;
}
.category-card-bottom-right .card-label-bg-small-item.card-label-bg-less-width { /* İki class birleşimi */
    width: 133.06px;
    height: 35px;
}

/* --- Genel Menü Bölümü Kapsayıcısı --- */
.menu-section-container {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 100%; /* Genişlik sabitleme */
    position: relative;
}

/* --- Başlık Bölümü --- */
.section-title-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Başlık ve çizgi arasındaki boşluk */
    margin-bottom: 20px; /* Alt boşluk */
}

.section-title {
    color: #3C3C3B;
    font-size: 50px;
    font-family: 'afacad', serif;
    font-weight: 700;
    letter-spacing: 15.36px;
    word-wrap: break-word;
    text-align: center;
    margin: 0; /* Tarayıcının varsayılan marjını kaldır */
    padding: 0;
    position: relative;
}

.title-underline {
    width: 614.57px;
    height: 21.20px;
    background: rgba(255, 145, 10, 0.11);
    border-radius: 6px;
    position: absolute;
}

/* --- Menü Öğeleri Izgarası --- */
.menu-items-grid {
    width: 100%;
    height: auto;
    position: relative;
    display: flex
;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: row;

}

/* Her bir menü öğesi kartı için genel stil */
.menu-item-card {
        width: 23%;
        height: 500px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
}

/* Menü öğesi arka plan rengi */
.item-card-bg {
    width: 23%;
    height: 500px;
    background: rgba(255, 145, 10, 0.11);
    border-radius: 6px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: wrap;

}

.item-card-bg a {
    text-decoration: none;
    color: rgba(60, 60, 59, 0.75);
    font-family: 'afacad', serif;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;}

/* Menü öğesi resimleri */
.item-image {
    width: 100%;
    height: 200px;
    position: relative;
    border-radius: 6px;
}

/* Menü öğesi başlıkları */
.item-title {
    width: 320px;
    position: relative;
    left: 0px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: rgba(60, 60, 59, 0.90);
    font-size: 24px;
    font-family: 'afacad', serif;
    font-weight: 700;
    letter-spacing: 1.92px;
    word-wrap: break-word;
    margin: 2px;
    padding: 0;
}
.item-price {
    width: 320px;
    position: absolute;
    left: 0px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: rgba(60, 60, 59, 0.90);
    font-size: 22px;
    font-family: 'afacad', serif;
    font-weight: 700;
    letter-spacing: 1.92px;
    word-wrap: break-word;
    margin: 5px;
    padding: 0;
    bottom: 0;
    
}



/* Menü öğesi açıklamaları */
.item-description {
    width: 95%;
    height: auto;
    position: relative;
    text-align: justify;
    color: rgba(60, 60, 59, 1);
    font-size: 20px;
    font-family: 'afacad', serif;
    font-weight: 500;
    word-wrap: break-word;
    margin: 3px;
    padding: 0;
}

.item-image-drink {
    width: 100%;
    height: 300px;
    position: relative;
    border-radius: 6px;
}






/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 400px) {
        .page-container {
        overflow: hidden;
    }

    .main-section {
        gap: 10px;
        margin-bottom: 10px; 
    }
    .navbar {
        width: 90%;
        height: 30px;
    }
    .navbar .menu-item {
        font-size: 10px;
        font-weight: 500;
    }
    .logo {
        width: auto;
        height: 25px;    
    }
             
    .nav-link {
        font-size: 8px; 
    }
    .category-card-top-left, .category-card-top-middle, .category-card-top-right{
        width: 100px;
        height: 100px;
    }

    .category-card-top-left .card-label-bg, .category-card-top-middle .card-label-bg-long, .category-card-top-right .card-label-bg {
        width: 100%;
        height: 15px; /* Varsayılan yükseklik */}

    .card-label { 
        font-size: 10px;
        letter-spacing: normal;
        font-weight: 600;
        text-align: center;
    }

    .category-card-middle-left, .category-card-middle-right {
        width: 100px;
        height: 100px;
    }

    .category-card-middle-left .card-label-bg-mug, .category-card-middle-right .card-label-bg-mocktail {
        width: 100%;
        height: 15px; /* Varsayılan yükseklik */
    }

    .category-card-bottom-left, .category-card-bottom-middle, .category-card-bottom-right {
         width: 100px;
        height: 100px;;
    }
    .category-card-bottom-left .card-label-bg-small-item, .category-card-bottom-middle .card-label-bg-small-item, .category-card-bottom-right .card-label-bg-small-item {
        width: 100%;
        height: 15px; /* Varsayılan yükseklik */
    }

    .menu-categories-section {
        width: 90%;
        gap: 2px;
    }

    .title-underline {
        height: 10px;}

    .section-title {
        font-size: 25px;
        letter-spacing:8px ;
    }
    .item-title {
        font-size: 17px; /* Menü öğesi başlıkları için font boyutu */
        font-weight: 700;
        width: 100%; /* Menü öğesi başlıkları için genişlik */
        line-height: normal;
        letter-spacing: normal;
    }

        .item-price {
        font-size: 17px; /* Menü öğesi başlıkları için font boyutu */
        font-weight: 700;
        width: 100%; /* Menü öğesi başlıkları için genişlik */
        line-height: normal;
        letter-spacing: normal;
    }

    .item-description {
        font-size: 13px;
        width: 90%;
        height: auto;
        margin: 2px;
    }
 
    .menu-item-card {
         width: 40%;
        height: 260px;
    }

    .menu-item-card-long {
        width: 40%;
        height: 330px;
    }

    .item-card-bg {
        width: 40%;
        height: 260px;
    }

    .item-card-bg-long {
        width: 40%;
        height: 330px;
    }
    
    .item-image {
        width: 100%;
        height: 100px;}

    .item-image-drink {
    width: 100%;
    height: 150px;
}
    
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 400px) {
    .page-container {
        overflow: hidden;
    }
    .main-section {
        gap: 10px;
        margin-bottom: 10px; 
    }
    .navbar {
        width: 90%;
        height: 30px;
    }
      .navbar .menu-item {
        font-size: 11px;
        font-weight: 500;
    }
    .logo {
        width: auto;
        height: 25px;    
    }
             
    .nav-link {
        font-size: 10px; 
    }


    .category-card-top-left, .category-card-top-middle, .category-card-top-right{
        width: 100px;
        height: 100px;
    }

    .category-card-top-left .card-label-bg, .category-card-top-middle .card-label-bg-long, .category-card-top-right .card-label-bg {
        width: 100%;
        height: 15px; /* Varsayılan yükseklik */}

    .card-label { 
        font-size: 10px;
        letter-spacing: normal;
        font-weight: 600;
    }

    .category-card-middle-left, .category-card-middle-right {
        width: 100px;
        height: 100px;
    }

    .category-card-middle-left .card-label-bg-mug, .category-card-middle-right .card-label-bg-mocktail {
        width: 100%;
        height: 15px;; /* Varsayılan yükseklik */
    }

    .category-card-bottom-left, .category-card-bottom-middle, .category-card-bottom-right {
        width: 100px;
        height: 100px;
    }
    .category-card-bottom-left .card-label-bg-small-item, .category-card-bottom-middle .card-label-bg-small-item, .category-card-bottom-right .card-label-bg-small-item {
        width: 100%;
        height: 15px; /* Varsayılan yükseklik */
    }

    .menu-categories-section {
        width: 90%;
        gap: 8px;
    }

    .title-underline {
        height: 10px;}

    .section-title {
        font-size: 28px;
    }
    .item-title {
        font-size: 18px; /* Menü öğesi başlıkları için font boyutu */
        font-weight: 700;
        width: 100%; /* Menü öğesi başlıkları için genişlik */
    }
        .item-price {
        font-size: 18px; /* Menü öğesi başlıkları için font boyutu */
        font-weight: 700;
        width: 100%; /* Menü öğesi başlıkları için genişlik */
    }
    .item-description {
        font-size: 15px; /* Menü öğesi açıklamaları için font boyutu */
        width: 90%; /* Menü öğesi açıklamaları için genişlik */
        height: auto; /* Menü öğesi açıklamaları için yükseklik */
        margin: 2px;
    }
    .menu-item-card {
         width: 40%;
        height: 280px;
    }

        .menu-item-card-long {
         width: 40%;
        height: 350px;
    }
    
    .item-card-bg {
        width: 40%;
        height: 280px;
    }

        .item-card-bg-long {
        width: 40%;
        height: 350px;
    }

    .item-image {
        width: 100%;
        height: 100px;}

    .item-image-drink {
    width: 100%;
    height: 150px;
}

    
    
} 

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 600px) {

    .main-section {
        gap: 20px;
        margin-bottom: 20px;    
    }
    .navbar {
        width: 90%;
        height: 40px;
    }
      .navbar .menu-item {
        font-size: 15px;
        font-weight: 500;
    }
    
    .logo {
        width: auto;
        height: 30px;
    
    }    
    
    .nav-link {
        font-size: 14px; 
    }


    .category-card-top-left, .category-card-top-middle, .category-card-top-right{
        width: 120px;
        height: 120px;
    }

    .category-card-top-left .card-label-bg, .category-card-top-middle .card-label-bg-long, .category-card-top-right .card-label-bg {
        width: 70%;
        height: 20px; /* Varsayılan yükseklik */}

    .card-label { 
        font-size: 12px;
        font-weight: 600;
    }

    .category-card-middle-left, .category-card-middle-right {
       width: 120px;
        height: 120px;
    }

    .category-card-middle-left .card-label-bg-mug, .category-card-middle-right .card-label-bg-mocktail {
        width: 70%;
        height: 20px; /* Varsayılan yükseklik */
    }

    .category-card-bottom-left, .category-card-bottom-middle, .category-card-bottom-right {
       width: 120px;
        height: 120px;
    }
    .category-card-bottom-left .card-label-bg-small-item, .category-card-bottom-middle .card-label-bg-small-item, .category-card-bottom-right .card-label-bg-small-item {
        width: 80%;
        height: 20px; /* Varsayılan yükseklik */
    }

    .menu-categories-section {
        width: 90%;
        gap: 10px;
    }

    .title-underline {
        height: 13px;}

    .section-title {
        font-size: 28pxpx;
    }
    .item-title {
        font-size: 20px; /* Menü öğesi başlıkları için font boyutu */
        font-weight: 700;
        width: 100%; /* Menü öğesi başlıkları için genişlik */
    }
        .item-price {
        font-size: 20px; /* Menü öğesi başlıkları için font boyutu */
        font-weight: 700;
        width: 100%; /* Menü öğesi başlıkları için genişlik */
    }
    .item-description {
        font-size: 18px; /* Menü öğesi açıklamaları için font boyutu */
        width: 90%; /* Menü öğesi açıklamaları için genişlik */
        height: auto; /* Menü öğesi açıklamaları için yükseklik */
    }
    .menu-item-card {
         width: 40%;
        height: 330px;
    }

    .item-card-bg {
        width: 40%;
        height: 330px;
    }
        .menu-item-card-long {
         width: 40%;
        height: 400px;
    }

    .item-card-bg-long {
        width: 40%;
        height: 400px;
    }
    .item-image {
    width: 100%;
    height: 170px;}

    .item-image-drink {
    width: 100%;
    height: 200px;
}

    
    
} 



/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
   .main-section {
        gap: 30px;
        margin-bottom: 50px;    
    }

    .navbar {
    width: 95%;
    height: 70px;
    }

     .navbar .menu-item {
    font-size: 17px;
    font-weight: 500;
    }
  
  
    .logo {
    padding: 0;
    margin: 0;
    height: 50px; 
  
    }  
    .nav-link {
            font-size: 16px; 
        }

    .menu-item-card {
        width: 23%;
        height: 430px;
    }

    .item-card-bg {
        width: 23%;
        height: 430px;
    }

    
    .menu-item-card-long {
        width: 23%;
        height: 470px;
    }

    .item-card-bg-long {
        width: 23%;
        height: 470px;
    }
    

    .category-card-top-left, .category-card-top-middle, .category-card-top-right{
        width: 200px;
        height: 200px;
    }

    .category-card-top-left .card-label-bg, .category-card-top-middle .card-label-bg-long, .category-card-top-right .card-label-bg {
        width: 70%;
        height: 20px; /* Varsayılan yükseklik */}

    .card-label { 
        font-size: 18px; /* Varsayılan font boyutu */
    }

    .category-card-middle-left, .category-card-middle-right {
        width: 200px;
        height: 200px;
    }

    .category-card-middle-left .card-label-bg-mug, .category-card-middle-right .card-label-bg-mocktail {
        width: 70%;
        height: 20px; /* Varsayılan yükseklik */
    }

    .category-card-bottom-left, .category-card-bottom-middle, .category-card-bottom-right {
        width: 200px;
        height: 200px;
    }
    .category-card-bottom-left .card-label-bg-small-item, .category-card-bottom-middle .card-label-bg-small-item, .category-card-bottom-right .card-label-bg-small-item {
        width: 70%;
        height: 20px; /* Varsayılan yükseklik */
    }

    .menu-categories-section {
        width: 90%;
        gap: 10px;
    }

    .title-underline {
        height: 15px;}

    .section-title {
        font-size: 40px;
    }
    .item-title {
        font-size: 22px; /* Menü öğesi başlıkları için font boyutu */
        font-weight: 600;
    }
        .item-price {
        font-size: 20px; /* Menü öğesi başlıkları için font boyutu */
        font-weight: 700;
    }
    .item-description {
        font-size: 20px; /* Menü öğesi açıklamaları için font boyutu */
    }
    .item-image {
    width: 100%;
    height: 180px;
    }

     .item-image-drink {
    width: 100%;
    height: 300px;
}
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
   .main-section {
        gap: 40px;
        margin-bottom: 50px;    
    }

    .navbar {
    width: 95%;
    height: 70px;
    }
  
  
    .logo {
    padding: 0;
    margin: 0;
    height: 50px; 
  
    } 
        .navbar .menu-item {
    font-size: 21px;
    font-weight: 500;
    } 
    .nav-link {
    font-size: 20px; 
    }


    .menu-item-card {
       width: 23%;
        height: 500px;
    }

    .menu-item-card-long {
       width: 23%;
        height: 490px;
    }
    

    .category-card-top-left, .category-card-top-middle, .category-card-top-right{
        width: 250px;
        height: 250px;
    }

    .category-card-top-left .card-label-bg, .category-card-top-middle .card-label-bg-long, .category-card-top-right .card-label-bg {
        width: 70%;
        height: 30px; /* Varsayılan yükseklik */}

    .card-label { 
        font-size: 18px; /* Varsayılan font boyutu */
    }

    .category-card-middle-left, .category-card-middle-right {
        width: 250px;
        height: 250px;
    }

    .category-card-middle-left .card-label-bg-mug, .category-card-middle-right .card-label-bg-mocktail {
        width: 70%;
        height: 30px;/* Varsayılan yükseklik */
    }

    .category-card-bottom-left, .category-card-bottom-middle, .category-card-bottom-right {
        width: 250px;
        height: 250px;
    }
    .category-card-bottom-left .card-label-bg-small-item, .category-card-bottom-middle .card-label-bg-small-item, .category-card-bottom-right .card-label-bg-small-item {
        width: 70%;
        height: 30px; /* Varsayılan yükseklik */
    }

    .menu-categories-section {
        width: 90%;
        gap: 20px;
    }

    .title-underline {
        height: 15px;}

    .section-title {
        font-size: 50px;
    }
    .item-title {
        font-size: 28px; /* Menü öğesi başlıkları için font boyutu */
        font-weight: 600;
    }

        .item-price {
        font-size: 26px; /* Menü öğesi başlıkları için font boyutu */
        font-weight: 700;
    }
    .item-description {
        font-size: 22px; /* Menü öğesi açıklamaları için font boyutu */
    }
    .item-image {
     width: 100%;
    height: 200px;
    }

    .item-image-drink {
    width: 100%;
    height: 300px;
}

    .item-card-bg {
    width: 23%;
    height: 500px;
    }

    .item-card-bg-long {
    width: 23%;
    height: 490px;
    }
}