/* ===== Hero Search Bar - Luxury Styling ===== */

.hero-search-container {
    max-width: 800px;
    margin: 2.5rem 0 2rem 0;
    padding: 0 1rem;
}

.search-bar-wrapper {
    display: flex;
    gap: 0.75rem;
    background: rgba(245, 240, 232, 0.95);
    /* #F5F0E8 - Warm ivory */
    border: 2px solid rgba(229, 221, 213, 0.3);
    /* #E5DDD5 - Dusty rose */
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.search-bar-wrapper:focus-within {
    border-color: rgba(74, 144, 226, 0.4);
    box-shadow: 0 12px 32px rgba(74, 144, 226, 0.12), 0 4px 12px rgba(74, 144, 226, 0.08);
    transform: translateY(-2px);
}

/* Category Dropdown */
.search-category {
    min-width: 160px;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(229, 221, 213, 0.3);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-medium);
    color: #222222;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-category:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(74, 144, 226, 0.3);
}

.search-category:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Search Input Container */
.search-input-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    color: #666666;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(229, 221, 213, 0.3);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    color: #222222;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #999999;
}

.search-input:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(74, 144, 226, 0.3);
}

.search-input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Location Input */
.search-location {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 140px;
}

.search-bar-wrapper .location-icon,
.search-location .location-icon {
    position: absolute;
    left: 0.875rem;
    width: 18px;
    height: 18px;
    color: #666666;
    pointer-events: none;
}

.location-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(229, 221, 213, 0.3);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    color: #222222;
    transition: all 0.3s ease;
}

.location-input::placeholder {
    color: #999999;
}

.location-input:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(74, 144, 226, 0.3);
}

.location-input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Search Button */
.search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--blue-gradient-start) 0%, var(--blue-gradient-end) 100%);
    border: none;
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.35);
}

.search-btn:active {
    transform: translateY(0);
}

/* AI-Powered Badge */
.ai-search-badge {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: #666666;
}

.ai-icon {
    width: 16px;
    height: 16px;
    color: var(--blue-primary);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .search-bar-wrapper {
        gap: 0.5rem;
        padding: 0.4rem;
    }

    .search-category {
        min-width: 140px;
        font-size: 0.875rem;
    }

    .search-location {
        min-width: 120px;
    }

    .search-btn {
        padding: 0.875rem 1.25rem;
    }

    .search-btn span {
        display: none;
    }

    .search-btn svg {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .hero-search-container {
        margin: 2rem 0 1.5rem 0;
    }

    .search-bar-wrapper {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .search-category,
    .search-location,
    .search-input-container,
    .search-btn {
        width: 100%;
        min-width: auto;
    }

    .search-btn span {
        display: inline;
    }

    .ai-search-badge {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .search-input::placeholder {
        font-size: 0.875rem;
    }
}