/* ---------- BASE STYLES ---------- */
:root {
    --black: #6b0707;
    --red: #8E1616;
    --gold: #f79c12;
    --cream: #ffffff;
}
/* Hide default cursor */
body {
  cursor: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: var(--black);
    background-color: black;
    line-height: 1.6;
    scroll-behavior: smooth;
    background-image: url('media/backgroundl.png');
}

/* ---------- BACKGROUND ANIM LAYER ---------- */
#bg-anim {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url('media/backgroundl.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0.98;
}

@media (prefers-reduced-motion: reduce) {
    #bg-anim {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        background-position: 50% 50% !important;
    }
}

/* ---------- HERO & MAIN ---------- */
h1 {
    font-family: 'Geo', sans-serif;
    font-size: 20vh;
    text-align: center;
    color: whitesmoke;
}

.ik {
    display: flex;
    justify-content: center;
}

.ik img {
    height: 25vh;
    margin-top: 17vh;
    margin-bottom: -8vh;
}

.fade-in img {
    height: 24vh;
    border-radius: 1em;
}

.fade-in {
    align-self: center;
    background-color: var(--black);
    border-radius: 2em;
}

.port {
    font-size: 50pt;
    font-family: 'Geo', sans-serif;
    text-align: center;
    margin-top: -1.5em;
    color: var(--black);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- NAVIGATION ---------- */
nav {
    background-color: var(--black);
    color: var(--cream);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

nav .logo {
    font-family: 'Geo', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Geo', sans-serif;
    color: var(--cream);
    font-weight: bold;
    font-size: 14pt;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}



.nav-links a:hover::after {
    width: 100%;
}

/* ---------- HAMBURGER MENU ---------- */
.hamburger {
    display: none;
    width: 40px;
    height: 32px;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
    padding: 0;
    outline: none;
}

.hamburger .bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cream);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.hamburger .bar:nth-child(1) {
    top: 6px;
}

.hamburger .bar:nth-child(2) {
    top: 14px;
}

.hamburger .bar:nth-child(3) {
    top: 22px;
}

.hamburger.is-active .bar:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}

.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .bar:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}

/* ---------- SECTION STYLING ---------- */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
}

h2 {
    font-family: 'Geo', sans-serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1vh;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
}

/* ---------- RETRO SCROLLER (SLIDESHOW) ---------- */
.retro-scroller {
    position: relative;
    padding: 18px;
    background: linear-gradient(180deg, rgba(107, 7, 7, 0.08), rgba(255, 255, 255, 0.02));
    border-radius: 18px;
    overflow: hidden;
}

.retro-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--red);
    color: var(--cream);
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.6);
}

/* ---------- SLIDE STRUCTURE ---------- */
.scroller {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
}

.slide {
    flex: 0 0 100%;
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: center;
    position: relative;
    transition: transform 0.4s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- ARROWS ---------- */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 90px;
    border-radius: 10%;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: var(--cream);
    color: var(--red);
    border: 3px solid var(--red);
    font-weight: 900;
    font-size: 28px;
    line-height: 0;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(107, 7, 7, 0.06) inset;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
    user-select: none;
    z-index: 5;
    margin
}

.arrow.left {
    left: -2px;
}

.arrow.right {
    right: -2px;
}

.arrow:active {
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.6);
    background-color: #8E1616;
    color: white;
}

.arrow svg {
    display: block;
    width: 26px;
    height: 26px;
}

/* ---------- ABOUT & SLIDES NAAST ELKAAR ---------- */
.about-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    padding: 8vh 6vw;
    width: 95%;
    background-color: transparent;
}

/* LINKERKANT: ABOUT */
#about {
    flex: 1 1 50%;
    background: var(--black);
    color: var(--cream);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#about .about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#about h2 {
    font-family: 'Geo', sans-serif;
    font-size: 3rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

#about p {
    font-size: 1.1rem;
    color: var(--cream);
    max-width: 40ch;
}



#about article img {
    width: 10vh;
    height: 13vh;
    justify-self: center;
    margin-bottom: -7vh;
    border-radius: 0.8rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#about article img:first-of-type {
    rotate: -5deg;
    z-index: 4;
}

#about article img:nth-last-of-type(1) {
    rotate: -5deg;
    margin-left: 27vh;
    z-index: 2;
    margin-top: -60px;
    margin-bottom: 5px;

}

#about article img:nth-last-of-type(2) {
    rotate: 5deg;
    margin-left: -18vh;
    z-index: 3;

}

#about article img:nth-last-of-type(3) {
    rotate: 5deg;
    margin-left: 7vh;
    z-index: 3;
}



#about article img:hover {
    transform: scale(1.05);
}

/* RECHTERKANT: SLIDESHOW */
.about-wrapper .retro-scroller {
    flex: 1 1 45%;
    max-width: 550px;
    height: fit-content;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-wrapper {
        flex-direction: column;
        align-items: center;
    }

    #about,
    .about-wrapper .retro-scroller {
        flex: none;
        width: 100%;
    }

    .about-wrapper .slide {
        height: 300px;
    }
}

/* ---------- FOOTER ---------- */
footer {
    background-color: var(--black);
    color: var(--cream);
    text-align: center;
    padding: 1rem;
    font-family: 'Arvo', serif;
    margin-bottom: -5em;
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RETRO BUTTON ---------- */
.retro-btn {
    display: inline-block;
    padding: 0.8em 1.6em;
    background: var(--black);
    color: var(--cream);
    font-family: 'Geo', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: center;
    margin-bottom: 8vh;
}

.retro-btn:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: white;
}

.retro-btn:active {
    transform: translateY(2px) scale(0.97);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.7);
}

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5em;
}

/* ---------- RESPONSIVE NAV ETC ---------- */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        align-items: center;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: var(--black);
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.25s ease;
        border-top: 1px solid var(--red);
    }

    .nav-links.show {
        max-height: 400px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--red);
    }

    h1 {
        font-size: 5em;
    }

    .port {
        font-size: 2em;
    }

    section {
        padding: 2rem 1rem;
    }
}

