/* === GLOBALT === */

body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #111;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  margin: 0 0 0.5em 0;
}

p {
  margin: 0 0 1em 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === HEADER & FOOTER === */

.site-header, .site-footer {
  background-color: #003049;
  color: white;
  padding: 20px;
}

.site-header a, .site-footer a {
  color: white;
  font-weight: bold;
}

/* === MENY === */

.main-navigation {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.main-navigation a {
  padding: 10px;
  border-radius: 4px;
  background-color: #005f73;
  color: #fff;
  font-weight: 600;
}

.main-navigation a:hover {
  background-color: #0a9396;
}

/* === FRAMTIDSPROJEKTET BOXAR === */

.framtidsprojekt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.framtidsprojekt-box {
  background: #f1f1f1;
  border: 3px solid #ccc;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.framtidsprojekt-box:hover {
  border-color: #0077b6;
  transform: translateY(-5px);
}

/* === KRAFTFÄLT === */

.kraftfalt-grid {
  display: grid;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.kraftfalt-box {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background-color: #f8f8f8;
  border: 4px solid #ccc;
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .kraftfalt-box {
    grid-template-columns: 1fr;
  }
}

/* === VÄNSTER === */

.left-column {
  background: #fff;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kraftfalt-logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 12px;
}

.kraftfalt-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  color: #fff;
  background-color: #555;
  margin-bottom: 12px;
}

.kraftfalt-tagline {
  font-size: 1rem;
  font-style: italic;
  font-weight: bold;
}

/* === HÖGER === */

.right-column {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-column h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.right-column p {
  font-size: 1rem;
  line-height: 1.5;
}

/* === FÄRGER === */

.kraftfalt-hamnnavet { border-color: #1e3d59; }
.kraftfalt-hamnnavet .kraftfalt-button { background-color: #1e3d59; }

.kraftfalt-leva { border-color: #3c6e71; }
.kraftfalt-leva .kraftfalt-button { background-color: #3c6e71; }

.kraftfalt-kreativa { border-color: #d7263d; }
.kraftfalt-kreativa .kraftfalt-button { background-color: #d7263d; }

.kraftfalt-social { border-color: #1985a1; }
.kraftfalt-social .kraftfalt-button { background-color: #1985a1; }

.kraftfalt-vatten { border-color: #0077b6; }
.kraftfalt-vatten .kraftfalt-button { background-color: #0077b6; }

.kraftfalt-ungdom { border-color: #8338ec; }
.kraftfalt-ungdom .kraftfalt-button { background-color: #8338ec; }

.kraftfalt-digitala { border-color: #2a9d8f; }
.kraftfalt-digitala .kraftfalt-button { background-color: #2a9d8f; }
