/**
* Template Name: Dewi
* Template URL: https://bootstrapmade.com/dewi-free-multi-purpose-html-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts - These are now defined in custom.css to avoid conflicts */

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #f5f5f5; /* Gris très clair pour le fond général */
  --default-color: #444444; /* Gris foncé pour la majorité du texte */
  --heading-color: #273d4e; /* Bleu/gris très foncé pour les titres */
  --accent-color: #ff0000; /* Rouge principal */
  --secondary-accent-color: #33cc33; /* Vert secondaire */
  --surface-color: #ffffff; /* Blanc pour les surfaces (cartes, etc.) */
  --contrast-color: #ffffff; /* Blanc pour le contraste sur les accents */

  /* Variables spécifiques à la navigation, si elles ne sont pas dans navbar.css */
  --nav-color: #e5eaee;
  --nav-hover-color: var(--accent-color);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: var(--default-color);
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--default-font);
  color: var(--default-color); /* Couleur de texte par défaut pour le corps */
  background-color: var(--background-color);
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--heading-color);
}

/* Styles pour les sections à fond sombre (ex: footer) */
.dark-background {
  background-color: #1A1A3A; /* Utilisez la couleur de fond de votre footer */
  color: var(--contrast-color); /* Texte blanc sur fond sombre */
}

.dark-background h1,
.dark-background h2,
.dark-background h3,
.dark-background h4,
.dark-background h5,
.dark-background h6 {
  color: var(--contrast-color); /* Titres blancs sur fond sombre */
}

.dark-background a {
  color: var(--contrast-color); /* Liens blancs sur fond sombre */
}

.dark-background a:hover {
  color: var(--accent-color); /* Couleur d'accent au survol */
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: hidden;
}

.section-bg {
  background-color: var(--surface-color);
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
  color: var(--default-color);
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: var(--background-color);
  min-height: 40px;
  margin-top: 80px;
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 400;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  content: "/";
  padding-right: 10px;
  color: var(--default-color);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--surface-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-top: 4px solid transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Hide preloader when body has the 'loaded' class */
body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}

