/* Importation des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500&display=swap');

/* --- MISE EN PAGE DE BASE ET STICKY FOOTER --- */
body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Playfair Display', serif;
}


/* --- NAVBAR --- */
.navbar {
    background-color: #111 !important;
    border-bottom: 1px solid #c49a6c;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-size: 1.75rem;
    color: #fff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #c49a6c;
}


/* --- PAGE D'ACCUEIL PLEINE PAGE --- */
.hero-section {
    height: 100vh;
    width: 100%;
    background-image: url('../images/home-background.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content .lead {
    font-size: 1.5rem;
}
/* --- STYLE POUR L'IMAGE SUR LA PAGE 404 --- */
.hero-image {
    max-width: 350px; /* Vous pouvez ajuster cette valeur */
    height: auto;
}


/* --- PAGES AVEC FOND (MENUS, TAPAS, etc.) --- */
.menu-page-wrapper {
    background-image: url('../images/background-menu.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    flex: 1;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.menu-section {
    background-color: rgba(17, 17, 17, 0.85);
    color: #f8f9fa;
    padding: 2rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-title {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #c49a6c;
    padding-bottom: 0.5rem;
}

.menu-title .price {
    color: #c49a6c;
    float: right;
}

.menu-category {
    font-weight: bold;
    color: #ffffff;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.menu-item {
    color: #ced4da;
    margin-bottom: 0.5rem;
}

.menu-item small {
    color: #adb5bd;
}

.menu-separator {
    text-align: center;
    font-style: italic;
    color: #c49a6c;
    margin: 0.5rem 0;
}

.menu-section hr {
    border-color: rgba(255, 255, 255, 0.2);
}


/* --- STYLES SPÉCIFIQUES (TAPAS, VINS) --- */
.tapas-item, .wine-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

.tapas-item:last-child, .wine-item:last-child {
    border-bottom: none;
}

.tapas-name, .wine-info {
    color: #f8f9fa;
    flex: 1;
}

.tapas-price, .wine-details {
    color: #c49a6c;
    font-weight: bold;
    white-space: nowrap;
}

.wine-name {
    font-weight: bold;
}

.wine-grapes {
    color: #adb5bd;
    font-size: 0.9rem;
    font-style: italic;
}


/* --- PAGE DES VINS (ONGLETS) --- */
.wine-tabs .nav-link {
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    border-radius: 0.25rem 0.25rem 0 0;
    margin: 0 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.wine-tabs .nav-link:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
}

.wine-tabs .nav-link.active {
    color: #fff;
    background-color: rgba(17, 17, 17, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

.wine-category-title {
    color: #c49a6c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.menu-section .wine-category-title:first-child {
    margin-top: 0;
}


/* --- ALLERGÈNES --- */
.allergen-icons img {
    width: 13px;
    height: 13px;
    margin-left: 4px;
    vertical-align: middle;
}

.allergen-legend {
    background-color: rgba(17, 17, 17, 0.85);
    padding: 2rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    color: #f8f9fa;
}

.legend-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* --- PAGE CONTACT --- */
.contact-info-box {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 0.25rem;
    height: 100%;
}
.contact-info-box p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.contact-info-box i {
    color: #c49a6c;
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.contact-form .form-control {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
}
.contact-form .form-control:focus {
    background-color: #fff;
    border-color: #c49a6c;
    box-shadow: 0 0 0 0.25rem rgba(196, 154, 108, 0.25);
}
/* --- STYLE SPÉCIFIQUE POUR LE HEADER DE LA PAGE D'ACCUEIL --- */

.home-page .navbar {
    /* On fait passer le menu par-dessus le contenu */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100; /* On s'assure qu'il est bien au-dessus de tout */

    /* On le rend transparent */
    background-color: transparent !important;
    border-bottom: none; /* On enlève la bordure dorée sur la page d'accueil */
}

/* On s'assure que le contenu de la page d'accueil commence bien tout en haut */
.home-page main {
    padding-top: 0;
}