/* ========================================
   Global Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
    Navigation
    ======================================== */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    z-index: 1001;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    transition: opacity 0.3s;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-align: center;
    width: auto;
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1.2;
    min-height: 44px;
    max-height: 44px;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ========================================
   Top Filters Bar
   ======================================== */
.top-filters-bar {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.filters-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.horizontal-filters {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-dropdown {
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    min-width: 140px;
    transition: all 0.3s;
}

.filter-dropdown:hover,
.filter-dropdown:focus {
    border-color: #667eea;
    outline: none;
}

.filter-search {
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 200px;
}

.btn-filter-apply {
    padding: 0.6rem 2rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-filter-apply:hover {
    background: #5568d3;
}

/* ========================================
   Main Container Updates
   ======================================== */
.main-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.full-width {
    width: 100%;
}

/* ========================================
   Venue Cards (Sample Style)
   ======================================== */
.halls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.hall-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hall-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hall-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.hall-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hall-info {
    padding: 1.5rem;
}

.hall-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.hall-location {
    color: #666;
    margin: 0.5rem 0;
}

.hall-capacity {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
    color: #666;
}

.hall-price {
    font-size: 1.25rem;
    color: #667eea;
    font-weight: 600;
    margin: 1rem 0;
}

.hall-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 1rem 0;
}

.venue-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
}

.venue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.bookmark-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    border: none;
    border-radius: 6px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bookmark-btn:hover {
    transform: scale(1.1);
}

.venue-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
    cursor: pointer;
}

.venue-image-link {
    display: block;
    text-decoration: none;
}

.venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 500;
}

.image-counter {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.venue-info {
    padding: 1.25rem;
}

.venue-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.venue-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.venue-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.star-icon {
    color: #ff6b6b;
    font-size: 1rem;
}

.rating-value {
    font-weight: 600;
    color: #333;
}

.review-count {
    color: #666;
}

/* Remove info button styles */

.venue-location,
.venue-type {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.4rem;
}

.venue-details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    color: #555;
}

.detail-item {
    padding: 0;
}

.venue-pricing {
    padding: 0;
    margin: 0.5rem 0 1rem 0;
    background: transparent;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 0.85rem;
    color: #666;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
}

.venue-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
    margin: 0.75rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.more-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.venue-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-view-details,
.btn-contact {
    padding: 0.65rem 1rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-view-details {
    background: #667eea;
    color: white;
    border: none;
}

.btn-view-details:hover {
    background: #5568d3;
}

.btn-contact {
    background: white;
    color: #667eea;
    border: 1px solid #667eea;
}

.btn-contact:hover {
    background: #667eea;
    color: white;
}

/* ========================================
   Hero Section (Removed)
   ======================================== */
/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-search-box {
    max-width: 700px;
    margin: 0 auto;
}

.hero-search-form {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.hero-search-btn {
    padding: 1rem 2rem;
    background: #ff6b6b;
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: #ff5252;
}

/* ========================================
   Responsive Updates
   ======================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* ========================================
   Auth Pages
   ======================================== */
.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    max-width: 500px;
    width: 100%;
}

.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer a {
    color: #667eea;
    font-weight: 500;
}

.demo-credentials {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
}

.demo-credentials h4 {
    margin-bottom: 0.5rem;
}

/* ========================================
   Alerts
   ======================================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   Admin Layout
   ======================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 250px;
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.admin-sidebar.hidden {
    transform: translateX(-100%);
}

.sidebar-header {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.sidebar-header h2 {
    margin-bottom: 0.5rem;
}

.welcome-user {
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
}

.sidebar-menu .menu-item {
    padding: 1rem 1.5rem;
    color: white;
    transition: background 0.3s;
}

.sidebar-menu .menu-item:hover {
    background: #34495e;
}

.admin-main {
    background: #f5f5f5;
    margin-left: 250px;
    min-height: 100vh;
    width: 100%;
    transition: margin-left 0.3s ease;
}

.admin-main.expanded {
    margin-left: 0;
}

.admin-header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger-menu:hover span {
    background: #667eea;
}

.admin-content {
    padding: 2rem;
    min-height: calc(100vh - 80px);
}

/* ========================================
   Dashboard
   ======================================== */
.dashboard-container {
    width: 100%;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin: 0;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    font-size: 3rem;
}

.stat-info h3 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: #666;
}

