/* Mike Merrill - Personal Site Styles */

:root {
    --primary: #1a1a1a;
    --secondary: #666;
    --accent: #0066cc;
    --background: #fafafa;
    --white: #ffffff;
    --border: #e0e0e0;
    --max-width: 720px;
}

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

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background: var(--background);
}

/* Header & Navigation */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

nav .btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
}

nav .btn:hover {
    background: #333;
    color: var(--white);
}

/* Main Content */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

section {
    margin-bottom: 3rem;
}

/* Hero */
.hero {
    text-align: center;
    padding: 2rem 0 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    color: var(--secondary);
}

/* Intro */
.intro p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.intro a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.intro a:hover {
    border-bottom-color: var(--accent);
}

/* Sections */
h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Philosophy */
.philosophy article {
    margin-bottom: 1.5rem;
}

.philosophy p {
    color: var(--secondary);
}

/* Talks */
.video-list {
    list-style: none;
    margin-bottom: 1rem;
}

.video-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.video-list a {
    color: var(--accent);
    text-decoration: none;
}

.video-list a:hover {
    text-decoration: underline;
}

.more-talks {
    font-size: 0.9rem;
    color: var(--secondary);
}

/* Press */
.press ul {
    list-style: none;
}

.press li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.press a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.press a:hover {
    color: var(--accent);
}

.press .source {
    display: block;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-top: 0.25rem;
}

/* Quote */
.quote {
    background: var(--white);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
}

.quote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.quote cite {
    font-size: 0.9rem;
    color: var(--secondary);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    margin-top: 3rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.footer-main {
    margin-bottom: 1.5rem;
}

.footer-location {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.footer-email a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
}

.footer-email a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0;
}

footer .social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: text-shadow 0.2s;
}

footer .social-links a:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

footer .copyright {
    font-size: 0.8rem;
    opacity: 0.5;
    margin: 0;
}

.copyright {
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* About Page */
.about-content h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.about-content p {
    margin-bottom: 1rem;
}

.milestones {
    list-style: none;
}

.milestones li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.milestones li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* CV Page */
.cv-section {
    margin-bottom: 2rem;
}

.cv-section h3 {
    color: var(--secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.cv-section ul {
    list-style: none;
}

.cv-section li {
    padding: 0.4rem 0;
}

.cv-section .year {
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Contact Page */
.contact-topics {
    list-style: none;
    margin: 1.5rem 0;
}

.contact-topics li {
    padding: 0.3rem 0;
    color: var(--secondary);
}

.contact-email {
    font-size: 1.2rem;
    margin: 2rem 0;
}

.contact-email a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

/* Legal Page */
.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

/* Music Page */
.music-list {
    list-style: none;
}

.music-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.music-list a {
    color: var(--accent);
    text-decoration: none;
}

.music-list a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    html {
        font-size: 16px;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }
}
