/* === KATEGORİ BUTONLARI - MODERN TEMA === */
.main-menu-button {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}


.main-menu-wrap {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.main-menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0
}

.main-menu-button {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 1rem;
    overflow: hidden;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    flex: 0 1 calc(50% - 0.5rem);
}

.main-menu-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.main-menu-button span {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    width: 100%;
}

.main-menu-button:hover {
    transform: translateY(-4px);
    opacity: 0.95;
}

.main-menu-button:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
}

/* === ÖNE ÇIKAN ÜRÜNLER - KAYDIRMALI, MODERN === */
.featured-products-section {
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
    position: relative;
}

.featured-products-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-products-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    padding: 1rem;
    margin-bottom: 2rem;
}

.featured-products-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
}

.featured-products-slider::-webkit-scrollbar {
    height: 6px;
}

.featured-products-slider::-webkit-scrollbar-track {
    background: transparent;
}

.featured-products-slider::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.featured-products-slider::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.product-card {
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: 90vw;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    transition: transform 0.4s ease, background 0.3s ease;
}

.product-card img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.product-card p {
    font-size: 0.9rem;
    color: #ddd;
    margin-bottom: 0.25rem;
}

.product-card .price {
    font-size: 0.95rem;
    font-weight: bold;
    color: #ffcba3;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.product-card:hover img {
    transform: scale(1.05);
}

/* === YENİ: DİL SEÇİM MODALI STİLLERİ === */
.lang-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none; /* JavaScript ile gösterilecek */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lang-modal-overlay.visible {
    display: flex;
    opacity: 1;
}

.lang-modal-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 3.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lang-modal-overlay.visible .lang-modal-content {
    transform: scale(1);
}

.lang-modal-content h2 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.lang-modal-content p {
    margin-bottom: 2rem;
    color: #ddd;
    font-size: 0.9rem;
}

.lang-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.lang-modal-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    background-color: var(--primary);
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.lang-modal-buttons button:hover {
    transform: scale(1.05);
    background-color: #8a6c5a; /* Hover rengi */
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.nav-btn.prev {
    left: 10px;
}

.nav-btn.next {
    right: 10px;
}

.nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: #444;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === MOBİL UYUMLULUK === */
@media (max-width: 768px) {
    .main-menu-button {
        height: 120px;
    }

    .featured-products-section {
        padding-top: 5rem;
    }

    .featured-products-title {
        font-size: 1.8rem;
    }

    .product-card {
        flex-basis: 90%;
    }

    .nav-btn {
        display: none;
    }
}