body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f4f8;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background-color: #4a90e2;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    margin-right: 10px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    flex-grow: 1;
}

.left-panel, .right-panel, .main-weather-display {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.left-panel, .right-panel {
    width: 280px;
}

.main-weather-display {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-width: 350px;
    max-width: 600px;
}

#weather-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
    border-radius: 15px;
}

/* JavaScript ile arka plan resmini ekleyeceğiz.
   Bu, mevcut arka plan resminin üzerine bir katman ekleyerek
   daha iyi bir görünüm sağlar. */
#weather-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.8); /* Resmin daha koyu görünmesini sağlar, metin okunurluğu için faydalı */
    transition: opacity 0.5s ease-in-out;
}

.weather-info-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.weather-info-overlay h1 {
    font-size: 3rem;
    margin-bottom: 5px;
}

.weather-info-overlay p {
    font-size: 5rem;
    font-weight: bold;
    margin: 0;
}

.search-box select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.current-weather {
    text-align: center;
    margin-top: 20px;
}

.temp-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.temperature {
    font-size: 2.5rem;
    font-weight: bold;
    margin-right: 15px;
}

.weather-icon {
    font-size: 2.5rem;
    color: #f7b731;
}

.forecast-box {
    margin-top: 20px;
}

h4 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #4a4a4a;
}

.forecast-items-daily {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 10px;
}

.forecast-item-daily {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.forecast-item-daily i {
    font-size: 1.5rem;
    margin: 5px 0;
    color: #4a90e2;
}

.radar-box {
    margin-top: 20px;
}

.radar-thumbnails {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.radar-thumbnails img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.radar-thumbnails img:hover {
    transform: scale(1.05);
}

/* Responsive tasarım */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .left-panel, .right-panel, .main-weather-display {
        width: 90%;
        max-width: none;
    }
    .header {
        padding: 1rem;
    }
}