/**
 * NEWZEEFY Weather Portal Master CSS (weather.css)
 * Premium Dark Mode, Glassmorphism Cards, Gradient Pills & Responsiveness
 */

.weather-hero-card {
    background: linear-gradient(135deg, #0b1736 0%, #0d2352 50%, #0284c7 100%);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.weather-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Premium Detect City Button */
.btn-detect-city {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-detect-city:hover {
    background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-detect-city:active {
    transform: translateY(0);
}

/* Weather Condition Cards */
.weather-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.weather-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Hourly Forecast Horizontal Scroll */
.weather-hourly-item {
    transition: all 0.25s ease;
    cursor: pointer;
}

.weather-hourly-item:hover {
    background-color: #e0f2fe !important;
    transform: translateY(-3px);
    border-color: #0284c7 !important;
}

/* Radar & Slider Controls */
.form-range::-webkit-slider-thumb {
    background: #0284c7;
}

.form-range::-moz-range-thumb {
    background: #0284c7;
}

/* Autocomplete Suggestion Dropdown */
#weatherSearchResultsContainer .list-group-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#weatherSearchResultsContainer .list-group-item:hover {
    background-color: #f1f5f9;
}

/* Responsive Rules */
@media (max-width: 768px) {
    .weather-hero-card {
        padding: 1.5rem !important;
    }
    
    .weather-hero-card h1 {
        font-size: 1.75rem !important;
    }

    .weather-hero-card .display-4 {
        font-size: 2.25rem !important;
    }
}
