

/* ========== Reset ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ========== Base ========== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #243043;
    background-color: #f4f4f4;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("images/watermark.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

section[id] {
    scroll-margin-top: 55px;
}

h2 {
    color: #1d3557;
    margin-bottom: 14px;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.08rem;
    font-weight: 700;
}

/* ========== Header ========== */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
        url("images/Camel-lineup.jpg") center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 90px 20px;
}

header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    /* font-size: 1.05rem; */
    font-weight: 500;
}

.mdk-link {
    color: #e63946;
    font-weight: 700;
    text-decoration: none;
}

.fb-link {
    color: #1877f2;
    font-weight: 700;
    text-decoration: none;
}

.tobias-link {
    color: black;
    font-weight: 700;
    text-decoration: none;
}


.mdk-link:hover,.fb-link:hover,.tobias-link:hover {
    text-decoration: underline;
}


.site-version {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 6px;
}
/* ========== Navigation ========== */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #1d3557;
    padding: 14px 12px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 14px;
    font-size: 1rem;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

/* ========== Layout ========== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 36px auto;
}

/* ========== Sections ========== */
section {
    background: white;
    padding: 28px;
    margin-bottom: 45px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

section p {
    margin-bottom: 10px;
    font-size: 1rem;
}

section p:last-child {
    margin-bottom: 0;
}


.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #eef4fb;
    padding: 20px;
    border-radius: 10px;
}

.cards.cards-compact {
    display: block;
    text-align: center;
}

.cards.cards-compact .card {
    display: inline-block;
    width: auto;
    max-width: 100%;
    text-align: left;
}

.card h3 {
    margin: 0 0 8px 0;
    color: #0b4f6c;
    line-height: 1.2;
}

.card-line {
    margin: 0 0 6px 0;
    font-weight: 700;
    line-height: 1.4;
}

.card-line:last-child {
    margin-bottom: 0;
}

.season-block + .season-block {
    margin-top: 22px;
}



/* ========== Galleri ========== */
#galleri {
    margin-top: 3rem;
}

.gallery {
    column-width: 260px;
    column-gap: 16px;
    margin-top: 1.5rem;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 16px;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 14px;
    background: #f3f3f3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

/* ========== Section icons ========== */
.icon-section {
    position: relative;
}

.icon-section h2 {
    padding-right: 60px;
}

.section-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 70px;
    height: auto;
    opacity: 0.9;
    pointer-events: none;
}

/* ========== CTA ========== */
.cta {
    text-align: center;
    background: #e63946;
    color: white;
}

.cta h2 {
    color: white;
}

/* ========== Footer ========== */
footer {
    margin-top: 30px;
    padding: 24px;
    text-align: center;
    background: #1d3557;
    color: white;
    font-size: 0.95rem;
}

/* ========== Tablet ========== */
@media (max-width: 900px) {
    header {
        padding: 80px 20px;
    }

    header h1 {
        font-size: 2.2rem;
    }

    header p {
        font-size: 1rem;
    }

    nav a {
        margin: 0 10px;
        font-size: 0.97rem;
    }

    .container {
        width: 92%;
    }

    section {
        padding: 24px;
    }

    h2 {
        font-size: 1.4rem;
    }

    .gallery {
        column-width: 220px;
        column-gap: 14px;
    }
}

/* ========== Mobil ========== */
@media (max-width: 600px) {
    body::before {
        background-size: cover;
        opacity: 0.6;
    }

    header {
        padding: 60px 15px;
    }

    header h1 {
        font-size: 1.95rem;
    }

    header p {
        font-size: 0.98rem;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 10px;
        padding: 12px 8px;
    }

    nav a {
        margin: 0;
        font-size: 0.93rem;
    }

    .container {
        width: 94%;
        margin: 24px auto;
    }

    section {
        padding: 18px;
        margin-bottom: 18px;
        border-radius: 10px;
    }

    section p {
        font-size: 0.98rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .card {
        padding: 16px;
    }

    .gallery {
        columns: 2;
        column-gap: 12px;
        margin-top: 1rem;
    }

    .gallery-item {
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .icon-section h2 {
        padding-right: 40px;
    }

    .section-icon {
        top: 14px;
        right: 14px;
        width: 48px;
        opacity: 0.9;
    }

    footer {
        padding: 20px;
        font-size: 0.92rem;
    }
}

/* ========== Små telefoner ========== */
@media (max-width: 400px) {
    
        body::before {
        background-size: cover;
        opacity: 0.6;
    }

    
    header {
        padding: 45px 12px;
    }

    header h1 {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    header p {
        font-size: 0.92rem;
    }

    nav {
        gap: 6px 8px;
        padding: 10px 8px;
    }

    nav a {
        font-size: 0.92rem;
    }

    .container {
        width: 96%;
        margin: 18px auto;
    }

    section {
        padding: 14px;
        margin-bottom: 44px;
    }

    section p {
        font-size: 0.95rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .gallery {
        columns: 1;
        column-gap: 0;
    }

    .gallery-item {
        margin-bottom: 12px;
        border-radius: 8px;
    }

    .card {
        padding: 14px;
    }

    .icon-section h2 {
        padding-right: 30px;
    }

    .section-icon {
        top: 12px;
        right: 12px;
        width: 38px;
        opacity: 0.9;
    }

    footer {
        padding: 16px;
        font-size: 0.9rem;
    }
}