@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Special+Gothic+Expanded+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');


html{
    font-family: "Alumni Sans Pinstripe", sans-serif;
  font-weight: 400;
  font-style: normal;
}
header {
    padding-top: 2rem; /* adjust depending on logo height */
}

.nav-link {
    font-family: "Alumni Sans Pinstripe", sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 5px;
    color: #ffffff !important;        /* default color */
    transition: color 0.3s ease;
}

/* underline effect */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #0597F2;   /* underline color */
    transition: width 0.3s ease;
}

/* hover + active */
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #05C7F2 !important;  /* text color on hover */
}

/* OPTIONAL: dropdown toggle hover color */
.nav-item.dropdown .nav-link:hover {
    color: #05C7F2 !important;
}
@media (max-width: 991px) {
  .navbar-brand {
      position: fixed;
      top: 0.5rem;          /* distance from top */
      left: 52.5%;
      transform: translateX(-50%);
      z-index: 9999;      /* make sure it stays above everything */
  }

    .navbar-toggler {
        z-index: 10; /* keep toggle clickable above logo */
    }
}

.cover-container {
  position: relative;
  height: 70vh;
  width: 100%;

  /* Flexbox to center content */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: white;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

    /* Two background layers */
    .bg-image {
    position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-position: center center;
      background-repeat: no-repeat;
      background-size: cover;
      transition: opacity 1s ease-in-out;
      z-index: -1;
      opacity: 0;
      overflow: hidden; /* needed for the pseudo-element */
    }

    .bg-image.visible {
      opacity: 1;
    }
    .bg-image::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background-color: #0000006b; /* black overlay with 40% opacity */
      pointer-events: none; /* allows clicks through overlay */
      z-index: 0; /* place above background image but below content */
    }

    h1 {
      font-family: "Special Gothic Expanded One", sans-serif;
      font-weight: 400;
      font-style: normal;
      font-size: 4rem;
      margin-bottom: 0.5rem;
      text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
      z-index: 1;
      position: relative;
    }
    h3{
        font-weight: 600;
    }

    p {
      font-family: "Sansation", sans-serif;
      font-weight: 400;
      font-style: normal;
      font-size: 1.5rem;
      margin-bottom: 2rem;
      z-index: 1;
      position: relative;
    }

    .btn-primary {
      padding: 1rem 2rem;
      font-size: 1.2rem;
      color: white;
      background-color: #007bff;
      border: none;
      border-radius: 30px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      text-decoration: none;
      z-index: 1;
      position: relative;
    }

    .btn-primary:hover {
      background-color: #0056b3;
    }

    /* Responsive font sizes */
    @media (max-width: 600px) {
      h1 {
        font-size: 2.5rem;
      }

      p {
        font-size: 1.2rem;
      }
    }
    hr {
    border: none;
    height: 2px;
    width: 50%;

    background-color: #ffffff;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.849);
  }

/* ===== ABOUT / QUI SOMMES-NOUS ===== */

.about {
  padding: 80px 20px;
  background-color: #1C233F;
  color: #f3f8f8;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: stretch; /* même hauteur */
}

/* Title */
.about h2 {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 0 0 10px #010326;
}

/* Subtitle */
.about-subtitle {
  font-family: "Sansation", sans-serif;
  font-size: 1.05rem;
  color: #fffefe;
  text-align: center;
  margin-bottom: 50px;
}

/* Paragraphs */
.about p {
  font-family: "Sansation", sans-serif;
  font-size: 1.05rem;        /* 👈 override global 1.5rem */
  line-height: 1.9;
  color: #ffffff;
  margin-bottom: 25px;
  text-align: justify;
  text-shadow: 0 0 10px #010326;
}

/* Intro emphasis */
.about-intro {
  font-size: 1.15rem;
  font-weight: 600;
  color: #010326;
}

/* Team list */
.about-team {
  
  padding: 0;
  list-style: none;
}

.about-team li {
  font-family: "Sansation", sans-serif;
  font-size: 1rem;
  padding: 14px 0 14px 18px;
  margin-bottom: 14px;
  border-left: 4px solid #0597F2;
  background: #f7fbfd;
  border-radius: 4px;
  color: #000000;
}
.about-image {
  display: flex;
}

.image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0px;
  border-radius: 11px;

}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #0f172a;
  border-radius: 11px;
  z-index: 1;
}

.image-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 350px;
  }
  .about h2 {
    font-size: 2rem;
  }

  .about p {
    font-size: 1rem;
  }
}
/* ===== ABOUT LAYOUT ===== */



