 * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    border: none;
    outline: none;
    box-sizing: border-box;
    list-style: none;
  }

  *,
*::before,
*::after {
  box-sizing: border-box;
}


  /* * {
    outline: 1px solid red; 
  } */
  

 body {
    margin: 0;
    font-family: 'Libre Baskerville', serif !important;
    background-color: var(--g);
    /* height: 500vh; */
    /* font-family: "Big Shoulders Display", sans-serif; Added fallback font */
        scroll-behavior: smooth;
        /* height: 700vh; */
    overflow-x: hidden;
    background-color: var(--w);
  font-family: 'Libre Baskerville', serif !important;
  width: 100vw;
  }
/* 
  html{
    overflow-x: hidden;
  } */
  

h1 {
  font-family: 'Great Vibes', cursive !important;
}

h2,h3,h4,h5,h6{
  text-transform: uppercase;
}


:root {

    --b: #31251b;
    --w: #f9f5f0;
    --g: #c7b693;
}

  
  
  @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

  .container{
    width: 100%;
    overflow-x: hidden;
}
.navbar {
    z-index: 1; /* Keep the navbar above the filter */
    pointer-events: auto; /* Default */
}

.main-content {
    pointer-events: none; /* Only if necessary, for content that shouldn't interfere */
}
  
  
  
  .centered-nav {
      background-color: var(--w);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      padding: 10px 20px;
      position: sticky;
      top: 0;
      z-index: 1000;
      transition: background-color 0.3s ease, transform 0.3s ease;
      width: 100%;
  }

  .custom-navbar {
    background-color: var(--w);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.custom-navbar-top {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--w);
    z-index: 1000;
    position: relative; 
}

.custom-logo {
    width: 30px;
    height: 30px;
    position: absolute;
    left: -15px; 
}

.custom-brand {
    font-size: 24px;
    text-transform: uppercase;
    color: var(--b);
    letter-spacing: 5px;
}

.custom-phone-icon {
    font-size: 20px;
    color: var(--b);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.custom-phone-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    border: 2px solid var(--b);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, border 0.3s ease;
}

.custom-phone-icon:hover {
    color: var(--g);
}

.custom-phone-icon:hover::after {
    width: 35px;
    height: 35px;
    border: 2px solid var(--g);
}

.custom-navbar-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-nav-links {
    text-transform: uppercase;
    display: flex;
    list-style: none;
    gap: 150px;
    padding: 0;
    margin: 0;
}

.custom-nav-links li {
    position: relative; /* Keep the position relative for all the list items */
}

.custom-nav-links a {
    text-decoration: none;
    color: var(--b); /* Base text color */
    font-size: 16px;
    font-weight: 500;
    position: relative; /* Needed for the pseudo-element positioning */
    transition: color 0.3s ease; /* Smooth color transition */
}

.custom-nav-links a::after {
    content: ""; /* Empty content for the line */
    position: absolute;
    left: 0;
    bottom: -2px; /* Position the line just below the text */
    width: 0; /* Initially, the line has no width */
    height: 2px; /* Thickness of the line */
    background-color: var(--g); /* Color of the line */
    transition: width 0.3s ease; /* Smooth transition for the line */
}

.custom-nav-links a:hover {
    color: var(--g); /* Change text color on hover */
}

.custom-nav-links a:hover::after {
    width: 100%; /* Expand the line to full width on hover */
}

.custom-cart-icon {
    font-size: 20px;
    color: var(--b);
    text-decoration: none;
    margin-left: 170px;
    position: relative; /* Needed for the pseudo-element positioning */
    transition: color 0.3s ease; /* Smooth color transition */
  
}

/* Create the circle animation */
.custom-cart-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px; /* Initially, a small dot */
    height: 4px; /* Initially, a small dot */
    border-radius: 50%; /* Make it a circle */
    border: 2px solid var(--b); /* Border color for the circle */
    transform: translate(-50%, -50%); /* Center the circle */
    transition: width 0.6s ease, height 0.6s ease; /* Smooth transition for the circle growth */
}

/* Change color on hover */
.custom-cart-icon:hover {
    color: var(--g); /* Change text color on hover */
    text-decoration: none;  /* Remove underline from the link */
}

