* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f4f4f4;
  font-family: 'Segoe UI', sans-serif;
}

/* Navbar principale */
.navbar {
  background-color: #000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 20px;
  flex-wrap: wrap;
  position: relative;
}

/* Logo */
.logo {
  font-weight: bold;
  font-size: 22px;
  display: flex;
  align-items: center; /* Centre le logo verticalement */
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 15px; /* coins plus arrondis */
}

/* Barre de recherche */
.search-bar {
  display: flex;
  align-items: center;
  background: #f2f2f2;
  border-radius: 25px;
  overflow: hidden;
  flex: 1;
  max-width: 400px;
  margin: 10px;
}

.search-bar input {
  border: none;
  padding: 10px;
  flex: 1;
  border-radius: 25px 0 0 25px;
  outline: none;
  background: transparent;
  color: #000;
}

.search-bar button {
  background: #000;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
}

/* Icônes et boutons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-icons i {
  cursor: pointer;
}

.btn {
  background-color: #444;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
}

.white-link {
  color: #fff;
  text-decoration: none;
  background-color: green;
}

.white-link:hover {
  color: #fff;
  text-decoration: none;
}

/* Lien logo */
.talenteka {
  color: #fff;
  text-decoration: none;
}

.talenteka:hover {
  color: #fff;
  text-decoration: none;
}

/* Profil */
.profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.profile img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

/* Menu déroulant profil */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background-color: #222;
  border-radius: 8px;
  padding: 10px 0;
  min-width: 150px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  flex-direction: column;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: #333;
}

.dropdown-menu.show {
  display: flex;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .search-bar {
    display: none;
  }

  .nav-icons {
    display: flex;
    gap: 15px;
  }

  /* Garde seulement la cloche (notification) et le profil */
  .nav-icons > * {
    display: none;
  }

  .nav-icons .fa-bell,
  .nav-icons .profile {
    display: flex;
    align-items: center;
  }

  /* Logo réduit sur mobile */
  .logo img {
    height: 40px;
  }
}

/* Carte service */
.service-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Image */
.service-img {
    height: 200px;
    object-fit: cover;
}

/* Badge prix */
.price-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.85rem;
    padding: 6px 10px;
    border-radius: 20px;
}

/* Avatar */
.avatar {
    width: 55px;
    height: 55px;
    object-fit: cover;
}

/* Description */
.service-desc {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Lien */
.service-link {
    color: inherit;
}

.service-link:hover {
    text-decoration: none;
    color: inherit;
}

