/* Estilo general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #111; /* Fondo oscuro */
  color: #f5f5f5;
  line-height: 1.6;
  padding: 0 20px;
  font-size: 16px;
  background-image: linear-gradient(45deg, #0c0b05, #2a2a2a); /* Fondo con un toque de gradiente */
}

/* Tipografía importada */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&display=swap');

/* Hero */
.hero {
  width: 100%;
  height: 300px;
  background-color: #111; /* Fondo oscuro */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Sombra suave para darle profundidad */
}

.hero h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 4rem;
  font-weight: bold;
  color: #C6A15B; /* Color dorado oscuro */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Sombra de texto */
}

.hero p {
  font-size: 1.2rem; /* Reducción del tamaño de la fuente */
  color: #ccc;
  margin-top: 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Botón principal */
.btn-contacto {
  background-color: #C6A15B; /* Dorado oscuro */
  color: #0c0b05;
  padding: 8px 16px; /* Reducir aún más el padding */
  font-size: 0.8rem; /* Reducir aún más el tamaño de la fuente */
  border: none;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-contacto:hover {
  background-color: #B18A49; /* Dorado más oscuro en hover */
  transform: scale(1.05); /* Animación de aumento al pasar el ratón */
}

/* Secciones principales */
.secciones-linea {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.secciones-linea section {
  width: 22%;
  background-color: #111; /* Fondo oscuro */
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  flex-grow: 1;
  min-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.secciones-linea section:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); /* Sombra más intensa en hover */
}

.secciones-linea h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.6rem;
  color: #C6A15B; /* Color dorado oscuro */
  margin-bottom: 10px;
}

.secciones-linea p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 20px;
}

.secciones-linea img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.secciones-linea img:hover {
  transform: scale(1.05); /* Zoom en las imágenes al hacer hover */
}

/* Sección de valor */
.valor {
  background-color: #111; /* Fondo oscuro */
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.valor-contenido {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
}

.valor-imagen img {
  width: 280px;
  height: auto;
  border-radius: 10px;
  margin-left: 40px;
}

.valor-texto {
  max-width: 650px;
  color: #f5f5f5;
}

.valor h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #C6A15B; /* Dorado oscuro */
}

.valor p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 15px;
}

.valor a {
  background-color: #C6A15B; /* Dorado oscuro */
  color: #fff;
  padding: 12px 30px;
  font-size: 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.valor a:hover {
  background-color: #B18A49; /* Dorado más oscuro en hover */
  transform: scale(1.05); /* Animación de aumento en el botón */
}

/* Sección de contacto */
.contacto {
  background-color: #111; /* Fondo oscuro */
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  margin-top: 40px;
}

.contacto-container {
  max-width: 800px;
  margin: 0 auto;
}

.contacto h2 {
  font-size: 2.5rem;
  color: #C6A15B; /* Dorado oscuro */
  margin-bottom: 20px;
}

.contacto .intro {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
}

.contacto-datos {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.dato {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.3rem;
  color: #f5f5f5;
}

.icono {
  font-size: 2rem;
  color: #C6A15B; /* Dorado oscuro */
}

.dato a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dato a:hover {
  color: #C6A15B; /* Dorado oscuro al hacer hover */
}

/* Sección de formulario */
.contacto-formulario {
  background-color: #111; /* Fondo oscuro */
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(135deg, #111, #2a2a2a); /* Fondo oscuro similar */
  animation: fadeIn 1s ease-in-out;
}

.contacto-formulario h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #C6A15B; /* Dorado oscuro */
  font-weight: bold;
}

.contacto-formulario label {
  font-size: 1.1rem;
  color: #f5f5f5;
  margin-bottom: 5px;
  display: block;
}

.contacto-formulario input,
.contacto-formulario textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 1rem;
  color: #f5f5f5;
  background-color: #222; /* Fondo oscuro para campos */
  transition: all 0.3s ease;
}

.contacto-formulario input:focus,
.contacto-formulario textarea:focus {
  border-color: #C6A15B; /* Borde dorado al enfocarse */
  box-shadow: 0 0 8px rgba(198, 161, 91, 0.5);
  outline: none;
}

.contacto-formulario textarea {
  resize: vertical;
  min-height: 150px;
}

.contacto-formulario button {
  background-color: #C6A15B; /* Dorado oscuro */
  color: #0c0b05;
  padding: 12px 25px;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.contacto-formulario button:hover {
  background-color: #B18A49; /* Dorado más oscuro en hover */
  transform: translateY(-3px);
}

/* Animación fade-in */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.contacto-formulario {
  animation: fadeIn 1s ease-in-out;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contacto-formulario {
    padding: 20px;
  }
  .contacto-formulario h2 {
    font-size: 1.8rem;
  }
  .contacto-formulario button {
    font-size: 1rem;
  }
}
