@import url('./constants.css');

.swal2-shown.swal2-height-auto{padding-right:0!important}
.swal2-popup {
    font-family: 'Poppins', sans-serif !important;
}

.header {
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background-color: transparent;
}

.header__logo img {
    width: 250px;
    height:60px;
    margin-right: 2.5rem;
}

.header-right {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.menu li {
    margin-right: 1rem;
}

.header-right .menu li a {
    text-decoration: none;
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;

}

.header-left .menu li a {
    text-decoration: none;
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    color: var(--white-color);
    display: flex;
    align-items: center;
    transition: 0.2s ease;
    justify-content: space-between;;
    width: 100%;

}

.menu li a .img-1 {
    margin-right: 0.4rem;
    width: 20px;
    height: 20px;
}

.menu li:hover a, img {
    color: #69B42E;
}

/*burger menu css started*/
.header-svg {
    height: 80px;
    
    position: absolute;
    width: 80px;
}

.plates {
    display: flex;
    flex-wrap: wrap;
    max-height: 160px;
    width: 100px;
}

@media (max-width: 640px) {
    .plates {
        width: 55px;
    }
}

.plate {
    height: 80px;
    width: 80px;
}

.burger {
    filter: url(#gooeyness);
}

.x {
    transform: scale(0);
    transition: transform 400ms;
}

.line {
    fill: none;
    stroke: var(--white-color);
    stroke-width: 6px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 50%;
    transition: stroke-dasharray 500ms 200ms, stroke-dashoffset 500ms 200ms, transform 500ms 200ms;
}

.x .line {
    stroke-width: 5.5px;
}

.active .x {
    transform: scale(1);
    transition: transform 400ms 350ms;
}

.plate2 .line1 {
    stroke-dasharray: 21 185.62753295898438;
    /*transition-delay: 0;*/
}

.plate2 .line2 {
    stroke-dasharray: 21 178.6514129638672;
    transition-delay: 30ms;
}

.plate2 .line3 {
    stroke-dasharray: 21 197.92425537109375;
    transition-delay: 60ms;
}

.plate2 .line4 {
    stroke-dasharray: 21 190.6597137451172;
    transition-delay: 90ms;
}

.plate2 .line5 {
    stroke-dasharray: 21 208.52874755859375;
    transition-delay: 120ms;
}

.plate2 .line6 {
    stroke-dasharray: 21 186.59703063964844;
    transition-delay: 150ms;
}

.active.plate2 .line1 {
    stroke-dasharray: 5 185.62753295898438;
    stroke-dashoffset: -141px;
}

.active.plate2 .line2 {
    stroke-dasharray: 5 178.6514129638672;
    stroke-dashoffset: -137px;
}

.active.plate2 .line3 {
    stroke-dasharray: 5 197.92425537109375;
    stroke-dashoffset: -176px;
}

.active.plate2 .line4 {
    stroke-dasharray: 5 190.6597137451172;
    stroke-dashoffset: -159px;
}

.active.plate2 .line5 {
    stroke-dasharray: 5 208.52874755859375;
    stroke-dashoffset: -139px;
}

.active.plate2 .line6 {
    stroke-dasharray: 5 186.59703063964844;
    stroke-dashoffset: -176px;
}

.active.plate2 .x {
    transition: transform 400ms 250ms;
}

header.main-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
}

.open-menu {
    font-size: 2rem;
    margin: 20px;
    display: none;
    cursor: pointer;
    position: absolute;
    right: 0;
}

.main-menu .menu .page-info {
    display: none;
}

.light_arrow {
    display: none;
}

@media (max-width: 1600px) {
      .header-left ul, .header-right ul{ margin-bottom:0px!important;}

  .header-left .menu li a{
      font-size:12px;
  }
  
   .header-right .menu li a{
      font-size:12px;
  }
  

    .container-header{padding: 16px 100px 6px 100px !important;}
    
    .footer-content{padding: 0 100px !important;}
     .footer-end{padding: 0 100px 40px 100px !important;}
    
    .menu li a .img-1{width:12px;height:12px;}
    
    .news-container .news-content{padding:68px 50px!important;}
    

}

.menu-none{padding:20px!important;}
@media (max-width: 1350px) {

.header__logo img{
    width: 200px;
    height: 45px;
    margin-right: .5rem;
}
    

}

@media (max-width: 1200px) {

    .header__logo img {
        width: 150px;
        height: 75px;
       
    }    
        .header-right .menu li a {
        font-size: 10px;
    }
    
        .header-left .menu li a {
        font-size: 10px;
    }

}

@media (max-width: 960px) {

    .header-right .menu {
        display: none;
    }

    .main-menu .menu .page-info {
        display: flex;
    }

    .main-menu {
        /*position: fixed;*/
        top: 100px;
        z-index: 10;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        background: var(--primary-color);
        transition: top 1s ease 0s;
        display: none;
        border-radius: 8px;
        padding: 1rem 0;
        text-transform: uppercase;

    }

    .main-menu .menu li a .img-1 {
        display: none
    }
    
     .main-menu .menu li a {
        font-size:.8rem;
    }

    .light_arrow {
        transform: rotate(180deg);
        display: flex;
        width: 6px;
        height: 12px;
    }

    .main-menu .menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        flex-direction: column;
        justify-content: left;
        align-items: start;
        gap: 30px;
        padding-left: 16px;
    }

    .main-menu .menu li:nth-child(2n + 1) {
        grid-column: 1;
    }

    .main-menu .menu li:nth-child(2n) {
        grid-column: 2;
    }

    .main-menu .menu li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;

    }

    .open-menu {
        display: flex;
    }
    
      .header__logo img {
        width: 250px!important;
        height: 75px;
        margin-right: 0px;
    } 
}
/*burger menu css finished*/
html {
    scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}



