﻿:root {
    --primary-color: #005A9E; /* En profesjonell blåfarge */
    --secondary-color: #00A3E0;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
}

.main-header {
    background: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 50px; /* Størrelse for desktop */
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin-left: 2rem;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
}

.hero {
    background: linear-gradient(rgba(0, 90, 158, 0.8), rgba(0, 90, 158, 0.8)), url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 6rem 1rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.info-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.info-section.challenges { background-color: var(--light-color); }

.features-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex: 1;
}

.feature-card h3 {
    color: var(--primary-color);
}

.feature-card ul {
    list-style-type: '✓ ';
    padding-left: 1.2rem;
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

.solution-text { flex: 1; }
.solution-image { flex: 1; }
.solution-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.how-it-works { background-color: var(--light-color); }
.steps-container {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 3rem;
}
.step {
    flex: 1;
}
.step-number {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.main-footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.contact-info {
    margin-top: 1.5rem;
    line-height: 1.8;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.secondary-button {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    margin-top: 1.5rem;
    display: inline-block; /* Gjør at margin-top fungerer */
}

.secondary-button:hover {
    background: var(--secondary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav { flex-direction: column; }
    .main-nav ul { margin-top: 1rem; }
    .hero h1 { font-size: 2.2rem; }
    .features-grid, .solution-content, .steps-container { flex-direction: column; }

    .logo img {
        height: 50px; /* Størrelse for mobil */
    }
}

/* =============== Stil for Pilotkunde CTA =============== */
.pilot-cta {
    background-color: var(--dark-color); /* Bruker mørk bakgrunn for å skille den ut */
    color: white;
    border-radius: 8px;
    margin: 4rem auto; /* Mer luft rundt seksjonen */
}

.pilot-cta h2 {
    color: white; /* Hvit overskrift på mørk bakgrunn */
}

/* Gjør kortene inni litt lysere enn bakgrunnen for kontrast */
.pilot-cta .feature-card {
    background-color: #3e5164;
    color: white;
}

/* Bruker den lyseblå fargen fra designet ditt på overskriftene i kortene */
.pilot-cta .feature-card h3 {
    color: var(--secondary-color);
}

.pilot-cta .cta-button {
    margin-top: 3rem; /* Mer avstand over knappen */
    display: inline-block;
}