@import url('/public/assets/css/public_base.css');

/* === Global === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #0b1440;
}

/* === Header === */
.public-header {
  background-color: #0b1440;
  padding: 16px 20px;
  color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.7rem 1.2rem;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-left: 25px;
  margin-right: 0;
  display: block;
  text-align: left;
}

/* Nav */
.nav-menu a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-menu .login-button {
  background: none;
  color: #0b1440;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: bold;
  border: 1px solid white;
}
nav .login-button, .login-button {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid #fff !important;
  border-radius: 6px;
  padding: 7px 18px;
  font-weight: bold;
  margin-left: 0.7rem;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
nav .login-button:hover, .login-button:hover {
  background: #fff !important;
  color: var(--primary, #0b1440) !important;
  border: 1px solid #fff !important;
}

.main-menu {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.burger {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  margin-right: 20px;
}

/* === Seksjonsstruktur === */
.section-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* === CTA === */
.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #007BFF, #0b1440);
    color: white;
    padding: 16px 30px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.cta-btn:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* === Video === */
.video-wrapper {
  position: relative;
}
.video-overlay {
  background: rgba(0, 0, 0, 0.35);
  transition: opacity 0.3s ease;
}
.video-overlay i {
  pointer-events: none;
}
video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* === Feature-liste === */
ul.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.feature-list li {
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
}
ul.feature-list li::before {
  content: '✔';
  color: #007BFF;
  font-weight: bold;
  margin-right: 10px;
}

/* === Main content fallback === */
section.main-content {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}
.section-box.bg {
  background-color: #f4f7ff;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.6;
}
.feature-icon {
  color: #007BFF;
  font-weight: bold;
  margin-right: 10px;
  flex-shrink: 0;
}
.cta-btn-secondary {
    display: inline-block;
    background-color: white;
    border: 2px solid #0b1440;
    color: #0b1440;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-btn-secondary:hover {
  background-color: #0b1440;
  color: white;
}
.header-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    height: 100px;
    background: #0b1440;
    color: white;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 0 0 15px 15px;
}

.custom-header {
    width: 100%;
}

.custom-header-title {
    text-align: center;
    width: 100%;
}

.custom-header-title h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.custom-header-title h2 {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    color: #ffffff;
    opacity: 0.9;
}

/* Responsiv tilpasning */
@media (max-width: 768px) {
    .header-container {
        height: auto;
        padding: 12px 16px;
    }

    .custom-header-title h1 {
        font-size: 20px;
    }

    .custom-header-title h2 {
        font-size: 16px;
    }
}

nav.main-header {
  background: #0b1440 !important;
  color: #fff !important;
}

@media (max-width: 800px) {
  .header-inner {
    justify-content: center;
  }
  .main-menu {
    position: static;
    transform: none;
    margin-left: auto;
  }
  .burger {
    position: static;
    transform: none;
    margin-right: 20px;
  }
}
