/* style.css */

/* 🎨 KLEUREN & VARIABELEN */
:root {
  --brand: #0077cc;
  --brand-dark: #005fa3;
  --border: #e5e7eb;
  --text-muted: #6b7280;
  --bg-card: #f9fafb;
}

/* 🔤 BASIS */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.5;
}

/* 🔹 HEADER */
header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

#logo-img {
  max-height: 42px;
  cursor: pointer;
  transition: transform .3s ease;
}
#logo-img:hover { transform: scale(1.05); }

#logo-text { font-size: 1.55rem; }
.logo-solar { font-weight: 500; }
.logo-nowcasting { font-weight: 600; }
.logo-com { font-weight: 400; color: #9ca3af; margin-left: 2px; font-size: .95em; }

/* 🔹 NAVIGATIE */
.main-menu {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  padding: .7rem 1.5rem;
  background: #fff;
  border-bottom: 2px solid var(--border);
  font: 600 .95rem/1 'Inter', sans-serif;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.main-menu a {
  color: #000;
  text-decoration: none;
  position: relative;
}
.main-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width .25s;
}
.main-menu a:hover::after { width: 100%; }

/* 🔹 HERO SECTION */
.hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background: linear-gradient(to bottom, #eef6ff, #fff);
  border-bottom: 1px solid var(--border);
}
.hero-text h1 {
  font-size: 2rem;
  margin-bottom: .5rem;
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* 🔹 CLOUD FRAME */
.cloud-frame {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 1rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.cloud-frame .background { width: 100%; display: block; }
#cloud-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* 🔹 PAUSE BUTTON */
#pause-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: .55rem 1rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 2px 4px #0002;
}
#pause-btn:hover { background: var(--brand-dark); }

/* 🔹 INFO & STATUS */
#info-line,
#status-line {
  max-width: 900px;
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: .96rem;
  padding: .3rem 0;
}

/* 🔹 SOLAR BARS */
#solar-bars {
  display: flex;
  gap: 3px;
  height: 120px;
  align-items: flex-end;
  margin-top: 1rem;
}
.bar {
  flex: 1;
  background: #cfe8ff;
  border-radius: 3px;
  height: 5%;
}

/* 🔹 FOOTER */
footer {
  text-align: center;
  padding: 1rem 2rem;
  font-size: .85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* algemene pagina-styling */
.page-content {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.5rem 0 .5rem;
}

.page-content p, .page-content ul {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.page-content ul {
  padding-left: 1.25rem;
  list-style: disc;
}