/* =============================================================
   COMPONENTS – CARDS, BUTTONS, BADGES
   ============================================================= */

/* ---------------------------------------------------------
    EVENT CARDS
------------------------------------------------- */

.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.event-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

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

.event-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.event-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.event-card-premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
}

.event-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.event-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #000;
}

.event-card-meta-icon {
    font-size: 1rem;
}

.event-card-category {
    display: inline-block;
    background: #e7f3ff;
    color: #0066cc;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

.event-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.event-card-cta {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-card:hover .event-card-cta {
    color: #764ba2;
}

/* ---------------------------------------------------------
    EMPTY STATE
------------------------------------------------- */

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.empty-state-text {
    color: #666;
    margin-bottom: 20px;
}

.empty-state-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-state-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

/* ---------------------------------------------------------
    PAGINATION
------------------------------------------------- */

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: inline;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-link:hover:not(.disabled .page-link) {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-item.active .page-link {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-item.disabled .page-link {
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
}

/* ---------------------------------------------------------
    EVENT DETAIL PAGE
------------------------------------------------- */

.event-hero-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    margin: -40px -15px 40px -15px;
}

.event-hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #fff;
    border-top: 5px solid #133fbf;
    border-bottom: 5px solid #133fbf;
    border-right: 5px solid #fff;
}

.event-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px 20px;
}

.event-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.event-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

/* ---------------------------------------------------------
    EVENT INFO GRID
------------------------------------------------- */

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 40px 0;
}

.info-card {
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.info-card:nth-child(2) {
    border-left-color: #764ba2;
}

.info-card:nth-child(3) {
    border-left-color: #f093fb;
}

.info-card:nth-child(4) {
    border-left-color: #4facfe;
}

.info-card-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.info-card-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.info-card-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

/* ---------------------------------------------------------
    EVENT DESCRIPTION
------------------------------------------------- */

.event-description {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    line-height: 1.8;
    color: #444;
}

.event-description h2 {
    color: #333;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

.event-description h3 {
    color: #555;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.event-description p {
    margin-bottom: 15px;
}

.event-description ul,
.event-description ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.event-description li {
    margin-bottom: 8px;
    color: #555;
}

/* ---------------------------------------------------------
    BUTTONS
------------------------------------------------- */

.btn-ticket,
.btn-website {
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-ticket {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-ticket:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-website {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-website:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
    color: white;
}

/* ---------------------------------------------------------
    SIDEBAR CARDS
------------------------------------------------- */

.sidebar-card {
    background: white;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #667eea;
    position: relative;
    overflow: hidden;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.sidebar-card:nth-child(2) {
    border-top-color: #764ba2;
}

.sidebar-card:nth-child(3) {
    border-top-color: #f093fb;
}

.sidebar-card:nth-child(4) {
    border-top-color: #4facfe;
}

.sidebar-card-link:hover .sidebar-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sidebar-card h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.sidebar-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.sidebar-content a {
    color: #667eea !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.sidebar-content a:hover {
    color: #764ba2 !important;
}

.sidebar-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 15px 0;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-content ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.sidebar-content li {
    margin-bottom: 8px;
    color: #555;
}

.sidebar-content blockquote {
    border-left: 5px solid #667eea;
    padding-left: 16px;
    color: #666;
    margin: 16px 0;
    font-style: italic;
    font-size: 1.05rem;
}

.sidebar-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 20px 0;
}

.sidebar-content .btn {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
}

.sidebar-card-link,
.sidebar-card-link *,
.sidebar-card-link a,
.sidebar-card-link h3 {
    text-decoration: none !important;
    color: inherit !important;
}

/* ---------------------------------------------------------
    MAP
------------------------------------------------- */

.event-map-section {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}

.event-map-section h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

#eventMap {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
    overflow: hidden;
}

.event-address {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
}