/* css/style.css - VERSION FINALE (Alignement Cartes Corrigé) */

/* ===========================
   1. BASES & RESET
   =========================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* ===========================
   2. NAVIGATION (NAVBAR)
   =========================== */
.navbar {
    background-color: #1a1a1a !important;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-family: 'Antonio', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 2.2rem;
    color: whitesmoke !important;
    letter-spacing: 0.5px;
    padding-top: 0;
    line-height: 1;
}

.brand-highlight {
    font-weight: 500;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
}

/* ===========================
   3. HERO & EN-TÊTES
   =========================== */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 60px;
}

.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    margin-bottom: 0;
}

/* ===========================
   4. TYPOGRAPHIE & TITRES
   =========================== */
.section-title {
    font-family: 'Antonio', sans-serif;
    font-weight: 400;
    font-size: 2.8rem;
    color: #dc3545;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}

.menu-category {
    font-family: 'Antonio', sans-serif;
    color: #dc3545;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
    font-weight: 500;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.antonio-rouge {
    font-family: 'Antonio', sans-serif !important;
    color: #dc3545 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* =========================================
   5. SECTION NOTRE CARTE (ALIGNEMENT FIXÉ)
   ========================================= */
.specialties-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%; /* La carte prend toute la hauteur disponible */
    display: flex;
    flex-direction: column; /* Organisation verticale */
    background-color: white;
}

.specialties-card:hover {
    transform: translateY(-5px);
}

/* Image fixe qui ne rétrécit pas */
.specialties-card img {
    height: 250px; 
    object-fit: cover;
    width: 100%;
    flex-shrink: 0; 
}

/* Le corps de la carte grandit pour remplir l'espace */
.specialties-card .card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1; /* C'est cette ligne qui aligne les boutons en bas */
}

.specialties-card .card-title {
    font-family: 'Antonio', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.specialties-card .card-text {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Le bouton est poussé vers le bas */
.specialties-card .btn {
    margin-top: auto; 
    width: 100%;      
    border-radius: 0;
}

/* ===========================
   6. ÉLÉMENTS DU MENU (LISTES)
   =========================== */
.menu-item {
    margin-bottom: 25px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 15px;
}

.menu-item:last-child {
    border-bottom: none;
}

.item-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 5px;
}

.item-price {
    font-family: 'Antonio', sans-serif;
    font-weight: 600;
    color: #dc3545;
    font-size: 1.2rem;
}

.item-desc {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

/* ===========================
   7. BOUTONS GÉNÉRAUX
   =========================== */
.btn-reserve-rouge {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 12px 35px;
    font-family: 'Antonio', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.btn-reserve-rouge:hover {
    background-color: #a71d2a;
    color: white;
    transform: translateY(-2px);
}

/* ===========================
   8. ANIMATION "CARTE DE MENU"
   =========================== */
@keyframes menuOpen {
    0% { opacity: 0; transform: translateY(60px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.menu-card-anim {
    animation: menuOpen 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    background-color: white;
    padding: 60px 50px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    margin-top: -80px; 
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
}

/* ===========================
   9. CONTACT & FOOTER
   =========================== */
.contact-info {
    background-color: white;
    padding: 30px;
    border-left: 5px solid #dc3545;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info h3 {
    font-family: 'Antonio', sans-serif;
    color: #dc3545;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-item i {
    color: #dc3545;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

/* Classe spécifique pour l'image À Propos (si besoin de style arrondi plus tard) */
.about-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

footer {
    background-color: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-card-anim {
        margin-top: -40px;
        padding: 30px 20px;
        width: 95%;
    }
    .navbar-brand, .section-title, .menu-category {
        font-size: 1.8rem;
    }
}