.contact-section {
  display: flex;
  width: 100%;
  margin: 100px 0;
  gap: 80px;
  color: white;
  font-family: Arial, sans-serif;
  background-image: url('/img/carrusel1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 250px 150px;
  box-sizing: border-box; /* para que padding no afecte al ancho total */
}

.contact-info {
  flex: 1;
  background: rgba(0,0,0,0.6);
  padding: 30px;
  border-radius: 12px;
}

.contact-info h2 {
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.contact-info p {
  margin: 15px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info i {
  color: #f3eded;
  font-size: 18px;
}

.social-icons a {
  display: inline-block;
  background: #e31b23;
  color: rgb(241, 233, 233);
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 6px;
  margin-right: 10px;
  font-size: 18px;
  transition: background 0.3s ease;
}

.social-icons a:hover {
  background: #b5171e;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 15px;
  color: rgb(0, 0, 0);
  border-radius: 8px;
  font-size: 14px;
  resize: none;
  outline: none; /* elimina el borde azul por defecto */
  background-color: #fcfcfc; /* fondo negro */
  color: rgb(10, 9, 9); /* texto blanco para contraste */
  box-shadow: 0 0 8px 2px rgba(177, 174, 174, 0.7); /* sombra negra para resaltar */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #020202;
}

.contact-form button {
  background: #e31b23;
  border: none;
  color: white;
  padding: 15px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #b5171e;
}

.contact-form input,
.contact-form textarea {
  border: 2px solid transparent; /* borde invisible por defecto */
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgb(248, 241, 241); /* borde negro en foco */
}
