/* Reset og grunnleggende oppsett */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    font-size:16px;
}

body {
    font-family: 'Libre Baskerville', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}




strong {
    font-weight:700;
}

/* Navigasjon */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem;
}





.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #34675a;
    padding:3px;
}

.logo img {
    height: 22px;
    width: auto;
    display: block;
}

.logo a {
    display: inline-block;
}



.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #34675a;
}




/* Hamburger-knapp */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #34675a;
}


.nav-menu a.active {
    color: #34675a;
    /*font-weight: bold;*/
    border-bottom: 1px solid #34675a;
}

/* Hero-seksjon */
.hero {
    text-align: center;
    padding: 5rem 2.8rem;
    background-color: #d8ebeb;
    color: #34675a;
}

.hero h1 {
    font-size: 2.4rem;
    margin: 1.2rem;
    color: #34675a;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color:#333;
}

.hero img{
    max-width: 160px;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.7rem;
    background-color: #34675a;
    color: #fff;
    font-size: 120%;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom:2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #004d40;
}

/* Fremhevingsseksjon */
.highlight-section{
    text-align: center;
    padding: 4rem 2.4rem;
    background-color: #d8ebeb;
    color: #34675a;

}

.highlight-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.highlight-section h3{
    font-size:1.8rem;
    margin:1rem 2rem 1rem 2rem;
    font-weight: 100;

}

.highlight-section p {
    font-size: 1.4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}



/* Innholdsseksjon */
.content-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.8rem;
    color: #333;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #34675a;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom:1.8rem;
    margin-top:1.2rem;
}

.content-section h4{
    font-size: 1.3rem;
    font-weight: 100;
    /*margin:2rem 0 2.4rem 0;*/
    color:#34675a;
}

.content-section li{
     font-size: 1.1rem;
    line-height: 1.8;
    margin:1.2rem 0 0 1rem;
    padding-left:6px;

}

.content-section a:link{ 
    text-decoration: none;
    color: #34675a;
    transition: color 0.3s; }

.content-section a:hover {
    color: #004d40;
     border-bottom: 1px solid #004d40;
}

.content-section a:visited {
    color:#34675a;
}

/*Team på kontaktsiden*/

.team-contact {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
    text-align: center;
}

.team-contact h2 {
    font-size: 1.6rem;
    margin-bottom: 2.9rem;
    color: #333;
    font-weight: 100;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
   /* box-shadow: 0 2px 6px rgba(0,0,0,0.05);*/
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #34675a;
}

.team-member p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #333;
}

.team-member a {
    color: #34675a;
    text-decoration: none;
}

.team-member a:hover {
    text-decoration: underline;
}




/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #34675a;
    color: #fff;
    min-height:100px;
}

/* Responsiv meny for mindre skjermer */
@media (max-width: 768px) {
    html{
        font-size:15px;
    }
    .hero h1{
        font-size: 1.9rem;
        margin:1rem;
    }
    .highlight-section {
        padding: 2.8rem 1.8rem;

    }
    .content-section h2{
        font-size: 1.6rem;
        font-weight: 700;
    }

    .hamburger {
        display: block;

    }

    .nav-menu {
        display: none;
        font-size: 1.4rem;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
         width:100%;
        left:0;
        right:0;
        padding:4rem;
        top: 80px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 4px;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }
}




