:root {
  --bg: #ffffff;
  --text: #000000;
  --text-muted: #666666;
  --border: #eeeeee;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-header: 'Inter', var(--font-main);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.5;
  min-height: 100vh;
  padding: 80px 40px;
}

/* Header inspired by the design image */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 120px;
  position: relative;
}

.nav-top {
  position: absolute;
  top: -40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-title {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 100px 0;
}

.nav-bottom {
  margin-top: 40px;
  display: flex;
  gap: 30px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-bottom a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.nav-bottom a:hover {
  color: var(--text);
}

/* Forecast Grid */
.forecast-grid {
  max-width: 900px;
  margin: 0 auto;
}

.forecast-card {
  margin-bottom: 120px;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-header {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.card-header h2 {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-info {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.map-preview {
  width: 100%;
  height: 250px;
  border: none;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 0.3s, filter 0.3s;
  margin-bottom: 0px;
  display: block;
}

.map-preview:hover {
  opacity: 1;
  filter: grayscale(0);
}

.widget-wrapper {
  width: 100%;
  padding-top: 0px;
  margin-top: 0px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  body {
    padding: 60px 20px;
  }

  .site-title {
    font-size: 1.5rem;
    margin: 60px 0;
  }

  .nav-top {
    display: none;
  }

  .nav-bottom {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.site-footer {
  margin-top: 160px;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-content .creator {
  color: var(--text);
  font-weight: 400;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}