/* ============================================================
   LAVORA-CON-NOI.CSS
   - Stili autonomi per la pagina lavora-con-noi.html
   - Include: HERO (con onda + animazione) e form candidatura
   ============================================================ */

/* ================= HERO (stile come Gallery/Contatti) ================= */
.hero {
  padding: 120px 20px 100px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  font-family: 'Quicksand', sans-serif;
}

.hero .hero-decor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: url('../images/hero-wave.svg') no-repeat center bottom / cover;
  z-index: 1;
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #eef2ff; /* testo morbido su sfondo blu/viola */
}

/* Colore specifico per la pagina Lavora con noi */
.hero-lavora {
  background-color: #6c63ff; /* Indigo/Violet — cambia se preferisci */
}

.hero-lavora h1,
.hero-lavora p {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-lavora .hero-btn {
  background-color: #ffffff;
  color: #6c63ff;
}

.hero-lavora .hero-btn:hover {
  background-color: #f3f3f3;
}

/* Animazione */
@keyframes fadeInUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .hero { padding: 90px 20px 80px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}

/* ================= FORM CANDIDATURA (estratto da contatti.css) ================= */
.contact-form-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.form-box {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 10px;
  background: linear-gradient(to right, #6c63ff, #8c85ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-description {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

.privacy-label {
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 20px auto;
  text-align: left;
}

.privacy-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #6c63ff;
}

.contact-form button {
  background-color: #6c63ff;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #5a4ef0;
}

/* (Opzionale) messaggi del form */
.form-messages {
  margin-top: 12px;
  font-size: 0.95rem;
}

/* CHI STIAMO CERCANDO*/
.chi-stiamo-cercando h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2c3e50;
 text-align: center;}

.pillole-wrapper {
  display: grid;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pillola {
  background-color: #f1f9fc;
  border: 1px solid #d3e9f1;
  padding: 20px;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: #2c3e50;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
}

.pillola:hover {
  transform: translateY(-3px);
}

.chi-stiamo-cercando {
  text-align: center;
}

.chi-stiamo-cercando .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
