:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --primary-color: #00f3ff;
    /* Cyan Neon */
    --secondary-color: #7000ff;
    /* Purple Neon */
    --jazz-color: #d4af37;
    /* Gold for Jazz */
    --tech-color: #ff0055;
    /* Red/Pink for Techno */
    --edu-color: #4facfe;
    /* Blue for Education */
    --accent-color: #ffffff;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--primary-color);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-display);
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* HUB / HOME PAGE STYLES */
.hub-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hub-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.3);
}

.hub-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: 4rem;
}

.hub-title {
    font-size: 5rem;
    margin-bottom: 3rem;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    /* Small gap for border effect */
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    height: 60vh;
}

.hub-card {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    background-size: cover;
    background-position: center;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transition: background 0.5s;
}

.hub-card:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

.hub-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.5s;
}

.hub-card:hover .hub-card-content {
    transform: translateY(0);
}

.hub-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hub-card p {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s 0.1s;
    font-size: 1rem;
    max-width: 80%;
    margin: 0 auto;
}

.hub-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Card Specifics */
.card-techno:hover {
    border-color: var(--tech-color);
    box-shadow: inset 0 0 50px rgba(255, 0, 85, 0.2);
}

.card-techno h2 {
    text-shadow: 0 0 10px var(--tech-color);
}

.card-docencia:hover {
    border-color: var(--edu-color);
    box-shadow: inset 0 0 50px rgba(79, 172, 254, 0.2);
}

.card-docencia h2 {
    text-shadow: 0 0 10px var(--edu-color);
}

.card-jazz:hover {
    border-color: var(--jazz-color);
    box-shadow: inset 0 0 50px rgba(212, 175, 55, 0.2);
}

.card-jazz h2 {
    text-shadow: 0 0 10px var(--jazz-color);
}


/* PAGE SECTIONS & LAYOUTS */
.page-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 5rem;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3), var(--bg-color));
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.content-section {
    padding: 5rem 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.img-container {
    width: 100%;
    height: 600px;
    /* Increased height for portrait photos */
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #111;
    /* Backup background */
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show complete image */
    background-color: transparent;
    transition: transform 0.7s ease;
}

.img-container:hover img {
    transform: scale(1.02);
}


/* Typography Enhancements */
.text-block h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.text-block p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ccc;
    font-weight: 300;
}

/* Service Lists */
.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.features-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Footer */
footer {
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    nav {
        flex-direction: column;
        gap: 0.8rem;
        background: rgba(5, 5, 5, 0.98);
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .hub-title {
        display: none;
    }

    .hub-wrapper {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .hub-content {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .hub-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 8px;
        padding: 0 10px;
    }

    .hub-card {
        height: 180px;
        border-radius: 8px;
        background-position: center 20%;
        /* Shift up to show heads/faces */
    }

    .card-techno {
        background-position: center 10% !important;
        /* Specific tweak for techno portrait */
    }



    .hub-card h2 {
        font-size: 2rem;
    }

    .hub-card p {
        opacity: 1;
        transform: translateY(0);
        font-size: 0.9rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .img-container {
        height: 350px;
    }

    .text-block h2 {
        font-size: 2rem;
        text-align: center;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.bio-quote {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--accent-color);
}


/* Specific Small Mobile Fixes */
@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
        letter-spacing: 2px;
        margin-bottom: 5px;
    }

    nav {
        padding: 0.8rem 1rem !important;
    }

    .nav-links {
        gap: 0.5rem;
        justify-content: center;
        width: 100%;
    }

    .nav-links a {
        font-size: 0.65rem;
        padding: 4px 6px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
    }

    .hub-content {
        padding-top: 5.5rem;
    }

    .hub-card {
        height: 160px;
    }

    .hub-card h2 {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }

    .hub-card p {
        font-size: 0.8rem;
        line-height: 1.3;
        max-width: 90%;
    }

    .text-block h2 {
        font-size: 1.8rem;
    }

    .text-block p {
        font-size: 1rem;
        line-height: 1.6;
    }
}