/* =========================================================
   TOST KAFASI – GLOBAL STYLES
   ========================================================= */
:root {
    color-scheme: light !important;;
}
body {
    font-family: 'Segoe UI', sans-serif;
    color: #222;
    background: #fff;
}
@media (prefers-color-scheme: dark) {
    html, body {
        background: #ffffff !important;
        color: #000 !important;
    }
}

/* NAVIGATION ------------------------------------------------ */

.navbar-brand {
    font-weight: 800;
    color: #FF7A00 !important;
    font-size: 24px;
}

.nav-link {
    font-weight: 500;
    color: #444 !important;
}

.nav-link:hover {
    color: #FF7A00 !important;
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
}

/* NAV-LINK ALT ÇİZGİ EFEKTİ (Artık ::before ile) */
.nav-link {
    position: relative;
}

.nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: #FF7A00;
    transition: 0.25s ease;
}

.nav-link:hover::before {
    width: 100%;
}


/* HERO ------------------------------------------------------- */

#hero {
    background-color: #FF7A00;
    color: white;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

#hero h1 {
    font-size: 48px;
    font-weight: 800;
}

#hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 10px auto;
}

.hero-btn {
    margin-top: 30px;
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 50px;
    border: 2px solid white;
    background: white;
    color: #FF7A00;
    font-weight: 600;
    transition: 0.2s;
}

.hero-btn:hover {
    background: transparent;
    color: white;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1.7s infinite;
    color: white;
    font-size: 26px;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

/* WAVES ------------------------------------------------------- */

.wave svg {
    display: block;
}

/* SECTION TITLES ---------------------------------------------- */

.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

/* PRODUCT CARDS ----------------------------------------------- */

.product-card {
    border-radius: 16px;
    border: 1px solid #eee;
    overflow: hidden;
    background: #fff;
    transition: 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #FF7A00;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-body {
    padding: 14px 16px 18px 16px;
    flex: 1;
}

.product-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
}

.product-desc {
    font-size: 14px;
    color: #555;
}

/* ICON BOXES --------------------------------------------------- */

.icon-box {
    text-align: center;
    padding: 20px;
}

.icon-box img {
    width: 70px;
    margin-bottom: 10px;
}

.icon-box h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.icon-box p {
    font-size: 14px;
    color: #555;
}

/* HAKKIMIZDA --------------------------------------------------- */

.about-box {
    border-left: 6px solid #FF7A00;
    padding-left: 20px;
}

.about-box h3 {
    font-weight: 800;
    margin-bottom: 10px;
}

.about-box p {
    font-size: 15px;
    color: #444;
}

/* FOOTER -------------------------------------------------------- */

footer {
    background: #FF7A00;
    color: #fff;
    padding: 30px 10px;
    text-align: center;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-size: 15px;
}

/* SLIDER -------------------------------------------------------- */

#mainSlider .carousel-item img {
    width: 100%;
    height: 800px;          /* Desktop */
    object-fit: cover;
}

/* Tablet */
@media (max-width: 992px) {
    #mainSlider .carousel-item img {
        height: 600px;
    }
}

/* Mobil */
@media (max-width: 576px) {
    #mainSlider .carousel-item img {
        height: 420px;
    }
}

#commentSlider .carousel-control-prev-icon,
#commentSlider .carousel-control-next-icon {
    filter: invert(1); /* beyaz → siyah çevirir */
    width: 40px;
    height: 40px;
}

