/* Dégradé synchronisé pour le body et le navbar */
  html {
  scroll-behavior: smooth;
}


    body, .navbar, .navbar-menu {
      background: linear-gradient(135deg, #fdf6e3, #f7c59f, #e68a7d, #bc5a45);
      background-size: 400% 400%;
      animation: gradientFlow 15s ease infinite;
      color: #333;
      font-family: 'Segoe UI', sans-serif;
      margin: 0;
    }

    body {
      min-height: 100vh;
      position: relative;
      overflow-x: hidden;
    }

    /* Animation du dégradé */
    @keyframes gradientFlow {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* Style du navbar */
    .navbar {
      border-bottom: none;
    }

    /* Style des liens dans le navbar */
    .navbar-item {
      color: #333;
      transition: background-color 0.3s ease;
    }

    .navbar-item:hover {
      background-color: white;
      color: #d98324;
    }

    /* Style du menu burger */
    .navbar-burger {
      color: white;
      height: auto;
    }

    .navbar-burger:hover {
      background-color: white;
    }

    .navbar-burger span {
      background-color: white;
      height: 2px;
    }

    /* Style du menu déroulant */
    .navbar-menu {
      background: transparent;
    }

    /* Style des liens dans le menu déroulant */
    .navbar-menu .navbar-item {
      color: #333;
    }

    .navbar-menu .navbar-item:hover {
      background-color: white;
      color: #d98324;
    }

    /* Texture toile/pinceau en pseudo-élément */
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('https://www.transparenttextures.com/patterns/linen.png');
      opacity: 0.2;
      z-index: -1;
    }

    /* Styles pour le contenu du logo et autres éléments */
    .hero-image {
      position: relative;
      height: calc(100vh - 3.25rem);
      z-index: 1;
      overflow: hidden;
    }

    .hero-image::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('https://images.unsplash.com/photo-1560185898-6c9cf5f8f98d?auto=format&fit=crop&w=1950&q=80');
      background-size: cover;
      background-position: center;
      filter: blur(4px);
      z-index: 1;
    }

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      z-index: 2;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      padding: 1rem;
      text-align: center;
    }

    .logo-container {
      color: white;
      z-index: 3;
      max-width: 90%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .logo {
      width: 90%;
      max-width: 400px;
      height: auto;
      opacity: 0.95;
      margin: 0 auto 0.5rem auto;
      text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    }

    .logo-text {
      color: black;
      font-size: 1.5rem;
      margin-top: 0.5rem;
    }

    .animate-logo {
      animation: fadeZoomIn 1.2s ease-out forwards;
      opacity: 0;
      transform: scale(0.8);
    }

    @keyframes fadeZoomIn {
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .hero-button {
      display: inline-block;
      margin-top: 2rem;
      padding: 0.75rem 1.5rem;
      background-color: #d98324;
      color: white;
      font-weight: bold;
      border-radius: 8px;
      text-decoration: none;
      transition: background-color 0.3s ease;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .hero-button:hover {
      background-color: #b96b1d;
    }

    /* Cards Section */
    .cards-section {
      background-color: rgba(255, 255, 255, 0.9);
      padding: 40px 20px;
      margin: 20px 0;
      border-radius: 8px;
      text-align: center;
    }

    .section-title {
      margin-bottom: 30px;
      font-size: 2rem;
      color: #333;
    }

    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      width: 100%;
    }

    .card {
      display: flex;
      background: rgba(255, 255, 255, 0.8);
      border-radius: 8px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      height: 300px;
      opacity: 0;
      transform: scale(0.95);
      transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .card.visible {
      opacity: 1;
      transform: scale(1);
    }

    .card-content {
      flex: 1;
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .card-image {
      flex: 3;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Gallery Section */
    .gallery-section {
      background-color: rgba(255, 255, 255, 0.9);
      padding: 40px 20px;
      margin: 20px 0;
      border-radius: 8px;
      text-align: center;
    }

    .gallery-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    .gallery-item {
      position: relative;
      width: 300px;
      height: 200px;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.05);
    }

    .gallery-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 10px;
      transform: translateY(100%);
      transition: transform 0.3s ease;
    }

    .gallery-item:hover .gallery-caption {
      transform: translateY(0);
    }

    @media (max-width: 768px) {
      .cards-grid, .gallery-grid {
        grid-template-columns: 1fr;
      }

      .card, .gallery-item {
        width: 100%;
      }
    }

       /* Styles pour le footer */
    #footer {
      background-color: #333;
      color: #fff;
      padding: 20px;
      font-family: 'Segoe UI', sans-serif;
    }

    .footer-content {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .social-media-icons {
      margin-bottom: 20px;
      display: flex;
      justify-content: center;
      gap: 15px;
    }

    .social-media-icons a {
      color: #fff;
      font-size: 24px;
      transition: color 0.3s ease;
    }

    .social-media-icons a:hover {
      color: #d98324;
    }

    .listitems ul {
      list-style: none;
      padding: 0;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 20px;
    }

    .listitems ul li a {
      color: #fff;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .listitems ul li a:hover {
      color: #d98324;
    }

    .footer-bottom {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid #555;
      margin-top: 20px;
      width: 100%;
    }

    .footer-bottom p {
      margin: 0;
    }

    .designer a{
      color: #d98324;
    }

    @media (max-width: 600px) {
      .social-media-icons {
        flex-direction: column;
        align-items: center;
      }

      .listitems ul {
        flex-direction: column;
        align-items: center;
      }
    }

    /* services rounded */

    .services-section {
      text-align: center;
      padding: 40px 20px;
      background-color: white;
    }

    .section-title {
      color: #d98324;
      font-size: 2.5rem;
      margin-bottom: 40px;
      font-weight: bold;
    }

    .service-item {
      position: relative;
      width: 90%;
      max-width: 300px;
      height: 300px;
      border-radius: 50%;
      overflow: hidden;
      margin: 20px auto;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .service-item h3 {
      color: white;
      background-color: rgba(0, 0, 0, 0.5);
      padding: 20px;
      margin: 0;
      border-radius: 10px;
      font-size: 1.5rem;
      text-align: center;
      width: 80%;
    }

    .service-1 {
      background-image: url('./img/WhatsApp\ Image\ 2025-06-12\ at\ 22.34.07\ \(5\).jpeg');
    }

    .service-2 {
      background-image: url('./img/Enduit.jpg');
    }

    .service-3 {
      background-image: url('./img/Parquet.JPG');
    }

     .service-4 {
      background-image: url('./img/Lisse.JPG');
    }

     .service-5 {
      background-image: url('./img/pexels-photo-2323080.jpeg');
    }

       .service-6 {
      background-image: url('./img/pexels-cottonbro-4612882.jpg');
    }

    @media (max-width: 768px) {
      .service-item {
        width: 250px;
        height: 250px;
      }
    }

    @media (max-width: 480px) {
      .service-item {
        width: 200px;
        height: 200px;
      }

      .service-item h3 {
        font-size: 1.2rem;
        padding: 10px;
      }
    }

    .service-title-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-title-link:hover {
  color: #f5a623; /* Couleur au survol (tu peux adapter) */
  cursor: pointer;
}


    @keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.service-item {
  animation: float 3s ease-in-out infinite;
}

.service-1 { animation-delay: 0s; }
.service-2 { animation-delay: 0.5s; }
.service-3 { animation-delay: 1s; }
.service-4 { animation-delay: 1.5s; }
.service-5 { animation-delay: 2s; }
.service-6 { animation-delay: 2.5s; }


/* Devis et contact */

.contact-devis-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px;
  background-color: #f7f7f7;
  border-top: 2px solid #d98324;
}

.devis-form, .map-container {
  flex: 1 1 400px;
  max-width: 500px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.devis-form h2,
.map-container h2 {
  color: #d98324;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.devis-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.devis-form input,
.devis-form textarea {
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.devis-form button {
  background-color: #d98324;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.devis-form button:hover {
  background-color: #bf6f1f;
}

.google-map iframe {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}



/* Légales section */

.legal-section {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px 20px;
  margin: 20px 0;
  border-radius: 8px;
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.legal-section h1 {
  font-size: 2rem;
  color: #d98324;
  margin-bottom: 30px;
}

.legal-section h2 {
  font-size: 1.3rem;
  color: #333366;
  margin-top: 30px;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 1rem;
  margin: 0 auto 20px;
  max-width: 800px;
}

.legal-section a {
  color: #336699;
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* Responsive layout */
@media (max-width: 768px) {
  .legal-section {
    padding: 30px 15px;
  }

  .legal-section h1 {
    font-size: 1.6rem;
  }

  .legal-section h2 {
    font-size: 1.15rem;
  }

  .legal-section p {
    font-size: 0.95rem;
  }
}
