/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1c1c1c; /* Fondo oscuro */
    color: #f1f1f1; /* Texto claro para contraste */
    margin: 0;
    padding: 0;
}

/* Header con imagen de fondo */
header {
    background-image: url('bg.jpg'); /* Fondo con imagen */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: -1;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Filtro oscuro para mejorar legibilidad */
    z-index: -1;
}

header .logo {
    width: 300px;
    margin-bottom: 15px;
    z-index: 1;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    z-index: 1;
}

header p {
    font-size: 1.2rem;
    margin: 5px 0 0;
    z-index: 1;
}

/* Contenedor principal */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Sección de la guía */
.guide {
    background-color: #2c2c2c; /* Fondo oscuro para la guía */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin-top: 40px;
}

.guide h2 {
    font-size: 2rem;
    color: #ffffff; /* Títulos en color principal */
    margin-bottom: 20px;
    border-bottom: 2px solid #ffffffbd;
    padding-bottom: 10px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    background-color: #383e72; /* Fondo de los pasos en gris oscuro */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.step img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    max-width: 100%;
    max-height: 600px; /* Limitar el tamaño de las imágenes verticales */
    object-fit: contain; /* Asegura que las imágenes mantengan su relación de aspecto */
}

.step p {
    font-size: 1rem;
    color: #ddd; /* Color de texto suave para el contraste */
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: #f1f1f1;
    padding: 20px 0;
    margin-top: 50px;
    align-items: center;
    text-align: center;
    font-size: 0.6rem;
    color: #777;
  }
  
  footer a {
    color: #444;
  }
  
  footer a:hover {
    color: #000;
  }

/* Responsive Design */
@media screen and (max-width: 768px) {
    .guide {
        padding: 20px;
    }

    header h1 {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step img {
        max-width: 90%; /* Ajustar imágenes en pantallas pequeñas */
    }

    .step p {
        font-size: 0.9rem;
    }
}