.quick-actions {
    margin-bottom: 2rem;
}

.quick-actions h2 {
    margin-bottom: 1rem;
    color: #333;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.action-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.action-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #667eea;
}

.recent-section {
    margin-top: 2rem;
}

.recent-section h2 {
    margin-bottom: 1rem;
    color: #333;
}

/* ========================================
   Tables
   ======================================== */
.table-responsive {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.data-table tr:hover {
    background: #f8f9fa;
}

/* ========================================
   Badges
   ======================================== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
}

.badge-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-completed {
    background: #d4edda;
    color: #155724;
}

.badge-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.badge-active {
    background: #d4edda;
    color: #155724;
}

.badge-inactive {
    background: #f8d7da;
    color: #721c24;
}

/* ========================================
   Modal
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

/* ========================================
    Mobile Bottom Navigation
    ======================================== */
.mobile-bottom-nav {
    display: none !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

.mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s;
    min-width: 60px;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-icon {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.nav-text {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Show bottom nav only on mobile phones */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
    }

    /* Add padding to main content to account for bottom nav */
    .main-content {
        padding-bottom: 80px;
    }
}

/* ========================================
    Vendors By Category Section
    ======================================== */
.vendors-category-section {
    background: #f9f9f9;
    padding: 4rem 0;
    margin-top: 4rem;
}

.vendors-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.vendors-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #333;
}

.vendors-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vendors-carousel-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 1352px; /* Shows exactly 4 cards (4 × 320px + 3 × 24px gap) */
    width: 100%;
}

.carousel-nav-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
    flex-shrink: 0;
}

.carousel-nav-btn:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.vendors-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.vendors-carousel::-webkit-scrollbar {
    display: none;
}

.vendor-category-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.vendor-category-card {
    width: 320px;
    height: 320px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    flex-shrink: 0;
}

.vendor-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.vendor-card-image {
    height: 240px;
    width: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.vendor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vendor-category-card:hover .vendor-card-image img {
    transform: scale(1.1);
}

.vendor-card-title {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;
    line-height: 1.3;
    word-wrap: break-word;
}

/* ========================================
    Footer
    ======================================== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bbb;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0 1rem;
    border-top: 1px solid #444;
    margin-top: 2rem;
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #667eea;
}

.pagination a.active {
    background: #667eea;
    color: white;
}

/* ========================================
   Star Rating - Vertical Design
   ======================================== */
.star-rating-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px 0;
}

.star-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.star-item:hover,
.star-item.hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateX(5px);
}

.star-item.selected {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.star-item .star-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.star-item.selected .star-icon,
.star-item.hover .star-icon {
    transform: scale(1.2);
}

.star-item .star-label {
    font-size: 1rem;
    font-weight: 500;
}

.star-item.selected .star-label {
    color: white;
}

.review-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.review-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.review-form .form-group {
    margin-bottom: 2rem;
}

.review-form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.review-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.review-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 2rem;
}

.form-actions .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.form-actions .btn-primary {
    background: #667eea;
    color: white;
    border: none;
}

.form-actions .btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.form-actions .btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.form-actions .btn-secondary:hover {
    background: #5a6268;
}

