/*
==========================================================================
© 2026 Toner fra hjertet – Kodens rejse
Ophavsret til egen CSS-kode, design og struktur.
Må ikke kopieres, genbruges eller distribueres uden tilladelse.
==========================================================================
*/

/* ==========================================================================
   FOTOS - TONER FRA HJERTET
   CYBER NEON DESIGN
   ========================================================================== */


/* ==========================================================================
   1. FOTO SIDESEKTION & BAGGRUND
   ========================================================================== */

.foto-side-baggrund {

    min-height: 100vh;

    width: 100%;

    background-color: #030a16;

    color: #ffffff;

    position: relative;

    overflow-x: hidden;

    background-image:

        /* Fine computerskærms-linjer */
        linear-gradient(rgba(18, 16, 16, 0) 50%,
            rgba(0, 0, 0, 0.25) 50%),

        /* Digitalt farveskær */
        linear-gradient(90deg,
            rgba(255, 0, 0, 0.06),
            rgba(0, 170, 255, 0.02),
            rgba(255, 0, 0, 0.06)),

        /* Neon i venstre side */
        radial-gradient(circle at left,
            rgba(48, 36, 219, 0.15),
            transparent 35%),

        /* Neon i højre side */
        radial-gradient(circle at right,
            rgba(15, 206, 44, 0.12),
            transparent 35%);

    background-size:
        100% 4px,
        100% 100%,
        100% 100%,
        100% 100%;

}


/* ==========================================================================
   2. LASER-STREGER I SIDEN
   ========================================================================== */

.foto-side-baggrund::before,
.foto-side-baggrund::after {

    content: '';

    position: absolute;

    top: 0;

    width: 2px;

    height: 100%;

    opacity: 0.3;

    pointer-events: none;

}


/* Venstre laser */

.foto-side-baggrund::before {

    left: 20px;

    background:
        linear-gradient(to bottom,
            transparent,
            #00aaff,
            transparent);

    box-shadow:
        0 0 10px #00aaff;

}

/* ==========================================================
   TILBAGE / NÆSTE KNAPPER
   ========================================================== */

.knap-container-layout {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin: 60px auto 40px;

    padding: 20px;

    box-sizing: border-box;

}


/* BEGGE KNAPPER */

