/* RESET & BODY */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 15px 50px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 56px;
  max-height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* fallback text if image missing */
.logo-text {
  font-weight: 700;
  color: white;
  font-size: 1.2em;
}

/* NAVIGATION */
.nav {
  display: flex;
  gap: 25px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 0.95em;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #00f5ff);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

/* SECTION */
.devis-section {
  text-align: center;
  padding: 80px 20px;
}

.page-title {
  font-size: 2.5em;
  font-weight: bold;
  background: linear-gradient(90deg, #a855f7, #00f5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.description {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #ccc;
  line-height: 1.6;
}

/* FORM */
.devis-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.two-columns {
  display: flex;
  gap: 15px;
}

input, textarea {
  background: transparent;
  border: 2px solid;
  border-image: linear-gradient(90deg, #a855f7, #00f5ff) 1;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 1em;
  outline: none;
  resize: none;
}

textarea {
  min-height: 120px;
}

input::placeholder, textarea::placeholder {
  color: gray;
}

/* BUTTON */
.submit-btn {
  background: linear-gradient(90deg, #a855f7, #00f5ff);
  color: white;
  font-weight: bold;
  border: 1px solid violet;
  border-radius: 8px;
  padding: 12px 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.submit-btn:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 40px 0;
  background: linear-gradient(90deg, rgba(168,85,247,0.3), rgba(0,245,255,0.3));
  background-color: rgba(0, 0, 0, 0.9);
}

.footer .socials a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer .socials a:hover {
  color: #00f5ff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .logo-img {
    height: 44px;
    max-height: 44px;
    margin-bottom: 10px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 15px;
  }

  .two-columns {
    flex-direction: column;
  }

  .page-title {
    font-size: 2em;
  }

  .devis-form {
    width: 100%;
    padding: 0 15px;
  }
}
