
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}


body {
    background-color: #f8f9fa;
    color: #441919;
    line-height: 1.6;
    text-align: center;
}

main {
    padding-top: 20px;
    flex: 1;
}


.navbar {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: linear-gradient(to right, rgba(58, 29, 29, 1), rgba(150, 60, 60, 1)); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar .logo2 a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li {
    position: relative;
}

.menu a {
    display: block;
    padding: 12px 18px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

.menu a:hover {
    background: #5c2a2a;
}

.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(to right, rgb(107, 54, 54), rgba(150, 60, 60, 1));
    margin: 0;
    display: none;
    min-width: 180px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.submenu a {
    padding: 12px 15px;
    display: block;
    color: white;
    transition: all 0.3s ease-in-out;
}

.submenu a:hover {
    background: #3a1d1d;
}

.dropdown:hover .submenu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }
  
  .menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    margin: 5px auto;
  }

main img {
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.reseaux img{
  
  width: 5%;
  margin: 0 auto;

}


.title h1{
    color:#441919;
    font-size: 3rem;
}

p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 50px auto;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.card {
    position: relative;
    width: 250px;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: flex;
    background: white;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-left {
    flex: 1;
    position: relative;
}

.slideshow {
    position: relative;
    width: 100%;
}

#modal-img {
    width: 100%;  
    height: 300px; 
    object-fit: cover; 
    border-radius: 10px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}


.modal-right {
    flex: 1;
    padding: 20px;
}

.modal-right h2 {
    margin-bottom: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    color: black;
}

footer {
    background: linear-gradient(to right, rgba(58, 29, 29, 1), rgba(150, 60, 60, 1));
    color: white;
    padding: 10px 0;
    margin-top: 30px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.en-bas footer{
    position: fixed;
}

.banniere {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .banniere img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

.contact-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
h2 {
    color: #441919;
}
.form-group {
    margin-bottom: 15px;
    text-align: left;
}
label {
    font-weight: bold;
    color: #441919;
}
input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.send button {
  position: relative;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, rgba(58, 29, 29, 1), rgba(150, 60, 60, 1)); 
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.send button:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.send button:hover {
  scale: 1.05;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.send button:hover:before {
  opacity: 1;
  top: -10%;
  left: -10%;
  transition: all 1s ease-in-out; 
}


@keyframes shiny-glow {
  0% {
      background-position: -200% 0;
  }
  100% {
      background-position: 200% 0;
  }
}

.send button:hover {
  background: linear-gradient(135deg, rgba(58, 29, 29, 1), rgba(150, 60, 60, 1), rgba(255, 255, 255, 0.3)); 
  background-size: 300% 100%;
  animation: shiny-glow 1.5s ease-out forwards; 
}


.send button span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.send button:hover span {
  color: #f8f8f8;
}


.hidden {
    display: none;
    color: green;
    font-weight: bold;
    margin-top: 10px;
}

.carousel-container {
    position: relative;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    perspective: 1000px; 
  }
  
  .carousel {
    display: flex;
    transition: transform 1s ease-in-out, transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55); 
  }
  
  .carousel-item {
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: none !important; 
    transition: transform 1s ease-in-out;
  }
  
  .carousel-item:hover {
    transform: none !important;
    }
  
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5em; 
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.3s ease, background-color 0.3s ease;
  }
  
  .carousel-btn:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .prev-btn {
    left: 10px; 
  }
  
  .next-btn {
    right: 10px;
  }
  
  .Pomsky p{
    text-align: left;
  }
  
  
.scroll-text {
    opacity: 0; 
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  
  .scroll-text.visible {
    opacity: 1; 
    transform: translateY(0);
  }

  .img-text p{
    padding: 0;
    margin: 0;
  }

  
@media screen and (max-width: 768px) {
    .navbar {
        width: 100%;
        padding: 10px 25px;
    }

    .navbar.scrolled {
        top: 10px;
        width: 95%;
        background: rgba(58, 29, 29, 0.8);
        border-radius: 30px;
        padding: 8px 20px;
    }

    .menu {
        display: none;
        flex-direction: column;
        background: linear-gradient(to right, rgba(58, 29, 29, 1), rgba(150, 60, 60, 1));
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
        padding: 0;
      }

    .menu.active {
        display: flex;
    }

    .menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        color: white;
        text-align: left;
      }

    .menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        position: relative;
      }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
      }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        background: white;
        margin: 5px auto;
      }

    .dropdown > a::after {
        content: " ▼";
        float: right;
        color: white;
      }

    .submenu {
        display: none;
        flex-direction: column;
        background-color: #3a1d1d;
        position: relative; /* au lieu de static/absolute */
        padding: 0;
        margin-top: 5px;
        border-top: 1px solid rgba(255,255,255,0.1);
      }

    .dropdown.active .submenu {
        display: flex;
    }

    .submenu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
      }

    .submenu a {
        padding: 12px 20px;
        color: #fff;
        font-size: 1rem;
    }

    .submenu a:hover {
        background: rgba(255, 255, 255, 0.1);
      }


    .carousel-container {
        width: 90%; 
        margin-bottom: 20px;
    }

    .carousel-btn {
        font-size: 1.2em; 
        padding: 8px;
    }

    p {
        font-size: 1rem; 
        max-width: 90%; 
        margin: 30px auto; 
    }

    .modal-content {
        flex-direction: column;
        width: 90%;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
      }
  
    .modal-right {
      width: 100%;
      padding: 10px;
    }

    .modal-left {
        position: relative;
        z-index: 1;
    }
  
    #modal-img {
      height: auto;
      max-height: 300px;
    }
  
    .modal-right h2 {
      text-align: center;
    }
  
    .modal-right ul {
      padding-left: 20px;
    }

    .close {
        top: 5px;
        right: 10px;
        z-index: 20;
    }

    .banniere img {
        width: 200%;
        max-width: none;
        height: auto;
    }

    .reseaux-grid {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .reseaux-sociaux h2 {
        font-size: 2rem;
    }

    .reseau-card {
      width: 100%;
      flex-direction: row;
      justify-content: flex-start;
      padding: 15px;
    }

}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar.scrolled {
        top: 10px;
        width: 95%;
        background: rgba(58, 29, 29, 0.8);
        border-radius: 30px;
        padding: 8px 20px;
    }

    .carousel-container {
        width: 95%; 
        margin-bottom: 15px;
    }

    .carousel-btn {
        font-size: 1em; 
        padding: 6px;
    }

    p {
        font-size: 0.95rem; 
        margin: 20px auto;
    }

    h1 {
        font-size: 1.5rem;
    }

    .title h1 {
        font-size: 2.5rem; 
    }

    .card {
        width: 200px; 
    }
}


@media screen and (max-width: 600px) {
    .scroll-text {
        font-size: 1rem; 
    }
}
  
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.map {
    padding: 40px 20px;
    text-align: center;
}

.map iframe {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .photoshop img{
    width: 100%;
    max-width: 800px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    animation: slideDown 1s ease-in-out;
    border-radius: 0;
  }

  .reseaux-sociaux {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.reseaux-sociaux h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #441919;
}

.reseaux-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}


.reseau-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.reseau-card {
    background-color: rgba(150, 60, 60, 0.9);
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 12px;
    width: 250px;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 1;
}

.reseau-card img {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.reseau-card span {
    font-size: 1rem;
    font-weight: 500;
    flex: 1;
    word-break: break-word;
    overflow-wrap: anywhere;
}
  