/* CSS Variables for Theme Colors */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #f1f1f1;
    --text-color: #333;
    --accent-color: #1976d2;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
}

/* Body and Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Bootstrap Primary Color Override */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0a1f3a;
    border-color: #0a1f3a;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Navigation Styles */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    text-align: center;
}



.sports-badges .badge {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Section Styling */
.content-section {
    padding: 30px 0;
    background-color: #ffffff;
}

.contact-section {
    background-color: var(--light-gray);
    padding: 30px 0;
}

.section-title {
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
    font-size: 2rem;
}

.section-title::after {
    display: none;
}

/* At-a-Glance Boxes */
.at-a-glance-box {
    border: 1px solid #dee2e6;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 15px;
}

.at-a-glance-box h5 {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

.at-a-glance-box p {
    font-size: 1rem;
    margin-bottom: 0;
}



/* Table Styles */
.table-header {
    background-color: #f8f9fa;
    color: var(--text-color);
}

.table-header th {
    border: 1px solid #dee2e6;
    font-weight: 600;
    padding: 12px;
    border-top: none;
}

.table-striped>tbody>tr:nth-of-type(odd)>td {
    background-color: #f8f9fa;
}

.table td,
.table th {
    padding: 12px;
    vertical-align: middle;
    border: 1px solid #dee2e6;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
}

/* Contact Section */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 20px 0;
        min-height: auto;
    }

    .content-section {
        padding: 25px 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .at-a-glance-box {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 15px 0;
    }

    .content-section {
        padding: 20px 0;
    }

    .contact-section {
        padding: 20px 0;
    }

    .display-4 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .sports-badges .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 5px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Padding for Navbar Offset */
section {
    scroll-margin-top: 76px;
}

/* Additional Utility Classes */
.text-muted {
    color: #6c757d !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* MileSplit Profile Button */
.btn-primary.milesplit-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 8px 16px;
}

/* Contact Information Styling */
.contact-section {
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 30px;
    text-align: center;
}

.contact-info .lead {
    margin-bottom: 10px;
}

/* Profile section specific styling */
.hero-section .display-4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.hero-section h3 {
    color: #6c757d;
    font-weight: 400;
    margin-bottom: 8px;
}

.hero-section .lead {
    color: var(--text-color);
    margin-bottom: 20px;
}