* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL */
body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
header {
    background: #0f172a;
    color: white;
    padding: 15px 20px;
    text-align: center;
}

header h1 {
    color: #22c55e;
}

/* RESERVATION */
.reservation {
    margin-top: -40px;
}

.box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.box h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
}

input {
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
select {
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    color: #333;
    font-size: 14px;
    appearance: none; /* enlève le style par défaut */
    -webkit-appearance: none;
    -moz-appearance: none;
}

.row {
    display: flex;
    gap: 10px;
}
.row input {
    width: 50%;
}

button {
    background: #22c55e;
    color: white;
    padding: 15px;
    border: none;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #16a34a;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    background: #0f172a;
    color: white;
}

input[type="date"],
input[type="time"] {
    appearance: none;
    -webkit-appearance: none;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    font-weight: bold;
    color: #22c55e;
    text-transform: uppercase;
}

/* MENU */
.menu a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

.menu a:hover {
    color: #22c55e;
}



.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1519003722824-194d4455a60c');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
}


.switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.switch button {
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    background: #e5e7eb;
    cursor: pointer;
    transition: 0.3s;
}

.switch button.active {
    background: #22c55e;
    color: white;
}

.form {
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.form.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.submit {
    background: #22c55e;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}


.avantages {
    padding: 50px 20px;
    background: #f9fafb;
    text-align: center;
}

.avantages h2 {
    margin-bottom: 30px;
}

/* GRID */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: auto;
}

/* CARD */
.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* TEXTE */
.card span {
    font-size: 25px;
    display: block;
    margin-bottom: 10px;
}


.tarifs {
    padding: 50px 20px;
    background: #f4f6f8;
    text-align: center;
}

.tarifs h2 {
    margin-bottom: 25px;
}

/* LISTE */
.tarif-list {
    max-width: 600px;
    margin: auto;
}

/* LIGNE */
.tarif-item {
    display: flex;
    justify-content: space-between;
    background: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #eee;
}

/* PRIX */
.prix {
    color: #22c55e;
    font-weight: bold;
}


.avis {
    padding: 50px 20px;
    background: #ffffff;
    text-align: center;
}

.avis h2 {
    margin-bottom: 25px;
}

/* LISTE */
.avis-list {
    max-width: 700px;
    margin: auto;
}

/* ITEM */
.avis-item {
    background: #f4f6f8;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    text-align: left;
    border: 1px solid #eee;
}

/* NOM */
.nom {
    font-weight: bold;
    margin-bottom: 5px;
}

/* ÉTOILES */
.stars {
    color: #22c55e;
    margin-bottom: 5px;
}



.footer {
    background: #0f172a;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

/* INFOS */
.footer-info {
    margin-bottom: 15px;
}

.footer-info p {
    margin: 5px 0;
    font-size: 14px;
}

/* COPYRIGHT */
.copy {
    font-size: 13px;
    color: #aaa;
}



/* mode sombre */
  @media (prefers-color-scheme: dark) {

    body {
        background: #0a0a0a;
        color: #e5e5e5;
    }

    header {
        background: #0a0a0a;
        border-bottom: 1px solid #1f1f1f;
    }

    /* BLOCS */
    .box,
    .card,
    .tarif-item,
    .avis-item {
        background: #111111;
        color: #e5e5e5;
        border: 1px solid #1f1f1f;
        box-shadow: 0 8px 25px rgba(0,0,0,0.8);
    }

    /* INPUT */
    input {
        background: #111111;
        color: #e5e5e5;
        border: 1px solid #2a2a2a;
    }

    input::placeholder {
        color: #888;
    }

    select {
        background: #111111;
        color: #e5e5e5;
        border: 1px solid #2a2a2a;
    }

    /* SWITCH */
    .switch button {
        background: #1a1a1a;
        color: #e5e5e5;
    }

    .switch button.active {
        background: #22c55e;
        color: white;
    }

    /* SECTIONS */
    .avantages,
    .avis {
        background: #0a0a0a;
    }

    .tarifs {
        background: #0f0f0f;
    }

    .footer {
        background: #0a0a0a;
        border-top: 1px solid #1f1f1f;
    }

    /* GOOGLE AUTOCOMPLETE */
    .pac-container {
        background-color: #111111 !important;
        color: #e5e5e5 !important;
        border: 1px solid #2a2a2a !important;
    }

    .pac-item {
        background-color: #111111 !important;
        color: #e5e5e5 !important;
    }

    .pac-item span {
        color: #e5e5e5 !important;
    }

    .pac-item:hover {
        background-color: #1f1f1f !important;
    }

    .pac-item .pac-item-query {
        color: #e5e5e5 !important;
    }
}
