/* ==========================================
   Music Page - Header Customizations
   Override main site floating header for music page
   ========================================== */

/* Hide work-related CTAs but allow space/transitions if needed */
.floating-ctas {
    display: none !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Hide the chevron toggle */
.mini-toggle {
    display: none !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

/* Replace header contents with a music-only label */
.header-reveal {
    display: none !important;
}

.header-center-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.header-center-box::before {
    content: "Music";
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    color: var(--text-primary);
    display: block;
    white-space: nowrap;
}

.header-center-box::after {
    content: "";
    display: none;
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--text-muted);
    white-space: nowrap;
    text-align: center;
}

@media (min-width: 1024px) {
    .header-center-box::after {
        content: "A collection of my favourites tunes";
        display: block;
    }
}

/* Ensure header stays compact and doesn't try to expand */
.floating-inner.expanded,
.floating-inner.mini-expanded {
    gap: var(--header-element-gap) !important;
}

.floating-inner.compact {
    gap: var(--header-element-gap) !important;
}

/* Adjust center box to not expect CTAs */
.header-center-box {
    padding: 0 18px;
    min-height: var(--badge-size-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .header-center-box {
        min-height: var(--badge-size-md);
    }
}

@media (max-width: 600px) {
    .header-center-box {
        padding: 8px 14px;
        min-height: var(--badge-size-sm);
    }

    .header-center-box::before {
        font-size: 1.05rem;
    }

    .header-center-box::after {
        font-size: 0.75rem;
    }
}

/* Keep the music header compact even when the bar expands on scroll */
.floating-inner.expanded .header-center-box,
.floating-inner.mini-expanded .header-center-box {
    padding: 6px 14px;
    min-height: var(--badge-size-lg);
    justify-content: center;
    gap: 6px;
}

@media (max-width: 900px) {
    .floating-inner.expanded .header-center-box,
    .floating-inner.mini-expanded .header-center-box {
        min-height: var(--badge-size-md);
    }
}

@media (max-width: 600px) {
    .floating-inner.expanded .header-center-box,
    .floating-inner.mini-expanded .header-center-box {
        min-height: var(--badge-size-sm);
    }
}

/* Dynamic Glow for Social Badges & Logo */
.social-badge,
.static-logo-badge a {
    transition: all var(--spring-snappy);
    border: 1px solid var(--dynamic-border-color, rgba(var(--neon-gold-rgb), 0.12));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 0 15px var(--dynamic-glow-color, rgba(var(--neon-gold-rgb), 0.15));
}

.social-badge:hover,
.static-logo-badge a:hover {
    border-color: var(--dynamic-border-color-bright, rgba(var(--neon-gold-rgb), 0.5));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px var(--dynamic-glow-color, rgba(var(--neon-gold-rgb), 0.35)),
                0 0 50px var(--dynamic-glow-color, rgba(var(--neon-gold-rgb), 0.2));
    transform: translateY(-2px) scale(1.05);
}

.social-badge[aria-label="GitHub"] svg,
.social-badge[aria-label="LinkedIn"] svg {
    filter: drop-shadow(0 0 10px var(--music-icon-glow, rgba(var(--neon-gold-rgb), 0.18)));
}

.social-badge[aria-label="GitHub"]:hover svg,
.social-badge[aria-label="LinkedIn"]:hover svg {
    filter: drop-shadow(0 0 14px var(--music-icon-glow-bright, rgba(var(--neon-gold-rgb), 0.35)));
}

/* Enhanced Header Center Box Glow */
.header-center-box {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 0 20px var(--dynamic-glow-color, rgba(var(--neon-gold-rgb), 0.1));
    transition: all var(--spring-smooth);
}

/* Keep the music page focused by hiding footer CTAs */
.site-footer .footer-section:nth-child(2),
.site-footer .footer-section:nth-child(3) {
    display: none;
}

.site-footer .footer-content {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    max-width: 520px;
}