/* Circle grows on hover */
.custom-cart-icon:hover::after {
    width: 35px; /* Expand the width */
    height: 35px; /* Expand the height */
    border: 2px solid var(--g); /* Border color for the circle */
    text-decoration: none;  /* Remove underline from the link */
}


.custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 500vh;
    background-color: var(--w);
    display: none;
    z-index: 999;
}


.custom-overlay.active {
    display: block;
}

.custom-navbar.active {
    transform: translateY(0);
}

[data-header].header-hide {
    transform: translateY(-100%);
}

[data-header].active {
    background-color: var(--w);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.custom-phone-icon {
margin-right: 20px;
}

.custom-logo {
    margin-left: 22px;
    }



    @media(max-width: 1100px){
      .custom-nav-links {
        gap: 100px;
      }
    }



    .custom-logos-marquee {
        z-index: 1000;
        background-color: var(--g);
        /* margin-top: 20px; */
      
        /* height: 15vh; */
        display: flex;
        overflow-x: hidden;
        user-select: none;
        mask-image: linear-gradient(
            to right,
            hsl(0 0% 0% / 0),
            hsl(0 0% 0% / 1) 20%,
            hsl(0 0% 0% / 1) 80%,
            hsl(0 0% 0% / 0)
        );
    }
    
    .custom-marquee-logos {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 0.5rem;
        min-width: 100%;
        animation: custom-marquee-left 20s linear infinite;
    }
    
    .custom-marquee-logos img {
        display: block;
        margin-inline: 2rem;
    }
    
    @keyframes custom-marquee-left {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(-100%);
        }
    }
    
    .custom-logo-marquee {
        z-index: 1000;
        /* height: vh; */
        display: flex;
        overflow-x: hidden;
        user-select: none;
        mask-image: linear-gradient(
            to right,
            hsl(0 0% 0% / 0),
            hsl(0 0% 0% / 1) 20%,
            hsl(0 0% 0% / 1) 80%,
            hsl(0 0% 0% / 0)
        );
    }
    
    .custom-marquee-logo {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 1rem;
        min-width: 100%;
        animation: custom-marquee-right 20s linear infinite;
    }
    
    @keyframes custom-marquee-right {
        from {
            transform: translateX(-100%);
        }
        to {
            transform: translateX(0);
        }
    }
    
    .custom-text {
        font-size: 15px; /* Base font size */
        transform: scaleX(1); /* Stretch horizontally */
        white-space: nowrap; /* Prevent wrapping */
    }
    
    
    
    
.sidebar{
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.sidebar li{
  width: 100%;
}
.sidebar a{
  width: 100%;
}
.menu-button{
  display: none;
}


nav{
  background-color: white;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}

@media(max-width: 990px){
    .hideOnMobile{
      display: none;
    }
    .menu-button{
      display: block;
    }
   
  }
  @media(max-width: 400px){
    .sidebar{
      width: 100%;
    }
  }



  



  /* Hide the menu button and cart icon when the sidebar is open */
body.sidebar-open .menu-button,
body.sidebar-open .custom-cart-icon {
    display: none;
}


/* List items in the sidebar */
.sidebar li {
    padding: 10px 20px; /* Padding for each item */
    /* border-bottom: 1px solid #444; Optional: Add a light border between items */
    margin-bottom: 10px; /* Gap between list items */
}

/* Sidebar links */
.sidebar li a {
    text-decoration: none; /* Remove underline */
    color: var(--b); /* White text color for links */
    font-size: 18px; /* Font size for the links */
    display: block; /* Make the link fill the full width of the list item */
}

/* Hover effect on the list items */
.sidebar li:hover {
    background-color: var(--g); /* Light background color on hover */
}

/* Optional: Hover effect for the links */
.sidebar li a:hover {
    color: var(--w); /* Lighter text color on hover */
}














.carousel-item {
  position: relative;
  overflow-y: hidden;
  overflow-x: hidden;
  min-height: 600px; /* Ensure enough space for image and text */
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2; /* Ensure text is above the image and boxes */
  color: var(--w);
}

.carousel-caption h5 {
  letter-spacing: 5px;
  font-size: 37px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--b);
}

.carousel-caption h1 {
  font-size: 100px;
  margin: 20px 0;
  color: var(--b);
}

