/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Body Background – Violet Gradient */
body {
  background: linear-gradient(135deg, #6a0dad, #8a2be2, #9932cc);
  background-attachment: fixed;
  color: #f5f5f5;
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
}

/* Sidebar Navigation */
.sidebar {
  width: 220px;
  background: #1a0026;
  padding: 20px 0;
  position: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar a {
  display: block;
  text-decoration: none;
  color: #ddd;
  font-size: 20px;
  margin: 15px 0;
  padding: 12px 18px;
  border-radius: 10px;
  transition: 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
  background: #b400ff;
  color: #fff;
  transform: scale(1.1);
}

/* Main Content */
.content {
  margin-left: 240px;
  padding: 50px;
  width: 100%;
  animation: fadeIn 1s ease-in;
}

/* Headings */
h1, h2, h3 {
  color: #ffccff;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 6px #000;
}

/* Card Style for Sections */
.card {
  background: rgba(0, 0, 0, 0.4);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
button, .btn {
  background: #b400ff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 18px;
}

button:hover, .btn:hover {
  background: #d633ff;
  transform: scale(1.05);
}

/* Weather + Map containers */
#map {
  height: 300px;
  border-radius: 15px;
  margin-top: 20px;
}

#weather {
  font-size: 20px;
  margin-top: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: inline-block;
}
