﻿:root {
    --color-primary: #010080;
    --color-primary-hover: #0100B3;
    --color-secondary: #FFBC42;
    --color-white: #FFFFFF;
    --color-light-gray: #F5F5F7;
    --color-gray: #6c757d;
    --color-success: #4CAF50;
    --color-danger: #E53E3E;
}

/* Hero Section */
.hero-section-alt {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    padding-top: 150px;
    padding-bottom: 50px;
    /*background: linear-gradient(135deg, var(--primary-color) 0%, #0100B3 100%);*/
}

    .hero-section-alt.white-bg {
        background: var(--color-white);
    }

    .hero-section-alt .floating-icon {
        position: absolute;
        opacity: 0.1;
        animation: float 4s ease-in-out infinite;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.hero-title-alt {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle-alt {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Stats Cards */
.stat-card {
    background-color: var(--color-light-gray);
    border-radius: 1rem;
    padding: 0.75rem;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

/* Card Styles */
.custom-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .custom-card:hover {
        transform: translateY(-10px);
        border-color: var(--color-primary);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }

    .custom-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.custom-card-body {
    padding: 1.5rem;
}

.custom-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.custom-card-text {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

/* Marathon Cards */
.marathon-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .marathon-card:hover {
        transform: translateY(-10px) scale(1.02);
        border-color: var(--color-primary);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    }

.marathon-card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

    .marathon-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
    }

.marathon-card:hover .marathon-card-image img {
    transform: scale(1.1);
}

.marathon-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 50%);
}

.marathon-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid;
    z-index: 2;
}

.marathon-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.marathon-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

    .marathon-title-overlay h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: white;
        margin-bottom: 0.5rem;
        text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }

.company-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.company-logo {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marathon-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.date-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 0.75rem;
    border: 2px solid #e5e5e5;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    margin-bottom: 0.75rem;
}

.date-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.date-label {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-bottom: 0.25rem;
}

.date-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Filter Buttons */
.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: none;
    background-color: var(--color-light-gray);
    color: var(--color-gray);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .filter-btn:hover {
        background-color: #e5e5e5;
    }

    .filter-btn.active {
        background-color: var(--color-primary);
        color: white;
        box-shadow: 0 2px 8px rgba(1, 0, 128, 0.3);
    }

/* Badge Styles */
.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Footer */
footer {
    background-color: white;
    border-top: 2px solid #e5e5e5;
    padding: 3rem 0 1.5rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.footer-link {
    display: block;
    color: var(--color-gray);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: var(--color-primary);
    }

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--color-light-gray);
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    transition: all 0.3s ease;
    text-decoration: none;
}

    .social-icon:hover {
        background-color: var(--color-primary);
        color: white;
    }

/* Animations */
.fade-in-alt {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up-alt {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title-alt {
        font-size: 2.5rem;
    }

    .hero-subtitle-alt {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }
}

/* Loading Animation */
.spinner-custom {
    border: 3px solid var(--color-light-gray);
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Section */
.cta-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    border-radius: 2rem;
    padding: 4rem 3rem;
    box-shadow: 0 16px 32px rgba(1, 0, 128, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    opacity: 0.2;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.btn-secondary-custom {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 188, 66, 0.3);
}

    .btn-secondary-custom:hover {
        background-color: #FFD073;
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(255, 188, 66, 0.4);
    }

/* Search Input */
.search-input {
    padding: 0.75rem 1rem 0.75rem 3rem;
    border-radius: 50px;
    border: 2px solid #e5e5e5;
    background-color: var(--color-light-gray);
    transition: all 0.3s ease;
}

    .search-input:focus {
        outline: none;
        border-color: var(--color-primary);
        background-color: white;
    }

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray);
}

/* Filter pills wrapper */
.filter-pills-wrapper {
    min-width: 0;
    overflow: visible;
    padding-top: 10px;
}

.filter-pills-wrapper .nav-item,
.filter-pills-wrapper .nav-pills {
    overflow: visible;
}

/***********************************************/
