/* Farina Tema CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #292f36;
    --light-color: #f7f7f7;
    --gray-color: #ced4da;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
    padding-bottom: 70px;
}

/* Menü öğeleri kartları */
.menu-items .card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.menu-items .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-items .card-title {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    flex: 1;
    padding-right: 10px;
}

.menu-items .card-body {
    padding: 0.8rem;
}

.menu-items .card-text {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0;
}

.menu-items .text-danger {
    font-size: 0.95rem;
    font-weight: 600;
    background-color: rgba(255, 107, 107, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
}

/* Menü öğeleri başlık ve fiyat düzeni */
.menu-items .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Kategori başlığı */
.category-header {
    margin-bottom: 1rem;
}

.category-header h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0;
}

.category-header .btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
}

.object-fit-cover {
    object-fit: cover;
}

/* Kategori kartları */
.category-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--dark-color);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    margin-bottom: 15px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    color: var(--dark-color);
}

.category-image {
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 oranı */
    position: relative;
    overflow: hidden;
    background-color: var(--light-color);
}

.category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-color);
}

.category-image.no-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
}

.category-card h5 {
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    padding: 12px 10px;
    background-color: white;
}

/* Kategori grid düzeni */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

/* Arama sonuçları */
.search-results {
    margin-top: 10px;
    margin-bottom: 20px;
}

.result-item {
    display: flex;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    color: var(--dark-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    overflow: hidden;
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.result-image {
    width: 80px;
    min-width: 80px;
    height: 80px;
    position: relative;
    background-color: var(--light-color);
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-color);
}

.result-image.no-image i {
    font-size: 1.5rem;
    color: white;
}

.result-content {
    position: relative;
    padding: 12px 15px;
    flex: 1;
}

.result-content h5 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    font-weight: 500;
    padding-right: 60px;
}

.result-content p {
    margin: 0 0 5px 0;
    font-size: 0.8rem;
    color: #666;
}

.result-category {
    display: inline-block;
    font-size: 0.75rem;
    color: #666;
    background-color: var(--light-color);
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

.result-price {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(255, 107, 107, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.no-results {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.no-results p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Lokasyon seçim ekranı */
.location-select-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

.location-select-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
}

.location-title {
    text-align: center;
    margin-bottom: 30px;
}

.location-title h1 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #333;
}

.location-title p {
    font-size: 1rem;
    color: #666;
}

.location-list {
    margin-bottom: 40px;
}

.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 15px 20px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.location-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.location-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
    margin: 0;
}

/* Lokasyon buton stili */
.location-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    min-width: 80px;
    border-radius: 50px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.location-button:hover {
    background-color: #ff5252;
    color: white;
}

.location-select-footer {
    background-color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid #ddd;
}

.location-select-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Animasyon */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-item:nth-child(1) { animation-delay: 0.1s; }
.location-item:nth-child(2) { animation-delay: 0.2s; }
.location-item:nth-child(3) { animation-delay: 0.3s; }
.location-item:nth-child(4) { animation-delay: 0.4s; }
.location-item:nth-child(5) { animation-delay: 0.5s; }
.location-item:nth-child(6) { animation-delay: 0.6s; }

/* Mobil cihazlar için responsive ayarlar */
@media (min-width: 576px) {
    .category-image {
        padding-bottom: 70%; /* Biraz daha geniş ekranlarda daha az yükseklik */
    }
    
    .category-card h5 {
        font-size: 1rem;
    }
    
    .result-image {
        width: 100px;
        min-width: 100px;
        height: 100px;
    }
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ürün container */
.item-container {
    margin-bottom: 1.5rem;
}

/* Seçenekler bölümü */
.options-footer {
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.options-title {
    font-weight: 600;
    font-size: 0.75rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.options-list {
    padding-left: 0;
    margin-bottom: 0;
    list-style-type: none;
}

.option-item {
    padding: 3px 0;
    font-size: 0.75rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 2px;
}

.option-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.option-name {
    color: #555;
}

.option-price {
    font-weight: 500;
    font-size: 0.75rem;
    color: #666;
} 