/* Generelle Stiler */
:root {
    --primary-color: #64b5f6; /* Lysere blå for aksenter */
    --secondary-color: #9e9e9e; /* Mykere grå */
    --accent-color: #00bcd4; /* Fortsatt turkis for CTA, kan justeres */
    --dark-bg: #0d1d3d; /* Enda mørkere marineblå */
    --light-bg: #f5f5f5; /* Veldig lys grå */
    --light-text: #ffffff; /* Hvit tekst */
    --text-color: #333333; /* Mørk grå tekst */
    --border-color: #e0e0e0; /* Lys grå border */
  
}


body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    padding-top: 80px;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}


h1, h2, h3 {
    color: var(--dark-bg);
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}


p {
    margin-bottom: 20px;
    text-align: center;
}


a {
    color: var(--primary-color);
    text-decoration: none;
}


a:hover {
    text-decoration: underline;
}


/* CTA Knapp */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.cta-button:hover {
    background-color: #00a7b3;
    text-decoration: none;
}


/* Navbar */
.navbar {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}


/* Stil for logo-bildet */
.logo-img {
    height: 50px;
    width: auto;
    display: block;
}


.navbar .nav-links a {
    color: var(--light-text);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease, transform 0.3s ease;
}


.navbar .nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
}




/* Hero Seksjon */
.hero-section {
    background: linear-gradient(135deg, #1a237e 0%, #512da8 50%, #303f9f 100%); /* Mørk blå til lilla */
    color: var(--light-text);
    text-align: center;
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
}


.hero-content {
    max-width: 800px;
}


.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--light-text);
    line-height: 1.2;
}


.hero-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}


/* Om Oss Seksjon */
.about-section {
    background-color: var(--light-bg);
    padding: 80px 0;
    text-align: center;
}


.about-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}


.about-section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    line-height: 1.8;
}


.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Tjenester Seksjon */
.services-section {
    background-color: #0d1d3d; /* Veldig lys cyan */
    padding: 80px 0;
    text-align: center;
}


.services-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}


.service-card {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


.service-card i {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
}


.service-card h3 {
    font-size: 1.5em;
    color: var(--dark-bg);
    margin-bottom: 15px;
}


.service-card p {
    font-size: 1em;
    color: var(--secondary-color);
    line-height: 1.7;
    margin: 0;
}


.services-cta {
    margin-top: 50px;
}


/* Kontakt Seksjon (ny) */
.contact-section {
    background-color: var(--light-bg);
    padding: 80px 0;
    text-align: center;
}


.contact-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}


.contact-section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    line-height: 1.8;
}



/* Footer */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 20px 30px 20px;
    text-align: center;
}


.footer-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8em;
}


.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-size: 0.95em;
}


.footer-info a {
    color: var(--light-text);
}


.footer-links {
    margin-top: 30px;
    margin-bottom: 20px;
}


.footer-links a {
    color: var(--light-text);
    margin: 0 15px;
    font-size: 0.9em;
    transition: color 0.3s ease;
}


.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}


.social-icons {
    margin-top: 20px;
    margin-bottom: 30px;
}


.social-icons a {
    color: var(--light-text);
    font-size: 1.8em;
    margin: 0 15px;
    transition: color 0.3s ease;
}


.social-icons a:hover {
    color: var(--primary-color);
}


.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}


/* Responsivt design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }


    .navbar .nav-links {
        margin-top: 15px;
    }


    .navbar .nav-links a {
        margin: 0 10px;
        font-size: 1em;
    }


    .hero-section h1 {
        font-size: 2.5em;
    }


    .hero-section p {
        font-size: 1.1em;
    }


    .service-grid {
        grid-template-columns: 1fr;
    }


    .cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }


    .about-section h2, .services-section h2, .contact-section h2 {
        font-size: 2em;
    }


    .footer-links a, .social-icons a {
        margin: 0 10px;
    }
    
    body {
        padding-top: 120px;
    }


    .logo-img {
        height: 40px;
    }
}


@media (max-width: 480px) {
    .hero-section {
        padding: 100px 20px;
    }


    .hero-section h1 {
        font-size: 2em;
    }


    .hero-section p {
        font-size: 1em;
    }
    
    .about-section, .services-section, .contact-section, .site-footer {
        padding: 50px 0;
    }


    .navbar .nav-links a {
        font-size: 0.9em;
        margin: 0 8px;
    }


    .logo-img {
        height: 35px;
    }
}