/* Style général */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Style pour le fond d'écran */
.background-container {
    /* Position et dimensions */
    position: relative;
    width: 100%;
    height: 90vh; /* Augmenté pour plus de hauteur */
    overflow: hidden;
    
    /* Configuration du background */
    background-image: url('photo6.jpg');
    background-size: 90% auto; /* Définit la largeur à 90% de la largeur du conteneur, hauteur auto */
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000; /* Fond noir pour les espaces vides */
    
    /* Flexbox pour le contenu */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Ajustements pour la navbar */
    padding-top: 60px; /* Réduit légèrement le padding-top */
}

/* Style pour le texte superposé */
.background-container .text-center {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Media query pour les écrans plus petits */
@media (max-width: 768px) {
    .background-container {
        height: 80vh;
        background-size: 95% auto; /* Légèrement plus grand sur mobile */
    }
}

/* Media query pour les très grands écrans */
@media (min-width: 1400px) {
    .background-container {
        height: 95vh;
        background-size: 85% auto; /* Ajustement pour les grands écrans */
    }
}

/* Optionnel : style pour le texte de la page d'accueil */
.background-container h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #E1A624;
    font-family: cursive;
    
}


.background-container p {
    font-size: 1.5rem;
    font-family: sans-serif;
}



/* 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 */
}


/* 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.075 */
}

/* 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 */
}

.navbar-nav .nav-item .nav-link:hover {
    color:#DAAB3A; /* Couleur au survol des liens de navigation */
}






/* Style pour la section "about-photographer" */
.about-photographer {
    padding: 60px 0;
    background-color: #f8f9fa0d;
}

.about-photographer h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #E1A624;
}

.about-photographer p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Style pour la section de carrousel d'images */
.owl-carousel {
    display: flex;
    justify-content: center;
}

.owl-item {
    text-align: center;
    position: relative;
}

.owl-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover; /* Redimensionne l'image pour couvrir le conteneur */
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Assurez-vous que les flèches sont au-dessus des images */
}

.owl-nav .owl-prev {
    left: -40px;
}

.owl-nav .owl-next {
    right: -40px;
}


.adphoto .col-md-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px; /* Espacement intérieur des colonnes */
    text-align: center; /* Centre le texte horizontalement */
}

.adphoto img {
    max-width: 100%; /* Assure que les images ne dépassent pas la largeur de la colonne */
    height: auto; /* Garde les proportions des images */
    border-radius: 10px; /* Ajoute des coins arrondis aux images */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Ajoute une ombre aux images */
}

.adphoto h3 {
    font-size: 1.4rem; /* Taille de police pour le texte */
    font-weight: bold; /* Police en gras pour le sous-titre */
    line-height: 1.6; /* Hauteur de ligne pour un espacement confortable */
    margin: 0; /* Enlève la marge par défaut */
}


/* 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 */
}



.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 */
}


.custom-btn {
    background-color: #ffa500; /* Change la couleur de fond */
    color: white; /* Change la couleur du texte */
    border: none; /* Enlève la bordure */
    padding: 8px 16px; /* Ajuste le padding */
    border-radius: 4px; /* Arrondit les coins */
    transition: background-color 0.3s ease; /* Ajoute une transition pour le hover */
}

.custom-btn:hover {
    background-color: #c7b000; /* Change la couleur lors du survol */
}
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999; /* Assure que la bannière reste au-dessus des autres éléments */
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
    margin: 0;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    margin: 0;
}

.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.btn:hover {
    opacity: 0.9;
}

.btn-accept {
    background: #DAAB3A;
    color: white;
}

.btn-refuse {
    background: #FFBF66;
    color: white;
}

.privacy-link {
    color: #3498db;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Styles pour mobile */
@media screen and (max-width: 768px) {
    .cookie-banner {
        padding: 0.75rem 0;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .cookie-text {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
        min-width: auto;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        flex: 0 1 auto;
        min-width: 120px;
    }
}

/* Styles pour très petits écrans */
@media screen and (max-width: 360px) {
    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn {
        width: 100%;
        min-width: auto;
    }
}
