/* Neighborhood Section - Premium Redesign */

.regioes-container {
    padding: 2rem 0;
}

.search-box-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-box-wrapper input {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    border: 2px solid var(--border);
    border-radius: 100px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
}

.search-box-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.15);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.2rem;
}

.region-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.region-card-premium {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto;
    position: relative;
}

.region-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.region-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(to right, rgba(13, 110, 253, 0.05), transparent);
    border-bottom: 1px solid var(--border);
}

.region-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.region-info h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.neighborhood-count {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    background: var(--muted);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.neighborhood-links-wrapper {
    padding: 1.5rem;
}

.neighborhood-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.neighborhood-item {
    position: relative;
}

.neighborhood-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    background: var(--muted);
    color: var(--foreground);
    text-decoration: none !important;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.neighborhood-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.neighborhood-link i {
    font-size: 0.8rem;
    margin-right: 0.5rem;
    opacity: 0.6;
}

.neighborhood-link:hover i {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .region-cards-grid {
        grid-template-columns: 1fr;
    }
    .neighborhood-list {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.region-card-premium.hidden-search {
    display: none;
}
