@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

body {
  font-family: 'Poppins', serif;
  background-color: #fcfcfc;
}
.bg-cover {
  position: relative;
  background-image: url('images/main.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Load different background for screens smaller than 768px */
@media (max-width: 767px) {
  .bg-cover {
    background-image: url('images/main_phone.webp');
    background-position: center;
  }
}

.slide-in-logo {
  position: absolute !important;  /* escape bootstrap flex alignment */
  top: 50px !important;           /* force at the bottom */
  left: 20px !important;             /* force at the left */
  transform: none !important;     /* reset any centering transforms */
  margin: 0 !important;           /* remove flexbox margining */
  z-index: 1;                    /* stay behind all other content */
  animation: fadeOnwards 3s forwards 3s;
  opacity: 0;
  pointer-events: none;
}

.slide-in-logo-pastille {
  position: absolute !important;  /* escape bootstrap flex alignment */
  top: 20px !important;           /* force at the bottom */
  right: 20px !important;             /* force at the left */
  transform: none !important;     /* reset any centering transforms */
  margin: 0 !important;           /* remove flexbox margining */
  z-index: 1;                    /* stay behind all other content */
  animation: fadeOnwards 3s forwards 3s;
  opacity: 0;
  pointer-events: none;
}

  .merci-image {
    /* Default image (larger screens) */
    content: url('images/main.webp');
    height: 600px; 
    width: 70%; 
    object-fit: cover; 
    object-position: top;
  }
  
  @media (max-width: 767px) {
    .merci-image {
      /* Mobile image */
      content: url('images/main_phone.webp');
      height: 400px; 
      width: 95%; 
    }
  }

#section1 {
  position: relative; /* anchor point for absolute children */
}



.slide-in-logo img {
  max-width: 100px;
  height: auto;
  display: block;  /* prevents inline alignment issues */
}

.slide-in-logo-pastille img {
  max-width: 100px;
  height: auto;
  display: block;  /* prevents inline alignment issues */
}

  @media (max-width: 767px) {

    .slide-in-logo {
      position: absolute !important;  /* escape bootstrap flex alignment */
      top: 20px !important;           /* force at the bottom */
      left: 20px !important;             /* force at the left */
      transform: none !important;     /* reset any centering transforms */
      margin: 0 !important;           /* remove flexbox margining */
      z-index: -1;                    /* stay behind all other content */
      animation: fadeOnwards 3s forwards 3s;
      opacity: 0;
      pointer-events: none;
    }

    .slide-in-logo img {
      max-width: 100px;
      height: auto;
      display: block;  /* prevents inline alignment issues */
    }

    .slide-in-logo-pastille {
      position: absolute !important;  /* escape bootstrap flex alignment */
      top: 20px !important;           /* force at the bottom */
      right: 20px !important;             /* force at the left */
      transform: none !important;     /* reset any centering transforms */
      margin: 0 !important;           /* remove flexbox margining */
      z-index: -1;                    /* stay behind all other content */
      animation: fadeOnwards 3s forwards 3s;
      opacity: 0;
      pointer-events: none;
    }

    .slide-in-logo-pastille img {
      max-width: 80px;
      height: auto;
      display: block;  /* prevents inline alignment issues */
    }
  }


@keyframes fadeOnwards {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.bg-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(120, 120, 120, 0.377); /* dark overlay */
  z-index: 1;
  animation: fadeOverlay 5s forwards 2s;
}

@keyframes fadeOverlay {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
  
  /* Ensure content appears above the overlay */
  .bg-cover > * {
    position: relative;
    z-index: 2;
  }
  
#section1 {
position: relative;
}

.object-fit-cover {
object-fit: cover;
}

.text-box {
width: 90%;
}

@media (min-width: 768px) {
.text-box {
    width: 80%;
}
}

.empty_separator {
    background-color: black;
}

.slide-in-images {
  display: flex;
  flex-direction: column;
  margin-top: -80px; /* reduce or increase as needed */
  justify-content: center;
  align-items: center; 
}

.slide-img {
  max-width: 300px;
  width: 100%;
  opacity: 0;
  animation: 
    slideInImage 0.8s forwards,
    fadeOutImage 2s forwards 5s; /* run after 5s */
}

/* First image: from right */
.img-1 {
  width: 100%;
  transform: translateX(60px);
  animation-delay: 0.6s, 3s; /* first anim starts at 0.6s, second at 5.6s */
}

/* Second image: from left */
.img-2 {
  transform: translateX(-60px);
  animation-delay: 0.5s, 3s; /* first anim starts at 0.5s, second at 5.5s */
}

/* Slide in */
@keyframes slideInImage {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade out */
@keyframes fadeOutImage {
  to {
    opacity: 0;
  }
}


.logo-container {
  display: flex;
  flex-direction: column;
  gap: 10px; /* space between images */
}

.logo-image {
  max-width: 300px;  /* adjust based on your design */
  width: 100%;
  height: auto;
}




#section1 {
  justify-content: center;
}

.custom-button-wrapper {
  position: absolute;
  bottom: 120px; 
  opacity: 0;
  animation: fadeIn 2s forwards;
}


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


.custom-button-email {
  opacity: 0;
  animation: fadeIn 5s forwards;
}


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  #section1 {
  justify-content: start;
}
.slide-in-images {
  margin-top: 150px;
}


  .custom-button-wrapper {
    position: absolute;
    bottom: 140px; /* higher than before */
  }
}