.header {
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-right {
    display: flex;
    align-items: center; /* Yatay hizalama */
}

.header__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.restaurant-images-container {
    width: 350px;
    height: auto;
    transition: all 0.3s ease-in-out;
}

.custom-toast {
    top: 1rem;
    right: 1rem;
    z-index: 1055;
    min-width: 250px;
    margin-top: 120px;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
#orderToastContainer {
    top: 1rem;
    right: 1rem;
    z-index: 1055;
    min-width: 280px;
    max-width: 350px;
    padding: 0.75rem 1rem;
    background-color: #ffc107 !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease;
    font-size: 14px;
}



@media (max-width: 1400px) {
    .restaurant-images-container {
        width: 300px;
    }
}

@media (max-width: 1200px) {
    .restaurant-images-container {
        width: 250px;
    }
}

@media (max-width: 992px) {
    .restaurant-images-container {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .restaurant-images-container {
        width: 180px;
    }
}

@media (max-width: 500px) {
    .restaurant-images-container {
        width: 150px;
    }
}

.header-left ul, .header-right ul{
    padding-left:0px!important;
    margin-bottom:0px!important;
}

/* Custom Language Switcher Styles - Modernized */
.custom-lang-switcher {
    display: inline-block;
    margin-right: 1.5rem;
    position: relative;
    z-index: 2;
    vertical-align: middle;
}

/* Premium Language Switcher Wrapper */
.custom-lang-select-wrapper {
    display: flex
    ;
        align-items: center;
        /* gap: 10px; */
        background: rgba(255, 255, 255, 0.13);
        border-radius: 16px;
        padding: 2px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
        transition: box-shadow 0.25s, background 0.25s, transform 0.18s;
        border: 1.5px solid rgba(255, 255, 255, 0.18);
        position: relative;
}
.custom-lang-select-wrapper:focus-within, .custom-lang-select-wrapper:hover {
    background: rgba(255,255,255,0.22);
    box-shadow: 0 4px 24px rgba(105,180,46,0.13);
    transform: scale(1.045);
    border-color: #fff;
}

.lang-flag {
    padding-left: 13px;
    display: flex;
    align-items: center;
    /* width: 26px; */
    height: 18px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    /* background: #fff; */
}


.custom-lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    color: #fff;
    padding: 8px 40px 8px 12px;
    font-size: 1.12rem;
    border: none;
    border-radius: 10px;
    box-shadow: none;
    transition: color 0.2s;
    outline: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    min-width: 60px;
    letter-spacing: 0.7px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" height="22" viewBox="0 0 24 24" width="22" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5" stroke="%23fff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 22px 22px;
    box-sizing: border-box;
}


/* Açılır menü (dropdown) için daha modern ve uyumlu stil */
.custom-lang-select option {
    background: #23272f !important;
    color: #fff !important;
    font-weight: 700;
    padding: 12px 18px;
    min-height: 40px;
    font-size: 1.08rem;
    border: none;
    transition: background 0.18s, color 0.18s;
}

.custom-lang-select:focus option,
.custom-lang-select option:checked {
    background: #353a40 !important;
    color: #fff !important;
}

.custom-lang-select option:hover,
.custom-lang-select option:focus {
    background: #353a40 !important;
    color: #fff !important;
}

/* iOS/Safari için font ve renk düzeltmesi */
.custom-lang-select:focus {
    color-scheme: dark;
}

/* Chrome, Safari, Edge için açılır menüde border ve shadow kaldırma */
.custom-lang-select::-webkit-dropdown {
    border: none;
    box-shadow: none;
}

/* Firefox için */
.custom-lang-select:-moz-focusring {
    color: #fff;
    background: #23272f;
}

/* IE için ok gizleme */
.custom-lang-select::-ms-expand {
    display: none;
}

@media (max-width: 960px) {
    .custom-lang-switcher {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .custom-lang-select-wrapper {
        width: 100%;
        min-width: 0;
        padding: 4px 6px 4px 4px;
    }
    .custom-lang-select {
        width: 100%;
        min-width: 0;
    }
}

