/**
 * Weather Widget Styles
 */

.weather-widget {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Transparent version for hero section - no background */
.hero-weather-widget .weather-widget {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hero-weather-widget .weather-widget-title {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0.5);
}

.hero-weather-widget .weather-temp {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0.5);
}

.hero-weather-widget .weather-desc {
    color: rgba(255, 255, 255, 0.98) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 0, 0, 0.5);
}

.hero-weather-widget .weather-detail-item {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-weather-widget .weather-detail-item i {
    color: rgba(255, 255, 255, 0.98) !important;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.hero-weather-widget .weather-icon i {
    color: rgba(255, 255, 255, 0.98) !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.hero-weather-widget .weather-loading {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-weather-widget .weather-error {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-weather-widget .weather-details {
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.weather-widget-header {
    margin-bottom: 1rem;
}

.weather-widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal, #1f2937);
    margin: 0;
    display: flex;
    align-items: center;
}

.weather-widget-body {
    text-align: center;
}

.weather-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    color: #6b7280;
}

.weather-content {
    padding: 1rem 0;
}

.weather-icon {
    margin-bottom: 1rem;
}

.weather-temp {
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal, #1f2937);
    margin-bottom: 0.5rem;
}

.weather-desc {
    font-size: 0.9rem;
    color: #6b7280;
    text-transform: capitalize;
    margin-bottom: 1rem;
}

.weather-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.weather-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.weather-detail-inline {
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.weather-detail-separator {
    margin: 0 0.3rem;
    opacity: 0.5;
}

.weather-detail-item i {
    color: var(--primary-blue, #4FA3FF);
}

.weather-error {
    padding: 2rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    /* Mobile positioning for hero weather widget - professional design */
    .hero-weather-widget {
        top: 100px !important;
        right: 15px !important;
        left: auto !important;
        width: auto !important;
        max-width: 150px !important;
        z-index: 100 !important;
    }
    
    .hero-weather-widget .weather-widget {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Compact weather widget on mobile */
    .weather-widget {
        padding: 0.75rem !important;
    }
    
    .weather-widget-header {
        margin-bottom: 0.5rem !important;
    }
    
    .weather-widget-title {
        font-size: 0.8rem !important;
        margin-bottom: 0 !important;
    }
    
    .weather-content {
        padding: 0.5rem 0 !important;
    }
    
    .weather-icon {
        margin-bottom: 0.5rem !important;
    }
    
    .weather-icon i {
        font-size: 2rem !important;
    }
    
    .weather-temp {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .weather-desc {
        font-size: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .weather-details {
        margin-top: 0.5rem !important;
        padding-top: 0.5rem !important;
        border-top: 1px solid rgba(229, 231, 235, 0.5) !important;
    }
    
    .weather-detail-inline {
        gap: 0.3rem !important;
        font-size: 0.7rem !important;
    }
    
    .weather-detail-separator {
        margin: 0 0.2rem !important;
    }
    
    /* Professional styling for hero weather widget on mobile - no background */
    .hero-weather-widget .weather-widget-title {
        font-size: 0.65rem !important;
        margin-bottom: 0.5rem !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 4px rgba(0, 0, 0, 0.4) !important;
        font-weight: 600 !important;
        letter-spacing: 0.03em !important;
        text-transform: uppercase !important;
    }
    
    .hero-weather-widget .weather-widget-title i {
        font-size: 0.65rem !important;
        color: rgba(255, 255, 255, 0.98) !important;
        margin-right: 0.35rem !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) !important;
    }
    
    .hero-weather-widget .weather-content {
        padding: 0.25rem 0 0.4rem 0 !important;
    }
    
    .hero-weather-widget .weather-icon {
        margin-bottom: 0.4rem !important;
    }
    
    .hero-weather-widget .weather-icon i {
        font-size: 2rem !important;
        color: rgba(255, 255, 255, 0.98) !important;
        filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5)) !important;
    }
    
    .hero-weather-widget .weather-temp {
        font-size: 1.75rem !important;
        margin-bottom: 0.25rem !important;
        color: rgba(255, 255, 255, 1) !important;
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7), 0 0 6px rgba(0, 0, 0, 0.5) !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.02em !important;
    }
    
    .hero-weather-widget .weather-desc {
        font-size: 0.7rem !important;
        margin-bottom: 0.4rem !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 3px rgba(0, 0, 0, 0.4) !important;
        text-transform: capitalize !important;
        font-weight: 500 !important;
    }
    
    .hero-weather-widget .weather-details {
        margin-top: 0.4rem !important;
        padding-top: 0.4rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
    }
    
    .hero-weather-widget .weather-detail-item {
        font-size: 0.65rem !important;
        gap: 0.3rem !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6), 0 0 3px rgba(0, 0, 0, 0.4) !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 500 !important;
    }
    
    .hero-weather-widget .weather-detail-separator {
        color: rgba(255, 255, 255, 0.6) !important;
        margin: 0 0.2rem !important;
        font-weight: 300 !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    }
    
    .hero-weather-widget .weather-detail-item i {
        font-size: 0.7rem !important;
        color: rgba(255, 255, 255, 0.98) !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) !important;
    }
    
    .hero-weather-widget .weather-loading {
        color: #6b7280 !important;
        text-shadow: none !important;
    }
    
    .hero-weather-widget .weather-error {
        color: #6b7280 !important;
        text-shadow: none !important;
    }
}

@media (max-width: 576px) {
    /* Mobile positioning for hero weather widget - small screens */
    .hero-weather-widget {
        top: 90px !important;
        right: 12px !important;
        max-width: 135px !important;
    }
    
    .hero-weather-widget .weather-widget {
        padding: 0 !important;
    }
    
    .hero-weather-widget .weather-widget-title {
        font-size: 0.6rem !important;
        margin-bottom: 0.45rem !important;
    }
    
    .hero-weather-widget .weather-widget-title i {
        font-size: 0.6rem !important;
        margin-right: 0.3rem !important;
    }
    
    .hero-weather-widget .weather-content {
        padding: 0.2rem 0 0.35rem 0 !important;
    }
    
    .hero-weather-widget .weather-icon {
        margin-bottom: 0.35rem !important;
    }
    
    .hero-weather-widget .weather-icon i {
        font-size: 1.75rem !important;
    }
    
    .hero-weather-widget .weather-temp {
        font-size: 1.5rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .hero-weather-widget .weather-desc {
        font-size: 0.65rem !important;
        margin-bottom: 0.35rem !important;
    }
    
    .hero-weather-widget .weather-details {
        margin-top: 0.35rem !important;
        padding-top: 0.35rem !important;
    }
    
    .hero-weather-widget .weather-detail-item {
        font-size: 0.6rem !important;
        gap: 0.25rem !important;
    }
    
    .hero-weather-widget .weather-detail-item i {
        font-size: 0.65rem !important;
    }
    
    .hero-weather-widget .weather-detail-separator {
        margin: 0 0.15rem !important;
    }
}

