/* Reseteo de márgenes y padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  font-family: 'Arial', sans-serif;
  color: #fff;
  background-color: #000;
  position: relative;
  width: 100%;
  height: 100vh; /* Fullscreen en dispositivos grandes */
  background-image: url('https://via.placeholder.com/1500'); /* Reemplaza con tu imagen */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  padding: 0 20px;
}

.header-content {
  z-index: 2;
}

.header-title {
    color: yellow;
  font-size: 2.5rem;
  font-weight: bold;
  opacity: 0;
  animation: fadeInUp 2s forwards;
  letter-spacing: 0.1em;
}

.header-subtitle {
  font-size: 1.5rem;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeInUp 2s forwards 0.5s;
  letter-spacing: 0.05em;
}

/* Animaciones */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos responsivos */
@media screen and (max-width: 768px) {
  .header-title {
    font-size: 2rem;
  }

  .header-subtitle {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .header-title {
    font-size: 1.5rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }
}

/* Reseteo de márgenes y padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Cuerpo general */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
}

/* Sección principal */
.animated-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh; /* Asegura que la sección ocupe toda la altura de la pantalla */
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: #333;
  color: #fff;
  padding: 20px;
}

.section-content {
  z-index: 2;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s forwards;
  letter-spacing: 0.1em;
}

.section-text {
  font-size: 1.5rem;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s forwards 0.5s;
  letter-spacing: 0.05em;
}

/* Efecto de animación */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Imagen de fondo */
.section-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  z-index: 1;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Da un efecto de transparencia para que el texto sea legible */
}

/* Estilos responsivos */
@media screen and (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }

  .section-text {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .section-text {
    font-size: 1rem;
  }
}


/* Estilos específicos para la sección de servicios */
.services {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h2.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

/* Estilos de la lista de servicios */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.service-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-description {
  font-size: 1rem;
  color: #666;
}

/* Estilo para dispositivos móviles */
@media (max-width: 768px) {
  h2.section-title {
    font-size: 1.5rem;
  }

  .service-item {
    padding: 15px;
  }
}


/* Contenedor del botón de llamada */
.call-button-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.call-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #28a745;
  color: white;
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.call-button:hover,
.call-button:focus {
  background-color: #218838;
  transform: scale(1.05);
}

.call-button .icon {
  margin-right: 8px;
}

.call-button .text {
  font-weight: bold;
}

/* Diseño mobile-first */
@media (max-width: 768px) {
  .call-button {
    font-size: 1rem;
    padding: 10px 15px;
  }

  .call-button .icon {
    font-size: 1.5rem;
  }
}

/* Estilo para pantallas grandes */
@media (min-width: 769px) {
  .call-button {
    font-size: 1.4rem;
    padding: 12px 25px;
  }

  .call-button .icon {
    font-size: 1.7rem;
  }
}



/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

.animated-section-bnd {
  background-color: #fff;
  padding: 20px;
  max-height: 100vh;
  margin: 20px auto;
  border-radius: 10px;
  max-width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1.5s ease-out forwards;
}

/* Título de la sección */
.section-title {
  font-size: 2rem;
  color: #007BFF;
  margin-bottom: 15px;
  animation: fadeInTitle 2s ease-out forwards;
}

/* Descripción de la sección */
.section-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  opacity: 0;
  animation: fadeInText 2s 0.5s ease-out forwards;
}

/* Animaciones */
@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes fadeInTitle {
  from {
      transform: translateY(-20px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes fadeInText {
  from {
      transform: translateY(20px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Media Queries para adaptabilidad móvil */
@media (max-width: 600px) {
  .section-title {
      font-size: 1.5rem;
  }
  .section-description {
      font-size: 1.1rem;
  }
}

.footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  animation: fadeInFooter 2s ease-out forwards;
}

/* Título del footer */
.footer-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffb600;
  animation: fadeInTitle 2s ease-out forwards;
}

/* Descripción del footer */
.footer-description {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInText 2s 0.5s ease-out forwards;
}

/* Animaciones */
@keyframes fadeInFooter {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes fadeInTitle {
  from {
      transform: translateY(-20px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes fadeInText {
  from {
      transform: translateY(20px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Media Queries para adaptabilidad móvil */
@media (max-width: 600px) {
  .footer-title {
      font-size: 1.2rem;
  }

  .footer-description {
      font-size: 0.9rem;
  }
}


.informacion-seccion {
  padding: 20px;
  margin: 10px;
  background-color: #f9f9f9;
  border-radius: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

.titulo-seccion {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.descripcion-seccion {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.enlace-seccion {
  font-size: 1rem;
  color: #007bff;
  text-decoration: none;
}

.enlace-seccion:hover {
  text-decoration: underline;
}

/* Mobile-first (por defecto es para pantallas pequeñas) */
@media (min-width: 600px) {
  .informacion-seccion {
    max-width: 80%;
    margin: 20px auto;
  }
  
  .titulo-seccion {
    font-size: 1.75rem;
  }

  .descripcion-seccion {
    font-size: 1..3rem;
  }
}

/* Para pantallas grandes */
@media (min-width: 1024px) {
  .informacion-seccion {
    max-width: 70%;
  }

  .titulo-seccion {
    font-size: 2rem;
  }

  .descripcion-seccion {
    font-size: 1.4rem;
  }
}