/* --- 0. GLOBAL VARIABLES & RESET --- */
:root {
    --primary-color: #BADA55;
    --secondary-text: #6E6D6D;
    --white: #FFFFFF;
    --dark-bg: #000000;
}

* {
    box-sizing: border-box;
}

body { 
    background-color: var(--dark-bg); 
    color: var(--white); 
    margin: 0; 
    text-align: center;
    -webkit-font-smoothing: antialiased;
}

/* --- 1. FONTS (OPTIMIZED) --- */
@font-face {
    font-family: 'Avenir Light';
    src: url('fonts/avenir-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap; /* Optimizes load time */
}

@font-face {
    font-family: 'DIN Next Light';
    src: url('fonts/din-next-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('fonts/avenir-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- 2. CORE STYLES --- */
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 20px; 
}

/* --- 3. HEADER / NAVIGATION --- */
nav {
    padding: 40px 0;
    position: relative;
}

.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-color);
    text-align: right;
    padding-right: 30px;
}

nav ul { 
    list-style: none; 
    padding: 0; 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
}

nav a { 
    font-family: 'DIN Next Light', sans-serif;
    color: var(--secondary-text); 
    font-size: 14px; 
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

/* Optimization: Auto highlight active link */
nav a.active {
    color: var(--primary-color);
}

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

/* --- 4. HEADINGS & TEXT --- */
h1, h2 { 
    font-family: 'Avenir', sans-serif;
    color: var(--primary-color);
    font-size: 30px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.subheading {
    font-family: 'Avenir Light', sans-serif;
    font-size: 17px;
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Bio Layout (Desktop) */
.bio-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin: 40px auto;
    max-width: 1000px;
    text-align: left;
}

.bio-text {
    flex: 2;
    font-family: "Avenir Light", sans-serif;
    font-size: 15px;
    color: var(--white);
    line-height: 1.8;
}

.bio-text p {
    margin-bottom: 25px; 
}

.bio-image {
    flex: 1;
}

.secondary-photo {
    width: 100%;
    height: auto;
    border: 1px solid var(--secondary-text);
}

/* --- 5. MEDIA & BUTTONS --- */
.main-photo { 
    width: 100%; 
    max-width: 900px; 
    height: auto; 
    margin-top: 30px;
}

.video-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    margin-top: 40px; 
}

iframe { 
    width: 100%; 
    aspect-ratio: 16/9; 
    border: none; 
}

/* Justified Button Group */
.button-group-justified {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 40px auto;
    gap: 15px;
    flex-wrap: wrap; /* Optimized for smaller screens */
}

.btn {
    flex: 1;
    display: inline-block;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    text-decoration: none;
    font-family: "Avenir", sans-serif;
    font-size: 14px;
    text-align: center;
    transition: 0.3s;
}

.btn:hover {
    background: var(--primary-color);
    color: #000;
}

/* Recordings */
.recording-entry {
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apple-music-embed {
    width: 100%;
    max-width: 660px;
    background: #111;
    border-radius: 10px;
}

/* --- 6. RESPONSIVE DESIGN (MOBILE) --- */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column; 
        gap: 20px;
        padding: 20px 0;
        background-color: var(--dark-bg);
        position: absolute;
        width: 100%;
        top: 80px;
        left: 0;
        z-index: 1000;
        border-bottom: 1px solid #333;
    }

    nav ul.active {
        display: flex;
    }

    nav a {
        font-size: 18px; 
        display: block; 
        padding: 10px 0;
        color: var(--primary-color); /* Optimized visibility */
    }

    h1, h2 {
        font-size: 26px;
        letter-spacing: 3px;
    }

    .bio-wrapper {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .bio-text {
        font-size: 16px;
        padding: 0 10px;
    }

    .bio-image {
        width: 80%;
        margin-bottom: 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .button-group-justified {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    .apple-music-embed {
        max-width: 100%;
    }
}

/* Footer Styles (Moved from HTML Inline) */
footer {
    padding: 60px 0 40px; 
    font-family: 'Avenir Light', sans-serif; 
    font-size: 12px; 
    color: var(--secondary-text); 
    letter-spacing: 2px; 
    text-align: center;
}

footer svg path {
    transition: fill 0.3s;
}

footer a svg path {
    fill: var(--primary-color);
}

footer a:hover svg path {
    fill: #000;
}

footer a:hover {
    background: var(--primary-color);
    color: #000;
}

/* Helper for Active State */
html { scroll-behavior: smooth; }
