/* Genel ayarlar */

/* Konteyner */
.havacontainer {
    max-width: 1100px;
    margin: auto;
    text-align: center;
    margin-top: 40px;
}

.havacontainer h1 {
  color: #c62828;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Grid düzeni */
.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Hava durumu kartları */
.card {
  background-color: #66ccff;
  color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.card h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  font-weight: bold;
}

.status {
  font-size: 1rem;
  margin-bottom: 8px;
}

.temp {
  font-size: 2rem;
  font-weight: bold;
  margin: 20px 0;
}

.details {
  display: flex;
  justify-content: space-around;
  font-size: 0.85rem;
  margin: 10px 0;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.card a:hover {
  opacity: 0.8;
}

@media (max-width: 640px) {
    .centered-image, .map-description {
        max-width: 90%;
    }

    .map-description {
        font-size: 12px;
    }
}

/* Responsive uyum */
@media (max-width: 600px) {
  .card {
    padding: 15px;
  }

  .temp {
    font-size: 1.6rem;
  }

  .details {
    flex-direction: column;
    gap: 5px;
  }
}

.icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 4px;
}

/* 🔹 Harita görseli için */
.centered-image {
    display: block;
    margin: 40px auto;
    max-width: 1165px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.0);
}

/* 🔹 Harita açıklamaları listesi */
.map-description {
    max-width: 1165px;
    margin: 20px auto;
    padding-left: 20px;
    color: #000;
    font-size: 14px;
    line-height: 1.6;
}

    .map-description li {
        margin-bottom: 12px;
        position: relative;
        padding-left: 18px;
        list-style: none;
    }

        .map-description li::before {
            content: "•";
            color: red;
            position: absolute;
            left: 0;
            top: 0;
            font-size: 18px;
            line-height: 1;
        }
