/* Minimalist, modern, responsive styles for Ryan Matheson site */
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: #f8fafc;
    color: #222;
    margin: 0;
    padding: 0;
    transition: background 0.2s, color 0.2s;
}

html.dark body {
    background: #181a1b;
    color: #e2e8f0;
}
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: background 0.2s;
}
html.dark .navbar {
    background: #23272a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
}
.nav-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2a4365;
    text-decoration: none;
    transition: color 0.2s;
}
html.dark .nav-brand {
    color: #90cdf4;
}
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #2a4365;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
html.dark .nav-links a {
    color: #90cdf4;
}
}
.nav-links a:hover {
    color: #3182ce;
}
.hero {
    text-align: center;
    padding: 5rem 1rem 3rem 1rem;
    background: #fff;
    border-radius: 0.5rem;
    margin: 2rem auto;
    max-width: 700px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.04);
    transition: background 0.2s, box-shadow 0.2s;
}
html.dark .hero {
    background: #23272a;
    box-shadow: 0 4px 24px rgba(44,62,80,0.12);
}
}
.hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #2a4365;
    transition: color 0.2s;
}
html.dark .hero h1 {
    color: #90cdf4;
}
}
.tagline {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    transition: color 0.2s;
}
html.dark .tagline {
    color: #cbd5e1;
}
}
.cta-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #3182ce;
    color: #fff;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(49,130,206,0.08);
    transition: background 0.2s, color 0.2s;
}
html.dark .cta-btn {
    background: #2b6cb0;
    color: #e2e8f0;
}
}
.cta-btn:hover {
    background: #2b6cb0;
}
/* Section styling */
.section {
    background: #fff;
    border-radius: 0.5rem;
    margin: 2rem auto;
    max-width: 700px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.04);
    padding: 2rem 1.5rem;
    transition: background 0.2s, box-shadow 0.2s;
}
html.dark .section {
    background: #23272a;
    box-shadow: 0 4px 24px rgba(44,62,80,0.12);
}
}
.section h2 {
    color: #2a4365;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.2s;
}
html.dark .section h2 {
    color: #90cdf4;
}
}
.section h3 {
    color: #3182ce;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: color 0.2s;
}
html.dark .section h3 {
    color: #63b3ed;
}
}
.section ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: #4a5568;
    transition: color 0.2s;
}
html.dark .section ul {
    color: #cbd5e1;
}
}
.section p {
    color: #222;
    margin-bottom: 1rem;
    transition: color 0.2s;
}
html.dark .section p {
    color: #e2e8f0;
}
}
/* Resume form styling */
.resume-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}
.resume-form label {
    font-weight: 500;
    color: #2a4365;
}
.resume-form input,
.resume-form textarea {
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.3rem;
    font-size: 1rem;
    background: #f8fafc;
    color: #222;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
html.dark .resume-form input,
html.dark .resume-form textarea {
    background: #23272a;
    color: #e2e8f0;
    border: 1px solid #4a5568;
}
}
.resume-form button {
    margin-top: 1rem;
}
/* Success alert */
.alert-success {
    background: #e6fffa;
    color: #2c7a7b;
    border: 1px solid #b2f5ea;
    border-radius: 0.3rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
html.dark .alert-success {
    background: #22543d;
    color: #b2f5ea;
    border: 1px solid #38a169;
}
}
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .hero {
        padding: 2rem 0.5rem;
        margin: 1rem 0.5rem;
    }
    .hero h1 {
        font-size: 1.3rem;
    }
}
