:root {
    --base-primary: #0E0E26;
    --base-secondary: #87CEFA;
    --base-accent: #C04000;
    --base-white: whitesmoke;
    --base-black: #333;
    --base-gray: #ccc;
    --base-light-gray: #f9f9f9;

    --base-nav-transition: color 0.3s ease;
}

/* Reset and Base Styles */


body {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--base-black);
    font-size: 18px;
}

a {
    color: var(--base-primary);
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.button {
    display: inline-block;
    background: var(--base-white);
    color: var(--base-primary);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 1rem;
    margin-top: 1rem;
    cursor: pointer;
    min-width: 10rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.6;
    border: none;
}

.button.secondary {
    background: var(--base-primary);
    color: var(--base-white);
}

a.button, a.button:hover {
    text-decoration: none;
}

a.button:hover {
    color: var(--base-accent);
    transition: var(--base-nav-transition);
}

a.button.secondary:hover, button.button:hover{
    color: var(--base-secondary);
    transition: var(--base-nav-transition);
}

header {
    background: var(--base-primary);
    padding: 1rem;
    gap: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 72px;
    margin: 0;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--base-white);
    font-weight: bold;
}

nav a:hover {
    color: var(--base-secondary);
    text-decoration: none;
    transition: var(--base-nav-transition);
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
}

.social-nav {
    margin-left: auto;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-nav a {
    color: var(--base-white);
    display: flex;
    align-items: center;
}

.social-nav a:hover {
    color: var(--base-secondary);
    text-decoration: none;
    transition: var(--base-nav-transition);
}

section {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

h1, h2, h3 {
    color: var(--base-black);
    font-family: 'Noto Sans Display', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

h2 {
    font-size: 2.5rem;
}


img {
    max-width: 100%;
    height: auto;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.67), rgba(0,0,0,0.67)), url('../hero.avif') no-repeat center center/cover;
    padding: 6rem 1rem;
    color: var(--base-white);
    max-width: 100%;
    margin: 0;
    margin-bottom: 2rem;
}

.hero h1 {
    color: var(--base-white);
}

/* About Section */
#about {
    max-width: 1000px;
}

#about .about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

#about .about-image {
    flex: 1;
}

#about .about-text {
    flex: 1;
}

#about h2 {
    margin-top: 0;
}

/* Runs Section */
#runs {
    max-width: 1200px;
}

#runs h2 {
    margin-top: 0;
}

.runs-content {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    align-items: stretch;
}

.run-type {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--base-light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.run-type h3 {
    text-align: center;
    margin-top: 0;
}

.run-type img {
    width: 100%;
    border-radius: 4px;
}

/* Oktoberfast Section */
#oktoberfast {
    background: linear-gradient(rgba(0,0,0,0.67), rgba(0,0,0,0.67)), url('../race.avif') no-repeat center center/cover;
    padding: 6rem 1rem;
    color: var(--base-white);
    max-width: 100%;
    margin: 2rem 0;
}

#oktoberfast h2, #oktoberfast a {
    color: var(--base-white);
}

.race-content {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #about .about-content,
    .runs-content {
        flex-direction: column;
        text-align: center;
    }
}

footer {
    background: var(--base-black);
    color: var(--base-white);
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer a {
    color: var(--base-white);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea {
    padding: 1rem;
    border: 1px solid var(--base-gray);
    border-radius: 0.5rem;
}
