@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #6366f1;
    --bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.5);
    --text: #f8fafc;
    --text-dim: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Header & Nav */
header {
    flex: 1 1 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 1rem;
    z-index: 1000;
}

header img {
    height: 40px;
    filter: drop-shadow(0 0 8px var(--primary));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
}

/* Main Content Area */
.informacion {
    flex: 3 1 600px;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.informacion h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--text-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sidebars */
aside {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

aside h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

aside ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

aside li div {
    border-radius: 16px;
    overflow: hidden;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

aside li div:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

aside img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    flex: 1 1 100%;
    text-align: center;
    padding: 2rem;
    color: var(--text-dim);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2rem;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .container { padding: 1rem; }
    .informacion { order: 0; }
    .izquierda { order: 1; }
    .derecha { order: 2; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    nav {
        display: none; /* Simplificado: en una app real usaríamos JS para el toggle */
    }
    .informacion h1 { font-size: 2rem; }
    aside { flex: 1 1 100%; }
}