.carousel-caption .btn {
  background-color: var(--b);
  color: var(--w);
  text-transform: uppercase;
  padding: 15px 40px;
  font-size: 14px;
  border: none;
  border-radius: 1px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  margin-top: 20px;
  text-decoration: none;
}

/* Boxes below the carousel */
.carousel-content {
  display: flex;
  justify-content: space-between;
  /* margin-top: 50px; Adds spacing between the carousel and boxes */
  width: 100%;
  position: relative; /* Positioned below everything in the carousel */
  z-index: 0; /* Ensure the boxes are below the image and text */
}

.boxy {
  top: 0;
  width: calc(50% - 50px); /* Each box takes 50% of the width minus half the gap */
  /* margin-right: 50px; Space between the two boxes */
  background-color: #fff; /* Optional for visibility */

}

.boxy:last-child {
  margin-right: 0; /* Remove margin from the last box */
}

.box-image {
  background-size: cover;
  background-position: center;
  height: 250px; /* Adjust height as needed */
}




/* Boxes below the carousel */
.carousel-content {
  display: flex;
  justify-content: space-between;
  /* gap: 100px; Ensures consistent spacing between the boxes */
  width: 100%;
  height: 100%; /* Make the boxes fill the full height of the container */
  position: relative; /* Positioned below everything in the carousel */
  z-index: 0; /* Ensure the boxes are below the image and text */
}

/* Boxes */
.boxy {
  /* flex: 1; Make each box take up an equal portion of available space */
  background-color: #fff; /* Optional for visibility */
  height: 100%; /* Ensure full height of the container */
  position: relative;
  
}

.box-image {
  background-size: cover;
  background-position: center;
  height: 100%; /* Image covers the full height of the box */
  width: 100%; /* Image covers the full width of the box */
}

.box-text {
  position: absolute; /* Keep the text positioned inside the box */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2; /* Ensure text is above the image */
  color: var(--b);
}

/* Hide boxes on screens smaller than 1000px */
@media (max-width: 1000px) {
  .carousel-content {
      display: none; /* Hide the boxes */
  }
}


/* Large screen styles */
@media (min-width: 1001px) {
  .carousel-item picture img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1; /* Ensure the image is behind the text but above the boxes */
  }

  .carousel-caption {
      z-index: 2; /* Ensure the text is above everything else */
  }

  .carousel-content {
      z-index: 0; /* Keep the boxes beneath everything */
  }
}

.carousel-caption .btn:hover {
    transform: scale(1.2); /* Make the button slightly bigger on hover */
    background-color: var(--g); /* Change the background color on hover */
    text-decoration: none;
}

/* Style for the previous and next arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--b); /* Brown color */
    border-radius: 50%; /* Optional: Make the arrow container circular */
    width: 50px; /* Adjust the width */
    height: 50px; /* Adjust the height */
    background-size: 50%; /* Scale down the arrow icon */
}

/* Hover effect for arrows */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--g); /* Light brown on hover */
    transform: scale(1.1); /* Slightly enlarge the arrow on hover */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

/* Optional: Center-align the arrows better */
.carousel-control-prev,
.carousel-control-next {
    top: 50%; /* Center align vertically */
    transform: translateY(-50%);
}



@media (max-width: 1190px) {
  .carousel-caption h1 {
    font-size: 90px;
}
.carousel-caption h5 {
  font-size: 30px;
}

.carousel-caption {

  top: 50%;
  left: 50%;
}


.carousel-caption .btn {
  margin-top: 1px; /* Add space above the button */
  margin-bottom: 70px;
}
}

/* Styles par défaut */
.desktop-img {
  display: block; /* Visible sur desktop */
}
.mobile-img {
  display: none; /* Caché par défaut */
}

/* Styles pour les écrans <= 1000px */
@media (max-width: 1000px) {
  .desktop-img {
    display: none !important; /* Force la règle */
  }
  .mobile-img {
    display: block !important; /* Force la règle */
  }
}

