:root {
    /* Farver efter dine ønsker */
    --header-bg: #ffe2f2;
    /* Den støvede rosa header */
    --body-bg: #7c6d76;
    /* Mørkere baggrund udenfor indholdet */
    --content-bg: #ffe2f2;
    /* Hvid baggrund til selve indholdet */
    --header-text: #000000;
    /* Sort tekst i headeren */
    --active-menu-bg: #7b7d99;
    /* Samme som body-bg til den markerede menu */
    --text-color: #7779a3;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--body-bg);
    margin: 0;
    padding: 0 0 60px 0;
    /* Bund-padding til fast bottom nav */
}

body.has-sidebar {
    padding-left: 220px;
    /* Ekstra venstre plads når sidebar vises */
}

/* --- SIDEBAR NAVIGATION --- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: var(--header-bg);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 100;
    overflow-y: auto;
}

.sidebar a {
    text-decoration: none;
    color: var(--header-text);
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    line-height: 1.3;
}

.sidebar a:hover {
    background: rgba(0, 0, 0, 0.08);
}

.sidebar a.active {
    color: #ffffff;
    background: var(--active-menu-bg);
}

.sidebar .nav-links {
    display: flex;
    flex-direction: column;
}

/* --- INDHOLD (CONTENT) --- */
.container {
    max-width: 1000px;
    min-height: 500px;
    margin: 40px auto;
    padding: 40px;
    background: var(--content-bg);
    /* Hvid baggrund */
    border: none;
    /* Ingen ramme-farve på content */
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

h1 {
    font-weight: 300;
    color: #000;
    margin-bottom: 40px;
}

/* --- STATISK INDHOLD (MARKDOWN) --- */
.static-content {
    text-align: left;
}

.static-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* --- GALLERI --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.photo-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.photo-card:hover {
    transform: translateY(-5px);
}

.photo-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    display: block;
}

.photo-card.video-card {
    padding: 0;
    background: #000;
    cursor: pointer;
    position: relative;
}

.photo-card.video-card img,
.photo-card.video-card video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.2s;
}

.photo-card.video-card:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    font-size: 60px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.inline-video-player {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #000;
    display: block;
}


/* --- OVERSIGT (ALBUM CARDS) --- */
.album-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.album-card:hover {
    transform: translateY(-5px);
}

.album-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.album-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.album-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    font-size: 3rem;
}

.album-card-title {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    background-color: var(--content-bg);
}

/* --- PAGINATION --- */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    padding: 10px 18px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.pagination a.active,
.pagination a:hover {
    background: var(--active-menu-bg);
    color: #fff;
    border-color: var(--active-menu-bg);
}

footer {
    padding: 60px 0;
    color: #ffffff;
    opacity: 0.5;
    text-align: center;
}

.site-title {
    font-family: "Pacifico", cursive;
    font-size: 1.6rem;
    text-transform: none;
    text-decoration: none;
    color: var(--header-text);
    padding: 24px 20px 20px;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 8px;
}

/* --- FAST BUND-NAVIGATION --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    height: 60px;
    padding: 0;
    gap: 0;
    flex-wrap: nowrap;
    border-radius: 0;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 6px 4px;
    border-radius: 0;
    font-size: 0.65rem;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    gap: 2px;
    border-top: 3px solid transparent;
    line-height: 1.2;
    text-decoration: none;
}

.bottom-nav a:hover {
    background: rgba(0, 0, 0, 0.08);
}

.bottom-nav a.active {
    color: #ffffff;
    background: var(--active-menu-bg);
    border-top-color: rgba(255, 255, 255, 0.4);
}

.bottom-nav-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.image-row {
    display: flex;
    justify-content: space-evenly;
    margin: 30px 0
}

.image-row__image {
    max-height: 150px;
}

/* --- MOBIL-RESPONSIVT DESIGN --- */
.mobile-header {
    display: none;
}

.nav-toggle {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    background: var(--active-menu-bg);
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}


@media (max-width: 768px) {
    body {
        padding-top: 50px;
        /* Plads til mobil-header */
    }

    body.has-sidebar {
        padding-left: 0;
    }

    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 50px;
        background: var(--header-bg);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 150;
    }

    .mobile-header .site-title {
        padding: 0;
        border: none;
        margin: 0;
        font-size: 1.4rem;
    }

    .nav-toggle {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .sidebar.nav-open {
        display: flex;
        width: 80vw;
        max-width: 300px;
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.3);
    }

    .image-row {
        flex-direction: column;
        row-gap: 10px;
    }

    .image-row__image {
        max-height: unset;
        max-width: fit-content;
    }
}