* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: #3a505a;
    font-family: 'Oswald', sans-serif;

}

/* Header Styling */
.main-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    background: rgb(17, 23, 26);
}

/* Navigation Links (Left) */
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.desktop-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: lowercase;
    transition: color 0.3s ease;
}

.desktop-nav ul li a:hover {
    color: #a0a0a0;
    text-decoration: underline;
}

/* Header Right Section (Icons & Burger) */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons a img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-icons a img:hover {
    opacity: 1;
}

/* Burger Button */
.burger {
    width: 24px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.burger .line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.burger.active .line-1 {
    transform: translateY(7px) rotate(45deg);
}

.burger.active .line-2 {
    opacity: 0;
}

.burger.active .line-3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* Full-Screen Overlay Nav */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.mobile-nav-overlay nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.mobile-nav-overlay .some {
    display: flex;
    gap: 20px;
}

.mobile-nav-overlay .some img {
    width: 22px;
    filter: brightness(0) invert(1);
}

/* Hero Section Content */
.mobil-index {
    width: 100%;
    height: 100vh;
    position: relative;
}

.header-center-logo {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    text-align: center;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 40px 50px;
    gap: 25px;
    background-color: #3a505a;

    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('img gallery/img bagrund.jpeg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 304px;
}

.gallery-img {
    width: 304px;
    height: 181px;
    object-fit: cover;
    display: block;
}

.gallery-text {
    width: 293px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.3;
    margin-top: 8px;
    margin-bottom: 0;
    text-align: left;
}


.mobil-footer {
    width: 100%;
    background-color: rgb(17, 23, 26);
    padding: 20px 0 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;


}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 304px;
}

.footer-logo {
    height: auto;
    max-height: 20px;
    object-fit: contain;


}




/* Baggrundsmaske / Overlay */
#lightbox-mask {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: none;
    place-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Den hvide ramme til billede og tekst */
#lightbox {
    position: relative;
    background-color: #ffffff;
    padding: 12px;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 90vw;
}

/* Ensartet størrelse for alle billeder */
#lightbox #large-img {
    width: 700px;
    /* Fast bredde for alle billeder */
    height: 450px;
    /* Fast højde for alle billeder */
    max-width: 80vw;
    max-height: 60vh;
    object-fit: cover;
    /* Bevarer billedets kvalitet uden at strække det */
    display: block;
    transition: opacity 0.2s ease;
}

/* Teksten under billedet (caption) */
#lightbox #caption {
    color: #666666;
    font-size: 14px;
    margin-top: 10px;
    padding-left: 5px;
}



/* Runde navigationspile inde i billedet */
.lb-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    transition: background 0.2s ease;
}

.lb-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Placering af venstre og højre pil */
.lb-prev {
    left: 25px;
}

.lb-next {
    right: 25px;

}



/* Desktop */
@media screen and (min-width: 1200px) {
    body {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    .mobil-index {
        width: 100%;
        height: 100vh;
    }

    .gallery-container {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Tablet */
@media screen and (min-width: 600px) and (max-width: 1199px) {
    body {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    .mobil-index {
        width: 100%;
        height: 100vh;
    }

    .gallery-container {
        flex-direction: row;
        flex-wrap: wrap;
    }
}