body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #111;
    color: #eee;
}

nav {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background: #000;
}

nav a {
    color: #eee;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

main {
    padding: 2rem;
}
.grid {
    column-width: 260px;
    column-gap: 1rem;
}

.grid a {
    display: block;
    margin-bottom: 1rem;
    break-inside: avoid;
}

.grid img {
    width: 100%;
    height: auto;
    display: block;
}

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
}

#lightbox[hidden] {
    display: none;
}

#lightbox img {
    max-width: 95vw;
    max-height: 85vh;
}

#lightbox a {
    color: #eee;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 500px;
}

.contact-form input,
.contact-form textarea {
    padding: 0.6rem;
    font: inherit;
    background: #222;
    color: #eee;
    border: 1px solid #444;
    border-radius: 4px;
}

.contact-form button {
    margin-top: 0.5rem;
    padding: 0.7rem;
    font: inherit;
    background: #eee;
    color: #111;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.hp {
    position: absolute;
    left: -9999px;
}

.flash {
    padding: 0.8rem 1rem;
    border-radius: 4px;
}

.flash.success { background: #1d4d2b; }
.flash.error { background: #5a1f1f; }

.video-player {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    background: #000;
}
.breadcrumbs {
    margin-bottom: 1rem;
    color: #999;
}

.breadcrumbs a {
    color: #eee;
}

.folders {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.folder {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #eee;
    text-decoration: none;
}

.folder-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.folder img,
.folder-empty {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: #222;
}

.folder:hover img {
    filter: brightness(1.15);
}

.folder-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}
.hero {
    margin: -2rem -2rem 2rem;           /* bryder ud af main's padding */
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    background: #222 center / cover no-repeat;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1) 60%);
}

.hero-text {
    position: relative;                 /* ligger oven på gradienten */
    padding: 2rem;
}

.hero-text h1 {
    margin: 0;
    font-size: clamp(2.5rem, 8vw, 5rem);
}

.hero-text p {
    margin: 0.3rem 0 1.2rem;
    font-size: 1.2rem;
    color: #ddd;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.7rem 1.4rem;
    background: #eee;
    color: #111;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #eee;
}

.btn-outline {
    background: transparent;
    color: #eee;
}

.btn:hover {
    opacity: 0.85;
}

section h2 {
    margin-top: 2.5rem;
}

.about {
    max-width: 600px;
}