/* Events Header Styles */
.events-header {
    position: relative;
    text-align: center;
    padding: 4rem 1rem;
    color: white;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #10B981, #059669);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
}

.events-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.events-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Events Grid Styles */
.events-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Event Card Styles */
.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.event-details {
    padding: 1.5rem;
}

.event-details h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 600;
}

.event-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-info {
    margin-bottom: 1.5rem;
}

.event-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #555;
}

.event-info i {
    margin-right: 0.75rem;
    color: #10B981;
    width: 20px;
}

.event-price-tickets {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #10B981;
}

.tickets-left {
    color: #666;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #ddd;
}

.buy-ticket-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #10B981;
    color: white;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.buy-ticket-btn:hover {
    background: #059669;
}

.sold-out-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #dc3545;
    color: white;
    text-align: center;
    border-radius: 10px;
    font-weight: 500;
    cursor: not-allowed;
    opacity: 0.8;
    border: none;
    margin-bottom: 0.5rem;
}

.sold-out-btn i {
    margin-right: 0.5rem;
}
/* Loading State Styles */
.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #10B981;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Error and No Events States */
.error-message, .no-events {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
}

.no-events {
    color: #666;
}

.no-events h2 {
    color: #333;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .events-header h1 {
        font-size: 2rem;
    }

    .events-header p {
        font-size: 1rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem 2rem;
    }

    .event-details {
        padding: 1rem;
    }

    .event-details h2 {
        font-size: 1.25rem;
    }

    .price {
        font-size: 1.25rem;
    }
}

/* Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Search and Filter Section Styles */
.search-filter-section {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.search-container input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-container input:focus {
    outline: none;
    border-color: #10B981;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.search-container button {
    padding: 1rem 2rem;
    background: #10B981;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-container button:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

.search-container button i {
    font-size: 1.1rem;
}

.filters-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.filter-group label i {
    margin-right: 0.5rem;
    color: #10B981;
}

.filter-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #f8f9fa;
    color: #333;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.filter-group select:focus {
    outline: none;
    border-color: #10B981;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .search-filter-section {
        margin: 0 1rem 1.5rem;
    }

    .search-container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .search-container button {
        width: 100%;
        justify-content: center;
    }

    .filters-container {
        padding: 1rem;
        gap: 1rem;
    }

    .filter-group {
        flex: 100%;
        min-width: unset;
    }

    .filter-group label {
        font-size: 0.9rem;
    }

    .filter-group select {
        padding: 0.6rem 1rem;
    }
}

/* Share Button Styles */
.share-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: #f5f6fa;
    color: #10B981;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.share-btn i {
    margin-right: 0.5rem;
}
.share-btn:hover {
    background: #e6f0fa;
    color: #059669;
}

/* Share Modal Styles */
.share-modal {
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.share-modal-content {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem 2rem 2rem 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    min-width: 340px;
    max-width: 95vw;
    text-align: center;
    position: relative;
}
.close-share-modal {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #bbb;
    cursor: pointer;
    transition: color 0.2s;
}
.close-share-modal:hover {
    color: #10B981;
}
.share-modal-content h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #222;
    font-weight: 600;
}
.share-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.share-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f5f6fa;
    border: 2px solid transparent;
    font-size: 2rem;
    color: #555;
    transition: border 0.2s, color 0.2s, background 0.2s;
}
.share-icons a:hover {
    border: 2px solid #10B981;
    color: #10B981;
    background: #e6f0fa;
}
.share-icons a:nth-child(1) { color: #25D366; } /* WhatsApp */
.share-icons a:nth-child(2) { color: #E1306C; } /* Instagram */
.share-icons a:nth-child(3) { color: #1877f3; } /* Facebook */
.share-icons a:nth-child(4) { color: #111; } /* X (Twitter) */
.share-link-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
#shareLinkInput {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f5f6fa;
    color: #333;
}
#copyShareLink {
    padding: 0.7rem 1.2rem;
    background: #10B981;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
#copyShareLink:hover {
    background: #059669;
} 