/* ===== BASE STYLES ===== */
.mausam-pro {
    font-family: 'Poppins', 'Hind', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.weather-container {
    background: linear-gradient(135deg, #1a2a6c, #2a5298);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: green ;
}

/* ===== HEADER ===== */
.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: white(10px);
}

.weather-header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.language-switch {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 5px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: white;
    color: #1a2a6c;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ===== MAP CONTAINER ===== */
.map-container {
    position: relative;
    height: 400px;
}

#weather-map {
    height: 100%;
    width: 100%;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 500px;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

#location-search {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    outline: none;
}

#search-btn {
    background: #4ecdc4;
    border: none;
    color: white;
    padding: 0 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

#search-btn:hover {
    background: #3db9b1;
}

.location-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #1a2a6c;
    padding: 0 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: white;
    transform: translateY(-2px);
}

/* ===== WEATHER RESULTS ===== */
.weather-results {
    padding: 30px;
}

.weather-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.weather-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.weather-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}

.current-weather {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.forecast-weather {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.weather-icon {
    width: 100px;
    height: 100px;
}

.weather-temp {
    font-size: 3.5rem;
    font-weight: 700;
}

.weather-location {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.weather-datetime {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.detail-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
}

.detail-card h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
}

.detail-card p {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.forecast-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.forecast-items {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.forecast-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    min-width: 150px;
    text-align: center;
}

.forecast-date {
    font-weight: 600;
    margin-bottom: 10px;
}

.forecast-icon {
    width: 60px;
    height: 60px;
    margin: 10px auto;
}

.forecast-temp {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 5px 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .weather-cards {
        grid-template-columns: 1fr;
    }
    
    .map-overlay {
        flex-direction: column;
        align-items: stretch;
    }
    
    .location-btn {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .weather-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .weather-main {
        flex-direction: column;
        text-align: center;
    }
    
    .weather-details {
        grid-template-columns: 1fr;
    }
}