/* site back v 1.2 */
/* Global Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.6;
  background-color: #b23f03;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, p {
  margin: 0;
}

/* Hero Section */
.hero {
  height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('../img/hero.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column; /* Asegura que los elementos estén en columna */
  align-items: center;   /* Centra los elementos horizontalmente */
  justify-content: center; /* Centra los elementos verticalmente */
  gap: 10px; /* Espacio entre el logo, título y subtítulo */
}

.logo {
  width: 250px;
  margin-bottom: 20px;
}

.title {
  margin-left: 10px;
  margin-right: 10px;
  line-height: 1.2;
  font-size: 2.5rem;
  margin-bottom: 0px;
  color: #fee700; /* Cambia #ffffff al color que prefieras */
}

.subtitle {
  font-size: 1.2rem;
  color: #fee700; /* Cambia #dddddd al color que prefieras */
}

/* Content Sections */
.content {
  display: flex;
  align-items: center;
  padding: 50px 10%;
  gap: 20px;
}

.text h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.text p {
  font-size: 1rem;
  color: #555;
}

/* Contact Section */
.contact {
  text-align: center;
  padding: 50px 10%;
  background-color: #075e54;
  color: white;
}

.contact h2 {
  margin-bottom: 20px;
}

.whatsapp-button {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Estilos para el footer */
footer {
  background-color: #7a2d00;
  color: #fee700;
  padding: 20px 0;
  text-align: center;
}

.footer-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Contenedor para los íconos de redes sociales */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Estilo de los íconos */
.social-icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

/* Efecto al pasar el mouse sobre los íconos */
.social-icon:hover img {
  transform: scale(1.1);
}


/* Sección 1 */
.content:nth-child(1) {
  margin: 20px 20px;
  background-color: #fff3e0; /* Gris claro */
}

/* Sección 2 */
.content:nth-child(2) {
  margin: 20px 20px;
  background-color: #fff3e0; /* Azul claro */
}

/* Sección 3 */
.content:nth-child(3) {
  margin: 20px 20px;
  background-color: #fff3e0; /* Naranja claro */
}

/* Sección 4 */
.content:nth-child(4) {
  margin: 20px 20px;
  background-color: #fff3e0; /* Gris claro */
}

/* Sección 5 */
.content:nth-child(5) {
  margin: 20px 20px;
  background-color: #fff3e0; /* Azul claro */
}

/* Ajustar el espaciado interno y bordes */
.content {
  padding: 50px 10%;
  border-radius: 10px; /* Bordes redondeados opcionales */
  margin-bottom: 20px; /* Espacio entre secciones */
}

.image {
  width: 300px; /* Ancho deseado */
  height: 200px; /* Alto deseado */
  object-fit: cover; /* Ajusta la imagen sin deformarla */
  border-radius: 10px; /* Opcional: bordes redondeados para un diseño más moderno */
}

/* Diseño alternativo en móviles */
@media (max-width: 768px) {
  .content {
    flex-direction: column; /* Cambia de fila a columna */
    text-align: center; /* Centra el texto */
  }

}