/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
}

/* MAIN LAYOUT */
.app {
  max-width: 1150px;
  margin: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

/* LEFT */
.weather {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* GLASS CARDS */
.side-card,
.stat-card {
  background: rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 0px;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.05);
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.05);
}

/* LEFT TITLE */
.nav-left {
  font-size: 22px;
  font-weight: 600;
}

/* RIGHT */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* STATS PILLS */
.nav-stats {
  display: flex;
  gap: 10px;
  font-size: 13px;
}

.nav-stats span {
  background: rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* SEARCH */
.search-box {
  display: flex;
  gap: 8px;
}

.search-box input {
  width: 180px;
  padding: 8px 14px;
  border-radius: 16px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.15);
  color: white;
}

.search-box input::placeholder {
  color: rgba(255,255,255,0.6);
}

.search-box button {
  padding: 8px 12px;
  border-radius: 16px;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
}

/* TOP STRIP */
.top-strip {
  display: flex;
  gap: 20px;
}

.top-left { flex: 2; }
.top-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}

/* TEMP */

.temp { font-size: 60px; font-weight: 600; }
.city { font-size: 25px;  margin-left: 10px; margin-top: 0px;}
.condition { opacity: 0.7; margin-left: 20px; font-weight: 800; }

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.stat-card {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* RIGHT PANEL */
.side-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.big-graph-card { height: 280px; }
.wind-card { height: 220px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .navbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .nav-right {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .search-box input {
    width: 100%;
  }

  .top-strip {
    flex-direction: column;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}