/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background:  linear-gradient(to right, rgba(255,255,255,0) 60%, #fecd39 100%),
    #fff9ec;
  color: #4e3300;
  min-height: 100vh;
  background-attachment: fixed;
}


/* ==================== NAVBAR ==================== */
.navbar {
  background-color: #fecd39;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-container img {
  width: 80px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #ffffff;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* ==================== SECCIÓN HERO ==================== */
.hero {
  display: flex;
  justify-content: space-between;

  align-items: center;
  padding: 70px 60px;
  flex-wrap: wrap;
}

.contenido {
  max-width: 550px;
  color: #4e3300;
}

.subtitulo {
  color: #a32d00;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.titulo {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.descripcion {
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.imagen img {
  width: 350px;
  max-width: 100%;
}

/* ==================== FORMULARIO ==================== */
form {
  background-color: #ffffff;
  padding: 40px 50px;
  margin: 50px auto;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

form label {
  font-weight: bold;
  color: #4e3300;
  margin-bottom: 8px;
  display: block;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 2px solid #fecd39;
  border-radius: 10px;
  background-color: #fffaf2;
  font-size: 1rem;
  color: #4e3300;
  transition: border 0.3s, background 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: #fca311;
  background-color: #fffef9;
  outline: none;
}

.boton {
  display: inline-block;
  background-color: #4e3300;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.boton:hover {
  background-color: #2e1c00;
}

/* ==================== FOOTER ==================== */
.footer-dark {
  background-color: #0f0f0f;
  color: #fff;
  padding: 40px 80px;
  text-align: center;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 25px;
}

.footer-logo img {
  width: 100px;
}

.footer-info h3,
.footer-horario h3 {
  color: #f36c21;
  margin-bottom: 10px;
}

.footer-divider {
  border: none;
  border-top: 1px solid #333;
  margin: 20px 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-copy {
  color: #fff;
}

.firma {
  color: #fecd39;
}

.footer-social img {
  width: 25px;
  margin: 0 10px;
  transition: transform 0.3s;
}

.footer-social img:hover {
  transform: scale(1.1);
}

/* ==================== BOTÓN ARRIBA ==================== */
#btnArriba {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #f64e8b;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  width: 45px;
  height: 45px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  display: none;
}

#btnArriba:hover {
  background-color: #d93a6f;
}

/* ==================== RESPONSIVO ==================== */
@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 20px;
  }

  .contenido {
    max-width: 100%;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  form {
    margin: 30px 20px;
    padding: 30px;
  }
}
