/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
}

/* ===== Screen ===== */
.screen {
  display: none;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.screen.active {
  display: flex;
}

/* ===== Background Image ===== */
#landing,
#weatherPage {
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url("weatherimg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

/* ================= LANDING ================= */
#landing h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.9);
}

#landing p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

#landing button {
  padding: 18px 45px;
  font-size: 1.3rem;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  background: linear-gradient(to right, #ff6a00, #ffb347);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transition: 0.3s ease;
}

#landing button:hover {
  transform: scale(1.07);
}

/* ================= WEATHER CARD ================= */
.weather-container {
  background: rgba(255, 255, 255, 0.25);  /* 👈 LIGHTER */
  padding: 50px;
  border-radius: 26px;
  backdrop-filter: blur(18px);
  box-shadow:
    0 15px 45px rgba(0,0,0,0.8),
    inset 0 0 0 1px rgba(255,255,255,0.35); /* 👈 BORDER */
  min-width: 340px;
  max-width: 520px;
}

/* Title */
.weather-container h2 {
  font-size: 2.3rem;
  margin-bottom: 25px;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0,0,0,0.9);
}

/* Input */
.weather-container input {
  width: 85%;
  padding: 16px;
  font-size: 1.2rem;
  border-radius: 14px;
  border: none;
  outline: none;
  margin-bottom: 25px;
  background: #ffffff;
  color: #222;
}

/* Button */
.weather-container button {
  padding: 16px 38px;
  font-size: 1.2rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(to right, #ff6a00, #ffb347);
  color: #fff;
  box-shadow: 0 6px 22px rgba(0,0,0,0.6);
  transition: 0.3s ease;
}

.weather-container button:hover {
  transform: scale(1.06);
}

/* ================= RESULT CARD ================= */
.weather-card {
  margin-top: 35px;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.30); /* 👈 MUCH CLEARER */
  box-shadow:
    0 10px 35px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.35);
  font-size: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.85);
}

.weather-card img {
  width: 90px;
  margin: 10px 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .weather-container {
    padding: 32px 22px;
  }

  .weather-container h2 {
    font-size: 1.8rem;
  }

  .weather-container input {
    width: 95%;
  }
}
