/* General */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #0a0a1a;
    color: white;
    margin: 0;
    padding: 0;
}

/* Navegación */
nav {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}
.logo-text {
    font-size: 1.4rem;
    color: #00ffff;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 0 10px #00ffff;
}
.nav-links a {
    color: #00ffff;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}
.nav-links a:hover {
    color: #ff00ff;
}

/* Encabezado */
.page-header {
    text-align: center;
    padding-top: 100px;
}
.page-header h1 {
    font-size: 3rem;
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff, 0 0 35px #00ffff;
    animation: fadeIn 1s ease-in-out;
}

/* Secciones */
.content-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 80px auto;
    flex-wrap: wrap;
    padding: 20px;
}

/* Alternar orden */
.content-section.left .image-container { order: 1; }
.content-section.left .text-container { order: 2; }
.content-section.right .text-container { order: 1; }
.content-section.right .image-container { order: 2; }

/* Imagen */
.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}
.image-container img {
    width: 180px;
    border-radius: 10px;
    box-shadow: 0 0 20px #00ffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #ff00ff, 0 0 50px #00ffff;
}

/* Texto */
.text-container {
    flex: 2;
    background: rgba(0, 0, 0, 0.6);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    animation: slideIn 1s ease-in-out;
}
.text-container h2 {
    font-size: 2rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    margin-bottom: 15px;
}
.text-container p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    text-align: center;
    padding: 15px;
}
.icon {
    width: 28px;
    margin: 0 6px;
    transition: transform 0.3s ease;
}
.icon:hover {
    transform: scale(1.2);
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
