/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    font-family: 'Cinzel', serif;
    color: #fff;
    cursor: none;
    background: black;
    user-select: none; /* Pour les navigateurs modernes */
    -webkit-user-select: none; /* Pour Safari */
    -moz-user-select: none; /* Pour Firefox */
    -ms-user-select: none; /* Pour les anciennes versions d'IE */
}
/* Cacher le curseur sur les appareils mobiles */
@media (max-width: 768px) {
    body {
        cursor: none;
    }
}
.custom-cursor {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: beige;
    pointer-events: none; /* Empêche que le curseur gêne les clics */
    z-index: 9999;
    transition: transform 0.3s, opacity 0.3s;
}

.custom-cursor-before {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(245,245,220, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 9998; /* Plus bas pour ne pas gêner les clics */
    pointer-events: none;
    transition: 0.2s ease;
    opacity: 1;
}
body::-webkit-scrollbar {
    display: none; /* Cache la barre */
}
header{
    text-align: center;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1)), 
    url('images/back.jpg');
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    background-size: cover; /* Redimensionne pour couvrir tout l'élément */
    background-position: center;
    color: beige;
    text-shadow: 4px 4px 4px black;
    padding: 120px 20px;
}
.galleriehead{
    text-align: center;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1)), 
    url('images/back2.jpg');
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    background-size: cover; /* Redimensionne pour couvrir tout l'élément */
    background-position: center;
    color: beige;
    text-shadow: 4px 4px 4px black;
    padding: 120px 20px;
}
.dronehead{
    text-align: center;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1)), 
    url('images/back3.jpg');
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    background-size: cover; /* Redimensionne pour couvrir tout l'élément */
    background-position: center;
    color: beige;
    text-shadow: 8px 8px 8px black;
    padding: 120px 20px;
}
.appareilhead{
    text-align: center;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1)), 
    url('images/back4.jpg');
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    background-size: cover; /* Redimensionne pour couvrir tout l'élément */
    background-position: center;
    color: beige;
    text-shadow: 4px 4px 4px black;
    padding: 120px 20px;
}
nav ul {
    list-style-type: none; /* Supprime les puces */
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav a {
    color: white;
    text-shadow: 2px 2px 2px black;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    cursor: none;
}

nav a:hover {
    color: rgb(31, 29, 29);
}

.titre h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.photo p{
    align-items: center;
}
.mesphotos, .locations {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.mesphotos img, .locations img {
    width: 352px;
    height: 198px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.mesphotos img:hover, .locations img:hover {
    transform: scale(1.1);
    cursor: none;
}
.btn-gallerie {
    display: inline-block;
    padding: 8px 16px; /* Taille réduite du bouton */
    font-size: 16px; /* Taille de police réduite */
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: beige; /* Couleur beige */
    color: #333; /* Texte gris foncé */
    border-radius: 25px; /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
    transition: all 0.3s ease-in-out; /* Transition fluide pour les effets */
}

/* Effet au survol */
.btn-gallerie:hover {
    background-color: beige; /* Changement de couleur au survol */
    transform: translateY(-3px); /* Légère élévation */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée au survol */
}

/* Effet lorsque le bouton est cliqué */
.btn-gallerie:active {
    transform: translateY(1px); /* Effet d'enfoncement */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Réduction de l'ombre */
}

/* Centrer le bouton dans son conteneur et ajuster sa position verticale */
.btn-gallerie-container {
    text-align: center; /* Centrer le bouton horizontalement */
    margin-top: 20px; /* Réduit la marge supérieure pour le rapprocher des photos */
}
section {
    padding: 60px 20px;
    text-align: center;
}
#images {
    display: flex;
    flex-direction: column; /* Dispose les éléments en colonne */
    align-items: center; /* Centre les éléments horizontalement */
    text-align: center; /* Centre le texte */
}
#presentation p {
    width: 60%; /* Force le texte à revenir à la ligne en limitant sa largeur */
    margin: auto; /* Centre le paragraphe horizontalement */
    text-align: center; /* Justifie le texte */
    line-height: 1.5; /* Ajoute de l'espacement entre les lignes */
}
.gallery, .locations {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery img, .locations img {
    width: 256px;
    height: 144px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery img:hover, .locations img:hover {
    transform: scale(1.1);
    cursor: none;
}
#details ul {
    list-style: none; /* Supprimer les puces */
    padding: 0; /* Supprimer l'espacement par défaut */
  }
footer {
    text-align: center;
    padding: 20px;
}
#contact {
    background: url(bas.jpg); /* Fond légèrement plus clair que le reste du site */
    background-repeat: no-repeat; /* Empêche la répétition */
    background-size: cover;
    color: #fff; /* Texte blanc */
    text-shadow: 2px 2px 2px black;
    padding: 60px 20px;
    border-top: 2px solid beige; /* Ligne décorative pour séparer la section */
    text-align: center;
}

#contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: beige; /* Couleur verte pour le titre */
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    cursor: none;
    align-items: center;
}

#contact-form label {
    text-align: left;
    font-weight: bold;
    font-size: 1rem;
    cursor: none;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    transition: border-color 0.3s;
    cursor: none;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: beige;
    outline: none;
    cursor: none;
}

#contact-form button {
    width: 100%;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
    background-color: beige;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    cursor: none;
}

#contact-form button:hover {
    background-color: beige;
    transform: scale(1.05); /* Légère mise en avant au survol */
}

#contact-form button:active {
    background-color: beige;
    transform: scale(1);
}
.modal {
    display: none,flex; /* Cachée par défaut */
    position: fixed;
    z-index: 1000; /* Toujours au-dessus des autres éléments */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fond noir semi-transparent */
    justify-content: center;
    align-items: center;
}

/* Contenu de la modal */
.modal-content {
    max-width: 90%; /* S'adapte à la taille de l'écran */
    max-height: 90%;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Bouton pour fermer */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}
  
.close:hover,
.close:focus{
    color: #f1f1f1;
    text-decoration: none;
}
#social-links-container {
    position: absolute; /* Permet un positionnement libre */
    top: 50%; /* Place le conteneur à 50% de la hauteur de la page */
    left: 50%; /* Place le conteneur à 50% de la largeur de la page */
    transform: translate(-50%, -50%); /* Centre précisément le conteneur */
    display: flex; /* Aligne les icônes en ligne */
    gap: 20px; /* Ajoute un espace entre les icônes */
}
#social-links i {
    font-size: 40px; /* Taille des icônes */
    color: beige; /* Couleur des icônes */
}
#social-links a {
    text-decoration: none; /* Supprime le soulignement des liens */
    border: none; /* Supprime toute bordure */
    outline: none; /* Supprime l'effet de focus */
}

#social-links a:visited {
    color: inherit; /* Empêche la couleur violet par défaut pour les liens visités */
}
