/* =========================== */
/* CONTACT SECTION STYLES     */
/* =========================== */

/* Background and general styling for the contact section */
.contact-section {
    background-color: #f4f4f4; /* Lys bakgrunnsfarge */
    padding: 50px 20px; /* Romslig padding */
    color: #333; /* Mørk grå tekstfarge */
}

/* Container to center and limit content width */
.contact-section .container {
    max-width: 1200px; /* Maksimal bredde */
    margin: 0 auto; /* Sentrerer containeren */
}

/* Main title of the contact section */
.contact-section h2 {
    font-size: 2.5em; /* Stor tekststørrelse */
    text-align: center; /* Sentrerer teksten */
    margin-bottom: 20px; /* Avstand under tittelen */
    color: #1c0638; /* Lilla tekstfarge */
}

/* Subtitles within the contact section */
.contact-section h3 {
    font-size: 1.8em; /* Moderat tekststørrelse */
    margin-bottom: 10px; /* Litt avstand under */
    color: #1c0638; /* Lilla tekstfarge */
}

/* Styling for the contact details list */
.contact-details ul {
    list-style-type: none; /* Fjerner standard punktmerking */
    padding: 0; /* Ingen ekstra innrykk */
}

.contact-details li {
    font-size: 1.2em; /* Moderat tekststørrelse */
    margin-bottom: 10px; /* Litt avstand mellom linjene */
}

/* Links within contact details */
.contact-details a {
    color: #1c0638; /* Lilla tekstfarge */
    text-decoration: none; /* Fjerner understreking */
}

.contact-details a:hover {
    text-decoration: underline; /* Understreking ved hover */
}

/* Form elements within the contact section */
.contact-form input, 
.contact-form textarea {
    width: 100%; /* Full bredde */
    padding: 10px; /* Innpakning rundt tekst */
    margin: 10px 0; /* Avstand rundt elementene */
    border: 1px solid #ccc; /* Lys grå kantlinje */
    border-radius: 5px; /* Runde hjørner */
    font-size: 1em; /* Standard tekststørrelse */
}

/* Submit button for the form */
.contact-form button {
    background-color: #1c0638; /* Lilla bakgrunnsfarge */
    color: white; /* Hvit tekstfarge */
    padding: 15px 30px; /* Romslig padding */
    border: none; /* Ingen kantlinje */
    border-radius: 5px; /* Runde hjørner */
    cursor: pointer; /* Håndpeker ved hover */
    font-size: 1.2em; /* Litt større tekst */
    transition: background-color 0.3s ease; /* Glidende overgangseffekt */
}

/* Hover effect for the form button */
.contact-form button:hover {
    background-color: #2a084d; /* Mørkere lilla ved hover */
}

/* =========================== */
/* GOOGLE MAPS STYLING         */
/* =========================== */

/* Container for Google Maps embed */
.google-maps {
    margin-top: 30px; /* Avstand fra forrige seksjon */
    text-align: center; /* Sentrerer innholdet */
}

/* Styling for the iframe (Google Maps embed) */
.google-maps iframe {
    border: 0; /* Ingen kantlinje */
    border-radius: 8px; /* Runde hjørner */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Lett skyggeeffekt */
}

/* Text below the map */
.google-maps p {
    margin-top: 10px; /* Avstand over teksten */
    font-size: 1.1em; /* Moderat tekststørrelse */
    color: #333; /* Mørk grå tekstfarge */
    text-decoration: underline; /* Understreking */
}

/* Links inside Google Maps section */
.google-maps a {
    text-decoration: none; /* Fjerner understreking */
    color: inherit; /* Arver fargen fra foreldreelementet */
}
