:root[data-theme="light"] {
    --bg: #ffffff75;
    --text: #1a1a1a;
    --muted-text: #464646;
    --accent: #0061ff;
    --border: #eeeeee;
    --card-bg: #f9f9f9;
    --nav-bg: #ffffff;
}

:root[data-theme="dark"] {
    --bg: #0d0d0d99;
    --text: #f5f5f5;
    --muted-text: #a0a0a0;
    --accent: #4da3ff;
    --border: #222222;
    --card-bg: #1a1a1a;
    --nav-bg: #0d0d0d;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    background-image: url(./beach.png);
    background-size: cover;
    background-position: center;
    background-color: var(--bg); 
    color: var(--text);
    font-family: monospace;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}



body::before {
    content: '';
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; 
    background-color: var(--bg); 
}


body {
    position: relative; 
}


/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    background: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}


.nav-left {
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}


.nav-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    text-decoration: none;
    color: var(--text);
}


.nav-links a {
    text-decoration: none;
    color: var(--muted-text);
    margin: 0 10px;
    font-size: 0.9rem;
}


.nav-links a.active {
    color: var(--text);
    font-weight: bold;
}


.nav-actions {
    display: flex;
    gap: 15px;
}


#theme-toggle {
    background: none;
    border: 1px solid var(--border);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text);
}


/* Grid Container Logic */
.container {
    background-color: var(--bg);
    border-radius: 1rem;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem 2rem;
    display: grid;
    /* Defines 2 columns: content (1.5 parts) and sidebar (1 part) */
    grid-template-columns: 1.5fr 1fr;
    column-gap: 3rem;
    row-gap: 0px;
}


/* Hero spans both columns of the grid */
.hero {
    grid-column: 1 / -1;
    margin-bottom: 2rem;    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12rem;
}


.hero-content h1 {
    
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}


.brand {
    color: var(--accent);
    
}
/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.side-container {
    display: grid;
    align-items: start;
    grid-row: 1fr 1fr;
    gap: 5vh;
}

.quote {
    border-radius: 1.5em;
    padding:1em;
    background-color: var(--bg);
    color: var(--muted-text);
    font-size: 1.1rem;
}

.song{
    border-radius: 1.5em;
    padding:1em;
    background-color: var(--bg);
    color: var(--muted-text);
    font-size: 1.1rem;
}


.avatar-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    flex-shrink: 0;
}


.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Content Column */
.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}





footer {
    text-align: center;
    padding: 4rem 0;
    color: var(--muted-text);
    font-size: 0.8rem;
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr; /* Stack everything into 1 column */
    }


    .sidebar {
        display: none; /* Hides sidebar content on mobile */
    }


    .hero {
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
        /* Added a small gap so the avatar isn't touching the text */
        gap: 1.5rem; 
    }


    .hero-content h1 {
        font-size: 2rem;
    }

    /* This moves the avatar container to the top of the flex column */
    .avatar-container {
        order: -1;
    }
}
