/* 1. GRUNNLEGGENDE OPPSETT */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    color: #000;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. NAVIGASJON */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.nav-left, .nav-right {
    display: flex;
    gap: 20px;
    flex: 1;
}

.nav-right {
    justify-content: flex-end;
}

.nav-left a, .nav-right a {
    text-decoration: none;
    color: #000;
    white-space: nowrap;
}

.nav-logo {
    flex: 0 0 auto;
    text-align: center;
    padding: 0 20px;
}

.main-logo {
    height: 70px;
    width: auto;
}

/* 3. HERO SEKSJON */
.hero {
    text-align: center;
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text {
    margin-bottom: 40px;
}

.serif-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 400;
    margin-bottom: -15px;
}

.sans-bold {
    font-size: clamp(35px, 7vw, 70px);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    line-height: 1;
}

.intro-text {
    font-size: 16px;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* 4. BILDE-GRID (Desktop: 4 på rad) */
.image-grid {
    display: flex;
    flex-wrap: wrap; /* Viktig for å kunne knekke linjen på mobil */
    gap: 15px;
    padding: 20px;
    margin-top: 50px;
}

.img-placeholder {
    flex: 1 1 calc(25% - 15px); /* Standard 4 kolonner på desktop */
    min-width: 200px;
}

.img-placeholder img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* 5. FOOTER (Desktop) */
.site-footer {
    background-color: #fff;
    padding: 80px 50px 40px 50px;
    border-top: 1px solid #f0f0f0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col {
    flex: 1;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    text-decoration: none;
    color: #000;
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-right p {
    font-size: 13px;
    margin-bottom: 20px;
}

.copyright {
    font-size: 11px;
    margin-top: 40px;
    text-align: right;
}

/* 6. MOBIL-TILPASNING (Under 768px) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .nav-left, .nav-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    /* 2x2 GRID FIX */
    .image-grid {
        gap: 10px; /* Litt mindre mellomrom på mobil */
        padding: 10px;
    }

    .img-placeholder {
        flex: 1 1 calc(50% - 10px); /* Setter bredden til 50% minus gap */
    }

    .img-placeholder img {
        height: 250px; /* Lavere høyde i 2x2 format så det ser ryddig ut */
    }

    /* FOOTER MOBIL-FIX (Sentrerer alt) */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .copyright {
        text-align: center;
        margin-top: 20px;
    }
}