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

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f7f7f7;
  color: #333;
}

/* MAIN CONTAINER */
.home-main-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
}

/* PORTADA */
.frontpage-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.frontpage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TITULOS Y SEPARADORES */
.home-main-container h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  width: 60%;
  margin: 0 auto 2rem auto;
}

/* FORMULARIO */
form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

form h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

form div {
  display: flex;
  flex-direction: column;
}

form label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

form input[type="text"],
form input[type="email"],
form textarea {
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  border-color: #ff7e5f;
  box-shadow: 0 0 8px rgba(255, 126, 95, 0.3);
  outline: none;
}

form input[type="submit"] {
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  color: white;
  font-weight: bold;
  border: none;
  padding: 0.75rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* FOOTER ESTILOS */
footer {
  background-color: #333;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 3rem;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

footer ul li a img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

footer ul li a img:hover {
  transform: scale(1.2);
}

footer p {
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .frontpage-container {
    height: 200px;
  }

  form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .home-main-container h1 {
    font-size: 2rem;
  }

  form h2 {
    font-size: 1.5rem;
  }

  footer ul {
    gap: 1rem;
  }

  footer ul li a img {
    width: 25px;
    height: 25px;
  }
}
