body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.background-container {
    background: url('daniel2.jpg') no-repeat center center/cover;
    height: 100vh;
}

.background-container p {
    font-size: 1.5rem;
    font-family: sans-serif;
}

.background-container h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #ffa500;
    font-family: cursive;
}


/* Style pour le bouton de retour en haut */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 50px;
    height: 50px;
    background-color: #000; /* Fond noir */
    border-radius: 50%;
    text-align: center;
    line-height: 50px; /* Centre le contenu verticalement */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre portée pour l'effet de profondeur */
    z-index: 100; /* Assure que le bouton est au-dessus des autres éléments */
    cursor: pointer;
    transition: opacity 0.3s; /* Transition douce pour l'opacité */
}

.back-to-top img.arrow-icon {
    max-width: 100%;
    height: auto;
}

/* Afficher le bouton lorsque l'utilisateur descend la page */
.back-to-top.show {
    display: block;
    opacity: 0.7; /* Légèrement transparent */
}

.back-to-top:hover {
    opacity: 1; /* Pleine opacité au survol */
}




.logo-container {
    width: 200px; /* Ajustez cette valeur selon la taille désirée */
    height: auto; /* Permet de conserver les proportions */
}

.logo-container .logo {
    max-width: 100%; /* Assure que le logo ne dépasse pas la largeur du conteneur */
    height: auto; /* Permet de conserver les proportions */
}


/* Style pour le logo */
.logo-container {
    width: 200px; /* Ajustez cette valeur selon la taille désirée */
    height: auto; /* Permet de conserver les proportions */
}

.logo-container .logo {
    max-width: 100%; /* Assure que le logo ne dépasse pas la largeur du conteneur */
    height: auto; /* Permet de conserver les proportions */
}

/* Style pour la barre de navigation */
.custom-navbar {
    background-color: rgba(0, 0, 0, 0.075); /* Couleur noire avec une opacité de 0.8 */

}

.navbar-nav .nav-item .nav-link:hover {
    color:#DAAB3A; /* Couleur au survol des liens de navigation */
}


/* Couleurs pour les liens de navigation */
.navbar-nav .nav-item .nav-link {
    color: #FFFFFF; /* Couleur des liens de navigation */
    margin: 0 10px; /* Espacement entre les liens de navigation */
    font-weight: bold; /* Police en gras */
    transition: color 0.3s ease; /* Transition douce pour le changement de couleur */

}


.text-white {
    color: #fff;
}

.photo-gallery {
    padding: 40px 0;
}

.photo-gallery .gallery-header {
    margin-bottom: 40px;
}

.photo-gallery .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.photo-gallery .col-md-4 {
    padding: 15px;
}

.photo-gallery .img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-gallery .img-fluid:hover {
    transform: scale(1.05);
}

.video-section {
    padding: 40px 0;
}

.video-section .video-header {
    margin-bottom: 40px;
}

.footer {
    background-color: #0a0b0c; /* Couleur de fond */
    color: #fff; /* Couleur du texte */
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer h4 {
    color: #ffd700; /* Couleur or */
    margin-bottom: 20px;
}

.footer p, .footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .social-icons a {
    color: #ffd700; /* Couleur or */
    margin-right: 10px;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer .social-icons a:hover {
    color: #fff; /* Couleur de survol */
}

.footer .quick-links li {
    margin-bottom: 10px;
}

.footer .quick-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer .quick-links a:hover {
    color: #ffd700; /* Couleur or */
}

.footer .photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.footer .photo-gallery img {
    width: 15%;
    margin-bottom: 5px;
    border-radius: 5px;
}

.footer form {
    display: flex;
    flex-direction: column;
}

.footer form input {
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    padding: 10px;
}

.footer form button {
    background-color: #ffd700; /* Couleur or */
    border: none;
    border-radius: 5px;
    padding: 10px;
    color: #000;
    font-weight: bold;
    transition: background-color 0.3s;
}

.footer form button:hover {
    background-color: #ffa500; /* Couleur de survol */
}

/* gallery.css */
.photo-gallery .card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Ajoute un effet de curseur pointer pour indiquer que la carte est cliquable */
}

.photo-gallery .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.photo-gallery .card-img-top {
    width: 100%;
    height: auto;
    max-height: 200px; /* Ajustez la hauteur maximale selon vos besoins */
    object-fit: cover; /* Maintient l'aspect ratio tout en remplissant l'espace */
}

.photo-gallery .card-body {
    padding: 15px;
}

.photo-gallery .card-title {
    font-size: 1.25rem;
    margin-bottom: 0; /* Réduit l'espace sous le titre */
}

/* Style mis à jour pour les catégories */
.category-item {
    margin-bottom: 30px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.category-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.5s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-item:hover img {
    transform: scale(1.05);
}

/* Nouveau style pour les titres de catégorie */
.category-item h4 {
    margin-top: 20px;
    font-size: 2.2em;
    color: #333;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    text-transform: capitalize;
    position: relative;
    padding-bottom: 10px;
    transition: color 0.3s ease;
}

/* Effet de soulignement doré */
.category-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #DAAB3A;
    transition: width 0.3s ease;
}

.category-item:hover h4 {
    color: #DAAB3A;
}

.category-item:hover h4::after {
    width: 100px;
}

/* Style pour le titre principal */
.gallery-header h2 {
    font-size: 3em;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

/* Animation d'entrée pour les catégories */
@keyframes categoryFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-item {
    animation: categoryFadeIn 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .category-item h4 {
        font-size: 1.8em;
    }
    
    .gallery-header h2 {
        font-size: 2.5em;
    }
}


/* styles pour les cartes dans la galerie */
.card {
    margin-bottom: 20px;
    border: none; /* Retirer les bordures si nécessaire */
    position: relative;
}

.card-img-top {
    width: 100%;
    height: auto;
}

.card .btn-download {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #eda90b;
    color: rgb(222, 218, 17);
    border: none;
}




