/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
    line-height: 1.6;
    color: #b8c2cc;
    background-color: #1a1a1a;
}

/* Global Link Styles */
a {
    color: #00FF00;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00FF00;
    text-decoration: underline;
}

a:visited {
    color: #00FF00;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background-color: #2d3748;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #a0aec0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #00FF00;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00FF00;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #a0aec0;
    transition: 0.3s;
}


/* Content Section */
.content {
    padding: 60px 0;
    background-color: #1a1a1a;
}

.content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #e2e8f0;
    text-align: center;
}

.content p {
    margin-bottom: 20px;
    color: #a0aec0;
    line-height: 1.8;
}


/* Projects Page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #2d3748;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #4a5568;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #00FF00;
}

.project-card h3 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-card h3 .title-text {
    flex: 1;
}

.project-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-left: 12px;
}

.project-card p {
    color: #a0aec0;
    margin-bottom: 20px;
    line-height: 1.7;
}




/* Running Page */
.running-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background-color: #2d3748;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a5568;
}

.stat-card h3 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #63b3ed;
    margin-bottom: 5px;
}

.stat-card p {
    color: #a0aec0;
    font-size: 0.9rem;
    margin: 0;
}


/* Running Records Table */
.running-records {
    margin-bottom: 50px;
}

.running-records h2 {
    text-align: left;
    margin-bottom: 25px;
    color: #e2e8f0;
    font-size: 1.8rem;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #2d3748;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #4a5568;
}

.records-table th,
.records-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #4a5568;
}

.records-table th {
    background-color: #4a5568;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.records-table td {
    color: #a0aec0;
    font-size: 0.95rem;
}

.records-table tbody tr:hover {
    background-color: #4a5568;
}

.records-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive table */
@media (max-width: 768px) {
    .records-table {
        font-size: 0.85rem;
    }

    .records-table th,
    .records-table td {
        padding: 12px 15px;
    }

    .running-records h2 {
        font-size: 1.5rem;
    }
}

/* Footer */
footer {
    background-color: #2d3748;
    color: #a0aec0;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #4a5568;
}

footer p {
    margin: 0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #2d3748;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        gap: 0;
        border-top: 1px solid #4a5568;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #4a5568;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .content {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    .projects-grid,
    .running-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card,
    .stat-card {
        padding: 20px;
    }

    .project-logo {
        width: 28px;
        height: 28px;
        margin-left: 10px;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    .year-buttons {
        gap: 8px;
    }

    .year-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .content h2 {
        font-size: 1.6rem;
    }

    .project-card h3 {
        font-size: 1.2rem;
    }

    .project-logo {
        width: 24px;
        height: 24px;
        margin-left: 8px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Gaming Page */
.game-recap-container {
    margin: 30px 0;
    text-align: center;
}

.year-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.year-btn {
    background-color: #4a5568;
    color: #e2e8f0;
    border: 1px solid #718096;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.year-btn:hover {
    background-color: #718096;
    border-color: #00FF00;
}

.year-btn.active {
    background-color: #00FF00;
    color: #1a1a1a;
    border-color: #00FF00;
}

.recap-image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a5568;
    display: inline-block;
    max-width: 100%;
}

.recap-image {
    max-width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.recap-image.fade {
    opacity: 0.7;
}


.travel-maps-section {
    margin: 50px 0;
}

.maps-container {
    margin-top: 30px;
    text-align: center;
}

.map-wrapper h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.us-map-container {
    height: 300px;
    width: min(600px, 100%);
    margin: 0 auto;
    background-color: #1a1a1a;
    border: 1px solid #4a5568;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Leaflet map styling */
.us-map-container .leaflet-container {
    background-color: #1a365d;
    border-radius: 8px;
}

.us-map-container .leaflet-popup-content-wrapper {
    background-color: #2d3748;
    color: #e2e8f0;
    border: 1px solid #4a5568;
}

.us-map-container .leaflet-popup-tip {
    background-color: #2d3748;
}

/* Responsive map styling */
.responsive-map {
    height: 300px;
    width: min(600px, 100%);
    margin: 0 auto;
}

/* Maps container padding for mobile */
@media (max-width: 768px) {
    .maps-container {
        margin-left: 15px;
        margin-right: 15px;
    }

    .responsive-map {
        height: 250px;
        width: 100%;
        margin: 0;
    }
}