/* ==========================================================================
   GLOBAL RESET & VARIABLES
   ========================================================================== */
:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --text-muted: #e0e0e0;
    --accent-color: #8bb8b6;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 500;
}

    nav a:hover, nav a.active {
        color: var(--accent-color);
    }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding: 140px 8% 50px;
}

/* Fuldskærmshøjde kun på forsiden */
body.home-page .hero {
    height: 100vh;
    padding: 0 8%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 13, 13, 0.45) 35%, rgba(13, 13, 13, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 400;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.cta-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--text-color);
    color: #000000;
}

    .btn-primary:hover {
        background-color: var(--accent-color);
        color: #000000;
        transform: translateY(-2px);
    }

.btn-secondary {
    border: 1px solid var(--text-color);
    color: var(--text-color);
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.05);
}

    .btn-secondary:hover {
        background-color: var(--text-color);
        color: #000000;
        transform: translateY(-2px);
    }

/* ==========================================================================
   STANDARD MAIN CONTENT & SECTIONS
   ========================================================================== */
.main-content {
    padding: 40px 8% 80px;
    background-color: var(--bg-color);
}

.page-section {
    max-width: 1200px;
    margin: 0 auto;
}

    .page-section h2 {
        font-size: 2.2rem;
        font-weight: 800;
        letter-spacing: -0.5px;
        margin-bottom: 30px;
        border-left: 4px solid var(--accent-color);
        padding-left: 15px;
    }

    .page-section p {
        font-size: 1.1rem;
        color: var(--text-muted);
        margin-bottom: 25px;
        max-width: 800px;
    }

/* List details */
ul {
    list-style: none;
    margin-bottom: 25px;
}

    ul li {
        font-size: 1.1rem;
        color: var(--text-muted);
        margin-bottom: 15px;
        position: relative;
        padding-left: 25px;
    }

        ul li::before {
            content: "■";
            position: absolute;
            left: 0;
            color: var(--accent-color);
            font-size: 0.8rem;
            top: 2px;
        }

/* ==========================================================================
   INTERACTIVE GALLERY GRID (MODERN LOOK, NO BORDERS)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: var(--transition-smooth);
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .gallery-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }

        .gallery-item:hover img {
            transform: scale(1.06);
        }

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 25px 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.item-overlay span {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
}

/* ==========================================================================
   INTERACTIVE LIGHTBOX (EXTRA LARGE FORMAT)
   ========================================================================== */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.98);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    #lightbox.active {
        opacity: 1;
        pointer-events: auto;
    }

#lightbox-img {
    max-width: 98%;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 5%;
    color: var(--text-muted);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
}

    .close-btn:hover {
        color: var(--accent-color);
        transform: scale(1.1);
    }

#lightbox-caption {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-top: 15px;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
    max-width: 95%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    text-align: center;
    padding: 50px 8%;
    background-color: #080808;
    color: #777777;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px 5%;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 120px 5% 40px;
    }

    body.home-page .hero {
        padding: 0 5%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-container {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    .main-content {
        padding: 40px 5% 60px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
