.hero-section {
    background-image: url('/barbell.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1,
.hero-section p,
.hero-section i {
    color: #ffffff;
    position: relative;
    z-index: 2;
}

/* Estilos para botones btn-light en hero section */
.hero-section .btn-light {
    color: #000000 !important;
}

.hero-section .btn-light i {
    color: #000000 !important;
}

.hero-section .btn-light:hover {
    color: #000000 !important;
}

.hero-section .btn-light:hover i {
    color: #000000 !important;
}

.hero-section .btn-light:active,
.hero-section .btn-light:focus {
    color: #000000 !important;
}

.hero-section .btn-light:active i,
.hero-section .btn-light:focus i {
    color: #000000 !important;
}

/* Estilos para iconos dentro de badges */
.hero-section .badge i {
    color: inherit !important;
}

/* Estilos para los tabs */
.nav-tabs .nav-link {
    white-space: nowrap !important;
    text-align: center;
    padding: 0.5rem 0.25rem;
}

.nav-tabs .nav-link i {
    margin-right: 0.25rem;
}

@media (max-width: 576px) {
    .nav-tabs .nav-link {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.15rem;
    }
    
    .nav-tabs .nav-link i {
        margin-right: 0.15rem;
    }
}

/* Estilos para el buscador */
.search-container {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 12px !important;
}

.search-container .input-group-text {
    font-size: 12px !important;
}

.search-container .btn {
    font-size: 12px !important;
}

.search-container .form-control {
    font-size: 16px !important;
}

.search-container .form-control::placeholder {
    font-size: 16px !important;
}

.search-container .input-group {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.search-container .input-group .form-control {
    flex: 1;
    min-width: 0;
    width: auto;
}

.search-container .input-group .btn {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: auto;
}

/* Asegurar que todo quede en una línea */
@media (max-width: 576px) {
    .search-container .input-group {
        flex-wrap: nowrap !important;
    }
    
    .search-container .input-group .form-control {
        min-width: 0 !important;
        width: auto !important;
        margin-bottom: 0 !important;
    }
    
    .search-container .input-group .btn {
        flex: none !important;
        margin-bottom: 0 !important;
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
}

.competition-item {
    transition: all 0.3s ease;
}

.competition-item.hidden {
    display: none !important;
}

.competition-item.highlight {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

#searchCompetitions:focus {
    border-color: #ced4da;
    box-shadow: none;
    outline: none;
}

.search-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.search-no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Efecto hover para las imágenes de competencias */
.competition-card a img:hover {
    transform: scale(1.05);
}

