@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: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.restaurant-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-color);
    white-space: nowrap;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-wrapper:hover .restaurant-logo {
    transform: scale(1.05);
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.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: #F5A623;
}

/*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 {
    top: 80px !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    display: none;
    background: #1a1a2e !important;
}

.open-menu {
    font-size: 2rem;
    display: none; /* Desktop default hide */
    cursor: pointer;
    position: relative; /* Changed from absolute */
    z-index: 1001;
}

.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, .header-left .menu {
        display: none;
    }

    .open-menu {
        display: flex;
    }

    .main-menu .menu .page-info {
        display: flex;
    }

    .main-menu {
    top: 80px !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    display: none;
    background: #1a1a2e !important;
}

    .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: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        padding: 0;
        width: 100%;
    }





    .main-menu .menu li.franchise-dropdown-wrapper-mobile {
        grid-column: 1 / -1;
        width: 100%;
    }

    .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-right {
    display: flex;
    align-items: center; /* Yatay hizalama */
}

.header__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Legacy logo styles removed */

.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: 1200px) {
    .logo-text {
        font-size: 20px;
    }
    .restaurant-logo {
        height: 60px;
    }
}

@media (max-width: 992px) {
    .logo-text {
        font-size: 18px;
    }
    .restaurant-logo {
        height: 55px;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 14px;
        display: block;
        margin-left: -5px;
    }
    .restaurant-logo {
        height: 60px;
    }
}

@media (max-width: 500px) {
    .restaurant-logo {
        height: 45px;
    }
}

.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(245,166,35,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="../../../www.w3.org/2000/svg.html"><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%;
        text-decoration: none;
        font-family: "Poppins", serif;
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        padding: 0;
    }

    .franchise-mobile-arrow {
        width: 10px;
        height: 10px;
        margin-left: 8px;
        transition: transform 0.3s ease;
        color: var(--white-color);
    }

    .franchise-dropdown-mobile {
        display: none;
        list-style: none;
        padding: 0;
        margin: 0;
        margin-top: 8px;
        width: 100%;
        flex-direction: column;
    }

    .franchise-dropdown-wrapper-mobile.active .franchise-dropdown-mobile {
        display: flex;
    }

    .franchise-dropdown-mobile li {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .franchise-dropdown-mobile li a {
        display: block;
        color: var(--white-color);
        padding: 8px 16px;
        text-decoration: none;
        font-size: 0.75rem;
        font-family: "Poppins", serif;
        text-transform: uppercase;
        transition: all 0.2s ease;
        text-align: left;
    }

    .franchise-dropdown-mobile li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 20px;
    }

    .franchise-dropdown-wrapper-mobile.active .franchise-mobile-arrow {
        transform: rotate(180deg);
    }
}


/* ===== MARIA PIZZA MOBILE HEADER FIX ===== */
@media (max-width: 480px) {
    .header {
        padding: 0 3%;
        height: 80px;
    }
    .restaurant-logo {
        height: 55px !important;
    }
    .logo-text {
        font-size: 16px !important;
    }
}

@media (max-width: 360px) {
    .logo-text {
        font-size: 13px !important;
    }
    .restaurant-logo {
        height: 45px !important;
    }
}
/* ===== MOBILE NAV COMPLETE FIX ===== */
@media (max-width: 960px) {
    .header {
        height: 80px !important;
        padding: 0 4%;
        position: sticky;
        top: 0;
        z-index: 10000;
    }

    .main-menu {
    top: 80px !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    display: none;
    background: #1a1a2e !important;
}

    /* Logo layout */
    .header-left {
        flex: 1;
    }
    .logo-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }
    .restaurant-logo {
        height: 50px !important;
        width: auto !important;
        flex-shrink: 0;
    }
    .logo-text {
        font-size: 15px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 160px;
    }

    /* Hamburger on right */
    .header-right {
        flex-shrink: 0;
    }
    .header__logo img {
        width: auto !important;
        height: 50px !important;
    }

    /* Menu items full width */
    .main-menu .menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding-bottom: 8px;
    }
    .main-menu .menu li:last-child {
        border-bottom: none;
    }
    .main-menu .menu li a {
        font-size: 0.9rem !important;
        padding: 4px 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 13px !important;
        max-width: 120px;
    }
    .restaurant-logo {
        height: 44px !important;
    }
    .header {
        padding: 0 3%;
    }
}
/* ===== MOBILE MENU COMPLETE REDESIGN ===== */
@media (max-width: 960px) {

    /* Clean menu panel */
    .main-menu {
    top: 80px !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    display: none;
    background: #1a1a2e !important;
}

    /* Each menu item row */
    .main-menu .menu li,
    .main-menu .menu .page-info {
        width: 100% !important;
        display: block !important;
        border-bottom: none !important;
        padding: 0 !important;
        margin: 0 !important;
        grid-column: unset !important;
    }

    /* Link styling - white, right-aligned */
    .main-menu .menu li a,
    .main-menu .menu .page-info a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important; /* Right aligned */
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: rgba(255, 255, 255, 0.9) !important; /* Brighter white */
        text-decoration: none !important;
        font-family: 'Poppins', sans-serif !important;
        letter-spacing: 0.5px !important;
        transition: all 0.2s ease !important;
        border-right: 3px solid transparent !important; /* Border on right */
        border-left: none !important;
        text-align: right !important;
    }

    .main-menu .menu li a:hover,
    .main-menu .menu .page-info a:hover {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-right-color: #F5A623 !important;
    }

    /* Active/current page link */
    .main-menu .menu li a.active-page,
    .main-menu .menu .page-info a.active-page {
        color: #F5A623 !important;
        font-weight: 700 !important;
        border-right-color: #F5A623 !important;
        background: rgba(245, 166, 35, 0.1) !important;
    }

    /* Hide the light arrow images */
    .light_arrow { display: none !important; }

    /* Franchise dropdown in mobile */
    .franchise-btn-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important; /* Right aligned */
        gap: 10px;
        padding: 12px 24px !important;
        color: rgba(255,255,255,0.9) !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        font-family: 'Poppins', sans-serif !important;
        letter-spacing: 0.5px !important;
        width: 100% !important;
        text-decoration: none !important;
        border-right: 3px solid transparent !important;
        border-left: none !important;
        transition: all 0.2s ease !important;
    }
    .franchise-btn-mobile:hover {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-right-color: #F5A623 !important;
    }

    .franchise-dropdown-mobile {
        background: rgba(0,0,0,0.2);
        border-radius: 0;
        margin: 0 !important;
        padding: 5px 0 !important;
    }

    .franchise-dropdown-mobile li a {
        padding: 10px 24px !important;
        font-size: 0.8rem !important;
        border-right: none !important;
        color: rgba(255,255,255,0.6) !important;
        justify-content: flex-end !important;
    }
    .franchise-dropdown-mobile li a:hover {
        color: #F5A623 !important;
        background: transparent !important;
    }
    .franchise-mobile-arrow {
        order: -1; /* Arrow on the left of text for right-aligned menu */
    }

    /* Remove any divider lines between items */
    .main-menu .menu li::after,
    .main-menu .menu li::before { display: none !important; }
}