/* css/venues.css - 品牌商家頁面樣式 */

/* 品牌商家頁面基礎樣式 */
.venues-page {
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Header Section */
.venues-header {
    padding: 100px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #4a9eff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.venues-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search and Filter Section */
.venues-filters {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-section {
    display: flex;
    justify-content: center;
}

.search-form {
    width: 100%;
    max-width: 500px;
}

.search-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    padding: 15px 20px;
    background: var(--accent-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.search-btn:hover {
    background: #3a8eef;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.filter-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Venues Grid */
.venues-content {
    padding: 50px 0;
}

.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.venue-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
}

.venue-card:hover {
    transform: translateY(-8px);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.venue-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.venue-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.venue-card:hover .venue-image img {
    transform: scale(1.05);
}

.venue-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hover-bg);
    font-size: 60px;
    color: var(--text-muted);
}

.venue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.venue-card:hover .venue-overlay {
    opacity: 1;
}

.venue-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.favorite-btn:hover {
    background: #ff6b6b;
}

.venue-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.rating-stars {
    font-size: 14px;
}

.rating-number {
    color: white;
    font-weight: bold;
}

/* Venue Info */
.venue-info {
    padding: 25px;
}

.venue-name {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.venue-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
}

.venue-details {
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.detail-text {
    flex: 1;
}

.venue-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.meta-icon,
.category-icon {
    font-size: 14px;
}

.events-count {
    color: var(--accent-color);
    font-weight: 500;
}

.venue-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.feature-tag {
    background: rgba(74, 158, 255, 0.2);
    color: var(--accent-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.feature-more {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
}

/* Venue Footer */
.venue-footer {
    padding: 0 25px 25px;
}

.footer-buttons {
    display: flex;
    gap: 10px;
}

.btn-outline {
    flex: 1;
    padding: 10px 15px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-outline:hover {
    background: var(--hover-bg);
    border-color: var(--accent-color);
}

.btn-primary {
    flex: 2;
    padding: 10px 15px;
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.btn-primary:hover {
    background: #3a8eef;
    transform: translateY(-1px);
}

/* No Venues */
.no-venues {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.no-venues-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-venues h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.no-venues p {
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-reset-filters {
    display: inline-block;
    padding: 12px 25px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-reset-filters:hover {
    background: #3a8eef;
    transform: translateY(-2px);
}

/* Map Section */
.venues-map-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
}

.map-header {
    text-align: center;
    margin-bottom: 30px;
}

.map-header h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.map-header p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.btn-toggle-map {
    padding: 12px 25px;
    background: var(--accent-color);
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-toggle-map:hover {
    background: #3a8eef;
    transform: translateY(-2px);
}

.map-container {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.venues-map {
    height: 500px;
    background: var(--hover-bg);
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
}

.map-icon {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .venues-header {
        padding: 80px 0 40px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    .venues-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .filter-bar {
        gap: 15px;
    }
    
    .search-input {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .search-btn {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .category-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .venues-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .venue-image {
        height: 150px;
    }
    
    .venue-placeholder {
        font-size: 40px;
    }
    
    .venue-info {
        padding: 20px;
    }
    
    .venue-name {
        font-size: 18px;
    }
    
    .venue-description {
        font-size: 13px;
    }
    
    .detail-item {
        font-size: 13px;
    }
    
    .venue-footer {
        padding: 0 20px 20px;
    }
    
    .footer-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-outline,
    .btn-primary {
        flex: none;
        padding: 12px;
    }
    
    .venues-map {
        height: 300px;
    }
    
    .map-icon {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .venues-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-form {
        max-width: none;
    }
    
    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .venue-image {
        height: 120px;
    }
    
    .venue-info {
        padding: 15px;
    }
    
    .venue-footer {
        padding: 0 15px 15px;
    }
}
