/* Galleri Side Stilarter */

/* Hero Sektion */
.gallery-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gallery-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    /* Mørkn lidt for tekst læsbarhed */
}

.hero-content-centered {
    position: relative;
    z-index: 2;
    text-align: center;
}

.gallery-hero-title {
    font-family: 'Silver Forte Grunge', var(--font-heading);
    font-size: 5rem;
    color: var(--accent-orange);
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.8);
    transform: rotate(-2deg);
}

/* Fremhævet Sektion */
.featured-section {
    background-color: var(--bg-dark);
}

.featured-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    border: 2px solid #333;
    margin-top: 20px;
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%) contrast(1.1);
}

.insta-tag-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.highlight {
    color: var(--accent-orange);
    font-weight: bold;
}

/* Galleri Grid Sektion */
.gallery-grid-section {
    background-color: #2a2a2a;
    background-image: url('../assets/images/4k_tekstur.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Lidt lysere mørk */
    position: relative;
}

.gallery-grid {
    display: grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    /* Firkantede billeder som Instagram */
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #444;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-overlay ion-icon {
    font-size: 2rem;
    color: #fff;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}


/* Del Sektion */
.share-section {
    background-color: var(--bg-light);
    /* Lys beton */
    color: var(--text-black);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Dekoration for del sektion (f.eks. skribleri eller kæde) */
.share-section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: repeating-linear-gradient(45deg,
            var(--accent-orange),
            var(--accent-orange) 10px,
            transparent 10px,
            transparent 20px);
    opacity: 0.5;
}

.share-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.share-text .section-title {
    color: var(--accent-orange);
    text-shadow: none;
    mix-blend-mode: normal;
}

.share-text .section-desc {
    color: #333;
    max-width: 500px;
}


/* Responsiv */
@media (max-width: 768px) {
    .gallery-hero-title {
        font-size: 3rem;
    }

    .share-content {
        flex-direction: column;
        text-align: center;
    }

    .share-text .section-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        /* Mindre gitter på mobil */
        gap: 10px;
    }

    .gallery-hero-title {
        font-size: 3.5rem;
        /* Juster titel størrelse */
    }
}

/* Lightbox Stilarter */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid var(--accent-orange);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
    font-family: sans-serif;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-orange);
}

/* Ugens Billede Sektion */
.artist-intro {
    background-image: url('../assets/images/tekstur_3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.artist-intro .section-desc {
    color: var(--text-black);
}