/* === Global & Réinitialisation === */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #333;
}

body h2 {

    text-align: center;
    margin-bottom: 40px;

}

body h3 {
    margin: 1em 0;
}

a {
    text-decoration: none;
}

/* === Bouttons === */

.btn-perso-1 {
    margin: 0 1em;
    background-color: #DEA057;
    color: #fff;
    padding: 0.75em 1.5em;
    border: 2px solid #DEA057;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-perso-1:hover {
    background-color: transparent;
    color: #DEA057;
    border: 2px solid #DEA057;
}

/* === Navbar === */

.navbar {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.navbar-brand {
    font-weight: 700;
    color: #fff;
}

.navbar-brand:hover {
    color: #DEA057;
}

.navbar-nav .nav-link {
    color: #fff;
    /* texte en blanc */
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #DEA057;
}

.dropdown-item {
    color: #fff;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item::selection {
    background-color: transparent;
    color: #DEA057;
}

.dropdown-menu {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler {
    border: 2px solid #fff
}

.navbar-toggler:focus {
    outline: none;
    border: 2px solid #fff;
    box-shadow: none;
}

/* === Section Accueil === */

#accueil {
    height: 100vh;
    background: url('../media/home.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

#accueil::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#accueil .content {
    position: relative;
    z-index: 2;
    padding: 15px;
}

/* === Section La Carte === */

.carte {
    padding: 40px 15px;
}

#plats {
    background-color: #F7D08A;
}

#boissons {
    background-color: #FFF2D8;
}

#vins {
    background-color: #F7D08A;
}

#desserts {
    background-color: #FFF2D8;
}

/* ===  Styles Carte et flèches  === */

.review-card {
    border: 2px solid #FCFFE7;
    border-radius: 1rem;
    background: #fff;
    padding: 50px;
    text-align: center;
    height: 250px;
}

#plats .review-card {
    height: 300px;
    padding: 40px 50px;
}

.review-card img {
    width: auto;
    height: 80px;
    border-radius: 25px;
    margin-bottom: 10px;
}

/* Les Flèches */
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 30px;
    color: #DEA057;
}



/* === Section Bon a Savoir === */

#bonasavoir {
    background-color: #FCFFE7;
    padding: 40px 15px;
}

.carte-boutton {
    display: flex;
    justify-content: center;
    margin-top: 2em;
}

.carte-boutton a {
    background-color: transparent;
    color: #DEA057;
    padding: 0.75em 1.5em;
    border: 2px solid #DEA057;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.carte-boutton a:hover {
    background-color: #DEA057;
    color: #fff;
}

.menu-special {
    margin: 2em 0;
    text-align: center;
}

/* === Section Horaires === */

#horaires {
    padding: 40px 15px;
    background-color: #FFF2D8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.horaires h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #222;
}

/* Grille responsive pour les jours */
.horaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.day {
    background-color: #fff;
    border: 2px solid #FCFFE7;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.day-name {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.day-time {
    font-size: 1rem;
    color: #DEA057;
}

/* === Section Avis === */

#avis {
    padding: 40px 15px;
    background-color: #F7D08A;
}

#avis h2 {
    text-align: center;
    margin-bottom: 40px;
}

#avis .review-card {
    border: 2px solid #FCFFE7;
    height: 300px;
    padding: 40px 50px;
}

#avis .review-card img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
}

/* === Footer === */

footer {
    background-color: #0e0f1f;
    color: #fff;
    padding: 20px 15px;
    text-align: center;
}

.footer-section a {
    display: block;
    margin-bottom: 0.5em;
}


footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #DEA057;
}

/* === Modals === */

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal .close:hover {
    color: #000;
}

/* === Responsive) === */

@media (max-width: 768px) {
    #accueil h1 {
        font-size: 2rem;
    }

    #accueil p {
        font-size: 1rem;
    }
}

/* ===== PAGE ABOUT-US ===== */

/* Section Banière */

#baniere {
    height: 60vh;
    background: url('../media/logo.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

#baniere::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* Préfixé pour Safari */
  }
  

#baniere .content {
    position: relative;
    z-index: 2;
    padding: 15px;
}

/* Section Histoire */

#histoire {
    background-color: #F7D08A;
    color: #333;
}

/* Section Equipe */

#equipe {
    background-color: #FFF2D8;
}

/* Section Services */

#services {
    background-color: #DEA057;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.services {
    background-color: #fff;
    border: 2px solid #FCFFE7;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.services img {
    height: 80px;
    width: auto;
    border-radius: 5px;
}

.services-name {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}