:root {
    --primary: #002b5c;
    --accent: #007bff;
    --text-dark: #1e293b;
    --bg-light: #ffffff;
    --section-alt: #f8fafc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* Navigasjon */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%; top: 0; z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.nav-links a { margin-left: 2rem; font-weight: 600; color: var(--text-dark); transition: 0.3s; }
.nav-links a:hover { color: var(--accent); }

/* Hamburgermeny */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--primary); border-radius: 2px; }

/* Generell Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.page-padding { padding-top: 8rem; padding-bottom: 4rem; }
.section-title { font-size: 2.5rem; color: var(--primary); margin-bottom: 3rem; text-align: center; }

/* Sikksakk-layout for tekst og bilder */
.zigzag-section { display: flex; align-items: center; gap: 4rem; margin-bottom: 4rem; }
.zigzag-section:nth-child(even) { flex-direction: row-reverse; } /* Bytter plass på tekst/bilde annenhver gang */
.zigzag-text { flex: 1; }
.zigzag-img { flex: 1; width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); object-fit: cover; height: 350px; }

/* Kort */
.card { background: white; border: 1px solid #e2e8f0; padding: 2.5rem; border-radius: 20px; margin-bottom: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* Video (Kun på bachelor-siden) */
.video-wrapper { max-width: 800px; margin: 0 auto 4rem auto; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* Team Seksjon (Kopi av designet) */
.member-section { display: flex; flex-direction: column; gap: 4rem; }
.member-card { 
    display: flex; flex-direction: column; align-items: center; text-align: center; 
    background: white; padding: 2rem; border-radius: 20px; border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.member-img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 5px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.member-role { color: var(--accent); font-weight: 700; margin-bottom: 1rem; display: block; }
.member-bio { max-width: 700px; margin: 0 auto 1.5rem auto; color: #444; }
.skill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.skill-tag { background: #e0f2fe; color: var(--primary); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.member-link { color: var(--accent); font-weight: 700; border-bottom: 2px solid transparent; transition: 0.3s; }
.member-link:hover { border-bottom-color: var(--accent); }

/* Animasjon */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.active { display: flex; position: fixed; top: 70px; right: 0; background: white; flex-direction: column; width: 100%; padding: 2rem; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .hamburger { display: flex; }
    .zigzag-section { flex-direction: column !important; gap: 2rem; }
    .zigzag-img { height: auto; }
}
/* ===== BACHELOR SIDE ===== */

.content-section {
    padding: 8rem 0 4rem 0;
}

.site-header {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.site-header h1 {
    color: var(--primary);
}

.site-header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.site-header nav a {
    font-weight: 600;
}

.site-footer {
    background: var(--primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.info-box-grid,
.plan-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-box,
.plan-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.subsection-heading {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 3rem 0 2rem 0;
    text-align: center;
}
/* Tilleggsstiler for å støtte den nye knappestrukturen */
        .button-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        @media (min-width: 768px) {
            .button-container {
                flex-direction: row;
            }
        }

        .btn-primary-new {
            background-color: var(--accent);
            color: white;
            padding: 1rem 2rem;
            border-radius: 0.75rem;
            font-weight: 700;
            box-shadow: 0 20px 25px -5px rgba(0, 123, 255, 0.2);
            transition: all 0.3s;
        }

        .btn-primary-new:hover {
            transform: translateY(-4px);
            filter: brightness(1.1);
        }

        .btn-outline-new {
            background-color: white;
            color: var(--text-dark);
            padding: 1rem 2rem;
            border-radius: 0.75rem;
            border: 1px solid #e2e8f0;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .btn-outline-new:hover {
            background-color: #f8fafc;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        .btn-outline-new i {
            margin-right: 0.5rem;
            color: var(--accent);
        }