.knap-container-layout .knap,
.knap-container-layout .knap2 {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    min-width: 220px;

    padding: 15px 35px;

    border-radius: 20px;

    text-decoration: none;

    font-size: 1.2rem;

    font-weight: bold;

    color: #45cfc6;

    background:
        linear-gradient(145deg,
            #06142a,
            #081d3a);

    border: 3px solid #00aaff;

    text-shadow:
        0 0 8px #00aaff;

    box-shadow:
        0 0 20px rgba(0, 170, 255, .5);

    transition: .35s ease;

}


/* HOVER */

.knap-container-layout .knap:hover,
.knap-container-layout .knap2:hover {

    transform:
        translateY(-5px) scale(1.05);

    color: white;

    border-color: #ff2d50;

    box-shadow:
        0 0 30px #ff2d50;

}


/* ==========================================================================
   FOOTER - TONER FRA HJERTET
   BLÅ / GRØN CYBER NEON STYLE
========================================================================== */

.site-footer {
    width: 90%;
    max-width: 600px;

    margin: 10px auto 0;
    padding: 18px 15px;

    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        linear-gradient(145deg,
            rgba(0, 0, 0, 0.96),
            rgba(0, 20, 30, 0.92));

    border-top: 3px solid #00aaff;

    border-radius:
        20px 20px 0 0;

    box-shadow:
        0 -5px 25px rgba(0, 170, 255, 0.6),
        0 -10px 40px rgba(0, 255, 102, 0.2),
        inset 0 10px 30px rgba(0, 255, 102, 0.08);

    box-sizing: border-box;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* ==========================================================================
   FOOTER TEKST
========================================================================== */

.site-footer p {
    margin: 0;

    color: #00ff66;

    font-size: 20px;
    font-weight: bold;

    line-height: 1.6;
    justify-content: center;
    align-items: center;

    text-align: center;
    letter-spacing: 1px;

    text-shadow:
        0 0 6px #00aaff,
        0 0 12px #00ff66,
        0 0 22px #00aaff,
        0 0 35px rgba(0, 255, 102, 0.7);

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}






/* ==========================================================================
   FOOTER HOVER
========================================================================== */

.site-footer:hover {
    transform: translateY(-3px);

    border-top-color: #45cfc6;
    justify-content: center;
    align-items: center;

    text-align: center;
    box-shadow:
        0 -5px 30px rgba(0, 170, 255, 0.8),
        0 -10px 50px rgba(0, 255, 102, 0.35),
        inset 0 10px 35px rgba(0, 255, 102, 0.12);
}

.site-footer:hover p {
    color: #ffffff;
    align-items: center;
    text-shadow:
        0 0 6px #ffffff,
        0 0 12px #00aaff,
        0 0 25px #00ff66,
        0 0 40px #00aaff;
}


/* ==========================================================================
   FOOTER - MOBIL
========================================================================== */

@media (max-width: 768px) {

    .site-footer {
        width: 90%;

        padding: 15px 10px;
    }

    .site-footer p {
        font-size: 15px;

        letter-spacing: 0.5px;
    }
}


/* ==========================================================================
   FOOTER - LILLE MOBIL
========================================================================== */

@media (max-width: 480px) {

    .site-footer {
        width: 95%;

        margin-top: 10px;
    }

    .site-footer p {
        font-size: 13px;

        line-height: 1.5;
    }
}

/* MOBIL */

@media(max-width:600px) {

    .knap-container-layout {

        flex-direction: column;

        gap: 25px;

    }


    .knap-container-layout .knap,
    .knap-container-layout .knap2 {

        width: 90%;

        max-width: 300px;

    }

}

/* Højre laser */

.foto-side-baggrund::after {

    right: 20px;

    background:
        linear-gradient(to bottom,
            transparent,
            #0fce2c,
            transparent);

    box-shadow:
        0 0 10px #0fce2c;

}


/* ==========================================================================
   3. OVERSKRIFT
   ========================================================================== */

.foto-overskrift-container {

    text-align: center;

    margin-top: 50px;

    margin-bottom: 30px;

    position: relative;

    z-index: 2;

}


.foto-h3 {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    max-width: 400px;

    width: 90%;

    margin: 0 auto;

    padding: 15px 30px;

    font-size: 2rem;

    font-weight: bold;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: rgb(69, 207, 198);

    background:
        radial-gradient(circle at top,
            rgba(0, 170, 255, 0.15),
            transparent 65%),

        linear-gradient(145deg,
            #081d3a,
            #06142a);

    border: 4px solid #00aaff;

    outline: 3px solid rgb(48, 36, 219);

    outline-offset: 6px;

    border-radius: 20px;

    border-bottom: 5px solid rgb(69, 207, 198);

    animation:
        pulsereFotoTitel 3s infinite alternate;

    transition:
        all 0.4s ease;

}

/* ==========================================================================
   TILBAGE / NÆSTE KNAPPER
   HELT UD TIL HVER SIN SIDE
   ========================================================================== */






.foto-h3:hover {

    transform:
        translateY(-3px) scale(1.02);

    border-color:
        rgb(69, 207, 198);

}


/* ==========================================================================
   4. FOTO GALLERI
   4 BILLEDER PÅ EN RÆKKE
   ========================================================================== */

.fotos-container {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;

    margin-top: 60px;

    width: 100%;

    max-width: 1120px;

    margin-left: auto;

    margin-right: auto;

    padding: 0 20px;

    box-sizing: border-box;

    position: relative;

    z-index: 2;

}


/* ==========================================================================
   5. FOTO ITEM
   ========================================================================== */

.foto-item {

    display: flex;

    flex-direction: column;

    width: 100%;

    background:
        linear-gradient(145deg,
            #06142a,
            #081d3a);

    border: 6px solid #00aaff;

    border-radius: 20px;

    padding: 20px;

    box-sizing: border-box;

    overflow: hidden;

    box-shadow:

        0 0 20px rgba(15, 206, 44, 0.7),

        0 0 100px rgba(0, 170, 255, 0.4),

        inset 0 0 15px rgba(0, 170, 255, 0.15);

    transition:
        all 0.3s cubic-bezier(0.165,
            0.84,
            0.44,
            1);

}


.foto-item:hover {

    transform:
        translateY(-5px);

    border-color:
        #0fce2c;

    box-shadow:

        0 15px 35px rgba(0, 0, 0, 0.5),

        0 0 30px #0fce2c,

        0 0 50px rgba(0, 170, 255, 0.6);

}


/* ==========================================================================
   6. BILLEDER
   ========================================================================== */

.foto-item img {

    width: 100%;

    height: 300px;

    object-fit: cover;

    display: block;

    border-radius: 12px;

}


/* ==========================================================================
   7. TEKSTBOKS UNDER BILLEDET
   ========================================================================== */

.tekst-boks-barndom {

    margin:
        15px 0 0 0;

    background:
        linear-gradient(90deg,
            #00aaff,
            #0077cc);

    color: white;

    padding:
        12px 10px;

    min-height: 60px;

    border-radius: 10px;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.3);

    font-size: 18px;

    font-weight: bold;

    text-align: center;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

}


/* ==========================================================================
   8. TILBAGE / NÆSTE KNAPPER
   HELT UD TIL HVER SIN SIDE
   ========================================================================== */

.knap-container-layout {

    width: 100vw;

    margin-left:
        calc(50% - 50vw);

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    box-sizing: border-box;

    padding:
        40px 25px 60px;

}







/* HØJRE KNAP */

.knap-container-layout .knap2 {

    margin: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        12px 24px;

    text-decoration: none;

    box-sizing: border-box;

}


/* ==========================================================================
   9. TITEL ANIMATION
   ========================================================================== */

@keyframes pulsereFotoTitel {

    0% {

        box-shadow:

            0 0 20px rgba(0, 170, 255, 0.3),

            0 0 40px rgba(48, 36, 219, 0.3);

        text-shadow:
            0 0 10px #00aaff;

    }


    100% {

        box-shadow:

            0 0 35px rgba(0, 170, 255, 0.6),

            0 0 65px rgba(48, 36, 219, 0.5);

        text-shadow:

            0 0 20px #00aaff,

            0 0 30px rgb(69, 207, 198);

    }

}


/* ==========================================================================
   10. TABLET
   2 + 2 + 2 + 2
   ========================================================================== */

@media (max-width: 1100px) {

    .fotos-container {

        grid-template-columns:
            repeat(2, 1fr);

        max-width: 760px;

    }

}


/* ==========================================================================
   11. MOBIL
   ========================================================================== */

@media (max-width: 900px) {


    /* Fjern laserstreger */

    .foto-side-baggrund::before,
    .foto-side-baggrund::after {

        display: none;

    }


    /* Overskrift */

    .foto-h3 {

        font-size: 1.4rem;

        padding:
            15px 25px;

        outline-offset: 4px;

    }


    /* Galleri */

    .fotos-container {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;

        padding:
            0 15px;

    }


    /* Kort */

    .foto-item {

        width: 100%;

        padding: 15px;

    }


    /* Billeder */

    .foto-item img {

        height: 300px;

    }


}


/* ==========================================================================
   12. LILLE MOBIL
   1 BILLEDE PR. RÆKKE
   ========================================================================== */

@media (max-width: 600px) {

    .fotos-container {

        grid-template-columns:
            1fr;

        gap: 25px;

    }


    .foto-item img {

        height: 300px;

    }


    .knap-container-layout {

        padding-left: 12px;

        padding-right: 12px;

        padding-top: 30px;

        padding-bottom: 50px;

    }


    .knap-container-layout .knap,
    .knap-container-layout .knap2 {

        padding:
            10px 16px;

        font-size:
            0.95rem;

    }

}