/* HNA ///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
?////////////////////////////////////hna ah~ */
@media (max-width: 1000px) {
  .carousel-caption h1 {
    font-size: 100px;
    /* white-space: nowrap; Force le texte à rester sur une seule ligne */
    overflow: visible; /* Assure que le texte n'est pas coupé */
    text-overflow: unset; /* Supprime les ellipses "..." */
}

.carousel-caption h5 {
    font-size: 30px;
    /* white-space: nowrap; Force le texte à rester sur une seule ligne */
    overflow: visible;
    text-overflow: unset;
}

  .carousel-caption {
    top: 50%;
    left: 50%;
  }
  
  .carousel-inner img {
    height: 800px;
    object-fit: cover;
  }
}
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10; /* Ajoute un z-index pour que le texte soit visible par-dessus les images */
  visibility: visible; /* Assure que le texte est visible */
  opacity: 1; /* S'assure qu'il n'y a pas de problème avec l'opacité */
}


@media (max-width: 768px) {
  .carousel-caption {
      display: block !important; /* Force l'affichage */
      visibility: visible !important; /* Force la visibilité */
      opacity: 1 !important; /* Assure que l'opacité est correcte */
  }

  .carousel-caption h1 {
      font-size: 60px;
  }

  .carousel-caption h5 {
      font-size: 25px;
  }
}



@media (max-width: 500px) {
  .carousel-caption {
      display: block !important; /* Force l'affichage */
      visibility: visible !important; /* Force la visibilité */
      opacity: 1 !important; /* Assure que l'opacité est correcte */
  }

  .carousel-caption h1 {
      font-size: 45px;
  }

  .carousel-caption h5 {
      font-size: 15px;
      /* margin-left: 25px; */
  }

  .carousel-caption .btn {
    white-space: nowrap; 
    overflow: visible; 
    text-overflow: unset; 
}

  .carousel-caption .btn {
    font-size: 10px; 
}


}



.categ {
  overflow-x: hidden;
  overflow-y: hidden;
    position: relative; /* Ensure the falling leaves are within this container */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between boxes */
    padding: 20px;
    background-color: var(--b);
    /* height: 60vh; */
    background-image: url('./elmnts/elmnt.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom; /* Keep background at the bottom */
}

.categ-box {
    position: relative;
    width: 350px;
    height: 200px;
    overflow: hidden;
    text-align: center;
    margin-top: -120px;
    opacity: 0; /* Initially hidden */
    transform: translateY(50px); /* Start with a slight downward movement */
    transition: opacity 1s ease, transform 1s ease; /* Add movement */
    z-index: 1000;
    margin-top: 20px;
    margin-bottom: 135px;
}

/* This class will be added when the box comes into view */
.categ-box.show {
    opacity: 1; /* Make the box visible */
    transform: translateY(0); /* Move box to its original position */
}

/* Style for title and button remains the same */
.categ-content h3 {
    font-size: 22px;
    font-weight: 600;
}

.categ-content button {
    font-size: 14px;
    padding: 10px 20px;
    text-transform: uppercase;
    background-color: #333; /* Set default button color */
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Optional hover effect for buttons */
.categ-content button:hover {
    background-color: #555; /* Darker on hover */
    transform: scale(1.1); /* Slightly enlarge the button on hover */
}

/* Ensure images fill the box, covering it */
.categ-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the box */
    display: block;
    transition: transform 0.3s ease; /* Smooth transition for zoom */
}

/* Zoom effect on hover for the image */
.categ-box:hover img {
    transform: scale(1.1); /* Zoom in on the image when the box is hovered */
}

/* Content inside the box, positioned towards the center */
.categ-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the content both vertically and horizontally */
    z-index: 2; /* Ensures content is above the image */
    color: white; /* Text color */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* Adds readability on bright images */
}

/* Style for the title inside the box */
.categ-content h3 {
    margin: 0 0 1px;
    font-size: 20px;
    white-space: nowrap; /* Prevent text from wrapping to the next line */
    overflow: hidden; /* Ensure no overflow */
    text-overflow: ellipsis; /* Optionally, add "..." if the text is too long */
}

/* Style for the button */
.categ-content button {
    background-color: var(--g); /* Set background color */
    color: var(--w); /* Set text color to white */
    text-transform: uppercase; /* Make text uppercase */
    padding: 10px 20px; /* Increase padding */
    font-size: 12px; /* Adjust font size */
    border: none; /* Remove default border */
    border-radius: 1px; /* Rounded corners */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition for hover */
    margin-top: 20px; /* Add space above the button */
}