@media (max-width: 600px) {
  #section1 {
    justify-content: start;
  }
 
}

.custom-btn {
  background-color: #3a3e46;
  color: #f9f7f5;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  
  border: none;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease-in-out;
}

.custom-btn:hover {
  background-color: #f0f0f0;
  color: #7a695a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

#section2,#section4{
  background-color: #c4bbb6;
}

#section5,
#section3 {
  background-color: #fcfcfc;
  
}


/*
.img_sec4 {
  clip-path: polygon(
    40px 0,            
    100% 0,           
    100% calc(100% - 40px), 
    calc(100% - 40px) 100%, 
    0 100%,            
    0 40px             
  );
}
*/
.bottom-triangle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 700px solid transparent;
  border-right: 500px solid rgba(158, 145, 127, 0.8);
  transform: scale(0);
  transform-origin: bottom right;
  animation: popupTriangle 1s ease-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
  z-index: 1;
}

@keyframes popupTriangle {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* Default line height for desktop */
.line {
  height: 2px;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
  .line {
    height: 10px;
  }

  .line1 { y: 0px; }
  .line2 { y: 20px; }
  .line3 { y: 40px; }


}


.d-line {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.line11 { animation-delay: 0.4s; }
.line22 { animation-delay: 0.8s; }
.line33 { animation-delay: 1.2s; }

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.diagonal-animated-lines {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.image-container {
  position: relative;
  width: 70%;
  margin: 0 auto; /* This centers the entire container */
}

.map-image {
  width: 80%;
  height: auto;
  display: block;
  object-fit: cover;


}

#section4, #section5{
  min-height: 85vh;
}

@media (max-width: 767px) {
  #section5{
  min-height: 55vh;
}
.map-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;


}
}

.center-logo {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 50px;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .center-logo {
    max-width: 30px;
  }
  .image-container {
  width: 90%;
}

}

.globalText{
  font-size: 1.2rem; 
}

.mapText{
  margin-top: 50px;
  margin-bottom: 40px; 
  font-size: 2.0rem; 
}


@media screen and (max-width: 768px) {
  .mapText{
    font-size: 1.7rem; 
  }
  .globalText{
    font-size: 1.2rem; 
  }
}
.image-container:hover .map-image {
  filter: brightness(80%);
}



.image-container:hover .center-logo {
  display: block;
}


.modal-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1050;
}

.modal-fade.show {
  opacity: 1;
  visibility: visible;
}

.modal-img {
  max-width: 90%;
  max-height: 90%;
}

