/* 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('assets/css/daniel2.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;
}

/* Style pour la section Termes et Conditions */
.terms-conditions {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.terms-conditions h1 {
    font-size: 2.5rem;
    color: #DAAB3A;
    margin-bottom: 40px;
    text-align: center;
}

.terms-conditions h2 {
    font-size: 1.8rem;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.terms-conditions p, .terms-conditions ul {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.terms-conditions ul {
    padding-left: 20px;
}

.terms-conditions a {
    color: #DAAB3A;
    text-decoration: none;
}

.terms-conditions a:hover {
    text-decoration: underline;
}