/* Estilos globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: white;
    display: flex;
    flex-direction: column;
}

a {
    color: white;
    text-decoration: none;
}

button {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: white;
    color: black;
}

/* Wrapper para flexbox */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Asegura que ocupe toda la altura de la ventana */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000; /* Mismo color para header y footer */
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 60px;
    margin-right: 10px;
}



.logo-text {
    font-size: 24px;
    font-weight: bold;
}

.logo-text .highlight {
    color: red;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

nav ul li {
    display: inline;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px;
}

.hero p {
    font-size: 24px;
}

/* Services Section */
main {
    flex: 1; /* Empuja el footer hacia abajo */
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.service, .service-2 {
    text-align: center;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
}

.service img, .service-2 img {
    max-width: 100px;
    margin-bottom: 15px;
}

.service button a, .service-2 button a {
    color: white;
    text-decoration: none;
}

.service h3, .service-2 h3 {
    font-size: 18px;
    margin: 10px 0;
}



/* Estilos para la sección de login */
.login-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    text-align: center;
    background-color: #1e1e1e;
    border-radius: 10px;
    max-width: 400px;
    margin: 10px auto;
    margin-top: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.login-section h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: #121212;
    color: white;
    font-size: 14px;
}

.form-group input::placeholder {
    color: #aaa;
}

button {
    width: 100%;
    font-size: 16px;
}

button:hover {
    background-color: #f00;
    color: white;
}





/* Footer */
footer {
    background-color: #000; /* Mismo color que el header */
    padding: 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-img {
    max-width: 300px; /* Tamaño máximo de la imagen */
    height: auto;
    margin: 0 auto; /* Centrar la imagen */
}

/* Responsividad */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-container {
        margin-bottom: 10px; /* Agrega espacio debajo del logo */
    }

    nav ul {
        flex-direction: row; /* Asegura que las opciones estén en fila */
        justify-content: center; /* Centra las opciones si es necesario */
        gap: 10px;
        margin-top: 10px; /* Opcional: más separación del logo */
    }

    nav ul li {
        font-size: 14px; /* Tamaño más pequeño para móviles */
    }

    .logo-img {
        max-height: 40px; /* Logo más pequeño */
    }

    .hero p {
        font-size: 18px;
    }

    .footer-img {
        max-width: 90%;
        margin-bottom: 10px;
    }
}
