/* =====================
   RESET & VARIABLES
   ===================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --vert: #1f3b2d;
    --jaune: #eab55f;
    --blanc: #fdfaf4;
    --gris-clair: #f5f7f6;
    --radius: 20px;
    --heading: "Libre Bodoni", serif;
    --body: "Montserrat", sans-serif;
  }
  
  /* =====================
     GLOBAL STYLES
     ===================== */
  body {
    font-family: var(--body);
    color: var(--vert);
    background: var(--blanc);
    line-height: 1.7;
    scroll-behavior: smooth;
  }
  
  h1, h2, h3 {
    font-family: var(--heading);
    letter-spacing: 0.5px;
  }
  
  /* =====================
     HEADER
     ===================== */
  header {
    width: 100%;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
  }
  
  header.scrolled {
    background: rgba(31, 59, 45, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 0.7rem 3rem;
  }
  
  .logo img {
    height: 55px;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
  }
  

  
  .btn-contact {
    background: var(--jaune);
    color: var(--vert);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .btn-contact:hover {
    background: #d39f50;
    transform: translateY(-2px);
  }
  
  /* =====================
     HERO SECTIONS
     ===================== */
  .hero {
    height: 100vh;
    background: url("clair-vert-paysagiste-lyon.jpg") no-repeat center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
  }
  
  .hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeIn 1.5s ease forwards;
  }
  
  .hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--blanc);
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-transform: uppercase;
  }
  
  .hero p {
    font-size: 1.4rem;
    background: rgba(31,59,45,0.6);
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.8rem;
  }
  
  /* =====================
     CONTACT PAGE
     ===================== */
  .contact-hero {
    height: 60vh;
    background: linear-gradient(rgba(31,59,45,0.7), rgba(31,59,45,0.7)),
                url("images/bg-nos-services-values.jpg") center/cover;
  }
  
  .contact-info {
    padding: 6rem 2rem;
    background: #fffbea;
  }
  
  .contact-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
  }
  
  .contact-details {
    flex: 1;
    min-width: 280px;
  }
  
  .contact-details h2 {
    color: var(--vert);
    font-family: var(--heading);
    margin-bottom: 1rem;
  }
  
  .contact-details p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
  }
  
  .contact-details a {
    color: var(--vert);
    text-decoration: none;
  }
  
  .contact-form-wrapper {
    flex: 2;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .contact-form-wrapper h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--vert);
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .form-group label {
    font-weight: 500;
    margin-bottom: 0.3rem;
  }
  
  input, select, textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--body);
  }
  
  textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .btn-submit {
    align-self: flex-end;
    background: var(--jaune);
    color: var(--vert);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .btn-submit:hover {
    background: #d39f50;
  }
  
  /* =====================
     LOGIN PAGE
     ===================== */
  .login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(rgba(31,59,45,0.85), rgba(31,59,45,0.85)),
                url("images/bg-nos-services-values.jpg") no-repeat center/cover;
  }
  
  .login-container {
    background: rgba(255,255,255,0.95);
    padding: 2.5rem 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 400px;
  }
  
  .login-container h1 {
    color: var(--vert);
    font-family: var(--heading);
    margin-bottom: 1.5rem;
  }
  
  .login-container input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  
  .login-container button {
    background: var(--jaune);
    color: var(--vert);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
  }
  
  .login-container button:hover {
    background: #d39f50;
  }
  
  #error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 1rem;
  }
  
  /* =====================
     ADMIN DASHBOARD
     ===================== */
  body.admin-body {
    background: var(--gris-clair);
    font-family: var(--body);
    color: var(--vert);
  }
  
  .admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--vert);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  }
  
  .admin-container {
    max-width: 1200px;
    margin: 3rem auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow-x: auto;
  }
  
  #users-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
  }
  
  #users-table th, #users-table td {
    padding: 0.8rem;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 0.95rem;
  }
  
  #users-table th {
    background: var(--jaune);
    color: var(--vert);
    text-transform: uppercase;
  }
  
  #users-table tr:nth-child(even) {
    background: #fafafa;
  }
  
  .btn-home {
    background: white;
    color: var(--vert);
    padding: 0.4rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
  }
  
  .btn-home:hover {
    background: var(--jaune);
    color: white;
  }
  
  .btn-delete, .btn-edit {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
  }
  
  .btn-delete { color: crimson; }
  .btn-edit { color: #3d7b4a; }
  
  .btn-logout {
    background: crimson;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    margin-left: 1rem;
  }
  
  /* === MODALE === */
  .modal.hidden { display: none; }
  
  .modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  
  .modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  }
  
  .modal-content h2 {
    margin-bottom: 1rem;
    color: var(--vert);
    text-align: center;
  }

  /* =====================
   HOMEPAGE SECTIONS
   ===================== */

