@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");

#linksMenu {
    display: none;
}

#linksAccount {
    display: none;
}

/*déclarations pages body*/

body, ul, li, a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.Page {
    background-color: #fef1df;
}

.Page p {
    margin: 10px 0;
    text-align: justify;
}

#Accueil {
    color: white;
}

.detailsP {
    background-color: #fef1df;
}

.LocaboardP{
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fef1df;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

.Page {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fef1df;
    color: #333;
    line-height: 1.6;
}

.Page p {
    margin: 10px 0;
    text-align: justify;
}

h1 {
    text-align: center;
    font-size: 50px;
    color: #005f73;
}

h2, h3 {
    color: #005f73;
    text-align: center;
}

.connexion {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65vh;
}


.connexion form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

form label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    text-align: left;
}

form h1 {
    text-align: left;
}

.container-produit-and-compte h1 {
    color: #005f73;
    display: block;
    /*font-size: 16px;*/
    margin-bottom: 5px;
    text-align: left;
}

.container-produit-and-compte h2, .container-produit-and-compte h3 {
    color: #005f73;
    display: block;
    /*font-size: 16px;*/
    margin-bottom: 5px;
    padding-left: 50px;
    text-align: left;
}

.container-produit-and-compte {
    background-color: #f9f9f9;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    display: block;
    /*font-size: 16px;*/
    /*margin-bottom: 5px;*/
    text-align: left;
}

form input[type="text"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

form input[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

form input[type="submit"]:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    form {
        width: 90%;
    }

    #head {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    #search {
        width: 100%;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 10px;
    }

    main {
        padding: 10px;
    }

    header, footer {
        font-size: 1em;
        padding: 15px 5px;
    }

    .products-preview .preview img {
        height: 25rem;
    }
}


.horizontal-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background-color: #0077b6;*/
    padding: 10px 20px;
}

.content {
    position: fixed;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    padding: 20px;
}

.description-accueil {
    position: fixed;
    color: #f1f1f1;
    width: 100%;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: none
}

.nav-links ul {
    display: flex;
    gap: 15px;
}

.nav-links ul li a {
    color: black;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
}

.nav-links ul li a:hover {
    text-decoration: underline;
}


.icon {
    font-size: 20px;
    color: black;
    cursor: pointer;
}


.menu-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

#search {
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
}

#loupe {
    height: 25px;
    cursor: pointer;
}

.nav-links.active {
    display: block;
}


#myVideo {
    position: fixed;
    right: 0;
    max-width: 100%;

}


.header {
    background-color: #0077b6;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
}


#logo {
    height: 60px;
}

#user {
    height: 40px;
    cursor: pointer;
}

#search {
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
}

#loupe {
    height: 25px;
    cursor: pointer;
    margin-left: 5px;
}


footer ul {
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer ul li a {
    color: #fff;
    font-size: 14px;
}


/*Cards pour page locaboard*/
.card-section {
    display: flex;
    gap: 20px;
    place-content: center;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 0.5px solid rgba(180, 180, 180, 0.5);
    width: 150px;
    height: 150px;
    text-align: center;
    padding: 15px;
}

.pic img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.info p {
    font-size: 1rem;
    color: #777;
}


a {
    color: #00aaff; /* Bleu océan */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #0077aa;
}

/* Contenu principal */
main {
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sections et articles */
section {
    margin-bottom: 30px;
}

.Page h2 {
    border-bottom: 2px solid #00aaff;
    padding-bottom: 10px;
}

.cookiesP h2 {
    border-bottom: 2px solid #00aaff;
    padding-bottom: 10px;
}

.Page h2 {
    border-bottom: 2px solid #00aaff;
    padding-bottom: 10px;
}


/* Boutons */
button, .btn {
    background-color: #00aaff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #0077aa;
}


/*Pied de page */
footer {
    background-color: #005f73;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer a {
    color: #f0f8ff;
    font-size: 0.9em;
}

footer a:hover {
    text-decoration: underline;
}


/*CSS PAGE CONTACT*/

.contactP {
    background-color: #fef1df;

}

#formContact {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
}

#formContact h1 {
    font-size: 20px;
}

#formContact .separation {
    width: 100%;
    height: 1px;
    background-color: #007bff;
}

#formContact .corps-formulaire {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

#formContact .corps-formulaire .groupe {
    position: relative;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

#formContact .corps-formulaire .gauche .groupe input {
    margin-top: 5px;
    padding: 10px 5px 10px 30px;
    border: 1px solid #c9c9c9;
    outline-color: #747cdf;
    border-radius: 5px;
}

#formContact .corps-formulaire .gauche .groupe i {
    position: absolute;
    left: 0;
    top: 35px;
    padding: 9px 8px;
    color: #007bff;
}