.section-title {
    font-family: 'Caveat', cursive;
    color: #FF7A00;
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

@media(max-width: 576px) {
    .section-title {
        font-size: 34px;
    }
}

.nav-link {
    font-weight: 600;
    color: #444 !important;
    transition: 0.2s;
}

.nav-link:hover {
    color: #FF7A00 !important;
}
/* LOGO AYARLARI --------------------------------------------------- */

.site-logo {
    height: 100px;      /* Desktop boyutu */
    width: auto;
    display: block;
    object-fit: contain;
}

/* 📱 MOBİL İÇİN */
@media (max-width: 768px) {
    .site-logo {
        height: 48px !important;
    }
}


/* Tablet */
@media (max-width: 992px) {
    .site-logo {
        height: 42px;
    }
}

/* Mobil */
@media (max-width: 576px) {
    .site-logo {
        height: 36px;
    }
}

/* MENU SAYFASI ----------------------------------------------- */

.menu-hero {
    background: #FF7A00;
    color: #fff;
    padding: 5px 0 4px 0;
    text-align: center;
}

.menu-hero h1 {
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Caveat', cursive;
    font-size: 44px;
}

.menu-hero p {
    opacity: 0.9;
}

/* Ana Menü Linkleri */
.nav-main-link {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.3px;
    padding: 10px 0;
    transition: 0.2s ease;
}


.nav-main-link:hover {
    color: #ff7a00 !important;
    transform: translateY(-2px);
}


.category-btn {
    border-radius: 999px;
    border: 1px solid #FF7A00;
    padding: 6px 16px;
    margin: 4px;
    font-size: 16px;
    background: #fff;
    color: #FF7A00;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;
}

.category-btn.active,
.category-btn:hover {
    background: #FF7A00;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.menu-section {
    padding: 40px 0 60px 0;
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #FF7A00;
}
.custom-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffcc00;
    color: #222;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(50px);
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 9999;
}
.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}
#selected-area-box:hover {
    background:#ffa726;
    transition:0.2s;
}
#remove-selected-area:hover {
    color:#b71c1c;
}

#lightbox iframe {
    width: 90vw;              /* Ekranın %90 genişliği */
    max-width: 900px;         /* Çok büyük ekranlarda limit */
    height: calc(90vw * 0.5625);
    max-height: calc(900px * 0.5625);
    border-radius: 14px;
    animation: zoomIn .25s ease;
}
/* NAVBAR Bullet Ayırıcılar */
/* Navbar bullet ayraçları */
.navbar-nav > .nav-item:not(:last-child) > .nav-link {
    position: relative;
    padding-right: 18px !important; /* Bullet için yer aç */
}

.navbar-nav > .nav-item:not(:last-child) > .nav-link::after {
    content: "•";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff7a00;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

/* Mobilde bullet olmasın */
@media (max-width: 992px) {
    .navbar-nav > .nav-item > .nav-link::after {
        display: none !important;
    }
}
.nav-link,
.nav-link:hover,
.nav-link:focus,
.nav-link:active {
    text-decoration: none !important;
}

/* 📱 Mobilde kategori butonları yatay kaydırmalı */
@media (max-width: 768px) {

    .category-filters {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        white-space: nowrap !important;        
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Scrollbar gizle */
    .category-filters::-webkit-scrollbar {
        display: none !important;
    }

    .menu-hero {    
    padding: 0px 0 0px 0;    
    }

    .category-btn {
        flex: 0 0 auto !important;
        font-size: 18px !important;
        padding: 10px 20px !important;
        border-radius: 30px !important;
        font-family: 'Poppins', sans-serif !important;
    }
}

.remove-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 50px;
}

.remove-btn i {
    font-size: 18px;
    color: #8b2e00; /* daha şık koyu turuncu-kahve ton */
    transition: 0.2s;
    margin-left: 50px;
}

.remove-btn i:hover {
    color: #5c1c00;  /* hover koyulaşma */
    transform: scale(1.2);
    margin-left: 50px;
}
#slogan-box {
    width: 100%;
    max-width: 500px;       /* genişlik kontrolü */
    margin: 0 auto;
    min-height: 60px;       /* 🔥 2 SATIRLIK YER AYIRIR */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 90px !important; /* bottom nav yüksekliği + boşluk */
}

#tost-slogan {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    white-space: normal;    /* 🔥 ALT SATIRA İNSİN */
    word-wrap: break-word;  /* 🔥 TAŞMA OLMASIN */
}

#tost-fixed {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    white-space: normal;    /* 🔥 ALT SATIRA İNSİN */
    word-wrap: break-word;  /* 🔥 TAŞMA OLMASIN */
}