/* === GALLERY === */
.gallery {
  background: #fffbea;
  padding: 3rem 0;
  overflow: hidden;
}

.scrolling-wrapper {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.shape {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.shape.lemon {
  border-radius: 50% 0 50% 50%;
}

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

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === ABOUT === */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 6rem 2rem;
  background: #fffbea;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--vert);
}

.about-text p {
  font-size: 1.1rem;
}

blockquote {
  background: #eab55f22;
  padding: 1.2rem;
  border-left: 4px solid var(--jaune);
  font-style: italic;
  margin-top: 1.5rem;
  border-radius: 10px;
}

.text-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.text-content img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 2px solid var(--jaune);
}

.about-images {
  flex: 1;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.about-images img {
  border-radius: 20px;
  width: 100%;
  max-width: 300px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* === SERVICES === */
.services {
  padding: 6rem 2rem;
  background: #fffbea;
  text-align: center;
}

.services h2 {
  font-size: 2.6rem;
  margin-bottom: 3rem;
  color: var(--vert);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}

.service {
  max-width: 280px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service h3 {
  font-family: var(--heading);
  margin-top: 1rem;
  font-size: 1.4rem;
  color: var(--vert);
}

.service p {
  padding: 1rem;
  font-size: 0.95rem;
  color: #444;
}

/* === VALUES === */
.values {
  padding: 5rem 2rem;
  background: linear-gradient(rgba(31,59,45,0.85), rgba(31,59,45,0.85)),
              url("images/bg-nos-services-values.jpg") no-repeat center/cover;
  text-align: center;
  color: white;
}

.values h2 {
  font-size: 2.4rem;
  margin-bottom: 3rem;
  color: var(--jaune);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.value-item {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  color: white;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 220px;
}

.value-item:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-5px);
}

.value-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

/* === FOOTER === */
.site-footer {
  background: var(--vert);
  color: var(--blanc);
  padding: 4rem 2rem 2rem;
  line-height: 1.8;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 1rem;
}

.footer-slogan {
  color: var(--jaune);
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-socials img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.footer-socials img:hover {
  filter: brightness(1) invert(0.2);
}

.footer-pages h3,
.footer-contact h3 {
  color: var(--jaune);
  margin-bottom: 1rem;
  font-family: var(--heading);
}

.footer-pages a {
  color: var(--blanc);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-pages a:hover {
  color: var(--jaune);
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #eab55f55;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #c7c7c7;
}

.footer-bottom a {
  color: var(--jaune);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE HOME === */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .hero p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .about { flex-direction: column; text-align: center; }
  .about-images { flex-direction: column; }
  .services-grid { flex-direction: column; align-items: center; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-content { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
}

  
  /* =====================
     RESPONSIVE
     ===================== */
  @media (max-width: 768px) {
    .contact-info-wrapper {
      flex-direction: column;
    }
  
    .admin-container {
      padding: 1rem;
    }
  
    #users-table th, #users-table td {
      font-size: 0.85rem;
    }
  
    .login-container {
      padding: 2rem;
    }
  }  