/* Fichier : Oya/public/css/oya_core.css */

:root {
    --oya-primary: #FF6B00; /* Un orange dynamique et appétissant */
    --oya-dark: #1A1A1A;
    --oya-light: #F8F9FA;
    --oya-gray: #8E8E93;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-soft: 0 8px 24px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--oya-light);
    color: var(--oya-dark);
    padding-bottom: 80px; /* Espace pour le menu mobile en bas */
}

/* En-tête (Header) */
.oya-header {
    background: white;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-selector {
    display: flex;
    flex-direction: column;
}

.location-selector span {
    font-size: 12px;
    color: var(--oya-primary);
    font-weight: bold;
    text-transform: uppercase;
}

.location-selector h3 {
    font-size: 16px;
    font-weight: 700;
}

/* Liste des Restaurants */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.restaurant-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.restaurant-card:active {
    transform: scale(0.98); /* Effet de clic mobile */
}

.card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.card-info {
    display: flex;
    justify-content: space-between;
    color: var(--oya-gray);
    font-size: 14px;
}

.rating {
    background: var(--oya-light);
    padding: 4px 8px;
    border-radius: var(--radius-md);
    font-weight: bold;
    color: var(--oya-dark);
}