/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #02111B;
    min-height: 100vh;
    color: #00A7E1;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    color: #00A7E1;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #041C2C;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 167, 225, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #00A7E1;
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #00A7E1;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

nav ul li a:hover, nav ul li a.active {
    color: #00A7E1;
    border-bottom: 2px solid #00A7E1;
}

.meny {
    color: #00A7E1;
}

#loggut-knapp {
    color: #00A7E1;
    cursor: pointer;
    transition: color 0.3s;
}

#loggut-knapp:hover {
    color: #ffffff;
}

/* Hero section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background-color: rgba(4, 28, 44, 0.6);
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease-in-out;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00A7E1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #00A7E1;
}

/* Abonnement section */
.abonnement-valg {
    padding: 2rem 0 5rem;
}

.abonnement-valg .container {
    max-width: 1000px;
}

/* Stripe Pricing Table Customization */
stripe-pricing-table {
    --stripe-font-family: Arial, sans-serif;
    --stripe-elements-background-color: #041C2C;
    --stripe-elements-color: white;
    --stripe-color-primary: #00A7E1;
    --stripe-elements-border-color: rgba(0, 167, 225, 0.3);
    --stripe-elements-border-radius: 8px;
    
    width: 100%;
    display: block;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: #041C2C;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(0, 167, 225, 0.3);
}

.footer-innhold {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-kolonne {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.footer-kolonne h4 {
    color: #00A7E1;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-kolonne ul {
    list-style: none;
}

.footer-kolonne ul li {
    margin-bottom: 0.5rem;
}

.footer-kolonne a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-kolonne a:hover {
    color: #00A7E1;
}

.footer-kolonne p {
    color: rgba(255, 255, 255, 0.7);
}


.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo h1 {
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }
    
    nav ul {
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-innhold {
        flex-direction: column;
    }
    
    .footer-kolonne {
        padding-right: 0;
    }
}

/* For ekstra små skjermer */
@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0.25rem 0.5rem;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
}

