/* Marathon Navigation Link Highlight */
.main-menu-list li a.marathon-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.main-menu-list li a.marathon-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}

/* Mobile Menu Marathon Link */
@media (max-width: 991px) {
    .mobile-menu .main-menu-list li a.marathon-link {
        display: inline-block;
        margin: 5px 0;
    }
}

/* Additional Marathon Page Enhancements */
.marathon-hero-section .page-title h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.marathon-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Improved Button Styles */
.marathon-submit-btn button.thm-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.marathon-submit-btn button.thm-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.marathon-submit-btn button.thm-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Loading Animation for Form */
.form-control:focus {
    animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Image Gallery Improvements */
.marathon-image-card,
.lastyear-image-card {
    cursor: pointer;
    will-change: transform;
}

/* Video Controls Enhancement */
.main-video-container video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

/* Video Container for Vertical Videos */
.main-video-container {
    position: relative;
    overflow: hidden;
}

.main-video-container video {
    display: block;
    margin: 0 auto;
}

/* Payment Info Box Pulse Effect */
.payment-info-box {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

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

/* Print Styles */
@media print {
    .marathon-form-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .video-slider-container,
    .marathon-submit-btn {
        display: none;
    }
}
