﻿/* Temel stiller */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    font-family: 'Poppins', sans-serif;
}

.loading-progress {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
}

#startButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#startButton {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 25px 50px;
    font-size: 32px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    border: none;
    border-radius: 15px;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
}

    #startButton:hover {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 40px rgba(255, 107, 107, 0.6);
        letter-spacing: 4px;
    }

.menu-container {
    display: none;
}

    .menu-container.fullscreen {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        background: #000;
    }

.main-content {
    display: grid;
    grid-template-columns: 65% 35%;
    height: 100vh;
    gap: 0;
}

.product-display {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.product-image {
    height: 92%;
    overflow: hidden;
    position: relative;
    background: #000;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: all 0.8s ease-in-out;
        animation: softPulse 3s infinite ease-in-out;
    }

.product-description {
    height: 8%;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    font-size: 1.3em;
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sağ taraf düzenlemesi */
.menu-list-container {
    height: 100vh;
    background: #121212;
    overflow: hidden;
    padding: 10px;
}

.category-section {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    margin-bottom: 15px;
    transform: translateZ(0);
}

.category-header {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    padding: 20px 12px;
    background: linear-gradient(180deg, #3a7bd5, #00d2ff);
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-height: 200px;
}

.menu-items-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .menu-item:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateX(5px);
    }

    .menu-item.active {
        background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
        transform: scale(1.02);
        box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
    }

.item-name {
    color: #E0E0E0;
    font-size: 1.4em;
    flex: 1;
    margin-right: 15px;
}

.item-price {
    font-size: 1.3em;
    font-weight: 500;
    color: #00d2ff;
    white-space: nowrap;
}

.menu-item.active .item-name,
.menu-item.active .item-price {
    color: #fff;
    font-weight: 600;
}

/* Animasyonlar */
@keyframes softPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.015);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 5px;
    position: relative;
    transform: translateY(0);
    will-change: transform;
}

    .menu-list::-webkit-scrollbar {
        display: none;
    }

/* Responsive */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 60% 40%;
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        grid-template-rows: 70vh 30vh;
    }

    .product-display {
        height: 70vh;
    }

    .menu-list-container {
        height: 30vh;
    }
}