.categ-content button:hover {
    transform: scale(1.2); /* Slightly enlarge the button on hover */
    background-color: var(--b); /* Change background color on hover */
}

/* Removed the dark overlay effect */
.custom-navbar {
    z-index: 9999;  /* Ensure navbar is on top */
}

.categ {
    z-index: 1;  /* Make sure it's not covering the navbar */
}

.categ-box {
    position: relative; /* Ensure elements are positioned within the layout flow */
}
.categ-box::before {
  content: ""; /* Create an empty pseudo-element */
  position: absolute; /* Position it relative to the box */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--g); /* Use var(--g) for the background */
  opacity: 0.5; /* Set opacity to 0.5 */
  z-index: 1; /* Place it behind the content but above the image */
  pointer-events: none; /* Ensure it doesn't block interactions */
}
.categ-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 100px 0 0 0; /* Apply border radius to the top-left corner */
}



/* 
@media (max-width: 1200px) {
  .categ {
    height: 40vh;
  }
} */
@media (max-width: 1040px) {
  .categ-box {
    width: 100%; /* Optional: Limit maximum width */
    height: 300px
  }
}

@media (max-width: 760px) {
  .categ {
      /* flex-direction: column; Stack items vertically */
      gap: 20px; /* Adjust space between boxes */
      /* height: 70vh; Adjust height for stacked layout */
 
  }

  .categ-box {
      margin-top: 0; /* Reset margin for stacked layout */
      width: 100%; /* Make boxes responsive to fit the container width */
      width: 250px; /* Optional: Limit maximum width */
      height: 300px; /* Let height adjust based on content */
      transform: none; /* Remove downward movement for simplicity */
      /* margin-bottom: 50px; */

  }

  .categ-content h3 {
      font-size: 18px; /* Adjust font size for smaller screens */
  }

  .categ-content button {
      font-size: 12px; /* Adjust button font size */
      padding: 8px 16px; /* Adjust button padding */
  }
}



@media (max-width: 600px) {
  .categ {
      flex-direction: column; 
      gap: 0; /* Adjust space between boxes */
      /* height: 100vh; Adjust height for stacked layout */
      background-size: contain;
  }

  .categ-box {
      margin-bottom: 20px; 
      width: 100%; /* Make boxes responsive to fit the container width */
      width: 380px; /* Optional: Limit maximum width */
      height: 200px; /* Let height adjust based on content */
      transform: none; /* Remove downward movement for simplicity */
   margin-bottom: 32px;
  }

  .categ-content h3 {
      font-size: 18px; /* Adjust font size for smaller screens */
  }

  .categ-content button {
      font-size: 12px; /* Adjust button font size */
      padding: 8px 16px; /* Adjust button padding */
  }
}




@media (max-width: 400px) {

  .categ-box {
      margin-top: 0; 
      width: 95%; 
      height: 150px; 
      transform: none; 
  }
}






.collection {
  overflow-x: hidden;
  overflow-y: hidden;
    /* height: 100%; */
    text-align: center;
    padding: 40px 20px;
    background-color: var(--w); /* Adjust background color */
    background-image: url('./elmnts/new.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom; /* Keep background at the bottom */
}

.collection-title {
    font-size: 4rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: var(--b);
    letter-spacing: 5px;
}

.collection-container {
  overflow-x: hidden;
  overflow-y: hidden;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* Ensures responsiveness for smaller screens */
}

.collection-item {
    text-align: center; /* Ensure the text is centered below each box */
    margin-bottom: 30px; /* Add some space between each item */
}

.collection-box {
  overflow-x: hidden;
  overflow-y: hidden;
    width: 250px; /* Adjust width */
    height: 300px; /* Adjust height */
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 1px;
    overflow: hidden;
    background-color: #fff;
    position: relative; /* To position the overlay text inside the box */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Zoom effect on hover for the image */
.collection-box:hover img {
    transform: scale(1.1); /* Zoom in on the image when the box is hovered */
    transition: transform 0.3s ease; /* Smooth transition for zoom */
}

.collection-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Initially hide the overlay text */
.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(199, 182, 147, 1) 0%, rgba(199, 182, 147, 0) 100%); /* Darker shadow with color #c7b693 */
    color: #fff;
    padding: 10px;
    text-align: center;
    transform: translateY(100%); /* Initially hide it */
    transition: transform 0.3s ease; /* Smooth transition */
    font-size: 1.2rem; /* Adjust the font size */
}

