Global Styles
html, body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff !important; /* Fond par défaut en blanc */
    color: #000 !important; /* Texte par défaut en noir */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Adding a blurred overlay */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px); /* Apply blur effect */
    z-index: -1;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b7912f !important; /* Titres en or */
}

/* Style du h1 dans le header */
.banner h1 {
    font-size: 5rem; /* Taille plus grande */
    font-weight: 900;
    color: #fff;
    text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .banner h1 { font-size: 4rem; }
}
@media (max-width: 768px) {
    .banner h1 { font-size: 3rem; }
}
@media (max-width: 480px) {
    .banner h1 { font-size: 2.5rem; }
}

/* Paragraphes */
p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: #b7912f !important;
    border-bottom: 2px solid #b7912f;
    padding: 1rem 20px;
}

.navbar a.navbar-brand, .navbar .nav-link {
    color: #000 !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
}
.navbar img {
    padding: 0 5px;
}

.nav-link:hover {
    color: #f8f9fa !important; /* Or plus clair au survol */
}


/* Bannière dynamique */
.banner {
    height: 82vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    transition: background-image 1.5s ease-in-out;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    background-color: #f8f8f8 !important;
    box-shadow: 0 4px 8px rgba(183, 145, 47, 0.1);
    transition: all 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(183, 145, 47, 0.2);
}

.card img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

@media (max-width: 768px) {
    .card img { height: 180px; }
}

.card-title { color: #b7912f; }
.card-text { color: #000; }

/* Footer */
footer {
    background-color: #b7912f !important;
    color: #000 !important;
    text-align: center;
    padding: 15px 0;
    font-size: 1rem;
}

footer p, footer a, footer span {
    color: #000 !important;
    font-weight: bold;
}

/* Boutons */
.btn-primary {
    background-color: #b7912f !important;
    border-color: #b7912f !important;
    color: #000 !important;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #d4af37 !important;
    border-color: #d4af37 !important;
}



/* 🌙 Mode Sombre - Fond Noir */
.dark-mode {
    background-color: #000 !important;
    color: #fff !important;
}

.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4,
.dark-mode h5, .dark-mode h6 {
    color: #b7912f !important; /* h1 en blanc en mode sombre */
}

.dark-mode p{
    color: #fff !important;
}

.dark-mode footer p, .dark-mode footer a,
.dark-mode footer span {
    color: #000 !important;
}


.dark-mode .card {
    background-color: #1a1a1a !important;
    border: 1px solid #444;
}

.dark-mode .card-text { color: #fff !important; }

.dark-mode .custom-list .list-group-item {
    font-size: 1.25rem; /* Increase font size */
    padding: 15px 20px; /* Increase padding for a larger look */
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
}
.dark-mode .custom-list strong {
    min-width: 270px; /* Make the strong text section larger */
    display: inline-block;
}
.dark-mode .custom-list span {
    font-size: 2rem; /* Make the icons bigger */
}


/* 🌞 Mode Clair - Fond Blanc */
.light-mode {
    background-color: #fff !important;
    color: #000 !important;
}

.light-mode .card {
    background-color: transparent !important;
    border: 1px solid #ddd;
}

.light-mode .card-text { color: #000 !important; }


.light-mode .custom-list .list-group-item {
    font-size: 1.25rem; /* Increase font size */
    padding: 15px 20px; /* Increase padding for a larger look */
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #000 !important;
}
.light-mode .custom-list strong {
    min-width: 270px; /* Make the strong text section larger */
    display: inline-block;
}
.light-mode .custom-list span {
    font-size: 2rem; /* Make the icons bigger */
}
.light-mode p{
    color: #000 !important;
}