/* ===== SFONDO IMPATTANTE ===== */
.contact-hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* glow dorato */
.contact-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.25), transparent 70%);
  filter: blur(40px);
  animation: floatGlow 6s ease-in-out infinite;
}

@keyframes floatGlow {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

/* ===== CARD PRINCIPALE ===== */
.contact-card {
  width: 90%;
  max-width: 1100px;
  padding: 50px;
  border-radius: 25px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  animation: appear 0.9s ease;
  position: relative;
}

@keyframes appear {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== TITOLO ===== */
.contact-title {
  text-align: center;
  margin-bottom: 30px;
}

.contact-title h1 {
  font-size: 3rem;
  font-family: Georgia, serif;
  letter-spacing: 2px;
  color: #2b1e14;
}

.contact-title p {
  opacity: 0.8;
}

/* ===== GRID ===== */
.contact-grid {
  display: flex;
  gap: 40px;
}

/* ===== LATO INFO ===== */
.contact-side {
  flex: 1;
  padding: 20px;
}

.contact-side h2 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.line {
  width: 80px;
  height: 2px;
  background: #d4af37;
  margin: 15px 0;
}

.quote {
  margin-top: 20px;
  font-style: italic;
  opacity: 0.7;
}

/* ===== FORM ===== */
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* floating label */
.field {
  position: relative;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.4);
  outline: none;
  transition: 0.3s;
}

.field label {
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 0.9rem;
  color: #333;
  transition: 0.3s;
  pointer-events: none;
}

/* animazione label */
.field input:focus + label,
.field input:valid + label,
.field textarea:focus + label,
.field textarea:valid + label {
  top: -10px;
  font-size: 0.75rem;
  color: #d4af37;
}

/* focus effetto */
.field input:focus,
.field textarea:focus {
  background: white;
  transform: scale(1.02);
}

/* bottone eclatante */
button {
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #d4af37, #ffcc00);
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}

button:hover {
  transform: translateY(-3px);
}

/* messaggi */
.form-message {
  font-size: 0.9rem;
  text-align: center;
}