/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2d5016 0%, #1a8917 100%);
    color: white;
    padding: 80px 20px;
    border-radius: 0;
    position: relative;
    overflow: visible;
    z-index: 10;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="80" r="20" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.search-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 30px auto 0;
    position: relative;
    z-index: 100;
}

.search-input-wrapper {
    position: relative;
    z-index: 105;
    margin-bottom: 0;
}

#LocationSearchInput {
    font-size: 18px;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 105;
    margin-bottom: 0;
}

#LocationSearchInput:focus {
    border-color: #1a8917;
    box-shadow: 0 0 0 3px rgba(26, 137, 23, 0.1);
    outline: none;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 106;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: -1px;
}

.autocomplete-list.active {
    display: block;
}

.autocomplete-item {
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.autocomplete-item:hover {
    background: #f5f5f5;
}

.autocomplete-item strong {
    color: #1a8917;
}

.autocomplete-zip {
    color: #999;
    font-size: 0.85em;
    font-weight: normal;
    margin-left: 8px;
}

.btn-search {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 15px;
    position: relative;
    z-index: 100;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 137, 23, 0.3);
}

.search-subtitle {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    position: relative;
    z-index: 100;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.city-card {
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: block;
}

.city-card:hover {
    transform: translateY(-5px);
}

.city-card .card {
    border: none;
    border-left: 4px solid #1a8917;
    height: 100%;
    cursor: pointer;
}

.city-card:hover .card {
    box-shadow: 0 10px 30px rgba(26, 137, 23, 0.2);
}

.card-title {
    font-weight: 600;
    color: #1a8917;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a8917, #2d5016);
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.error-alert {
    display: none;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 20px;
    }

    .search-container {
        padding: 20px;
    }

    .city-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