/* On hover, make the overlay text visible */
.collection-box:hover .overlay-text {
    transform: translateY(0); /* Slide it up */
}

/* Styling for the collection items (text below each box) */
.collection-item h6 {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #31251b;
}

.collection-item p {
    font-size: 1rem;
    color: var(--b);
    margin: 5px 0 10px;
}

.voir-plus-container {
  text-align: center;
  margin-top: 20px; /* Add space above */
}

.voir-plus-btn {
  background-color: var(--b); /* Same background color as collection-btn */
  color: var(--w); /* Set the text color to white */
  text-transform: uppercase; /* Uppercase text */
  padding: 15px 40px; /* Adjust padding */
  font-size: 14px; /* Font size */
  border: none; /* No border */
  border-radius: 1px; /* Rounded corners */
  transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition for hover effect */
  /* margin-top: 20px; Space above the button */
}

.voir-plus-btn:hover {
  background-color: var(--g); /* Darker shade for hover */
  transform: scale(1.2); /* Grow the button on hover */
}


/* Initially hide the collection boxes */
.collection-box {
    opacity: 0;
    transform: translateY(50px); /* Start from below */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* When the box comes into view, make it visible and move it up */
.collection-box.show {
    opacity: 1;
    transform: translateY(0); /* Move to its original position */
}



@media(max-width: 1160px){

  .collection-box {
      width: 220px; /* Adjust width */
      height: 300px; /* Adjust height */
  }
}


@media (max-width: 1040px) {
  .collection {
    background-size: contain; /* Réduit la taille de l'image */
    background-position: center; /* Centre l'image */
    background-position: top;
}
  .collection-box {
      width: 400px; /* Adjust width */
      height: 480px; /* Adjust height */
  }
}

@media (max-width: 880px) {
    .collection {
    background-size: contain; /* Réduit la taille de l'image */
    background-position: center; /* Centre l'image */
    background-position: top;
}
  .collection-box {
    width: 300px; /* Adjust width */
    height: 380px; /* Adjust height */
}
}

@media (max-width: 680px) {
 

  .collection-title {
    font-size: 2.5rem;
  }
  .collection {
    background-size: contain; /* Réduit la taille de l'image */
    background-position: center; /* Centre l'image */
}

  .collection-box {
    width: 200px; /* Adjust width */
    height: 280px; /* Adjust height */
}
}

/* Default layout (grid for larger screens) */
.default-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}



/* Carousel layout (slider for smaller screens) */
.hidden-layout {
  display: none;
}

/* Custom carousel styles */
.custom-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
}

.custom-carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 200px;
  height: auto;
  text-align: center;
  margin: 0 auto;
}

.carousel-wrapper {
  display: flex;
  justify-content: start;
  gap: 10px;
  overflow-x: scroll;
}

/* Media query for smaller screens */
@media (max-width: 680px) {
  .default-layout {
      display: none; /* Hide grid layout */
  }

  .hidden-layout {
      display: block; /* Show slider layout */
  }
}


/* Cacher le carrousel sur les écrans plus larges */
.hidden-layout {
  display: none;
}

/* Montrer le carrousel uniquement sur les écrans de 480px ou moins */
@media (max-width: 680px) {
  .hidden-layout {
      display: block;
  }

  .default-layout {
      display: none; /* Masquer la grille sur les petits écrans */
  }
}











/* Section Styles */
.section {
  overflow-x: hidden;
  overflow-y: hidden;
  text-align: center;
  padding: 40px 20px;
  background-color: var(--w);
  margin-bottom: 30px;
}

