/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(242, 239, 228, 0.95);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

/* Top Utility Bar */
.navbar-utility {
    background: rgba(242, 239, 228, 0.9);
    position: relative;
}

.navbar-utility::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.navbar-utility-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
    position: relative;
}

.utility-left {
    display: none;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Main Navigation Bar */
.navbar-main {
    background: rgba(242, 239, 228, 0.95);
}

.navbar-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

/* Utility Buttons */
.utility-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f5f5f5;
    color: #1C1C1C;
}

.utility-btn:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
}

.search-icon-btn {
    padding: 10px 20px;
    background: #F2EFE4;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.search-icon-btn:hover {
    background: #F2EFE4;
}

.list-venue-btn {
    background: #1A3C2F;
    color: white;
    font-weight: 600;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 14px;
    min-width: 140px;
}

.list-venue-btn:hover {
    background: #0f2a1f;
}

/* Logo Section - spans both navbar sections */
.navbar-logo {
    position: absolute;
    left: 2rem;
    top: 0;
    z-index: 10;
    height: 120px; /* Total height of both bars (50px + 70px) */
    display: flex;
    align-items: center;
}

.logo-img {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Main Navigation */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex: 1;
    justify-content: center;
    margin-left: 150px; /* Reduced space for logo */
}

.navbar .nav-link {
    color: #1C1C1C !important;
    text-decoration: none;
    font-weight: 500 !important;
    font-size: 20px !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar .nav-link:hover {
    color: #1A3C2F !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1A3C2F;
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

/* Mobile Responsiveness for Utility Bar */
@media (max-width: 768px) {
    .utility-right {
        gap: 0.25rem;
    }
    
    .utility-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .list-venue-btn {
        font-size: 12px;
        padding: 8px 12px;
        min-width: 120px;
    }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #F2EFE4;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 61;
}

.search-overlay.active .search-dropdown {
    transform: translateY(0);
}

/* Search Header */
.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.search-title {
    font-size: 24px;
    font-weight: 600;
    color: #1C1C1C;
    margin: 0;
}

.search-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-close:hover {
    background-color: #f5f5f5;
    color: #1C1C1C;
}

/* Search Filters */
.search-filters {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-label {
    font-weight: 500;
    color: #1C1C1C;
    font-size: 14px;
}

.search-select {
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    color: #1C1C1C;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-select:focus {
    outline: none;
    border-color: #1A3C2F;
    box-shadow: 0 0 0 3px rgba(26, 60, 47, 0.1);
}

.search-select:hover {
    border-color: #1A3C2F;
}

/* Search Actions */
.search-actions {
    padding: 0 2rem 2rem 2rem;
    display: flex;
    justify-content: center;
}

.search-button {
    background-color: #1A3C2F;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.search-button:hover {
    background-color: #0f2a1f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 60, 47, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar-main-container {
        padding: 0 1rem;
        height: 60px;
    }
    
    .navbar-utility-container {
        padding: 0 1rem;
        height: 55px;
    }
    
    .navbar-nav {
        display: flex;
        gap: 1.5rem;
        margin-left: 100px; /* Reduced space for mobile logo */
    }
    
    .navbar-logo {
        left: 1rem;
    }
    
    .logo-img {
        height: 80px;
    }
    
    .navbar .nav-link {
        font-size: 18px !important;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .search-header {
        padding: 1rem;
    }
    
    .search-title {
        font-size: 20px;
    }
    
    .search-actions {
        padding: 0 1rem 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-main-container {
        padding: 0 0.5rem;
    }
    
    .navbar-utility-container {
        padding: 0 0.5rem;
    }
    
    .navbar-nav {
        gap: 1rem;
        margin-left: 80px; /* Further reduced for small screens */
    }
    
    .logo-img {
        height: 70px;
    }
    
    .navbar .nav-link {
        font-size: 16px !important;
    }
    
    .utility-btn {
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .list-venue-btn {
        font-size: 11px;
        padding: 6px 10px;
        min-width: 100px;
    }
}
