/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #333;
  height: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
a {
  color: inherit;
  text-decoration: none;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: #000;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo img {
  height: 50px;
}
nav {
  position: relative;
  flex: 1;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
}
nav a {
  padding: 8px 12px;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s;
}
nav a:hover,
nav .active {
  background: #e00;
}

/* MAIN */
main {
  flex: 1;
  padding-top: 80px;
}

/* CONTACT SECTION */
.contact-section {
  text-align: center;
  padding: 80px 20px;
}
.contact-section h1 {
  font-size: 2.5rem;
  color: red;
  margin-bottom: 40px;
}
form {
  background: #f9f9f9;
  padding: 40px 30px;
  border: 2px solid red;
  border-radius: 15px;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
}
form label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  font-weight: bold;
}
form input,
form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-size: 1rem;
}
form input:focus,
form textarea:focus {
  border-color: #e00;
  outline: none;
}
form button {
  width: 100%;
  padding: 15px;
  font-size: 1.2rem;
  background: #e00;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}
form button:hover {
  background: #c00;
}
#feedback {
  margin-top: 20px;
  font-weight: bold;
  color: green;
}
.phone {
  margin-top: 30px;
  font-size: 1.2rem;
}
.phone span {
  color: red;
  font-weight: bold;
}

/* FOOTER */
footer {
  background: #000;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}
.footer-column {
  width: 250px;
  margin: 10px;
}
.footer-column h3 {
  color: red;
  margin-bottom: 15px;
}
.footer-column img {
  height: 80px;
}
.social-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}
.social-icons a {
  color: #fff;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: red;
}
.copyright {
  margin-top: 30px;
  font-size: 0.9rem;
}

/* === FOOTER SIMPLE (style unifié avec services.html) === */
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.social {
  text-align: center;
}

.social a {
  margin: 0 8px;
  color: #fff;
  transition: transform 0.2s, color 0.2s;
}

.social a:hover {
  color: #e00;
  transform: scale(0.9);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    gap: 10px;
    padding: 10px 0;
  }
  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  .footer-column {
    text-align: center;
    width: 100%;
  }
  form {
    padding: 25px 20px;
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    height: auto;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav a {
    padding: 6px 10px;
    font-size: 1rem;
  }

  .logo img {
    height: 40px;
  }
}
