body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #ffd700;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #000;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #ffd700;
}
.logo {
    height: 90px;
    transition: transform 0.3s ease;
}
.logo:hover {
    transform: scale(1.05);
}
#language {
    padding: 8px 15px;
    background-color: #ffd700;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    position: absolute;
    right: 210px; /* Din endring for å unngå overlapping */
    top: 50%;
    transform: translateY(-58%);
}
.contact-btn {
    background-color: #ffd700;
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    text-decoration: none;
}
.contact-btn:hover {
    background-color: #e6c200;
}
main {
    padding: 40px 60px;
    background-image: url('../images/blomstbak.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: left;
    flex: 1 0 auto;
    color: #333; /* Juster denne hvis teksten ikke er lesbar mot bildet ditt */
}
.content-section h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #222;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.content-section h2 {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #444;
    font-weight: 600;
}
.content-section p {
    font-size: 1.1em;
    margin: 15px 0;
    line-height: 1.8;
    max-width: 800px;
}
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.image-gallery img:hover {
    transform: scale(1.05);
}
footer {
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
    background-color: #000;
    border-top: 1px solid #ffd700;
    flex-shrink: 0;
}
.footer-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
}
#footerContact {
    text-align: left; /* Venstrejustering kun for kontaktseksjonen */
    margin-right: 10px;
}
#footerContact p {
    margin: 5px 0; /* Behold redusert mellomrom */
}
#footerCopyright {
    text-align: center; /* Midtstilling kun for copyright-seksjonen */
    margin-left: 10px;
    margin-right: 10px;
}
#footerCopyright .copyright {
    margin-top: auto;
}
.copyright {
    margin: 0;
    font-size: 0.9em;
}
#footerSpacer {
    flex: 1;
}
/* Responsiv design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
        text-align: center;
    }
    .logo {
        margin-bottom: 10px;
    }
    #language {
        position: static;
        transform: none;
        margin: 10px 0;
        width: 100%;
    }
    .contact-btn {
        width: 100%;
        margin-top: 10px;
    }
    main {
        padding: 20px;
    }
    .content-section h1 {
        font-size: 2em;
    }
    .content-section h2 {
        font-size: 1.5em;
    }
    .image-gallery {
        grid-template-columns: 1fr;
    }
    footer {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .footer-section {
        margin-bottom: 20px;
        text-align: left; /* Behold venstrejustering i mobil for kontakt */
    }
    #footerContact p {
        margin: 5px 0;
    }
    #footerCopyright {
        order: 2;
        text-align: center; /* Behold midtstilling i mobil */
    }
    #footerCopyright .copyright {
        margin-top: 20px;
    }
}