/* Colors */
.custom-label {
  color: #3a3e46;
  font-size: 1.2rem;

}

.custom-input {
  background-color: #fcfcfc;
  color: #fcfcfc;
  border: 1px solid #3a3e46;
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border-radius: 0px;

}

.custom-input::placeholder {
  color: #3a3e46;
  opacity: 0.8;
}

.custom-input:hover {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.custom-input:focus,
.custom-input.filled {
  background-color: #3a3e46;
  color: #c4bbb6;
  box-shadow: 0 0 0px rgba(0, 0, 0, 0.4);



  outline: none;
}

.custom-input:active {
  transform: scale(0.99);

}


/* Button hover animation */
.custom-button {
  background-color: #c4bbb6;
  color: #3a3e46;
  border: none;
  transition: all 0.3s ease;
}

.custom-button:hover {
  background-color: #3a3e46;
  color: #c4bbb6;
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(241, 240, 237, 0.6);
}

.custom-input {
  font-size: 1.1rem;
  padding: 0.75rem;
}

.custom-input::placeholder {
  font-size: 1rem;
}

/* Button text size */
.custom-button {
  font-size: 1.1rem;
  padding: 0.6rem 1.5rem;
}

.contact-option {
  background-color: #fcfcfc;
  color: #3a3e46;
  border: 1px solid #3a3e46;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
    border-radius: 0px;
}

.contact-option i {
  font-size: 1.2rem;
}

.contact-option:hover {
  border-color: #ffffff;
  background-color: #3a3e46;
  transform: scale(1.02);
  color: #ffffff;
}

.btn-check:checked + .contact-option {
  background-color: #3a3e46;
  color: #ffffff;
  border-color: #ffffff;
  border-width: 2px;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(172, 155, 133, 0.4);
  transform: scale(1.03);
}

.contact-option:active {
  transform: scale(0.97);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.contact-option:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(172, 155, 133, 0.4);
}


.btn-group .btn {
  flex: 1;
  margin-right: 0.3rem;
}

.btn-group .btn:last-child {
  margin-right: 0;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L6.707 7l4.647 4.646a.5.5 0 0 1-.708.708l-5-5a.5.5 0 0 1 0-.708l5-5a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  width: 2.5rem;
  height: 2.5rem;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 0 0 .708L9.293 7l-4.647 4.646a.5.5 0 0 0 .708.708l5-5a.5.5 0 0 0 0-.708l-5-5a.5.5 0 0 0-.708 0z'/%3E%3C/svg%3E");
  width: 2.5rem;
  height: 2.5rem;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.gallery-img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
    scroll-snap-align: start;
}

@media (max-width: 768px) {
  .gallery-img {
    width: 80%;
    max-width: none;
    
  }
}
#carouselTrack {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  height: 400px; /* adjust this value for bigger height */
  align-items: center; /* center images vertically if they’re shorter */
}

#carouselTrack img {
  height: 100%;
  width: auto; /* keeps aspect ratio */
  border-radius: 0 !important; /* override Bootstrap rounded corners */
  object-fit: cover; /* ensures images fill the height nicely */
}

