/* VARIABLES ---------------------------------------------------- */
:root {
  --primary: #E0B356;
  --primary-hover: #c79e4d;
  --black: #333;
  --white: #fff;
}

/* FONTS ---------------------------------------------------- */

@font-face {
  font-family: 'Inter-Thin';
  src: url('../fonts/inter/Inter-Thin.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter-ExtraLight';
  src: url('../fonts/inter/Inter-ExtraLight.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter-Light';
  src: url('../fonts/inter/Inter-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter-Regular';
  src: url('../fonts/inter/Inter-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter-Bold';
  src: url('../fonts/inter/Inter-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter-SemiBold';
  src: url('../fonts/inter/Inter-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter-ExtraBold';
  src: url('../fonts/inter/Inter-ExtraBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Sansation_Bold';
  src: url('../fonts/sansation/Sansation_Bold.ttf') format('truetype');
}

/* GENERAL ---------------------------------------------------- */

/* CUSTOM SCROLLBAR */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--black);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-hover);
}

.container {
  max-width: 1200px;
  margin: auto;
  width: 100%;
}

body {
  font-family: 'Inter-Regular', sans-serif;
  color : var(--black);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.cta {
  display: flex;
  width: fit-content;
  padding: 16px 14px;
  
  font-size: 16px;
  text-decoration: none;
  
  background-color: var(--primary);
  color: var(--white);
  transition: 0.3s;
  
  border-radius: 12px;
}

button {
  border: 0px solid transparent;
}

.cta:hover {
  background-color: var(--primary-hover);
  transition: 0.3s;
}


p {
  margin: 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.col {
  display: flex;
  flex-direction: column;
  width: auto;
  flex: 1;
}

.col b {
  font-family: 'Inter-Bold', sans-serif;
}

.w-100 {
  width: -webkit-fill-available;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

span {
  margin: 0;
}

h1 {
  font-family: 'Sansation_Bold', sans-serif;
  font-size: 32px;
  letter-spacing: -1px;
  margin: 0;
}

h2 {
  font-family: 'Sansation_Bold', sans-serif;
  font-size: 32px;
  letter-spacing: -1px;
  margin: 0;
}

.text-left {
  text-align: left;
}

p {
  text-align: justify;
  font-size: 16px;
}

.fs-12 {
  font-size: 12px;
}

.m-0 {
  margin: 0;
}

.gap-6-25{
  display: grid;
  gap: 6.25px;
}

.gap-12-5 {
  display: grid;
  gap: 12.5px;
}

.gap-16{
  display: grid;
  gap: 16px;
}

.gap-25 {
  display: grid;
  gap: 25px;
}

.gap-50 {
  display: grid;
  gap: 50px;
}

.inline-flex {
  display: inline-flex;
}

.justify-content-space-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

/* NAV ---------------------------------------------------- */

.navbar.scrolled {
  background-color: var(--black);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  position: fixed;
  width: -webkit-fill-available;
  
  padding: 25px;
  
  justify-content: space-between;
  align-items: center;
  
  z-index: 10;
}

.navbar-brand {
  display: flex;
  align-items: center;
  
  z-index: 20;
}

.burger-menu {
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  display: none;
  
  z-index: 20;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 5px;
  transition: transform 0.4s ease;
}

/* NAV-LINKS */

.nav-links {
  display: flex;
}

.nav-links ul {
  display: flex;
  list-style-type: none;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: 25px;
}

.nav-links ul li {
  text-align: center;
}

.nav-links ul li a {
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  transition: 0.3s;
}

.nav-links ul li a:hover {
  color: var(--primary);
  transition: 0.3s;
}

/* HERO : HOME / ABOUT / ACTIVITIES / PROJECTS / CONTACT ---------------------------------------------------- */

.hero-home {
  display: flex;
  background-image: url('../medias/img/hero/home.png');
  background-size: cover;
  color: var(--white);
  text-align: left;
  height: 600px;
  padding: 0px 25px;
}

.hero-about {
  display: flex;
  background-image: url('../medias/img/hero/about.png');
  background-size: cover;
  color: var(--white);
  text-align: left;
  height: 600px;
  padding: 0px 25px;
}

.hero-activities {
  display: flex;
  background-image: url('../medias/img/hero/activities.jpg');
  background-size: cover;
  color: var(--white);
  text-align: left;
  height: 600px;
  padding: 0px 25px;
}

.hero-projects {
  display: flex;
  background-image: url('../medias/img/hero/projects.png');
  background-size: cover;
  color: var(--white);
  text-align: left;
  height: 600px;
  padding: 0px 25px;
}

.hero-contact {
  display: flex;
  background-image: url('../medias/img/hero/base.png');
  background-size: cover;
  color: var(--white);
  text-align: left;
  height: 600px;
  padding: 0px 25px;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: left;
  flex-direction: column;
  text-align: left;
}

/* SECTION ------------------------------------------------------- */

.section {
  padding: 100px 25px;
}

.section-content {
  display: flex;
  justify-content: center;
  align-items: left;
  flex-direction: column;
  text-align: left;
}

.section-content .row {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.section-content .col {
  flex: 1 1 50px;
  display: flex;
  flex-direction: column;
  min-width: 250px;
}

/* ACTIVITIES ------------------------------------------------------- */

.img-activities{
  height: 200px;
  background-size: cover;
}

#plans {
  background-image: url('../medias/img/activities/plans.jpg');
}

#deco-int {
  background-image: url('../medias/img/activities/deco-int.jpg');
}

#genie-civ {
  background-image: url('../medias/img/activities/genie-civ.jpg');
}

#maconnerie {
  background-image: url('../medias/img/activities/maconnerie.jpg');
}

#renovation {
  background-image: url('../medias/img/activities/renovation.jpg');
}

#menuiserie {
  background-image: url('../medias/img/activities/menuiserie.jpg');
}

#sanitaire {
  background-image: url('../medias/img/activities/sanitaire.jpg');
}

#electricite {
  background-image: url('../medias/img/activities/electricite.jpg');
}

