body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  color: #eee;
}

header {
  background-color: #1e1e1e;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-logo {
  width: 40px;
  height: 40px;
}

h1 {
  margin: 0;
  font-size: 1.8rem;
}

#lastUpdated {
  font-size: 0.9rem;
  color: #999;
  font-family: monospace;
}

main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
  justify-content: center;
}

#leftPanel, #rightPanel {
  background-color: #1f1f1f;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 0 12px rgba(0, 200, 0, 0.3);
  flex: 1 1 320px;
}

.bigTemp {
  font-size: 5rem;
  font-weight: 900;
  color: #2ecc40;
  text-align: center;
}

.subInfo {
  font-size: 1.2rem;
  color: #aaa;
  text-align: center;
}

.card {
  background-color: #292929;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #ccc;
  box-shadow: 0 0 6px rgba(0, 120, 255, 0.25);
}

.windRow {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  color: #aaa;
}

#liveTimeCard {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: #aaa;
  flex-wrap: wrap;
}

#forecastSection {
  padding: 0 30px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

#forecastSection h2 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  color: #eee;
}

.forecastContainer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.forecast-day-group {
  background-color: #222;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 10px rgba(0, 120, 255, 0.3);
}

.forecast-day-group h3 {
  margin-top: 0;
  color: #59a6ff;
  font-size: 1.3rem;
}

.forecast-subcontainer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  justify-content: center; /* Center the forecast cards */
}

.forecast-slot {
  background-color: #2c2c2c;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  color: #ddd;
  width: 135px; /* Increased width */
  box-shadow: 0 0 6px rgba(0, 120, 255, 0.2);
  white-space: nowrap; /* Prevent line breaks */
  flex-shrink: 0; /* Prevent shrinking in tight space */
}

.forecast-slot img {
  width: 50px;
  height: 50px;
  margin: 5px 0;
}

/* Footer watermark logo */
footer.watermark {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 20px;
  opacity: 0.05;
  pointer-events: none;
}

.watermark-logo {
  max-width: 200px;
  height: auto;
}

footer.copyright {
  text-align: center;
  padding: 10px 0 30px;
  color: #555;
  font-size: 0.9rem;
  font-family: monospace;
  opacity: 0.4;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 40px;
  width: auto;
}

.watermark {
  position: cem;
  bottom: 80px;
  right: 30px;
  opacity: 0.05;
  z-index: 0;
}

.watermark img {
  width: 150px;
  height: auto;
}

footer {
  text-align: center;
  padding: 15px;
  font-size: 0.85rem;
  color: #888;
  background-color: #121212;
  border-top: 1px solid #333;
}

.footer-credit a {
  color: #59a6ff;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}
