/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: #2c5f3f;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: white;
    text-decoration: none;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.8;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5f3f 0%, #4a8c62 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.event-date {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 1rem;
}

.event-date h2 {
    font-size: 1.8rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #2c5f3f;
}

.intro {
    background-color: #f8f9fa;
}

.intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Route Cards */
.routes {
    background-color: white;
}

.route-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.route-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.route-card h3 {
    color: #2c5f3f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.distance {
    font-size: 2rem;
    font-weight: bold;
    color: #4a8c62;
    margin-bottom: 1rem;
}

/* Registration Info */
.registration-info {
    background-color: #fff8e6;
    text-align: center;
}

.registration-notice {
    font-size: 1.3rem;
    font-weight: bold;
    color: #d97706;
    margin-bottom: 1rem;
}

.registration-info a {
    color: #2c5f3f;
    font-weight: 600;
}

/* Buttons and CTAs */
.cta {
    text-align: center;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    background-color: #2c5f3f;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1f4429;
}

/* Route Details Page */
.route-details {
    background-color: white;
}

.route-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.route-section h3 {
    color: #2c5f3f;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.route-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.info-item {
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
}

.info-label {
    font-weight: bold;
    color: #2c5f3f;
    margin-bottom: 0.5rem;
}

/* Registration Page */
.form-section {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c5f3f;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* About Page */
.content-section {
    background-color: white;
}

.content-section p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Utility Classes */
.section-spacing {
    margin-top: 2rem;
}

.text-center {
    text-align: center;
}

.content-list {
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
}

/* Footer */
footer {
    background-color: #2c5f3f;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .event-date h2 {
        font-size: 1.3rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    section h2 {
        font-size: 1.8rem;
    }

    .route-cards {
        grid-template-columns: 1fr;
    }
}
