/* Generelle innstillinger for nettsiden */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header-styling */
header {
    background-color: #34495e; /* Mørk blågrå */
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

nav {
    margin-top: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1em;
    transition: color 0.3s;
}

nav a:hover {
    color: #3498db; /* Lys blå ved hover */
}

/* Tjeneste-seksjon */
section {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 1200px;
}

section h2 {
    font-size: 2.2em;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

.tjenester {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.tjeneste {
    background-color: white;
    padding: 20px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    text-align: center;
}

.tjeneste h3 {
    color: #2c3e50;
    font-size: 1.8em;
}

.tjeneste p {
    font-size: 1em;
    color: #555;
}

.tjeneste:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Kontakt-seksjon */
.contact-info {
    text-align: center;
    font-size: 1.2em;
    margin-top: 40px;
}

.contact-info strong {
    font-size: 1.4em;
    color: #e74c3c; /* Rød farge for å fremheve telefonnummer */
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer-styling */
footer {
    background-color: #34495e; /* Mørk blågrå */
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    font-size: 1em;
    margin: 0;
}

/* Responsiv design for små skjermer */
@media (max-width: 768px) {
    .tjeneste {
        width: 100%;
        padding: 15px;
    }

    nav a {
        font-size: 1em;
    }

    section h2 {
        font-size: 1.8em;
    }
}