@media (max-width: 768px) {
    .tost-slogan {
        width: 300px;
        font-size: 11px;
    }
}
.limit-alert {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4444;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 999999;
}
.limit-alert.show {
    opacity: 1;
}
.qty-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    border: 1px solid #ccc;
    background: #fff;
    color: #444;
    border-radius: 6px;
    cursor: pointer;
}

.qty-btn:hover {
    background: #f3f3f3;
}

.qty-btn:active {
    background: #e8e8e8;
}
.remove-chip {
    padding: 6px 10px;
    background: #f3f3f3;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 13px;
}

.remove-chip.selected {
    background: #ffe4e4;
    color: #c00;
    text-decoration: line-through;
    border-color: #c00;
}
.delete-btn {
    background: #ffe5e5;
    border: 1px solid #ffb3b3;
    color: #c00000;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    cursor: pointer;
}

.delete-btn:hover {
    background: #ffcccc;
    border-color: #ff8080;
}
.gallery-thumbs .thumb-img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.address-block {
    padding: 10px 4px;
    border-bottom: 1px solid #eee;
}

.edit-icon-btn {
    display: flex;
    align-items: start;
    text-decoration: none;
}

.edit-icon-btn:hover {
    color: #000; /* hafif koyulaşma */
}
.zone-ok {
    background: #e6f9e8;
    border-left: 4px solid #4caf50;
    color: #317239;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.zone-min {
    background: #fff8e6;
    border-left: 4px solid #ffb300;
    color: #8a6d00;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.zone-no {
    background: #ffe6e6;
    border-left: 4px solid #e53935;
    color: #991f1f;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}
.delivery-bonus {
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-bonus {
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.delivery-bonus.warn {
    background: #fff7e1;
    border-left: 4px solid #ffb300;
    color: #8a6d00;
}

.delivery-bonus.success {
    background: #e6f9e8;
    border-left: 4px solid #4caf50;
    color: #317239;
}

.delivery-bonus span {
    line-height: 1.2;
}
.spa-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 420px;
    height: 100vh;
    background: #fff;
    box-shadow: -3px 0 10px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.spa-panel.open {
    right: 0;
}

.spa-close {
    font-size: 26px;
    font-weight: bold;
    position: absolute;
    top: 12px;
    right: 15px;
    cursor: pointer;
}

.spa-section-header {
    font-size: 20px;
    font-weight: 600;
    padding: 20px 15px 10px;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    z-index: 500;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav div {
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    color: #444;
}
/* Profil Kartı */
.profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f7f7;
    padding: 15px;
    border-radius: 12px;
    margin: 15px;
}

.profile-icon {
    font-size: 36px;
}

.profile-name {
    font-size: 18px;
    font-weight: bold;
}

.profile-phone {
    font-size: 14px;
    color: #666;
}

/* Menü Listesi */
.profile-menu {
    margin: 10px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    border: 1px solid #eee;
    transition: 0.15s;
}

.menu-item:hover {
    background: #f0f0f0;
}

.menu-item.exit {
    color: #c62828;
}
.spa-section-header {
    font-size: 20px;
    font-weight: 600;
    padding: 20px 15px 10px;
}

.alert {
    font-size: 14px;
}
.address-item {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 10px;
}

.address-left {
    width: 80%;
}

.address-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.default-tag {
    background: #4caf50;
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 11px;
    margin-left: 6px;
}

.address-text {
    font-size: 14px;
    color: #666;
}

.address-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.address-actions i {
    font-size: 20px;
    cursor: pointer;
}

.address-actions .edit-btn {
    color: #1976d2;
}

.address-actions .delete-btn {
    color: #d32f2f;
}
/* Google Places autocomplete dropdown'u SPA panelin üstüne getir */
.pac-container {
    z-index: 999999 !important; 
}
.spa-back-btn {
    font-size: 15px;
    font-weight: 600;
    padding: 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    margin-bottom: 10px;
}

.spa-back-btn i {
    font-size: 18px;
}
.modal-footer {
    position: sticky;
    bottom: 0;
    background: white;
    z-index: 9999;
    padding: 15px;
    border-top: 1px solid #ddd;
}
.product-modal-footer {
    position: sticky;
    bottom: 0;
    background: #ffffff;     /* koyu ton (görseldeki gibi) */
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-radius: 0 0 14px 14px;
    z-index: 99999;
    padding: 14px;
    border-top: 1px solid #ddd
}


/* SOL: adet kontrol */
.qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ff7a00;
    padding: 8px 14px;
    border-radius: 14px;
    height: 54px; 
}

/* SVG buton */
.qty-svg-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.qty-svg-btn svg {
    width: 38px;
    height: 38px;
    fill: #e1a771;
}

.qty-svg-btn svg circle {
    fill: #e1a771;
}

.qty-svg-btn svg path {
    fill: white;
}

/* SAYI ALANI */
.qty-display {
    position: relative;
    width: 40px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qty-display #modal-qty {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

/* ZIPLAYAN SAYI */
.qty-float {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0;
    font-size: 20px;
    font-weight: 600;
    color: white;
    pointer-events: none;
}

.qty-float.qty-jump {
    animation: qtyJump 0.45s ease-out forwards;
}

@keyframes qtyJump {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
    25% {
        transform: translate(-50%, -6px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -14px);
        opacity: 0;
    }
}

/* SAĞ: EKLE BUTONU */
.add-order-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #ff7a00;
    border: none;
    padding: 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    border-radius: 14px;
    height: 54px
}

.add-order-btn .btn-text {
    font-size: 15px;
}

.add-order-btn .btn-price {
    font-size: 17px;
    font-weight: 800;
    margin-top: -2px; /* biraz yakınlaştırmak için */
}


.add-order-btn:disabled {
    background: #555;
    opacity: 0.7;
}
.modal-body {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}
.mobile-cat-inline {
    white-space: nowrap;
}

.mobile-cat-inline .cat-mini {
    display: inline-block;
    padding: 6px 10px;
    font-size: 14px;
    white-space: nowrap;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
}

.mobile-cat-inline .cat-mini:hover {
    background:#f2f2f2;
}
.promo-box {
    background: #fff4e0;
    padding: 6px 14px;
    border-radius: 10px;
    border: 1px solid #ffd5a6;
    font-size: 14px;
    font-weight: 600;
    color: #cc4d00;
    white-space: nowrap;
}

/* 0–991 px → mobil kategori bar görünsün */
@media (max-width: 991px) {
    .mobile-category-scroll {
        display: block !important;
    }
}



.nav-item {
    flex: 1;
    text-align: center;
    color: #888; /* pasif renk */
    user-select: none;
    padding: 10px;
    cursor: pointer;
}

.nav-item.active {
    color: #E56A24; /* aktif renk */
}

.nav-icon {
    width: 26px;
    height: 26px;
    filter: brightness(0) saturate(0) opacity(0.6); /* gri */
    transition: .2s;
}


.nav-item.active .nav-icon {
    filter: brightness(1) sepia(1) saturate(500%) hue-rotate(-10deg);
}


/* Label */
.nav-label {
    font-size: 11px;
    margin-top: 2px;
    display: block;
}

/* Cart badge */
.nav-cart-wrapper {
    position: relative;
    display: inline-block;
}

.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -12px;
    background: #E56A24;
    color: white;
    padding: 1px 5px;
    border-radius: 20px;
    font-size: 11px;
    display: none;
}
.bottom-nav .nav-item svg {
    width: 26px;
    height: 26px;
    color: #777;   /* Pasif (gri) */
}

.bottom-nav .nav-item.active svg {
    color: #ff7a00;   /* Aktif (turuncu) */
}

.zone-status {
    color: #6c757d;        /* gri */
    font-size: 0.85rem;    /* küçük */
    font-style: italic;    /* italik */
    margin-top: 6px;
}
#spa-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 998;
    display: none;
}

#spa-panel.open + #spa-overlay,
#spa-overlay.active {
    display: block;
}
.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    
    
}






