/**
 * Venue Detail Page Styles
 * Thai2Night - Venue Page CSS
 */

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

body {
    background: #f8f9fa;
}

/* Navbar - Same as index.php */
.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: 2rem 0;
    margin-bottom: 2rem;
}

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

.page-header .subtitle {
    font-size: 1rem;
    opacity: 0.95;
}

/* Hero Image Section */
.venue-hero {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.venue-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Image Gallery */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.info-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

/* Category Badge */
.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-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Stats */
.venue-stats {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin: 1rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.stat-item .stat-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.btn-action {
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

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

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

.btn-outline-custom {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline-custom:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Info Items */
.info-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.info-item i {
    color: #667eea;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-item-content {
    flex: 1;
}

.info-item-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.2rem;
}

.info-item-value {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 500;
}

/* Event Card */
.event-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    margin-bottom: 1rem;
    cursor: pointer;
}

.event-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.event-card:last-child {
    margin-bottom: 0;
}

.event-date {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Promotion Card */
.promotion-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid #fbbf24;
    transition: all 0.3s;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}

.promotion-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

.promotion-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.promotion-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.promotion-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.promotion-desc {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.promotion-validity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.85rem;
}

.promotion-validity i {
    color: #f59e0b;
}

/* User Avatars */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack .user-avatar {
    margin-left: -10px;
}

.avatar-stack .user-avatar:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: -10px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 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;
}

/* Responsive */
@media (max-width: 768px) {
    .venue-hero-image {
        height: 300px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }
}
