/* .nav .menu a{
    color: black !important;
} */


/*--------------------------------------------------------------
# Login Page
--------------------------------------------------------------*/
.main-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
  }
  
  .form-container {
    margin-top: 100px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  .form-box {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #e0e0e0;
  }
  
  .form-box:last-child {
    border-right: none;
  }

  
  form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .form-container {
        flex-direction: column;
        gap: 50px; /* Augmenter l'espace entre les blocs en mode empilé */
    }
  
    .form-box {
        border-right: none; /* Supprimer la bordure en mode empilé */
    }
  }
   
.comments{
    margin-top: 130px;
}
.comment {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.comment-author {
    font-weight: bold;
    color: #333;
}
.comment-date {
    font-size: 0.8em;
    color: #888;
}
.comment-content {
    margin: 10px 0;
}
.form-publish {
    display: flex;
    align-items: center;
}
.form-publish label {
    margin-right: 10px;
}

.edit-post {
    max-width: 600px;
    margin: 50px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
}
input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.checkbox {
    display: flex;
    align-items: center;
}
.checkbox input {
    width: auto;
    margin-right: 10px;
}
.btn {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}
.btn:hover {
    background: #0056b3;
}
.error {
    color: red;
    margin-bottom: 15px;
}

.hotel-results {
    margin-top: 20px;
}

.hotel-item {
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.hotel-item h4 {
    margin: 0 0 5px;
    font-size: 16px;
}

.hotel-item p {
    margin: 0;
    font-size: 14px;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card {
    border-radius: 10px;
    overflow: hidden;
}

.card-footer {
    font-size: 0.9rem;
}



.actions {
    display: flex;
    gap: 10px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
}

.modal .close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}




/* Conteneur principal de l'article du blog */
.blog-post {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    margin-bottom: 30px;
}

/* Image du blog avec un effet de survol */
.blog-image {
    position: relative;
    width: 100%;
    height: 450px; /* Hauteur de l'image */
    overflow: hidden;
    border-bottom: 5px solid #f1f1f1;
}

/* Image du blog */
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garantit que l'image couvre l'espace sans se déformer */
    transition: transform 0.3s ease-in-out;
}

/* Effet lors du survol de l'image */
.blog-image:hover img {
    transform: scale(1.1); /* Agrandissement de l'image lors du survol */
}

/* Étiquette en bas de l'image */
.blog-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #d3af71;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: opacity 0.3s ease-in-out;
    opacity: 0; /* Initialement cachée */
}

/* Lorsque l'on survole l'image, l'étiquette devient visible */
.blog-image:hover .blog-tag {
    opacity: 1;
}

/* Contenu du blog */
.blog-content {
    padding: 20px;
    text-align: center;
}

/* Titre du blog */
.blog-title {
    font-size: 1.5rem;
    font-family: 'Roboto', sans-serif;
    color: #333;
    margin-bottom: 10px;
}

/* Description du blog */
.blog-description {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Bouton "Lire plus" */
.btn-read-more {
    padding: 10px 20px;
    background-color: #d3af71;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* Effet du bouton "Lire plus" */
.btn-read-more:hover {
    background-color: #c99e5e;
}

/* Responsive */
@media screen and (max-width: 768px) {
    /* Taille du titre sur mobile */
    .blog-title {
        font-size: 1.3rem;
    }

    /* Taille de la description sur mobile */
    .blog-description {
        font-size: 1rem;
    }

    /* Ajuster la taille de l'image */
    .blog-image {
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    /* Ajuster encore la taille du titre et de la description */
    .blog-title {
        font-size: 1.2rem;
    }

    .blog-description {
        font-size: 0.9rem;
    }

    .btn-read-more {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
