/*
Theme Name: Future Energy
Author: ChatGPT x Enever
Version: 1.1
Description: Visueel versterkt WordPress theme met neon-stijl voor Enever.nl
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Exo+2:wght@400;700&display=swap');

body {
    font-family: 'Exo 2', sans-serif;
    margin: 0; padding: 0;
    background: #121926;
    color: #b6f0d1;
}

main {
    max-width: 960px;
    margin: 50px auto;
    padding: 0 20px;
}

.hero {
    height: 320px;
    background: linear-gradient(90deg, #0f1b2d 0%, #1b2a4d 50%, #0f1b2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    font-weight: 700;
    color: #39ff14;
    text-shadow: 0 0 8px #39ff14;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: #39ff14;
    border-bottom: 3px solid #39ff14;
    padding-bottom: 8px;
    margin-bottom: 30px;
    letter-spacing: 0.07em;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

article.post {
    background: #1b2a4d;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 15px #39ff14aa;
    transition: transform 0.3s ease;
}

article.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px #39ff14dd;
}

article.post h3 {
    margin-top: 0;
    font-weight: 700;
    color: #a0ff9a;
}

article.post p {
    color: #d4f9d4;
}

footer {
    text-align: center;
    padding: 25px;
    font-size: 0.9em;
    color: #4caf50aa;
    border-top: 1px solid #39ff1444;
    margin-top: 60px;
}

.site-header {
  background-color: #0f1b2d;
  padding: 10px 0;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.site-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4em;
  color: #39ff14;
  margin: 0;
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.main-menu a {
  color: #b6f0d1;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.main-menu a:hover {
  color: #39ff14;
}

.hero {
  height: 100px;
  font-size: 2em;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}
/* Of specifieker voor neon-groen: */
.site-title a {
    color: #39ff14; /* of welke neon-groene kleur je gebruikt */
    text-decoration: none;
}

a {
  color: #a0ff9a; /* lichtgroen */
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #39ff14; /* feller neon-groen bij hover */
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #0f1b2d;
  padding: 10px 0;
  box-shadow: 0 2px 6px #00000044;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #0f1b2d;
  padding: 16px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px #00000044;
}

.site-header.scrolled {
  padding: 6px 0;
  background-color: #0f1b2d;
  box-shadow: 0 4px 10px #00000066;
}

.site-title {
  transition: font-size 0.3s ease;
}

.site-header.scrolled .site-title {
  font-size: 1.1em;
}

.with-sidebar {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.content-area {
  flex: 2;
}

.sidebar {
  flex: 1;
  background-color: #1b2a4d;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px #39ff1444;
  color: #d4f9d4;
}

.widget h4 {
  color: #39ff14;
  border-bottom: 2px solid #39ff14;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .with-sidebar {
    flex-direction: column;
  }

  .sidebar {
    margin-top: 30px;
  }
}

.content-block {
  background-color: #1b2a4d;
  color: #d4f9d4;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 16px;
  box-shadow: 0 0 10px #39ff1444;
  font-size: 1rem;
}

.content-block h2,
.content-block h3 {
  color: #39ff14;
  margin-top: 0;
}

.content-block a {
  color: #a0ff9a;
  text-decoration: underline;
}

.content-block a:hover {
  color: #39ff14;
}

.columns-2 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.columns-2 > div {
  flex: 1 1 48%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .columns-2 {
    flex-direction: column;
  }

  .columns-2 > div {
    flex: 1 1 100%;
  }
}

.page-sidebar-layout {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.content-area {
  flex: 0 0 70%;
  box-sizing: border-box;
}

.sidebar-area {
  flex: 0 0 28%;
  box-sizing: border-box;
}

/* De twee kolommen naast elkaar */
.columns-2 {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.columns-2 > div {
  flex: 1 1 48%;
  box-sizing: border-box;
}

/* Mobiel: alles onder elkaar */
@media (max-width: 768px) {
  .page-sidebar-layout {
    flex-direction: column;
  }
  .content-area, .sidebar-area {
    flex: 1 1 100%;
  }
  .columns-2 {
    flex-direction: column;
  }
  .columns-2 > div {
    flex: 1 1 100%;
  }
}

#formid input[type="text"],
#formid input[type="number"],
#formid select {
  background-color: #f0fff4; /* zachte groene kleur */
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

#formid input[type="text"]:focus,
#formid input[type="number"]:focus,
#formid select:focus {
  background-color: #e0ecf5; /* iets donkerder bij focus */
  border-color: #88aacc;
  outline: none;
}




#formid input[type="submit"] {
  background-color: #0073aa;        /* WordPress blauw */
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

#formid input[type="submit"]:hover {
  background-color: #005d8f;
}