.section h2 {
  font-size: 4.5rem;
  margin-bottom: 60px;
  text-transform: uppercase;
  color: var(--b);
  letter-spacing: 5px;
}

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .about {
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    /* height: 100vh; Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    background-color: var(--b); /* Light background color */
    padding: 20px;
    background-image: url('./elmnts/ka.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top; /* Keep background at the bottom */
    z-index: 10; /* Ensures the about content stays on top of the animation */
    overflow-x: hidden; /* Prevents horizontal scrolling */
    overflow-y: hidden;
  }
  
  .about-title {
    margin-top: 100px;
    text-align: center;
    z-index: 100;
  }
  
  .about-title h1 {
    font-size: 6rem;
    color: var(--w); /* Adjust color as needed */
    letter-spacing: 3px;
    z-index: 100;
  }
  
  .about-content {
    margin-top: 60px;
    margin-bottom: 130px;
    overflow-x: hidden;
    overflow-y: hidden;
    max-width: 800px; /* Max width of content block */
    text-align: center;
    font-size: 1.2rem;
    color: var(--w); /* Adjust color as needed */
    line-height: 1.6;
    padding: 0 20px; /* Padding for some space around the text */
  }
  
  .about-content p {
    font-size: 1em;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.8; /* Adjust this value to control the spacing between lines */
  }


  @media (max-width: 1200px) {
.about{
  background-size: contain;
}
  }

  @media (max-width: 400px) {
    .about-title h1 {
      font-size: 4rem;
    }
    .about-content p {
      font-size: 0.8em;
    }
      }



  
  /* Falling Leaves Animation */
  .falling-leaves {
    overflow-x: hidden;
    overflow-y: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevent interference with other content */
    z-index: 1; /* Place the animation behind the content */
  }
  
  .falling-leaves .set {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  
  .falling-leaves .set div {
    position: absolute;
    display: block;
    width: 20px; /* Larger size for balls */
    height: 20px;
    background-color: var(--w); /* Ball color */
    border-radius: 50%;
    z-index: -1;
  }
  
  .falling-leaves .set div:nth-child(1) {
    left: 20%;
    animation: animateBalls 15s linear infinite;
    animation-delay: -7s;
  }
  
  .falling-leaves .set div:nth-child(2) {
    left: 50%;
    animation: animateBalls 20s linear infinite;
    animation-delay: -5s;
  }
  
  .falling-leaves .set div:nth-child(3) {
    left: 70%;
    animation: animateBalls 20s linear infinite;
    animation-delay: 0s;
  }
  
  .falling-leaves .set div:nth-child(4) {
    left: 0%;
    animation: animateBalls 15s linear infinite;
    animation-delay: -5s;
  }
  
  .falling-leaves .set div:nth-child(5) {
    left: 85%;
    animation: animateBalls 18s linear infinite;
    animation-delay: -10s;
  }
  
  .falling-leaves .set div:nth-child(6) {
    left: 20%;
    animation: animateBalls 15s linear infinite;
    animation-delay: -7s;
  }
  
  .falling-leaves .set div:nth-child(7) {
    left: 0%;
    animation: animateBalls 12s linear infinite;
  }
  
  .falling-leaves .set div:nth-child(8) {
    left: 60%;
    animation: animateBalls 15s linear infinite;
  }
  
  .falling-leaves .set2 {
    transform: scale(2) rotateY(180deg);
    filter: blur(2px);
  }
  
  .falling-leaves .set3 {
    transform: scale(0.8) rotateX(180deg);
    filter: blur(4px);
  }
  
  @keyframes animateBalls {
    0% {
      opacity: 0;
      top: -20%;
      left: calc(20% + (random() * 30%));
      transform: scale(0.8) rotate(0deg);
    }
    10% {
      opacity: 1;
    }
    20% {
      top: 30%;
      transform: scale(1) rotate(45deg);
    }
    40% {
      top: 50%;
      transform: scale(1.2) rotate(90deg);
    }
    60% {
      top: 70%;
      transform: scale(1) rotate(180deg);
    }
    80% {
      top: 90%;
      transform: scale(1) rotate(270deg);
    }
    100% {
      top: 100%;
      left: calc(50% + (random() * 20%));
      transform: scale(0.8) rotate(360deg);
      opacity: 0;
    }
  }
  





.footer {
  
    position: relative;
    width: 100%;
    background: var(--w);
    min-height: 50px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
 
  
  .wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("./elmnts/wave.png");
    background-size: 1000px 100px;
  }
  
  .wave#wave1 {
    z-index: 1000;
    opacity: 1;
    bottom: 0;
    animation: animateWaves 6s linear infinite;
  }
  
  .wave#wave2 {
    z-index: 999;
    opacity: 0.5;
    bottom: 10px;
    animation: animate 6s linear infinite !important;
  }
  
  .wave#wave3 {
    z-index: 1000;
    opacity: 0.2;
    bottom: 15px;
    animation: animateWaves 5s linear infinite;
  }
  
  .wave#wave4 {
    z-index: 999;
    opacity: 0.7;
    bottom: 20px;
    animation: animate 5s linear infinite;
  }
  
  @keyframes animateWaves {
    0% {
      background-position-x: 1000px;
    }
    100% {
      background-positon-x: 0px;
    }
  }
  
  @keyframes animate {
    0% {
      background-position-x: -1000px;
    }
    100% {
      background-positon-x: 0px;
    }
  }









  