#formContact .corps-formulaire .droite {
    margin-left: 40px;
}

#formContact .corps-formulaire .droite .groupe {
    height: 100%;
}

#formContact .corps-formulaire .droite .groupe textarea {
    margin-top: 5px;
    padding: 10px;
    background-color: #f1f1f1;
    border: 2px solid #007bff;
    outline: none;
    border-radius: 5px;
    resize: none;
    height: 72%;
}

#formContact .pied-formulaire button {
    margin-top: 10px;
    background-color: #007bff;
    color: white;
    font-size: 15px;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: transform 0.5s;
}

#formContact .pied-formulaire button:hover {
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    #formContact .corps-formulaire .droite {
        margin-left: 0px;
    }
}


/* Plan du site */
.tree {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.tree li {
    margin: 5px 0;
    padding-left: 20px;
    position: relative;
}

.tree li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 1px;
    height: 100%;
    background: #ccc;
}

.tree li::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 10px;
    height: 1px;
    background: #ccc;
}

.tree li:last-child::before {
    height: 10px;
}

.tree span {
    display: inline-block;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px 10px;
}


.product-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.img-zoom-container {
    position: absolute;
    width: 20%;
    overflow: hidden;
    left: 65%;
    top: 20%;

}

.img-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.img-zoom-container:hover #myimage {
    transform: scale(2.5);
    cursor: pointer;
}

#myimage {
    height: 400px;
    width: 400px;
    transition: transform 0.3s ease;
}

#closeBtn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#closeBtn:hover,
#closeBtn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

button:hover {
    background-color: #45a049;
}

.product {
    margin-bottom: 20px;
}

.rating {
    display: flex;
    align-items: center;
}

.stars {
    color: gold;
    font-size: 20px;
    margin-right: 10px;
}

.colors, .sizes {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.colors div, .sizes div {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.colors div:hover, .sizes div:hover {
    background-color: #f0f0f0;
}

#reservationForm {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 20px;
}

#reservationForm input,
#reservationForm select {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#reservationForm button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#reservationForm button:hover {
    background-color: #218838;
}


.product-img {
    height: 280px;
    width: 280px;
}


/*CSS Produit*/
.produitP {
    font-size: 62.5%;
    overflow-x: hidden;
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .2s linear;
    text-transform: capitalize;
    background: #eee;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.container .title {
    font-size: 3.5rem;
    color: #444;
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-align: center;
}

.container .products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.container .products-container .product {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    outline: .1rem solid #ccc;
    outline-offset: -1.5rem;
    cursor: pointer;
}

.container .products-container .product:hover {
    outline: .2rem solid #222;
    outline-offset: 0;
}

.container .products-container .product img {
    height: 25rem;
}

.container .products-container .product:hover img {
    transform: scale(.9);
}

.container .products-container .product h3 {
    padding: .5rem 0;
    font-size: 2rem;
    color: #444;
}

.container .products-container .product:hover h3 {
    color: #27ae60;
}

.container .products-container .product .price {
    font-size: 2rem;
    color: #444;
}

.products-preview {
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    display: none;
    align-items: center;
    justify-content: center;
}

.products-preview .preview {
    display: none;
    padding: 2rem;
    text-align: center;
    background: #fff;
    position: relative;
    margin: 2rem;
}

.products-preview .preview.active {
    display: inline-block;
}

.products-preview .preview .fa-times {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    color: #444;
    font-size: 4rem;
}

.products-preview .preview .fa-times:hover {
    transform: rotate(90deg);
}

.products-preview .preview h3 {
    color: #444;
    padding: .5rem 0;
    font-size: 2.5rem;
}

.products-preview .preview .stars {
    padding: 1rem 0;
    font-size: 1.7rem;
}

.products-preview .preview .stars i {
    color: #27ae60;
}

.products-preview .preview .stars span {
    color: #999;
}

.products-preview .preview p {
    line-height: 1.5;
    padding: 1rem 0;
    font-size: 1.6rem;
    color: #777;
}

.products-preview .preview .price {
    padding: 1rem 0;
    font-size: 2.5rem;
    color: #27ae60;
}

.products-preview .preview .buttons, .buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.products-preview .preview .buttons a, .buttons a {
    flex: 1 1 16rem;
    padding: 1rem;
    font-size: 1.8rem;
    color: #444;
    border: .1rem solid #444;
}

.products-preview .preview .buttons a.cart {
    background: #444;
    color: #fff;
}

.products-preview .preview .buttons a.cart:hover, .buttons a.cart:hover {
    background: #111;
}

.products-preview .preview .buttons a.buy:hover, .buttons a.buy:hover {
    background: #444;
    color: #fff;
}

.container .buttons {
    text-align: center;
}

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
}