/* Title styling (optional) */
.prestations h2 {
    text-align: center;
    font-size: 2rem;
    font-family: "Sansation", sans-serif;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 2px;
    color: #0597F2;

    margin-bottom: 40px;
}

/* 4-column grid */
.grid-prestations {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 450px;               /* adjust to your need */
}

/* Cards */
.card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Dark overlay */
.card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    transition: background 0.3s ease;
}

/* Text */
.card .title {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Hover effect */
.card:hover img {
    transform: scale(1.1);
}

.card:hover .overlay {
    background: rgba(0, 0, 0, 0.25);
}

/* Mobile: stack columns */
@media (max-width: 900px) {
    .grid-prestations {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }
    .card {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .grid-prestations {
        grid-template-columns: 1fr;
    }
}
/* -------- SECTION CONTACT BANNER -------- */

.contact-banner {
    position: relative;
    height: 450px;
    background: url('/images/photovoltaique1.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.contact-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-content h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-content p {
  color: #f8f5f3;
    font-size: 18px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-contact,
.btn-phone {
    background: #0597F2; 
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-contact:hover,
.btn-phone:hover {
    background: #05C7F2;
}

.contact-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 5rem 2rem;
  background-color: #ffffff;
}

.contact-item {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item img {
  width: 48px;
  height: 48px;
  filter: grayscale(30%);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.contact-item p {
  color: #000000;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

.contact-item a {
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-item:hover img {
  transform: scale(1.1);
  filter: none;
}

@media (max-width: 768px) {
  .contact-block {
    flex-direction: column;
    gap: 2rem;
  }
}
img.framed {
  box-shadow:
    -50px -50px 0 -40px var(--red),
    50px 50px 0 -40px var(--red);
}
/* -------- FOOTER SECTION -------- */

.footer {
    background: #242424;
    color: rgb(230, 230, 230);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 60px;
    max-width: 1000px;
    margin: auto;
}

.footer-logo img {
    width: 7rem;
}

.footer-info h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-info p {
    margin: 5px 0;
    font-size: 15px;
}

.footer-bottom {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}
/* ===== PURE CSS CARD CAROUSEL ===== */

.services-section {
  text-align: center;
  background: #f0f0f0;
  padding: 80px 6%;
  color: #000000;
  font-family: "Roboto", sans-serif;
}

/* ===== Header ===== */
.services-header h2 {
  font-family: "Roboto", sans-serif;
  color: #1C233F;
  font-size: 3rem;
  margin-bottom: 10px;
}

.services-header h3 {
      font-family: "Alumni Sans Pinstripe", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #417BBE;

  margin-bottom: 30px;
}

.services-header p {

  line-height: 1.6;
  opacity: 0.9;
}

/* ===== Grid ===== */
.services-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* ===== Card ===== */
.service-card {
  position: relative;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 25px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.35s ease;
  color: white;
}

/* Hover animation */
.service-card:hover {
  transform: translateY(-10px);
}

/* Overlay */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 0.6;
}

/* Text */
.service-card span {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr; /* one card per line */
    gap: 20px;
  }

  .service-card {
    height: 280px; /* optional: better for mobile */
  }
}
/* ===== Backgrounds + Colors ===== */


.agrivoltaic {
  background: url("/images/agrivoltaic.jpg") center/cover;
}
.agrivoltaic::before {
  background: #3aba915e;
}


.carport {
  background: url("/images/photovoltaique1.jpg") center/cover;
}
.carport::before {
  background: #5bc0de5e;
}

.rooftop {
  background: url("/images/photovoltaique2.jpg") center/cover;
}
.rooftop::before {
  background: #4f6ead8e;
}

.storage {
  background: url("/images/photovoltaique.jpg") center/cover;
}
.storage::before {
  background: #3b3f7398;
}
.floating-icons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Base icon */
.floating-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.floating-icon img {
  width: 32px;
  height: 32px;
}

/* Hover effect */
.floating-icon:hover {
  transform: scale(1.1);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 #02B3B1; }
  70% { box-shadow: 0 0 0 15px #02b3b000; }
  100% { box-shadow: 0 0 0 0 rgba(245,196,0,0); }
}

.floating-icon {
  animation: pulse 2s infinite;
}
@media (max-width: 576px) {
  .floating-icon {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
}
/* Colors per icon */
.phone { background: #ffffff; }
.map { background: #ffffff; }
.logo { background: #ffffff; }
.btn-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
     background-color: #00000000;    /* bleu */
    color: white;
    border: 2px solid #ffffff;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color .3s ease;
}

.btn-more:hover {
    background-color: #0056b3;     /* bleu foncé */
}