/* ------------------------------------------- */
/* 1. GENEL YAPISAL STİLLER (HER ZAMAN AYNI)  */
/* ------------------------------------------- */

/* Body'ye dark-theme sınıfı eklendiğinde devreye girecek dark tema renkleri için yer tutucu */
body {
    padding-bottom: 70px; /* Alt navigasyon için boşluk */
}
.category-bg {
    background-color: white;
}
/* Kategori Kaydırma Alanı */
.category-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}
.category-scroll::-webkit-scrollbar { display: none; }
/* Alt Navigasyon Yapısı */
.footer-nav {
    box-shadow: 0 -2px 5px rgba(0,0,0,.05);
}
/* Buton stili */
.theme-toggle {
    display: flex;
    gap: 10px;
    top: 15px;
    right: 15px;
    z-index: 10000;
}
.theme-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}
/* Hover efekti */
.theme-btn:hover {
    transform: scale(1.2);
    border-color: #00e676;
}
/* Modal yapıları (genellikle temadan bağımsız olmalıdır) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-box {
    border-radius: 10px;
    padding: 15px;
    width: 90%;
    max-width: 600px;
    box-sizing: border-box;
    position: relative;
}
.modal-close {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.modal-slider {
    position: relative;
    text-align: center;
    margin-bottom: 15px;
}
.modal-img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}
.slide-prev, .slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}
.slide-prev { left: 10px; }
.slide-next { right: 10px; }


/* ------------------------------------------- */
/* 2. AÇIK TEMA RENKLERİ (Varsayılan)          */
/* ------------------------------------------- */

body {
    background-color: #f8f9fa; /* Açık arka plan */
    color: #333;
}
.header-section {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}
/* Arama Kutusu */
.search-box {
    background-color: #e9e9e9;
}
.search-box input {
    color: #333;
}
/* Kategori */
.category-item {
    background-color: #e9e9e9;
    color: #333;

}
.category-item.active {
    background-color: #ffb74d; /* Turuncu vurgu */
    color: white;
}



/* Yemek Kartı */
.food-card {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
}
.food-title {
    color: #333;
}
.food-subtitle {
    color: #777;
}
.food-price {
    color: #ffb74d;
}
/* Alt Navigasyon */
.footer-nav {
    background-color: white;
}
.footer-nav a {
    color: #ccc;
}
.footer-nav a.active {
    color: #ffb74d;
}
/* Footer */
footer {
    background-color: #333;
    color: white;
}
.modal-box {
    background: #f8f9fa;
    color: #333;
}
/* Tema Butonu Renkleri */
.theme-btn[data-theme="dark"] {
    background: #121212;
    border: 2px solid #eee;
}
.theme-btn[data-theme="white"] {
    background: #fff;
    border: 2px solid #111;
}

.offcanvas {
    color: rgba(0, 0, 0, 0.70) !important;
    background-color:rgba(255, 255, 255, 0.95) !important;
}