@media (max-width: 767px) {
  #carouselTrack {
    height: 200px; /* adjust this value for bigger height */
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.custom-button2 {
  background-color: #3a3e46;
  border-color: #3a3e46;
  color: #c4bbb6;
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
}

.custom-button2:hover {
  background-color: #c4bbb6;
  color: #3a3e46;
  border-color: #3a3e46;
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(241, 240, 237, 0.6);
}


.custom-button2:active,
.custom-button2:focus {
  background-color: #3a3e46;
  color: #ffffff;
  transform: scale(0.98);
}


.newsletter{
  color: #3a3e46;
}

.terms{
  color: #3a3e46;
}

.form-check-input[type="checkbox"] {
  accent-color: #3a3e46; /* For modern browsers */
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #3a3e46;
  background-color: #fcfcfc;
  transition: all 0.3s ease;
  box-shadow: none;
}

.form-check-input[type="checkbox"]:checked {
  background-color: #3a3e46;
  border-color: #3a3e46;
}

.form-check-input[type="checkbox"]:hover {
  cursor: pointer;
  transform: scale(1.05);
  box-shadow: 0 0 6px rgba(172, 155, 133, 0.4);
}

.form-check-input[type="checkbox"]:focus {
  box-shadow: 0 0 0 0.2rem rgba(172, 155, 133, 0.25);
}


  .arrow-down {
    cursor: pointer;
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }
  
  .arrow-down:hover {
    animation: none;
    transform: translateY(5px);
    transition: transform 0.3s ease;
  }

  .modal-close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.modal-close-icon:hover {
  color: #ccc;
}

  a,
  a:visited,
  a:active {
    color: #f9f7f5;
    text-decoration: none; /* optional: removes underline */
  }


:root {
    --contact-color: #3a3e46; /* base */
    --contact-hover: #8F7F6D; /* darker for hover/active */
  }

  .square-choice {
    width:150px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    user-select: none;
  }

  .square-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--contact-color);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    margin: 0;
    outline: none;
    background-color: #fff;
    transition: all 0.2s ease;
  }

  /* Hover effect */
  .square-choice:hover .square-radio {
    border-color: var(--contact-hover);
    box-shadow: 0 0 0 4px rgba(172, 155, 133, 0.15);
  }

  /* Focus (keyboard navigation) */
  .square-radio:focus-visible {
    border-color: var(--contact-hover);
    box-shadow: 0 0 0 4px rgba(172, 155, 133, 0.25);
  }

  /* Checked state */
  .square-radio:checked {
    background-color: var(--contact-color);
    border-color: var(--contact-color);
  }

  /* Inner square when checked */
  .square-radio:checked::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: #fff;
    border-radius: 2px;
  }

 

  .iti {
    width: 100%;     
  }


.slide-in-logo2 {
  position: absolute !important;
  bottom: 30px !important;
  left: 20px !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 3s; /* fallback if you want smooth fade */
}

.slide-in-logo2.active {
  animation: fadeOnwards 3s forwards;
}

.slide-in-logo2 img {
  max-width: 120px;
  height: auto;
  display: block;  /* prevents inline alignment issues */
}

  @media (max-width: 767px) {

    .slide-in-logo2 {
      position: absolute !important;  /* escape bootstrap flex alignment */
      bottom: 25px !important;           /* force at the bottom */
      left: 12px !important;             /* force at the left */
      transform: none !important;     /* reset any centering transforms */
      margin: 0 !important;           /* remove flexbox margining */
      z-index: 10;                    /* stay behind all other content */
      transition: opacity 1s ease, transform 1s ease;
      opacity: 0;
      pointer-events: none;
    }

    .slide-in-logo2 img {
      max-width: 80px;
      height: auto;
      display: block;  /* prevents inline alignment issues */
    }
  }

.copyright{
  margin-top: 80px;
}

@media (max-width: 767px) {
  .copyright{
    margin-top: 40px;
    margin-bottom: 60px;
  }
  }


.center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Base legend style */
.legend-box {
  background: #fcfcfc;
  padding: 5px 7px;
  font-size: 0.9rem;
  text-align: left;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}
.legend-item:last-child {
  margin-bottom: 0;
}

.legend-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

/* Colors */
.circle1 { background-color: #050505; } /* red */
.circle2 { background-color: #5da341; } /* blue */
.circle3 { background-color: #555250; } /* green */
.circle4 { background-color: #a48367; } /* orange */

/* Mobile overlay legend */
@media (max-width: 767px) {
  .legend-box {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}

/* Desktop: legend floats to the right of image */
@media (min-width: 768px) {
  .legend-desktop {
    position: absolute;
    top: 20%;
    left: 100%;
    transform: translateY(-50%);
    margin-left: 20px;
  }
}

@media (max-width: 767px) { /* Adjust breakpoint as needed */
  .side_img {
    content: url("images/main.webp");
  }
  .side_img_cont{
    max-height: 30vh;
  }
}
