/* Event Section Styles */
.events-section {
    padding: 100px 0;
    background: #f8fafc;
    overflow: hidden;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 370px;
    align-items: flex-start;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #EA232A;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Poppins', sans-serif;
}

.search-input:focus {
    border-color: #ff4d4d;
    box-shadow: 0 0 0 3px rgba(234, 35, 42, 0.2);
}

.search-input::placeholder {
    color: #64748b;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #EA232A;
    font-size: 1.2rem;
    pointer-events: none;
}

.event-card.hidden {
    display: none;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        max-width: 100%;
    }
}

.event-navigation {
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.nav-button {
    background: white;
    border: 2px solid #EA232A;
    color: #EA232A;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-button:hover {
    background: #EA232A;
    color: white;
    transform: scale(1.1);
}

.nav-button:active {
    transform: scale(0.95);
}

.events-scroll-container {
    position: relative;
    margin: 0 -20px;
    padding: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.events-scroll-container::-webkit-scrollbar {
    display: none;
}

.events-track {
    display: flex;
    gap: 2rem;
    padding: 0.5rem;
}

.event-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Event link styling */
.event-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image {
    transform: scale(1.1);
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(234, 35, 42, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.event-content {
    padding: 1.5rem;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: #EA232A;
}

.date-month {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

.event-category {
    color: #64748b;
    font-weight: 500;
}

.event-title {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.event-location,
.event-artists {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.icon {
    font-size: 1.2rem;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.event-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    color: #64748b;
    font-size: 0.875rem;
}

.price-amount {
    color: #EA232A;
    font-size: 1.10rem;
    font-weight: 700;
}

.event-button {
    display: inline-flex;
    align-items: center;
    background: #EA232A;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.event-button:hover {
    background: #ff4d4d;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .events-track {
        gap: 1rem;
    }
    
    .event-card {
        flex: 0 0 320px;
    }
    
    .event-image-container {
        height: 180px;
    }
}