/* Responsive design for star rating */
@media (max-width: 768px) {
    .star-rating-vertical {
        gap: 8px;
    }
    
    .star-item {
        padding: 8px 12px;
        gap: 10px;
    }
    
    .star-item .star-icon {
        font-size: 1.3rem;
    }
    
    .star-item .star-label {
        font-size: 0.9rem;
    }
    
    .review-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* ========================================
    Responsive Design
    ======================================== */

/* Mobile Navigation */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .logo {
        font-size: 1.2rem;
        align-self: flex-start;
    }

    .logo img {
        height: 32px !important;
    }

    .nav-right {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0;
        background: transparent;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
    }

    .nav-menu li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 1rem;
        font-size: 1rem;
        font-weight: 500;
        border: none;
    }

    .nav-menu a:hover {
        background: rgba(255,255,255,0.1);
        opacity: 1;
    }

    .dropdown-menu {
        position: static;
        background: rgba(255,255,255,0.1);
        box-shadow: none;
        border-radius: 0;
        min-width: auto;
        padding: 0;
        margin-top: 0;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-menu a {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }

    /* General Mobile Styles */
    .main-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem !important;
        margin: 1rem auto !important;
    }

    /* Form improvements for mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
        border-radius: 8px;
        transition: border-color 0.3s ease;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    /* Better spacing for mobile forms */
    .auth-form .form-group {
        margin-bottom: 1.25rem;
    }

    .auth-card {
        margin: 1rem;
        border-radius: 12px;
    }

    .btn {
        min-height: 48px; /* Better touch targets */
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .btn:active {
        transform: scale(0.98);
    }

    /* Mobile-specific button improvements */
    .btn-primary,
    .btn-secondary,
    .btn-success,
    .btn-danger {
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .btn-primary:active,
    .btn-secondary:active,
    .btn-success:active,
    .btn-danger:active {
        box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }

    /* Card layouts for mobile */
    .halls-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .venue-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Table responsiveness */
    .table-responsive {
        margin: 0 -1rem;
    }

    /* Admin layout */
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        transform: none !important;
        order: 2; /* Show sidebar after main content on mobile */
    }

    .admin-main {
        margin-left: 0 !important;
        margin-top: 0;
        order: 1; /* Show main content first on mobile */
    }

    .admin-header {
        padding: 1rem;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .dashboard-container {
        padding: 1rem;
    }

    /* Mobile admin sidebar */
    .sidebar-menu .menu-item {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .sidebar-menu .menu-item:last-child {
        border-bottom: none;
    }

    .sidebar-menu .menu-item:hover {
        background: rgba(255,255,255,0.1);
    }

    /* Mobile admin tables */
    .table-responsive {
        border-radius: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Mobile admin forms */
    .gateway-form {
        gap: 1rem;
    }

    .gateway-form .form-group {
        margin-bottom: 1rem;
    }

    /* Mobile admin cards */
    .stat-card,
    .action-card,
    .gateway-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }

    /* Mobile admin buttons */
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Mobile admin navigation */
    .hamburger-menu {
        display: block;
        z-index: 101;
    }

    /* Auth pages */
    .auth-container {
        padding: 1rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    /* Hero section */
    .hero-section {
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-search-form {
        gap: 0;
    }

    .hero-search-input {
        flex: 1;
        padding: 1rem 1.5rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .hero-search-btn {
        padding: 1rem 1.5rem;
        white-space: nowrap;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    /* Booking page */
    .booking-form {
        grid-template-columns: 1fr;
    }

    .booking-section {
        padding: 1.5rem;
    }

    /* Hall details */
    .details-content-wrapper {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .hall-info-box {
        margin: 0;
        left: 1rem;
        right: 1rem;
    }

    /* Modal improvements */
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: none;
    }

    /* Vendors carousel mobile - show 4 smaller cards */
    .vendors-carousel-wrapper {
        padding: 0 50px;
        max-width: 1248px; /* 4 × 280px + 3 × 24px gap */
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .vendor-category-card {
        flex: 0 0 280px;
    }

    .vendor-card-image {
        height: 200px;
    }

    .vendor-card-title {
        font-size: 1.1rem;
        padding: 1.25rem;
    }

    .vendors-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .halls-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .venue-card:hover,
    .hall-card:hover {
        transform: none;
    }

    /* Larger touch targets */
    .bookmark-btn,
    .action-btn,
    .btn-remove {
        min-width: 44px;
        min-height: 44px;
    }

    /* Mobile-specific enhancements */
    .venue-card,
    .hall-card {
        margin-bottom: 1rem;
    }

    /* Improve readability on mobile */
    body {
        font-size: 16px;
        line-height: 1.5;
    }

    h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    /* Better mobile scrolling */
    * {
        -webkit-overflow-scrolling: touch;
    }

    /* Mobile-friendly dropdowns */
    .dropdown-menu {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    /* Mobile-optimized tables */
    .data-table {
        font-size: 0.9rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }

    /* Mobile-friendly modals */
    .modal-content {
        margin: 2rem 1rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Better mobile navigation experience */
    .nav-menu a {
        padding: 1.25rem 1rem;
        border-radius: 8px;
        margin: 0.25rem 1rem;
        transition: all 0.3s ease;
    }

    .nav-menu a:active {
        background: rgba(255,255,255,0.2);
        transform: scale(0.98);
    }

    /* Mobile-optimized search */
    .filter-search,
    .filter-dropdown {
        height: 44px;
        font-size: 16px;
    }

    /* Better mobile form experience */
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"] {
        font-size: 16px;
        padding: 0.75rem;
        height: auto;
    }

    /* Mobile-friendly pagination */
    .pagination a {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Better mobile spacing */
    .section {
        margin-bottom: 2rem;
    }

    .section-box {
        padding: 1.5rem;
    }

    .main-container {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .venue-card {
        margin-bottom: 1rem;
    }

    .venue-info {
        padding: 1rem;
    }

    .venue-name {
        font-size: 1rem;
    }

    /* Mobile-optimized footer */
    .footer-section {
        margin-bottom: 2rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
}

/* ========================================
   Hall Details Page
   ======================================== */
.details-page {
    background: #fff;
}

.details-hero-in-grid {
    position: relative;
    height: 400px;
    overflow: visible;
    border-radius: 8px;
    margin-bottom: 240px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Hall Info Box Overlapping Image */
.hall-info-box {
    position: absolute;
    bottom: -220px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.hall-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.hall-main-title {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
    font-weight: 600;
}

.rating-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.rating-badge-details {
    display: inline-flex;
    align-items: center;
    background: #4CAF50;
    padding: 6px 14px;
    border-radius: 5px;
    color: white;
}

.rating-badge-details .star-icon {
    margin-right: 5px;
    font-size: 1rem;
}

.rating-badge-details .rating-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.review-count-details {
    font-size: 0.85rem;
    color: #666;
}

.location-info {
    margin-bottom: 10px;
    color: #333;
}

.location-icon {
    margin-right: 5px;
}

.location-name {
    font-weight: 500;
}

.view-map-link {
    color: #1976D2;
    margin-left: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.address-details {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.contact-link {
    margin-top: 12px;
}

.contact-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #4CAF50;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-link-btn:hover {
    text-decoration: underline;
}

.phone-icon {
    font-size: 1rem;
}

/* Action Buttons Inside Info Box */
.action-buttons-inline {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.action-btn-inline {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.action-btn-inline:hover {
    background: #f5f5f5;
    border-color: #999;
}

.action-btn-inline .btn-icon {
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-header strong {
    font-size: 1rem;
    color: #333;
}

.review-rating {
    color: #4CAF50;
    font-weight: 500;
}

.review-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.review-item small {
    color: #999;
    font-size: 0.85rem;
}

/* Action Buttons Bar */
.action-buttons-bar {
    display: flex;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.action-btn-detail {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.action-btn-detail:hover {
    background: #f5f5f5;
    border-color: #999;
}

.action-btn-detail .btn-icon {
    font-size: 1rem;
}

.details-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
}

.details-main {
    background: #fff;
}

.location-bar {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.location-icon {
    margin-right: 5px;
}

.location-text {
    font-weight: 500;
}

.view-map-link {
    color: #1976D2;
    margin-left: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.contact-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.action-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

.btn-icon {
    font-size: 1.1rem;
}

.section {
    margin-bottom: 40px;
}

.section-box {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #333;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.amenity-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.amenity-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.amenity-image {
    height: 120px;
    overflow: hidden;
}

.amenity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amenity-details {
    padding: 12px;
}

.amenity-type {
    color: #666;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.amenity-name {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: #333;
}

.amenity-venue {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 3px;
}

.amenity-location {
    font-size: 0.75rem;
    color: #999;
}

/* Simple Amenities List */
.amenities-list-simple {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.amenity-item-simple {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.amenity-bullet {
    color: #667eea;
    font-size: 0.8rem;
}

.amenity-name-simple {
    font-size: 0.95rem;
    color: #333;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.portfolio-header h2 {
    margin: 0;
    color: #e91e63;
}

.portfolio-tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    padding: 8px 20px;
    border: none;
    background: #f5f5f5;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #e91e63;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.portfolio-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar */
.details-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.info-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.specs-list {
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: #666;
    font-size: 0.9rem;
}

.spec-value {
    font-weight: 500;
    color: #333;
}

.contact-now-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background 0.3s;
}

.contact-now-btn:hover {
    background: #45a049;
    color: white;
}

.details-sidebar .booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
}

input[type="date"].form-select {
    cursor: text;
}

input[type="date"].form-select::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

.book-now-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #e91e63;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s;
}

.book-now-btn:hover {
    background: #c2185b;
    color: white;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.gallery-modal .gallery-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gallery-modal .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.gallery-modal .close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

/* Navigation Buttons */
.gallery-modal .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.gallery-modal .nav-btn:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal .nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-modal .prev-btn {
    left: 30px;
}

.gallery-modal .next-btn {
    right: 30px;
}

/* Photo Counter */
.gallery-modal .photo-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    z-index: 10001;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* Help Text */
.gallery-modal .gallery-help {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    z-index: 10001;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* Responsive Gallery Modal */
@media (max-width: 768px) {
    .gallery-modal .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .gallery-modal .prev-btn {
        left: 15px;
    }
    
   next-btn {
        .gallery-modal . right: 15px;
    }
    
    .gallery-modal .gallery-image {
        max-width: 95%;
        max-height: 85%;
    }
    
    .gallery-modal .photo-counter {
        bottom: 20px;
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .gallery-modal .gallery-help {
        top: 20px;
        padding: 8px 16px;
        font-size: 12px;
        text-align: center;
    }
    
    .gallery-modal .close {
        top: 15px;
        right: 30px;
        font-size: 32px;
    }
}

/* Animation for smooth transitions */
.gallery-modal .gallery-image {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 968px) {
    .details-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-overlay {
        padding: 30px 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Booking Page - Availability
   ======================================== */
.availability-status {
    margin-top: 10px;
    font-size: 0.9rem;
}

.availability-status .checking {
    color: #666;
}

.availability-status .available {
    color: #4CAF50;
    font-weight: 500;
}

.availability-status .unavailable {
    color: #f44336;
    font-weight: 500;
}

.timeslot-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.timeslot-option {
    cursor: pointer;
}

.timeslot-option input[type="radio"] {
    display: none;
}

.timeslot-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s;
    background: white;
}

.timeslot-card:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.timeslot-option input[type="radio"]:checked + .timeslot-card {
    border-color: #667eea;
    background: #f0f3ff;
}

.timeslot-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.timeslot-time {
    font-size: 0.85rem;
    color: #666;
}

.timeslot-price {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    margin-top: 5px;
}

.text-muted {
    color: #999;
    font-size: 0.9rem;
}

.date-timeslot-picker {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.selected-dates-list {
    max-height: 300px;
    overflow-y: auto;
}

.selected-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.selected-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f0f3ff;
    border: 1px solid #667eea;
    border-radius: 6px;
}

.selected-item span {
    font-size: 0.9rem;
    color: #333;
}

.btn-remove {
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.btn-remove:hover {
    background: #d32f2f;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: #5a6268;
}

.timeslot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.timeslot-radio-card {
    display: block;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    background: white;
    transition: all 0.3s;
    position: relative;
}

.timeslot-radio-card.booked {
    background: #f5f5f5;
    border-color: #ddd;
    cursor: not-allowed;
    opacity: 0.6;
}

.timeslot-radio-card input[type="radio"] {
    display: none;
}

.timeslot-radio-card input[type="radio"]:checked ~ .timeslot-info {
    background: #f0f3ff;
}

.timeslot-radio-card input[type="radio"]:checked + .timeslot-info {
    background: #f0f3ff;
}

.timeslot-radio-card.selected,
.timeslot-radio-card input[type="radio"]:checked {
    border-color: #667eea !important;
}

.timeslot-radio-card.selected .timeslot-info {
    background: #f0f3ff;
}

.timeslot-radio-card:not(.booked):hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
}

.timeslot-info {
    padding: 5px;
    border-radius: 4px;
}

/* Timeslot checkbox cards for multi-date mode */
.timeslot-checkbox-card {
    display: block;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    background: white;
    transition: all 0.3s;
    position: relative;
}

.timeslot-checkbox-card.booked {
    background: #f5f5f5;
    border-color: #ddd;
    cursor: not-allowed;
    opacity: 0.6;
}

.timeslot-checkbox-card .timeslot-checkbox {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.timeslot-checkbox-card .timeslot-checkbox:disabled {
    cursor: not-allowed;
}

.timeslot-checkbox-card input[type="checkbox"]:checked ~ .timeslot-info {
    background: #f0f3ff;
}

.timeslot-checkbox-card:has(input[type="checkbox"]:checked) {
    border-color: #667eea !important;
    background: #f9fafe;
}

.timeslot-checkbox-card:not(.booked):hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
}

.timeslot-checkbox-card .timeslot-info {
    padding: 5px;
    padding-right: 30px;
    border-radius: 4px;
}

/* ========================================
   Booking Page
   ======================================== */
.booking-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.booking-container h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.booking-header {
    margin-bottom: 25px;
}

.hall-info-compact h1 {
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    color: #333;
}

.hall-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.95rem;
}

.hall-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.booking-form-section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.booking-form {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 20px;
}

.booking-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    color: #333;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.booking-form input[type="text"],
.booking-form input[type="date"],
.booking-form input[type="number"],
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.booking-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.85rem;
}

.booking-form textarea {
    resize: vertical;
}

.total-amount {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.total-amount h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.3rem;
}

.total-amount #totalAmount {
    color: #667eea;
    font-size: 1.5rem;
}

.total-amount p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.booking-sidebar {
    display: none;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .booking-container {
        padding: 15px;
    }
    
    .booking-form {
        grid-template-columns: 1fr;
    }
    
    .booking-section {
        padding: 20px;
    }
    
    .timeslot-options {
        grid-template-columns: 1fr;
    }
}

/* Date Availability Indicators */
.date-availability-legend {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.85rem;
    margin-top: 8px;
    padding: 8px 0;
}

.date-availability-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-availability-legend .color-box {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.date-availability-legend .color-box.full {
    background-color: #ffcdd2;
}

.date-availability-legend .color-box.partial {
    background-color: #ffe0b2;
}

.date-availability-legend .color-box.available {
    background-color: #c8e6c9;
}

/* Custom date input styling with availability */
input[type="date"].date-with-availability {
    position: relative;
}

input[type="date"].date-with-availability.date-full {
    background-color: #ffcdd2;
    border-color: #e57373;
}

input[type="date"].date-with-availability.date-partial {
    background-color: #ffe0b2;
    border-color: #ffb74d;
}

input[type="date"].date-with-availability.date-available {
    background-color: #c8e6c9;
    border-color: #81c784;
}

/* Note for date availability */
.date-availability-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Better mobile typography */
    html {
        font-size: 16px;
    }

    /* Improved mobile navigation spacing */
    .nav-menu a {
        padding: 1.25rem 1.5rem;
        margin: 0.25rem 1rem;
    }

    /* Mobile-friendly form validation */
    .form-group input:invalid {
        border-color: #dc3545;
    }

    /* Better mobile button spacing */
    .btn + .btn {
        margin-top: 0.5rem;
    }

    /* Mobile-optimized alerts */
    .alert {
        margin: 1rem 0;
        padding: 1rem;
        font-size: 0.95rem;
    }

    /* Better mobile card spacing */
    .venue-card,
    .hall-card {
        margin-bottom: 1.5rem;
    }

    /* Mobile-friendly dropdown menus */
    .dropdown-menu {
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    /* Better mobile table experience */
    .table-responsive {
        margin: 0 -1rem;
        border-radius: 8px;
    }

    /* Mobile-optimized search and filters */
    .top-filters-bar {
        padding: 1rem;
    }

    .horizontal-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .filter-dropdown,
    .filter-search {
        width: 100%;
        margin-bottom: 0;
    }

    .btn-filter-apply {
        grid-column: span 2;
        margin-top: 0.5rem;
    }

    /* Better mobile footer */
    .footer-container {
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    /* Mobile-optimized auth pages */
    .auth-card {
        margin: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    /* Better mobile spacing for content */
    .main-content {
        padding: 1rem 0;
    }

    .container {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    /* Mobile-friendly pagination */
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .pagination a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000 !important;
        color: #fff !important;
        border: 2px solid #000 !important;
    }

    .alert {
        border: 2px solid currentColor !important;
    }

    .navbar {
        background: #000 !important;
    }
}

/* Focus improvements for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Better focus for mobile */
@media (max-width: 768px) {
    .btn:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 3px solid #667eea;
        outline-offset: 3px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .vendors-carousel-container {
        gap: 5px;
    }

    .vendors-carousel-wrapper {
        max-width: 1040px; /* 4 × 240px + 3 × 20px gap */
        padding: 0 40px;
    }

    .carousel-nav-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-nav-btn svg {
        width: 18px;
        height: 18px;
    }

    .vendor-category-card {
        width: 240px;
        height: 320px;
    }

    .vendor-card-image {
        height: 180px;
    }

    .vendor-card-title {
        font-size: 1rem;
        padding: 1rem;
    }

    .vendors-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .vendors-category-section {
        padding: 2.5rem 0;
        margin-top: 2.5rem;
    }
}

