* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
}

.banner {
  background-image: url('https://images.unsplash.com/photo-1612832021143-5d65d4c4c6d1'); /* Remplace par ton image */
  background-size: cover;
  background-position: center;
  height: 400px; /* Hauteur fixe */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.banner-content h1 {
  font-size: 2.8rem;
  line-height: 1.3;
}

.highlight {
  color: #ffd700;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .banner-content h1 {
    font-size: 2rem;
  }
}

/* Services */
/* Effet léger au survol de la carte */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Pour forcer l’effet pointer sur les liens */
a.service-card {
  display: block; /* Assure que la carte entière est cliquable */
  color: inherit; /* Garde la couleur du texte */
  text-decoration: none;
}

/* Ajustement logo déposant */
.owner-logo {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
}


/* pour la barre des services */

.services-bar-container {
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
    padding: 10px 0;
    overflow: hidden;
  }

  .services-bar-scrollable {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    gap: 30px;
    flex-grow: 1;
    padding: 0 10px;
  }

  .services-bar-scrollable::-webkit-scrollbar {
    display: none;
  }

  .service-item {
    text-align: center;
    flex: 0 0 auto;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
  }

  .service-item:hover {
    color: #000;
  }

  .service-item.active {
    font-weight: 600;
    color: #000;
  }

  .service-icon {
    font-size: 20px;
    margin-bottom: 4px;
    display: block;
  }

  .scroll-btn {
    background: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0 10px;
    z-index: 1;
    transition: background 0.2s;
  }

  .scroll-btn:hover {
    background: #f0f0f0;
  }

  .scroll-btn:disabled {
    opacity: 0.3;
    cursor: default;
  }
