/* nudeifyNO.site - Norwegian Website Stylesheet */

/* Base Styles & Variables */
:root {
    --primary: #00205B;       /* Dark blue from Norwegian flag */
    --secondary: #BA0C2F;     /* Red from Norwegian flag */
    --primary-light: #5A7EB0; /* Lighter blue */
    --secondary-light: #D65B73; /* Lighter red */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-alt: #F5F8FC;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

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

a:hover {
    color: var(--secondary);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Nordic-inspired Patterns and Backgrounds */
.nordic-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-light) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: -1;
}

.nordic-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-alt);
    opacity: 0.7;
    z-index: -1;
}

.nordic-wave-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(135deg, 
            var(--bg-color) 25%, 
            transparent 25%, 
            transparent 50%, 
            var(--bg-color) 50%, 
            var(--bg-color) 75%,
            transparent 75%, 
            transparent
        );
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: -1;
}

.nordic-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1;
}

.nordic-divider.top {
    top: 0;
    background: linear-gradient(to bottom right, var(--bg-color) 0%, var(--bg-color) 50%, transparent 50%);
}

.nordic-divider.bottom {
    bottom: 0;
    background: linear-gradient(to top left, var(--bg-color) 0%, var(--bg-color) 50%, transparent 50%);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: var(--transition);
}

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

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    margin-right: 10px;
}

/* Navigation */
.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 30px;
}

.desktop-nav ul li a {
    font-weight: 500;
    position: relative;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
}

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

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

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

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

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: var(--bg-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 5px 0;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background-color: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.hero h1 .highlight {
    color: var(--secondary);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-light);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-graphic {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features {
    background-color: var(--bg-color);
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Technology Section */
.technology {
    background-color: var(--bg-alt);
}

.tech-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tech-content {
    max-width: 550px;
}

.tech-content h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.tech-content h3:first-child {
    margin-top: 0;
}

.tech-graphic {
    position: relative;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--bg-color);
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.step {
    flex: 1;
    padding: 0 20px;
    text-align: center;
}

.step-icon {
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

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

/* FAQ Section */
.faq-section {
    background-color: var(--bg-alt);
    position: relative;
}

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

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

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

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.toggle-icon {
    position: relative;
    width: 18px;
    height: 18px;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
}

.toggle-icon::before {
    width: 18px;
    height: 2px;
    top: 8px;
    left: 0;
}

.toggle-icon::after {
    width: 2px;
    height: 18px;
    left: 8px;
    top: 0;
}

.faq-question.active .toggle-icon::after {
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.3s ease;
}

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

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo a {
    color: white;
    display: flex;
    align-items: center;
}

.footer-logo span {
    margin-left: 10px;
    font-weight: 600;
}

.footer-nav ul {
    display: flex;
    list-style: none;
}

.footer-nav ul li {
    margin-left: 30px;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-graphic svg {
        width: 300px;
        height: 300px;
    }
    
    .tech-container {
        flex-direction: column;
    }
    
    .tech-content {
        margin-bottom: 40px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        margin-top: 30px;
    }
    
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav ul li {
        margin: 10px 0;
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
