/* Reset minimal */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header */
.site-header {
    background-color: #f5f5f5;
    border-bottom: 2px solid #ddd;
    padding: 20px 0;
}

/* Navbar en haut */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
}

/* Logo */
.logo {
    height: 75px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}
/* Pour positionner le sous‑menu */
.services-item {
    position: relative;           /* référence pour le sous‑menu */
}

/* Sous‑menu caché par défaut */
.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;                    /* juste sous le lien parent */
    left: 0;
    background: #f5f5f5;
    border: 1px solid #ddd;
    min-width: 220px;
    display: none;                /* masqué */
    z-index: 10;
}

/* Style des liens du sous‑menu */
.submenu > li > a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

.submenu > li > a:hover {
    background: #eaeaea;
    color: #c62828;
}

/* Top-bar SOUS la navbar */
.top-bar {
    position: fixed;
    top: 105px; /* dépend de la hauteur de ta navbar */
    left: 0;
    width: 100%;
    background-color: #2e6613;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    z-index: 999; /* juste sous la navbar */
}

/* Top-bar liens */
.top-bar a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

.top-bar .right span {
    margin-left: 15px;
}

/* Icône Facebook dans la top‑bar */
.top-bar .social {
    margin-left: 12px;           /* espace après le téléphone */
    color: #ffffff;              /* assure la même couleur que le texte */
    text-decoration: none;
    font-size: 18px;             /* adapte la taille si besoin */
}

.top-bar .social:hover {
    color: #cfd8dc;              /* léger changement au survol (optionnel) */
}

/* Navigation links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #4caf50;
}

/* Burger menu */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

#menu-toggle {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        text-align: center;
        z-index: 998;
    }

    #menu-toggle:checked + .menu-icon + .nav-links {
        display: flex;
    }

    .menu-icon {
        display: block;
    }

    .main-nav {
        flex-wrap: wrap;
    }
}

.construction-wrapper {
  text-align: center;
  max-width: 600px;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  animation: fadeIn 0.8s ease-out both;
}

.icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  animation: pulse 2.5s infinite;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #b88950;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  background: #b88950;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover { background: #8c6a3f; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

/* Responsive tweak */
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  .icon { width: 60px; height: 60px; }
}
