/* styles.css - Bootstrap customizations for Safety Fire Pro branding */

:root {
  --primary-color: #ee2800;
  --secondary-color: #ff7315;
  --background-color: #fff;
  --text-color: #181818;
  --font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  --animate-duration: 0.5s;
  --animate-delay: 0.5s;
  --text-black: #242424;

  /* Theme Colors */
  --primary-color: #ee2800;
  --secondary-color: #ff7315;
  --background-color: #fff;
  --text-color: #181818;
  --font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  --animate-duration: 0.5s;
  --animate-delay: 0.5s;
}

* {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

p{
  font-size: 18px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}


body {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  background-color: var(--background-color);
  /* fallback */
  color: #181818;
}

.bg-gradient-fire {
  background: linear-gradient(135deg, #ee2800 0%, #ff7315 100%) !important;
}

.text-gradient-fire {
  background: linear-gradient(135deg, #ee2800 0%, #ff7315 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}


.top-header a:hover {
  text-decoration: underline;
}

.social-link i {
  font-size: 1rem;
  cursor: pointer;
}


/******** Navbar fixes ********/
.logo {
  height: 55px;
}


/* Style général */
.navbar-nav .nav-link {
  color: #999;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 0.75rem 1rem;
  position: relative;
}

/* Bordure uniquement pour les items SANS dropdown */
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link.active {
  color: #e30613;
}

.navbar-nav .nav-item .nav-link:hover::after,
.navbar-nav .nav-item .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #e30613;
}

/* Supprimer la flèche Bootstrap */
.nav-link.dropdown-toggle::after {
  display: none;
}

/* Hover desktop */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Dropdown style image */
.dropdown-menu {
  border-radius: 4px;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  min-width: 260px;
}

/* Items dropdown */
.dropdown-item {
  font-size: 13px;
  color: #555;
  padding: 8px 22px;
  text-transform: uppercase;
}

/* Hover item */
.dropdown-item:hover {
  background-color: transparent;
  color: #e30613;
}




/******** Hero Section ********/
#hero-section {
  position: relative;
  min-height: 70vh;
  background-image: url('../img/hero-fire-safety.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay */
#hero-section .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(59, 3, 3, 0.65),
      rgba(0, 0, 0, 0.25));
  z-index: 1;
}

/* Content above overlay */
#hero-section .container {
  position: relative;
  z-index: 2;
}



/******** ACTUALITES SECTION ********/

.section-title {
  color: #e30613;
  /* rouge */
  font-weight: 700;
  letter-spacing: 6px;
  font-size: 2rem;
  text-transform: uppercase;
}

.section-subtitle {
  margin-top: 10px;
}

.section-subtitle .line {
  width: 85%;
  height: 1px;
  background-color: #e30613;
}

.section-subtitle .subtitle-text {
  font-size: 1.1rem;
  color: #000;
  font-weight: 500;
  white-space: nowrap;
}



/* SERVICES BAR */
.services-bar {
  margin-top: -5px;
}

.service-item {
  padding: 20px 10px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.service-item.blue {
  background: #4b78a6;
}

.service-item.red {
  background: #e30613;
}

.service-item.pink {
  background: #e2b7c7;
  color: #fff;
}

.service-item.grey {
  background: #bdbdbd;
}

.service-item.active {
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.3);
}

/******** Custom CTA/card hover ********/
.card:hover,
.btn-danger:hover {
  box-shadow: 0 8px 32px -6px rgba(245, 54, 54, 0.1);
  transform: translateY(-4px);
}

.btn-danger,
.bg-danger,
.badge.bg-danger,
.badge.bg-danger-subtle {
  background-color: #ee2800 !important;
  border-color: #ee2800 !important;
  color: #fff !important;
}

.btn-danger-outline,
.btn-outline-light {
  border-color: #ee2800;
  color: #ee2800;
}



/******** Gradients for sections ********/
.gradient-glow-top {
  position: absolute;
  left: 20%;
  top: -200px;
  width: 400px;
  height: 400px;
  background: rgba(255, 115, 21, 0.14);
  border-radius: 50%;
  filter: blur(64px);
  z-index: 1;
}

.gradient-glow-bottom {
  position: absolute;
  right: 20%;
  bottom: -200px;
  width: 400px;
  height: 400px;
  background: rgba(238, 40, 0, 0.14);
  border-radius: 50%;
  filter: blur(64px);
  z-index: 1;
}

/******** Hero image dark overlay ********/
.hero-img-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 70%);
  position: absolute;
  inset: 0;
  z-index: 1;
}

/******** Small utility ********/
.fw-medium {
  font-weight: 500;
}

/******** Responsive fixes ********/
@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 40px;
  }
}


/* Footer Section */

footer img {
  height: 75px;
  object-fit: contain;
  max-width: 200px;
}

footer .line-footer{
  width: 85%;
  height: 75px;
  background-color: #e30613;
}
footer .line-footer-black{
  width: 85%;
  height: 75px;
  background-color: #010101;
}

.footer {
  padding: 60px 0;
  background-color: #fff;
}

.footer-col {
  margin-bottom: 30px;
}

/* Barres colorées */
.footer-bar {
  width: 120px;
  height: 8px;
  margin-bottom: 20px;
}

.footer-bar.red {
  background-color: #e30613;
}

.footer-bar.black {
  background-color: #000;
}

/* Titres */
.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 15px;
}

/* Liens */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}
footer p,
footer a, footer li a, footer span,
.footer-links a {
  font-size: 14px;
  color: #848484;
  text-decoration: none;
}

.footer-links a:hover {
  color: #e30613;
}

/* Logo */
.footer-logo {
  max-width: 160px;
}



/* GoBackToTop button */

#goBackToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
}

#goBackToTop:hover {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
}

#goBackToTop:focus {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
}

#goBackToTop:active {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
}

#goBackToTop:visited {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;

}