:root {
    --primary-blue: #1a3a52;
    --dark-blue: #0f2537;
    --light-blue: #2d5f7f;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
}

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

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

/* Navigation */
nav {
    background-color: var(--primary-blue);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wide-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Main Content */
main {
    padding: 3rem 0;
    min-height: 60vh;
}

section {
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

a {
    color: var(--light-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Blog Listing */
.blog-intro {
    background-color: var(--off-white);
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 3rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 2rem;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h2 {
    margin-top: 0;
}

.blog-post .meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post .excerpt {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--light-blue);
    font-weight: 500;
}

/* Blog Post */
.post-header {
    margin-bottom: 2rem;
}

.post-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-content {
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2 {
    margin-top: 2.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--light-blue);
}

/* Athletics */
.race-list {
    margin-top: 2rem;
}

.race-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: var(--off-white);
    border-left: 4px solid var(--primary-blue);
}

.race-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.race-details {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    color: var(--gray);
}

.race-time {
    font-weight: 600;
    color: var(--dark-blue);
}

.video-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.video-container iframe {
    width: 100%;
    max-width: 700px;
    height: 400px;
    border: none;
    border-radius: 4px;
}

/* Resume */
.resume-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
    margin: 2rem 0;
}

.resume-link:hover {
    background-color: var(--light-blue);
    text-decoration: none;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
}

footer .container {
    text-align: center;
}

footer a {
    color: var(--white);
    margin: 0 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container, .wide-container {
        padding: 0 1.5rem;
    }
    
    .race-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .video-container iframe {
        height: 250px;
    }
}
