/* Venue detail page styles */

.venue-hero {
    padding: 40px 0;
    color: white;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: white;
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.venue-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.venue-location {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content section */
.venue-content {
    padding: 0 0 80px;
}

.venue-content .container {
    max-width: 850px;
}

.events-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.events-section h2 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 20px;
}

/* Events list */
.events-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.event-row:last-child {
    border-bottom: none;
}

.event-name {
    font-weight: 500;
    color: #2d3748;
}

.event-datetime {
    color: #718096;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.pagination-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #667eea;
    color: #667eea;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: #4a5568;
    font-size: 0.9rem;
}

/* No events state */
.no-events {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

/* App promo box */
.app-promo {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.app-promo h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 12px;
}

.app-promo > p {
    color: #718096;
    margin-bottom: 16px;
}

.promo-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: inline-block;
    text-align: left;
}

.promo-benefits li {
    padding: 8px 0;
    color: #4a5568;
    position: relative;
    padding-left: 28px;
}

.promo-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.promo-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.promo-buttons .store-badge {
    height: 44px;
    width: auto;
}

/* Download modal */
.download-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.download-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: downloadModalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes downloadModalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.download-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.download-modal-close:hover {
    color: #333;
}

.download-modal-content h2 {
    color: #764ba2;
    margin-bottom: 16px;
}

.download-modal-content p {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.download-modal-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.download-modal-buttons .store-badge {
    height: 44px;
    width: auto;
}

.no-app-btn {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #667eea;
    font-size: 1rem;
    text-decoration: underline;
    cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .venue-hero {
        padding: 30px 0;
    }

    .venue-hero h1 {
        font-size: 1.8rem;
    }

    .event-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .event-datetime {
        margin-left: 0;
    }

    .promo-buttons {
        flex-direction: column-reverse;
    }

    .promo-buttons .store-badge {
        height: 40px;
        width: auto;
    }
}
