/* ═══════════════════════════════════════════════════════════
   Hero Enhanced Styles for index.php
   ═══════════════════════════════════════════════════════════ */

/* Enhanced Search Form */
.hero-search-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-search-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Main Search Bar with "Near Me" Button */
.search-main-wrapper {
    position: relative;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0.5rem;
    transition: all 0.3s ease;
} 

.search-input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.search-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    padding: 0 1rem;
}

.search-input-main {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    padding: 0.75rem 0;
    outline: none;
}

.search-input-main::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-nearby {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nearby:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Advanced Search Toggle Button */
.btn-advanced-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-advanced-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.toggle-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.btn-advanced-toggle[aria-expanded="true"] .toggle-arrow {
    transform: rotate(180deg);
}

/* Advanced Search Panel */
.advanced-search-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.advanced-search-panel.show {
    max-height: 900px;
    opacity: 1;
    margin-top: 1.25rem;
}

.advanced-search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .advanced-search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-field-wide {
        grid-column: 1 / -1;
    }
}

/* Search Fields */
.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.search-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.search-label i {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.search-select {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.search-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.search-select:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
    outline: none;
}

.search-select option {
    background: #2a2a2a;
    color: #fff;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.65rem;
}

.amenity-checkbox {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.amenity-checkbox:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.amenity-checkbox input {
    display: none;
}

.amenity-checkbox span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.amenity-checkbox input:checked + span {
    color: #fff;
    font-weight: 600;
}

.amenity-checkbox span i {
    font-size: 1rem;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 0.4rem;
}

.star-rating .star {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.star-rating .star:hover {
    color: #ffc107;
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.4));
}

.star-rating .star.active {
    color: #ffc107;
    transform: scale(1.05);
}

/* Range Sliders */
.search-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    outline: none;
    transition: background 0.2s ease;
}

.search-range:hover {
    background: rgba(255, 255, 255, 0.22);
}

.search-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.search-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    border: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-range::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.range-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.4rem;
    text-align: center;
}

/* Price Range */
.price-range-wrapper {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.price-input {
    flex: 1;
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    color: #fff;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-input:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.price-input:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.price-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.price-range-wrapper span {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Search Submit Button */
.btn-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 14px;
    color: #000;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 0.5rem;
}

.btn-search-submit:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-search-submit:active {
    transform: translateY(-1px);
}

/* RTL Support */
[dir="rtl"] .search-icon {
    padding: 0 1rem 0 0;
}

[dir="rtl"] .search-input-main {
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .btn-nearby {
        width: 100%;
        justify-content: center;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .advanced-search-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Enhanced Background - Vacation/Holiday Theme */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(33, 150, 243, 0.95) 0%, 
        rgba(156, 39, 176, 0.95) 100%
    );
}

/* Floating Elements - DISABLED for clean background */
/* All background animations removed for minimal design */

