/* =====================================================
   NIGHTLIFE PAGE - Specific Styles
   ===================================================== */

/* Page Header */
.nightlife-header {
    background-image: url('https://images.unsplash.com/photo-1566737236500-c8ac43014a67?w=1920&q=80');
}

/* Venue Cards */
.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.venue-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.venue-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px -5px rgba(255, 107, 0, 0.15);
    transform: translateY(-3px);
}

/* Venue Image Placeholder */
.venue-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

.venue-image--placeholder {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-image--placeholder::after {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    opacity: 0.25;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23404759' stroke-width='1.5'%3E%3Crect x='2' y='6' width='20' height='14' rx='2'/%3E%3Cpath d='M8.5 6L9.5 4h5l1 2'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Venue Card Body (content wrapper below image) */
.venue-card-body {
    padding: var(--space-lg);
}

.venue-card-body h4 {
    margin: 0 0 var(--space-xs) 0;
    color: var(--dark);
}

.venue-type {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.venue-type-club {
    background: #FFF0E0;
    color: #C45500;
}

.venue-type-bar {
    background: #fef3c7;
    color: #b45309;
}

.venue-type-beach {
    background: #e0f2fe;
    color: #0369a1;
}

.venue-type-pub {
    background: #dcfce7;
    color: #15803d;
}

.venue-type-casino {
    background: #fce4ec;
    color: #c2185b;
}

.venue-card-body p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
}

.venue-card-body .venue-detail {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Lloret Stats */
.lloret-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.lloret-stat {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.lloret-stat .stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.lloret-stat .stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Town filter bar - reuse from activities */
.town-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.town-tab {
    padding: 0.4rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.town-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.town-tab.active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
}

.activity-item[hidden] {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .venue-grid {
        grid-template-columns: 1fr;
    }

    .lloret-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
