/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  z-index: 1000;
}

header h1 {
  font-weight: 700;
  font-size: 24px;
  color: #fff;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  color: #333;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80vh;
  text-align: center;
  background: linear-gradient(to bottom right, rgba(255,255,255,0.2), rgba(0,0,0,0.2));
  backdrop-filter: blur(5px);
  padding-top: 60px;
}

.hero h2 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 30px;
}

.hero button {
  padding: 12px 30px;
  font-size: 1rem;
  color: #fff;
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 20px;
}

.hero button:hover {
  background: rgba(255,255,255,0.3);
}

/* Search */
.search-container {
  display: flex;
  gap: 10px;
}

#cityInput {
  padding: 10px 15px;
  border-radius: 8px;
  border: none;
  width: 200px;
}

#searchBtn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  background: rgba(0,0,0,0.4);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

#searchBtn:hover {
  background: rgba(255,255,255,0.3);
}

/* Weather Section */
.weather {
  display: flex;
  justify-content: center;
  padding: 50px 20px;
}

.weather-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  width: 300px;
}

.weather-card h3 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: #333;
}

.weather-card p {
  font-size: 1.2rem;
  color: #555;
  margin: 10px 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  color: #fff;
}

/* Responsive */
@media(max-width: 768px){
  .hero h2 {
    font-size: 2.2rem;
  }

  .weather-card {
    width: 90%;
  }

  .search-container {
    flex-direction: column;
  }

  #cityInput {
    width: 100%;
  }
}