footer {

  right: 0;
  bottom: 0;
  left: 0;
}

.footer-custom {
  padding: 20px 0;
  background-color: var(--w);
  
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;

  padding: 0 15px;
}

.footer-section {
  display: grid;
  grid-template-columns: 1fr;
  
}

.footer-content {
  padding: 0 10px;
  
}

.footer-about {
  margin-bottom: 1rem;
}

.footer-logo img {
  margin-bottom: 10px;
  height: 75px;
}

.social-item {
  display: inline-block;
}

.social-item:not(:last-child) {
  margin-right: .5rem;
}

.social-item a {
  width: 50px;
  height: 50px;
  color: var(--b);
  border-radius: 100%;
  font-size: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: var(--g); */
  color: var(--b);
  text-decoration: none;
  position: relative; /* Needed for the pseudo-element positioning */
  transition: color 0.3s ease; /* Smooth color transition */
}

.social-item a:hover {
  color: var(--g); /* Change text color on hover */
  text-decoration: none;  /* Remove underline from the link */
}

/* Create the circle animation */
.social-item a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px; /* Initially, a small dot */
  height: 30px; /* Initially, a small dot */
  border-radius: 50%; /* Make it a circle */
  border: 2px solid var(--b); /* Border color for the circle */
  transform: translate(-50%, -50%); /* Center the circle */
  transition: width 0.6s ease, height 0.6s ease; /* Smooth transition for the circle growth */
}


.social-item a:hover::after {
  width: 60px; /* Expand the width */
  height: 60px; /* Expand the height */
  border: 2px solid var(--g); /* Border color for the circle */
  text-decoration: none;  /* Remove underline from the link */
}





.footer-contact li i {
  color: var(--g); /* Icon color */
}

.footer-contact li span {
  color: var(--b); /* Text color */
}

.footer-about p { color: var(--b); /* Text color for the paragraph */ }





footer h4 {
  position: relative;
  line-height: 1;
  padding-bottom: 20px;
  font-size: 24px;
  margin: 1rem 0 1.615rem 0;
  color: var(--g);
}

.footer-content h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background-color: var(--g);
}

/* Styles pour les liens */
.footer-nav li a {
  color: var(--b);
  line-height: 2rem;
  font-size: 18px;
  text-decoration: none;
  font-weight: 500;
  position: relative; /* Nécessaire pour l'animation */
  transition: color 0.3s ease; /* Transition de couleur douce */
}

/* L'animation du survol */
.footer-nav li a::after {
  content: ""; /* Contenu vide pour la ligne */
  position: absolute;
  left: 0;
  bottom: -2px; /* Placer la ligne juste sous le texte */
  width: 0; /* La ligne commence avec une largeur de 0 */
  height: 2px; /* Épaisseur de la ligne */
  background-color: var(--g); /* Couleur de la ligne */
  transition: width 0.3s ease; /* Transition douce pour l'extension de la ligne */
}

/* L'animation au survol */
.footer-nav li a:hover {
  color: var(--g); /* Change la couleur du texte au survol */
}

.footer-nav li a:hover::after {
  width: 100%; /* Étend la ligne à toute la largeur au survol */
}


.footer-contact li {
  display: flex;
  align-items: start;
  line-height: 2rem;
  font-weight: 400;
}

.footer-contact li i {
  margin-top: 5px;
  font-size: 24px;
  color: var(--b);
  margin-right: 10px;
}

.footer-contact li span {
  font-size: 18px;
}

.footer-copyright {
  background-color: var(--g);
}

.copyright {
  padding: 0.3rem 0;
  text-align: center;
}

/* Responsive Layout */

@media (min-width:992px) {

  .footer-section {
      grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}






