﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #6f42c1; /* Ana Mor */
    --primary-dark: #4e2a8f;
    --accent-color: #ffb700; /* Altın Sarısı - Premium his için */
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #2c2c2c;
    --text-muted: #787878;
    --border-radius: 20px;
    --shadow-soft: 0 10px 30px rgba(111, 66, 193, 0.05);
    --shadow-hover: 0 15px 35px rgba(111, 66, 193, 0.12);
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    padding-bottom: 100px;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Montserrat', sans-serif;
}

/* Hero Section - Premium Look */
.hero-section {
    position: relative;
    height: 320px;
    background-color: var(--primary-dark);
    border-radius: 0 0 40px 40px;
    overflow: hidden;
    margin-bottom: -40px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: contrast(1.1) brightness(0.8);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(78, 42, 143, 0.3) 0%, rgba(30, 15, 60, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.95);
    background: white;
    padding: 5px;
    object-fit: contain;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    margin-bottom: 15px;
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.brand-name {
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 2rem;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.brand-tagline {
    font-size: 0.95rem;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 500;
    color: var(--accent-color);
}

/* Category Navigation - Modern Tabs */
.category-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
    backdrop-filter: blur(10px);
    background: rgba(248, 249, 250, 0.85);
    margin-top: -10px;
}

.category-nav {
    padding: 0 15px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar { display: none; }

.nav-pills .nav-link {
    background: white;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    padding: 10px 24px;
    margin-right: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pills .nav-link.active, .nav-pills .nav-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.25);
    transform: translateY(-2px);
}

/* Menu Section & Cards */
.menu-section {
    padding-top: 10px;
    scroll-margin-top: 100px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    margin-left: 15px;
    opacity: 0.3;
}

/* Product Card - Glassmorphism & Depth */
.product-card {
    background: var(--card-bg);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    /* Animasyon başlangıç durumu */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card .row {
    margin: 0;
    height: 100%;
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 85%; /* Kareye yakın */
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Mobilde yatay kart düzeni */
@media (max-width: 576px) {
    .product-card {
        border-radius: 18px;
        margin-bottom: 5px;
    }
    .product-card .col-auto {
        padding: 0;
    }
    .product-img-wrapper {
        width: 130px;
        height: 130px;
        padding-top: 0;
        margin: 0;
        border-radius: 18px 0 0 18px;
    }
    .card-body {
        padding: 15px;
    }
    .product-title {
        font-size: 1.05rem;
    }
}

/* Price Tag */
.price-container {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-badge {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.price-symbol {
    font-size: 0.8rem;
    opacity: 0.9;
}

.unit-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

/* FAB Buttons */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab-btn {
    width: 65px; height: 65px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.fab-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 60%);
    background-size: 200% 200%;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.btn-waiter { background: linear-gradient(135deg, #ff9900, #ff6600); }
.btn-lang { background: linear-gradient(135deg, #2c3e50, #000000); }

/* Footer */
footer {
    background: white;
    margin-top: 60px;
    padding: 50px 0;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.03);
    text-align: center;
}

.social-links a {
    display: inline-flex;
    width: 50px; height: 50px;
    background: #f0f2f5;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    margin: 0 8px;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) rotate(5deg);
}

/* Modal */
.modal-content {
    border-radius: 25px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-header { padding: 20px 25px 0; }
.modal-body { padding: 25px; }

.lang-option {
    background: #f8f9fa;
    border: 1px solid transparent;
}
.lang-option:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.1);
}.btn-waiter { 
    width: auto !important; 
    height: 50px !important; 
    border-radius: 25px !important; 
    padding: 0 20px !important; 
    font-size: 1rem !important; 
    font-weight: 700 !important;
    gap: 10px;
}
/* Masa Seçim Izgarası */
.table-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px 0;
}

.table-select-btn {
    background: #f3f0f9;
    border: 1px solid rgba(111, 66, 193, 0.1);
    border-radius: 12px;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.2s;
}

.table-select-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

@media (max-width: 400px) {
    .table-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