#demenagement {
  background-image: url('../medias/img/activities/demenagement.jpg');
}

#nettoyage {
  background-image: url('../medias/img/activities/nettoyage.jpg');
}

/* PROJECTS ------------------------------------------------------- */
.img-projects{
    height: 200px;
    background-size: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    object-fit: cover;
    width: 100%;
}

.fancybox__thumbs {
  display: flex !important; /* Assure que les vignettes sont visibles */
  justify-content: center;
  gap: 10px; /* Ajoute un espace entre les thumbnails */
  padding: 10px 0; /* Ajoute un padding pour plus de clarté */
}

.fancybox__thumbs img {
  max-height: 80px; /* Limite la taille des thumbnails */
  object-fit: cover; /* Gère le contenu pour éviter les déformations */
  border-radius: 4px; /* Ajoute un léger arrondi */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.fancybox__thumbs img:hover {
  transform: scale(1.1); /* Zoom léger au survol */
}


a[data-fancybox] {
  display: inline-block; /* Pour gérer l'image principale */
}

a[data-fancybox][style*="display: none;"] {
  display: none !important; /* Cache les liens supplémentaires */
}





/* CONTACT | FORM-GROUP */

.form-group {
  font-family: 'Inter-Regular', sans-serif;
  font-size: 16px;

  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group a {
  color: var(--primary);
}

input, textarea {
  font-family: 'Inter-Regular', sans-serif;
  font-size: 16px;
}

.form-group input {
  padding: 12.5px;
  border: 1px solid var(--black);
  border-radius: 12px;
  outline: none;
}

.form-group textarea {
  min-height: 200px;
  padding: 12.5px;
  border: 1px solid var(--black);
  border-radius: 12px;
  outline: none;
}

/* FOOTER ------------------------------------------------------- */

footer {
  background-color: var(--black);
  color: var(--white);
  padding: 50px 25px 50px 25px;
}

footer .footer-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

footer .footer-content .row .col {
  gap: 50px;
}

footer b {
  font-family: 'Inter-Bold', sans-serif;
}

footer .footer-content .row .col ul {
  display: flex;
  flex-direction: column;
  gap: 12.5px;
}

footer .footer-content a {
  color: var(--white);
  text-decoration: none;
  transition: 0.3s;
}

footer .footer-content a:hover {
  color: var(--primary);
  transition: 0.3s;
}

footer .social-icons {
  display: flex;
  gap: 25px;
}

/* MEDIA QUERIES ---------------------------------------------------- */

@media (max-width: 768px) {
  /* NAV */
  .navbar {
    display: flex;
    position: fixed;
    width: -webkit-fill-available;
    
    justify-content: space-between;
    align-items: center;
  }
  
  .burger-menu {
    display: block;
    position: absolute;
    right: 25px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--black);
    width: 100%;
    height: 100vh;
    text-align: center;
    z-index: 10;
  }

  .nav-links ul {
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
  }
  
  .burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(-45deg);
  }
  
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(45deg);
  }
  
  /* FOOTER */
  footer {
    padding: 50px 12.5px;
  }
  
  footer .footer-content {
    gap: 50px;
    align-items: center;  
  }
  
  footer .footer-content .row {
    flex-direction: column;
    gap: 50px;
    align-items: center;  
  }
  
  footer .footer-content .row .col {
    width: 100%;
    align-items: center;  
    gap: 50px;
  }
  
  footer b {
    font-family: 'Inter-Bold', sans-serif;
    font-size: 24px;
    font-weight: 600;
  }
  
  footer .footer-content .row .col ul {
    align-items: center;  
  }
  
  footer .social-icons {
    justify-content: center;
  }
  
  .fs-12 {
    gap: 12.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .section-content .row {
    flex-direction: column;
  }
  
  .section-content .col {
    min-width: 100%; /* Ensure columns take full width on small screens */
  }
}