/* 🌟 ESTILOS GENERALES */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.7;
    color: #FFFFFF;
    background-color: #1A1A1A;
    overflow-x: hidden;
}

.head {
    background: linear-gradient(135deg, #D16BA5, #7D3C98);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contenedor general para los elementos del header */
.header-container {
    display: flex;
    justify-content: space-between; /* Divide el espacio entre la izquierda y la derecha */
    align-items: center; /* Alinea el contenido verticalmente */
    width: 100%;
}

/* Contenedor de icono y nombre de la app (columna izquierda) */
.left-content {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre el icono y el texto */
}

.header-logo {
    width: auto;
    height: 1.5em; /* Ajusta el tamaño del icono al tamaño del texto */
}

.header-title {
    font-size: 2.5em;
    color: #FFFFFF;
    font-weight: 700;
    margin: 0;
}

/* Estilo del menú de navegación (columna derecha) */
.navbar {
    display: flex;
    justify-content: flex-end; /* Alinea los enlaces a la derecha */
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px; /* Espacio entre los enlaces */
}

.navbar a {
    text-decoration: none;
    font-size: 1.2em;
    color: #FFFFFF;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover {
    color: #D4AF37; /* Color dorado en hover */
}

/* 📌 SECCIONES */
.line {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    background-color: #292929;
    margin: 40px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    max-width: 1100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 🌜 Primera sección: texto a la izquierda e imagen a la derecha */
.line:nth-child(odd) {
    flex-direction: row;
}

.text-content {
    flex: 1;
    padding: 0 30px;
}

.text1 {
    font-size: 2.2em;
    font-weight: 700;
    color: #D16BA5;
    margin-bottom: 15px;
}

.text2 {
    font-size: 1.3em;
    color: #EAEAEA;
    line-height: 1.6;
}

/* 🖼️ IMÁGENES */
.img {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

/* 🌛 Segunda sección: imagen a la izquierda y texto a la derecha */
.line:nth-child(even) {
    flex-direction: row-reverse;
}

.img-container {
    flex: 1;
    text-align: center;
}

/* 🌙 FOOTER */
.line4 {
    background: linear-gradient(135deg, #222222, #333333);
    padding: 40px;
    text-align: center;
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.item {
    margin: 0 25px;
    display: inline-block;
}

.title1 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #D16BA5;
}

.title2 {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease-in-out;
}

.title2:hover {
    color: #D16BA5;
}

/* 📱 RESPONSIVE */
@media (max-width: 900px) {
    .line {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
    .text-content {
        padding: 0 20px;
    }
    .text1 {
        font-size: 2em;
    }
    .text2 {
        font-size: 1.2em;
    }
    .img {
        max-width: 80%;
        margin-top: 20px;
    }
}
