/* Import Google Fonts - Poppins og Playfair Display */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base Styles og Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Norske farger - inspirert av flagget og nordlys */
    --primary: #0057b7;      /* Blå fra det norske flagget */
    --primary-dark: #003d82;
    --primary-light: #4d88cd;
    --accent: #bc2a37;       /* Rød fra det norske flagget */
    --accent-light: #e24553;
    --dark: #1c2331;
    --light: #f6f9fc;
    --white: #ffffff;
    --gray: #8a919e;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-wrapper {
    position: relative;
    z-index: 1;
}

/* Aurora bakgrunnseffekt */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0, 87, 183, 0.03) 0%, 
        rgba(188, 42, 55, 0.02) 50%, 
        rgba(0, 87, 183, 0.01) 100%);
    pointer-events: none;
    animation: aurora-shift 15s infinite alternate;
}

@keyframes aurora-shift {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Header og Navigasjon */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 45px;
    height: 45px;
    margin-right: 10px;
}

h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--dark);
}

h1 span {
    color: var(--primary);
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav ul li a {
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.main-nav ul li a:hover {
    color: var(--primary);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 160px;
    position: relative;
    background: linear-gradient(180deg, rgba(246, 249, 252, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-section h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.hero-section h2 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    opacity: 0.3;
    border-radius: 2px;
}

.hero-section p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.btn.primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 87, 183, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 87, 183, 0.4);
    color: var(--white);
}

.btn.outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn.outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn.large {
    padding: 16px 36px;
    font-size: 1rem;
}

.highlights {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.highlight-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.highlight-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Service Section */
.service-section {
    padding: 80px 0;
    position: relative;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin: 60px 0;
}

.process-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 280px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 87, 183, 0.2);
}

.process-icon-container {
    width: 80px;
    height: 80px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 87, 183, 0.05);
}

.process-icon {
    width: 45px;
    height: 45px;
    color: var(--primary);
}

.process-item h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.process-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.process-divider {
    display: flex;
    align-items: center;
    width: 80px;
    color: var(--primary-light);
    z-index: 1;
}

.service-cta {
    text-align: center;
    margin-top: 40px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: rgba(0, 87, 183, 0.02);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 87, 183, 0.1) 0%, rgba(188, 42, 55, 0.1) 100%);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 25px;
}

.faq-item.active {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 25px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-section .btn.primary {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn.primary:hover {
    background: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 300px;
}

.footer-logo {
    width: 50px;
    height: 50px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-brand-name span {
    color: var(--accent-light);
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-links-group h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.footer-links-group h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-light);
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group ul li {
    margin-bottom: 10px;
}

.footer-links-group ul li a {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links-group ul li a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-section h2, 
    .section-header h2,
    .cta-section h2 {
        font-size: 2.3rem;
    }
    
    .process-flow {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    
    .process-item {
        max-width: 350px;
        width: 100%;
    }
    
    .process-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    .main-nav ul.active {
        right: 0;
    }
    
    .main-nav ul li a {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 60px 0 120px;
    }
    
    .hero-section h2, 
    .section-header h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        width: 100%;
        gap: 30px;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .hero-section h2, 
    .section-header h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}
