/* style.css - Custom styles for aural theory page */
:root {
    /* Greyscale variations */
    --dark-base: #000000;
    --dark-medium-darkest: #0a0a0a;
    --dark-medium-darker: #141414;
    --dark-medium: #1f1f1f;
    --dark-medium-lighter: #545454;
    --dark-medium-lightest: #878787;
    --dark-medium-lightest-30percent: rgba(84, 84, 84, 0.3);
    --dark-light: #d1d1d1;
    
    /* Accent variations - Lime Green */
    --accent-base: limegreen;
    --accent-hover: #28A728;
    --accent-muted: #90EE90;
    --accent-light: #ADFF2F;
    --accent-dark: #228B22;
    --accent-darker: #1B6B1B;
    --accent-darkest: #0F3F0F;
}

/* Override parallax container for fixed background with scrollable content */
.parallax-container {
    position: relative !important;
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
}

/* Fixed background that stays in place */
.parallax-bg[data-bg="bg_theory.avif"] {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-attachment: fixed;
}

/* Scrollable content container */
.fixed-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    z-index: 1;
    pointer-events: auto !important;
    padding-top: 80px; /* Space for header */
    padding-bottom: 80px; /* Space for footer */
}

/* Hero content container */
.hero-content {
    position: relative !important;
    text-align: center;
    padding: var(--lg);
    max-width: 800px;
    margin: 0 auto;
    height: auto !important;
    width: auto !important;
    display: block !important;
    align-items: stretch !important;
    justify-content: stretch !important;
}

/* Theory content styling within parallax layout */
.theory-content {
    text-align: left;
    max-width: 800px;
    padding: var(--lg);
    margin-bottom: var(--lg);
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.theory-content h1 {
    font-size: var(--font-4xl);
    font-weight: 700;
    line-height: var(--tight);
    margin-bottom: var(--lg);
    letter-spacing: -0.03em;
    color: white;
    text-shadow: var(--text-shadow-layered);
}

.theory-content p {
    font-size: var(--font-lg);
    line-height: var(--relaxed);
    color: white;
    text-shadow: var(--text-shadow-layered-small);
    margin-bottom: var(--md);
}

.hero-content .theory-content .theory-link {
    color: var(--accent-base);
    text-decoration: none;
    text-shadow: none;
    transition: all 0.3s ease;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    font-size: var(--font-md);
    font-weight: normal;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    background: none;
    border: none;
}

.hero-content .theory-content .theory-link:hover {
    color: var(--accent-hover);
    transform: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .theory-content {
        padding: var(--md);
        margin: var(--md);
    }
    
    .theory-content h1 {
        font-size: var(--font-3xl);
    }

    .hero-content {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .theory-content h1 {
        font-size: var(--font-2xl);
    }
}
