:root {
    --primary-color: #d4af37;
    /* Gold */
    --primary-dark: #b89628;
    --secondary-color: #121212;
    /* Deep Black */
    --bg-color: #000000;
    --card-bg: #1a1a1a;
    --text-color: #f0f0f0;
    --text-muted: #888;
    --border-color: #333;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.2);

    --bottom-nav-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    padding-bottom: var(--bottom-nav-height);
    /* Bottom nav için boşluk */
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.animate-fade {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Header */
header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 20px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    pointer-events: none;
    /* Arkadaki slider'a tıklanabilsin */
}

header img {
    height: 50px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.8));
    pointer-events: auto;
}

header h1 {
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    pointer-events: auto;
}

/* Slider */
.hero-slider {
    height: 35vh;
    /* Mobilde ideal yükseklik */
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: flex-end;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-color) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s 0.5s;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

/* Categories */
.category-scroller {
    display: flex;
    overflow-x: auto;
    padding: 10px 15px;
    gap: 10px;
    margin-top: -30px;
    /* Slider'ın üzerine çıksın */
    position: relative;
    z-index: 10;
    scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar {
    display: none;
}

.cat-chip {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.cat-chip.active {
    background: var(--primary-color);
    color: #000;
    font-weight: 600;
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-color);
}

/* Products */
.menu-section {
    padding: 20px;
}

.section-title {
    font-size: 1.4rem;
    margin: 20px 0 15px;
    padding-left: 10px;
    border-left: 3px solid var(--primary-color);
}

.product-card {
    display: flex;
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.product-card:active {
    transform: scale(0.98);
    border-color: var(--primary-color);
}

.product-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
}

.product-info {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--bottom-nav-height);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.nav-item {
    color: #666;
    text-align: center;
    font-size: 0.7rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-fab-wrapper {
    position: relative;
    top: -25px;
}

.nav-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    animation: pulse 2s infinite;
}

/* Modals & Popups */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    background: #222;
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    position: relative;
    border: 1px solid #333;
    animation: fadeIn 0.3s ease-out;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    color: #888;
    cursor: pointer;
}

.modal-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Toast */
.toast-msg {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.toast-msg.show {
    top: 40px;
    opacity: 1;
    visibility: visible;
}