@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.event-card {
    max-width: 400px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideIn 0.5s ease-out;
    height: 500px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.event-header-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 40%);
    z-index: 1;
}

.event-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-header-image img {
    transform: scale(1.05);
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffbe30;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.favorite-btn:hover {
    transform: scale(1.1);
    background: white;
}

.price-tag {
    position: absolute;
    left: 15px;
    top: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: #2d3436;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.event-content {
    padding: 25px;
}

.event-main-info {
    margin-bottom: 20px;
}

.event-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    color: #2d3436;
}

.event-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff4de;
    padding: 5px 10px;
    border-radius: 12px;
    color: #ffa502;
}

.category-tag {
    background: #f0f2f5;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 14px;
    color: #636e72;
}

.action-section {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.chat-btn, .book-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.chat-btn {
    background: #f1f2f6;
    color: #2d3436;
}

.chat-btn:hover {
    background: #e4e5e9;
    transform: translateY(-2px);
}

.book-btn {
    background: #ffbe30;
    color: white;
  font-weight: 700;
}

.book-btn:hover {
    background: #ffbd30b8;
    transform: translateY(-2px);
}

.pulse {
    animation: pulse 2s infinite;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f2f6;
}

.attendees {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: translateY(-3px);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attendee-count {
    font-size: 14px;
    color: #636e72;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #636e72;
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 480px) {
    .event-card {
        margin: 10px;
    }

    .action-section {
        flex-direction: column;
    }

    .event-title {
        font-size: 20px;
    }
}

/* Glass morphism effect for price tag and buttons */
.price-tag, .chat-btn, .book-btn {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.event-link {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.event-link:hover {
    text-decoration: underline;
    color:  #ffbd30b8;
}
