/* ===============================
   ROOT COLORS
   =============================== */
:root {
    --red: #ff0000;
    --red-hover: #ff4d4d;
}

/* ===============================
   RESET & GLOBAL
   =============================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Archivo Black', sans-serif;
    background: white;
    color: var(--red);
    scroll-behavior: smooth;
}

a {
    color: var(--red);
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: var(--red-hover);
}

/* ===============================
   HEADER
   =============================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;
    background: white;
    z-index: 100;
}

.header-top {
    display: flex;
    gap: 20px;
    font-size: 20px;
}

.header-links {
    margin-top: 10px;
    font-size: 12px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===============================
   SPACER (for fixed header)
   =============================== */
.spacer {
    height: 120px;
}

/* ===============================
   SECTIONS
   =============================== */
section {
    padding: 120px 30px;
}

/* ABOUT SECTION */
#about {
    padding-top: 0;
}

#about h1 {
    font-size: 8vw;
    line-height: 1.05;
    will-change: transform;
}

/* ===============================
   PROJECTS SLIDESHOW (smooth crossfade)
   =============================== */
.slideshow {
    position: relative;
    width: 100%;
    height: 80vh;
    background-color: var(--red); /* Fallback, verhindert Weißblitz */
    overflow: hidden;
}

.slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 1;
}

.slideshow img.active {
    opacity: 1;
    z-index: 2;
}


/* ===============================
   ONE QUESTION SECTION
   =============================== */
.two-images {
    display: flex;
    gap: 20px;
}

.two-images img {
    width: 50%;
    object-fit: cover;
}

/* ===============================
   SHOP SECTION
   =============================== */
#shop a {
    font-size: 40px;
}

/* ===============================
   CONTACT & NEWSLETTER
   =============================== */
#contact p,
#contact a {
    font-size: 20px;
}

#contact a {
    display: block;
    margin-top: 10px;
}

.newsletter {
    margin-top: 30px;
}

.newsletter input {
    padding: 10px;
    border: 2px solid var(--red);
    background: transparent;
    color: var(--red);
    font-family: inherit;
}

.newsletter input::placeholder {
    color: var(--red);
    opacity: 0.6;
}

.newsletter button {
    padding: 10px 20px;
    border: 2px solid var(--red);
    background: transparent;
    color: var(--red);
    font-family: inherit;
    cursor: pointer;
    margin-left: 10px;
}

.newsletter button:hover {
    color: var(--red-hover);
    border-color: var(--red-hover);
}

/* ===============================
   FOOTER
   =============================== */
footer {
    padding: 60px 30px;
    font-size: 12px;
}

footer a {
    display: inline-block;
    margin-top: 10px;
}

/* ===============================
   LEGAL OVERLAY
   =============================== */
#legal-overlay {
    position: fixed;
    inset: 0;
    background: white;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.legal-content {
    max-width: 600px;
    font-size: 14px;
}

/* ===============================
   RESPONSIVE MEDIA QUERIES
   =============================== */
@media (max-width: 768px) {

    /* PROJECTS Slideshow smaller */
    .slideshow {
        height: 60vh;
    }

    /* ONE QUESTION stacked */
    .two-images {
        flex-direction: column;
        gap: 10px;
    }

    .two-images img {
        width: 100%;
        height: auto;
    }

    /* ABOUT Text smaller */
    #about h1 {
        font-size: 10vw;
    }

    /* Header links smaller */
    .header-links {
        font-size: 11px;
        gap: 10px;
    }
}

@media (max-width: 480px) {

    #about h1 {
        font-size: 12vw;
    }

    header {
        padding: 15px 20px;
    }

    .newsletter input,
    .newsletter button {
        width: 100%;
        margin: 5px 0;
    }
}
