/* Venues Page Styles */
.venues-page {
    min-height: calc(100vh - 200px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #7c3aed, #dc2626);
    color: white;
    padding: 4rem 0;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.header-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.header-text p {
    font-size: 1.25rem;
    color: white;
    opacity: 0.9;
    max-width: 600px;
}

.header-image {
    width: 300px;
    height: 200px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
}

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

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #dc2626, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.category-count {
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Search and Filters */
.search-filters {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 120px;
    z-index: 100;
}

.search-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.search-input-group {
    display: flex;
    max-width: 500px;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #7c3aed;
}

.search-btn {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
}

.search-btn:hover {
    background: #6d28d9;
}

.filter-group {
    display: flex;
    gap: 1rem;
}

.filter-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    cursor: pointer;
    font-size: 0.875rem;
    min-width: 150px;
}

.filter-group select:focus {
    outline: none;
    border-color: #7c3aed;
}

/* Featured Venues */
.featured-venues {
    padding: 4rem 0;
}

.featured-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

.featured-carousel::-webkit-scrollbar {
    height: 8px;
}

.featured-carousel::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.featured-carousel::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 4px;
}

.featured-venue {
    flex: none;
    width: 350px;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
}

.featured-venue:hover {
    transform: translateY(-8px);
}

.featured-venue img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.venue-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #7c3aed;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.featured-venue-content {
    padding: 1.5rem;
}

.featured-venue h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.venue-type {
    color: #7c3aed;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.venue-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #fbbf24;
    font-size: 0.875rem;
}

.rating-number {
    font-weight: 600;
    color: #1f2937;
}

.venue-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.meta-icon {
    font-size: 1rem;
}

/* Venues List */
.venues-list-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.list-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.view-controls {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.view-btn:hover,
.view-btn.active {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
}

.venues-container {
    margin-bottom: 3rem;
}

/* List View */
.venues-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.venue-item {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
    transition: all 0.3s;
    cursor: pointer;
}

.venue-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.venue-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.venue-item-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.venue-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.venue-item .venue-type {
    color: #7c3aed;
    font-weight: 500;
    margin-bottom: 1rem;
}

.venue-item p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.venue-item-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.detail-icon {
    font-size: 1rem;
}

.venue-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.amenity-tag {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

.venue-item-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn.primary {
    background: linear-gradient(135deg, #7c3aed, #dc2626);
    color: white;
}

.action-btn.secondary {
    background: #dc2626;
    color: white;
}

.action-btn.outline {
    background: transparent;
    color: #374151;
    border: 2px solid #d1d5db;
}

.action-btn:hover {
    transform: translateY(-2px);
}

/* Grid View */
.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.venue-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.venue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.venue-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.venue-card-content {
    padding: 1.5rem;
}

.venue-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.venue-card .venue-type {
    color: #7c3aed;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.venue-card p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.venue-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.venue-card-actions {
    display: flex;
    gap: 0.5rem;
}

.card-action-btn {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.card-action-btn.primary {
    background: #7c3aed;
    color: white;
}

.card-action-btn.outline {
    background: transparent;
    color: #374151;
    border: 1px solid #d1d5db;
}

/* Map View */
.venues-map {
    height: 600px;
    background: #f3f4f6;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.125rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
}

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

/* Partnership CTA */
.partnership-cta {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 4rem 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefits-list li {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 300px;
}

.cta-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.cta-btn.primary {
    background: #dc2626;
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* Venue Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #dc2626;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
}

.venue-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#modal-venue-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.thumbnail {
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 0.25rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail.active {
    border-color: #7c3aed;
}

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

.venue-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.venue-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .header-text h1 {
        font-size: 2.5rem;
    }
    
    .header-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-group {
        flex-wrap: wrap;
    }
    
    .featured-venue {
        width: 300px;
    }
    
    .list-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .venue-item {
        grid-template-columns: 1fr;
    }
    
    .venue-item img {
        height: 200px;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-actions {
        min-width: auto;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .search-input-group {
        max-width: none;
    }
    
    .filter-group select {
        min-width: auto;
        flex: 1;
    }
    
    .featured-venue {
        width: 280px;
    }
    
    .venues-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
}