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

/* Sørger for at menyen ikke dekker overskriftene, og gir myk rulling */
html {
    scroll-padding-top: 130px; /* Økt litt for å kompensere for større logo */
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
    line-height: 1.6;
}

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

.max-700 {
    max-width: 700px;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Navigasjonsbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%; /* Justert padding for å balansere den store logoen */
    background-color: #1e1e1e;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* NYTT: Større logo i menyen */
.logo-img {
    height: 85px; /* Økt fra 55px til 85px */
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

nav ul li a {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffffff;
}

.linkedin-icon {
    font-size: 1.2rem;
}

/* Hero Seksjon */
.hero-section {
    height: 60vh;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    background-color: #2a2a2a;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
}

/* NYTT: High-end font på overskriften */
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem; /* Gjort litt større for ekstra wow-faktor */
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.hero-content .subtitle {
    font-family: 'Helvetica Neue', Arial, sans-serif; /* Beholder den rene stilen her */
    font-size: 1.3rem;
    font-weight: 300;
    color: #dcdcdc;
    letter-spacing: 1px;
}

/* Intro Seksjon */
.intro-section h2 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.intro-section p {
    color: #cccccc;
    font-size: 1.1rem;
}

/* Tjenester (Lys Seksjon) */
.services-section {
    background-color: #e6e2dd;
    color: #1e1e1e;
}

.services-header {
    max-width: 800px;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.services-header p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #444444;
}

.btn-link {
    color: #1e1e1e;
    text-decoration: underline;
    font-weight: bold;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.service-box {
    border-top: 1px solid #c8c2bc;
    padding-top: 20px;
}

.service-icon {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.service-box p {
    font-size: 0.95rem;
    color: #555555;
}

/* Detalj Seksjon */
.details-section {
    background-color: #1a1a1a;
}

.details-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Knapper */
.btn {
    background-color: #8c857b;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #767067;
}

.btn-white {
    background-color: #ffffff;
    color: #1e1e1e;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

/* Om oss / Tekstseksjon */
.about-section {
    background-color: #1a1a1a;
    padding: 40px 0;
}

.about-section h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #ffffff;
}

.about-section p {
    color: #cccccc;
    margin-bottom: 20px;
}

/* Mid Banner */
.mid-banner {
    height: 40vh;
    background: url('images/mid-bg.jpg') no-repeat center center/cover;
    background-color: #2b2b2b;
    position: relative;
}

.banner-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner-overlay h2 {
    font-size: 2.2rem;
    font-weight: 400;
}

/* Kontakt Seksjon */
.contact-section {
    background-color: #e6e2dd;
    color: #1e1e1e;
}

.contact-info h2, .contact-form-container h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Container og styling for det ekte neonbildet */
.contact-image-container {
    width: 100%;
    margin-top: 30px;
}

.contact-neon-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Skjema Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #c8c2bc;
    background-color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
}

.btn-submit {
    background-color: #8c857b;
    color: white;
    padding: 12px 30px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #767067;
}

/* Pre-footer Banner */
.pre-footer-banner {
    background-color: #8c857b;
    text-align: center;
    padding: 60px 20px;
}

.pre-footer-banner h2 {
    font-size: 2rem;
    font-weight: 400;
}

/* Footer Styling med logo */
.footer {
    background-color: #1e1e1e;
    border-top: 1px solid #2a2a2a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 40px 0;
}

.logo-img-footer {
    height: 90px; /* Gjort denne litt større også */
    width: auto;
    display: block;
    opacity: 0.9;
}

.footer-center p {
    font-size: 0.9rem;
    color: #999999;
}

.footer-right {
    text-align: right;
}

.linkedin-btn {
    font-size: 2rem;
    color: white;
    display: inline-block;
    margin-top: 10px;
}

/* Responsivt design for mobilskjermer */
@media (max-width: 768px) {
    .grid-2, .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .logo-img {
        height: 65px; /* Skalerer logoen ned på mobil så den ikke tar hele skjermen */
    }

    .hero-content h1 {
        font-size: 3rem; /* Justerer fontstørrelsen på mobil */
    }
    
    .footer-right {
        text-align: left;
        margin-top: 20px;
    }
}