/**
 * Main Styles for Thai2Night
 * Shared styles across all pages
 */

* {
    font-family: 'Prompt', sans-serif;
}

body {
    background: #f8f9fa;
}

/* Navbar */
.navbar-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: white !important;
    font-size: 1.8rem;
    font-weight: 700;
}

.navbar-brand i {
    margin-right: 0.5rem;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-top: -3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.search-box .form-control,
.search-box .form-select {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.btn-search {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-reset {
    background: #f8f9fa;
    color: #666;
    padding: 0.8rem 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-reset:hover {
    background: #e9ecef;
}

.btn-filter-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-filter-toggle:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b3fa0 100%);
    color: white;
}

.btn-filter-toggle .bi-chevron-down {
    transition: transform 0.3s;
}

.btn-filter-toggle[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

/* Mobile: Hide search box by default, show on larger screens */
@media (max-width: 767.98px) {
    .search-box {
        padding: 1.5rem;
    }

    #searchFilters.collapse:not(.show) {
        display: none;
    }
}

@media (min-width: 768px) {
    .btn-filter-toggle {
        display: none !important;
    }

    #searchFilters {
        display: block !important;
    }
}

/* Venue Card */
.venue-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.venue-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.venue-category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
    margin-right: 0.5rem;
    font-weight: 500;
}

.venue-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.venue-district {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.venue-district i {
    color: #667eea;
    margin-right: 0.3rem;
}

.venue-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.stat-item i {
    color: #f59e0b;
}

.stat-item.checkins i {
    color: #667eea;
}

.stat-item.reviews i {
    color: #10b981;
}

/* Results Header */
.results-header {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.results-count {
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 600;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 3rem;
}

.page-link {
    color: #667eea;
    border: 1px solid #e0e0e0;
    margin: 0 0.2rem;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

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

.page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.empty-state i {
    font-size: 5rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: #6b7280;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #9ca3af;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #e5e7eb;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #667eea;
}
