/* ===== VARIABLES GLOBALES ===== */
:root {
    cursor: url('../Images/divers/papillon.png'), none;
}

/* ===== RESET ET STYLES DE BASE ===== */
body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background-color: #ff0000;
    background-image: url(../Images/divers/oiseaux.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    color: rgb(201, 240, 250);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: -1;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ===== HEADER ===== */
header {
    background-color: rgb(221, 246, 247);
    padding: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background: linear-gradient(to bottom, #fce5e5, #fff);
    gap: 2rem;
}

.image-container {
    flex: 0 0 auto;
    margin-right: 3rem;
}

.image-container img {
    width: 250px;
    height: auto;
    border: 4px solid white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* 📌 Centre uniquement le texte */
    text-align: center; /* 🔹 Assure un alignement parfait */
}

.text-container h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: bold;
}

.text-container h2 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
}

.paragraph-container {
    margin-top: 1rem;
}

.paragraph-container p {
    font-size: 1.2rem;
    color: #888;
    font-style: italic;
}
.header-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center; /* 📍 Centre spécifiquement le titre */
}

.header-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
    text-align: center; /* 📍 Centre spécifiquement le sous-titre */
}

.header-description {
    font-size: 1.2rem;
    color: #888;
    font-style: italic;
}

.mini-gallery {
    display: flex;
    /* Utilise flexbox pour aligner les images */
    justify-content: space-around;
    /* Espace entre les images */
    flex-wrap: wrap;
    /* Permet aux images de passer à la ligne si nécessaire */
    margin: 20px 0;
    /* Marge en haut et en bas */
}

.mini-gallery img {
    width: 100px;
    /* Largeur fixe pour les images */
    height: 100%;
    /* Hauteur automatique pour garder les proportions */
    object-fit: contain;
    transition: transform 0.3s;
    /* Transition pour l'effet de survol */

}

.mini-gallery img:hover {
    transform: scale(2);
}

/* Animation horizontale */
@keyframes slideshow-horizontal {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-300px);
    }

    40% {
        transform: translateX(-600px);
    }

    60% {
        transform: translateX(-900px);
    }

    80% {
        transform: translateX(-1200px);
    }

    100% {
        transform: translateX(0);
    }
}

/* ===== NAVIGATION ===== */
.nav3d {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
}

.nav3d .nav-item .nav-link {
    padding: 10px 20px;
    background: linear-gradient(90deg, rgb(214, 214, 250), rgb(253, 161, 161));
    color: rgb(12, 12, 12);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    transform-style: preserve-3d;
    transform: translateZ(0);
    box-shadow: 0 6px 0 #696c6d, 0 8px 12px rgba(0, 0, 0, 0.2);
}

.nav3d .nav-item .nav-link:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #080808;
}

.nav3d .nav-item .nav-link.active {
    background: linear-gradient(145deg, #9ee4f1, #31d2f2);
    box-shadow: 0 4px 0 #0e0e0e, 0 6px 10px rgba(0, 0, 0, 0.2);
}

.nav-arrow .fa {
    color: #5945f6;
    font-size: 25px;
}

body {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 24px;
}
h1 {
  text-align: center;
  color: #333;
}
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
input, textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  resize: vertical;
}
button {
  padding: 10px;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover {
  background: #388e3c;
}
.message {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}
.message:last-child {
  border-bottom: none;
}
.author {
  font-weight: bold;
  color: #4caf50;
}
.text {
  margin: 6px 0 0 0;
}

.container {
  background: #fff no-repeat right bottom;
  background-size: 120px;
  border: 2px dashed #ccc; /* effet timbre */
}

.message {
  background: #fafafa;
  border-left: 4px solid #4caf50;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

#confirmationMessage {
  animation: fadeIn 0.6s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .container {
    margin: 20px;
    padding: 16px;
  }
  input, textarea {
    font-size: 14px;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

#guestbookForm {
  text-align: left;
}

#confirmationMessage {
  margin-top: 1rem;
}

.form-box {
  max-width: 500px;
  background-color: #b5bfd1;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-dashboard-nav {
  padding: 4px 10px;
  background-color: #e3f2fd;
  color: #0d6efd;
  border: 1px solid #0d6efd;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 500;
  margin-left: 10px;
  transition: background-color 0.3s ease;
}

.btn-dashboard-nav:hover {
  background-color: #d0e7fb;
  text-decoration: none;
}

.form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #fdfdfd; /* fond très doux */
  border: 1px solid #655fa0; /* bordure légère */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* ombre subtile */
}

.form-wrapper .form-label,
.form-wrapper .form-control,
.form-wrapper textarea {
  text-align: left;
}
