/* --- GENERAL RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- GLOBAL STYLES --- */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #111;
  color: #f1f1f1;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* --- HEADER --- */
header {
  background: #1a1a1a;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px; /* juster efter behov */
  width: auto;
  display: block;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: #f1f1f1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #FF6A00;
}

.hub-btn {
  background: #FF6A00;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: #111 !important;
  font-weight: bold;
}

/* --- HERO SECTION --- */
.hero {
  background: url('banner.png') center/cover no-repeat;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h2 {
  font-size: 2rem;
  color: #FF6A00;
  margin-bottom: 1rem;
}

.hero p {
  color: #ccc;
  margin-bottom: 1.5rem;
}

.cta-btn {
  background: #FF6A00;
  color: #111;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #e85d00;
}

/* --- ABOUT SECTION --- */
.about {
  padding: 4rem 0;
  background: #181818;
  text-align: center;
}

.about h2 {
  color: #FF6A00;
  margin-bottom: 1rem;
}

.about p {
  color: #ccc;
  max-width: 800px;
  margin: auto;
}

/* --- FEATURES SECTION --- */
.features {
  padding: 4rem 0;
  background: #202020;
  text-align: center;
}

.features h2 {
  color: #FF6A00;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item h3 {
  color: #FF6A00;
  margin-bottom: 1rem;
}

/* --- FOOTER --- */
footer {
  background: #1a1a1a;
  padding: 1rem 0;
  text-align: center;
  color: #808080;
  font-size: 0.9rem;
}

/* --- PAGE BANNER (used on About, Join, News) --- */
.page-banner {
  background: url('banner.png') center/cover no-repeat;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.page-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.banner-content h2 {
  color: #FF6A00;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.banner-content p {
  color: #ccc;
  font-size: 1rem;
}

/* --- PAGE CONTENT --- */
.page-content {
  padding: 4rem 0;
  background: #181818;
}

.page-content h2 {
  color: #FF6A00;
  margin-bottom: 1rem;
}

.page-content p, .page-content ul {
  color: #ccc;
  margin-bottom: 1.5rem;
}

.page-content ul {
  list-style: disc;
  margin-left: 2rem;
}

.news-item {
  background: #222;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.news-item h3 {
  color: #FF6A00;
  margin-bottom: 0.5rem;
}

.news-item em {
  color: #808080;
  font-size: 0.9rem;
}

/* --- MOBILE MENU --- */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #FF6A00;
}

/* Hide menu by default on mobile */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #1a1a1a;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    text-align: center;
    padding: 1rem 0;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  .menu-toggle {
    display: block;
  }

  header .container {
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 45px;
    max-width: 70%;
  }

  header .container {
    flex-wrap: nowrap;
  }
}