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

/* GLOBAL */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
}

body { flex-grow: 1; }

/* HEADER */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: black;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* LOGO */
.logo {
    position: absolute;
    top: 0px;
    left: 20px;
    width: 60px;
    opacity: 0.8;
    z-index: 1000;
}

.logo img { width: 100%; height: auto; }

/* NAVIGATION */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    position: relative;
}

nav ul li { position: relative; }

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
}

/* DROPDOWN */
.dropdown {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 120%;
    left: 0;
    background-color: rgba(20, 20, 20, 0.95);
    padding: 12px;
    border-radius: 8px;
    width: 180px;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

nav ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 8px 5px;
    color: #ddd;
    border-radius: 5px;
    transition: 0.2s ease;
}

.dropdown li a:hover {
    color: #fff;
    background-color: rgba(255,255,255,0.05);
}

/* HERO */
.hero:not(.second) video {
    filter: blur(8px);
}

.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ANIMATION TEXT */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    text-align: center;
}

/* ANIMIERTER TEXT */
.boah-anim {
    font-size: 50px;
    font-weight: 600;
}

/* Fixe Breite, damit nichts springt */
.boah-anim {
    font-size: 50px;
    font-weight: 600;
    width: 100%;
    max-width: 400px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Animation auf ::before */
.boah-anim::before {
    content: "";
    width: 100%;                  /* NEU → volle Breite */
    text-align: center;           /* NEU → zentriert */
    display: block;
    animation: boahCycle 4s infinite;
    opacity: 0;
    transform: scale(0.9);
}

/* Sanftes Pop + Fade */
@keyframes boahCycle {
    0% {
        content: "";
        opacity: 0;
        transform: scale(0.9);
    }
    10% {
        content: "Boah";
        opacity: 1;
        transform: scale(1);
    }
    30% {
        content: "Boah";
        opacity: 1;
        transform: scale(1);
    }
    40% {
        content: "BoahStudios";
        opacity: 1;
        transform: scale(1);
    }
    60% {
        content: "BoahStudios";
        opacity: 1;
        transform: scale(1);
    }
    70% {
        content: "";
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        content: "";
        opacity: 0;
        transform: scale(0.9);
    }
}

/* HERO 2 */
.hero.second {
    position: absolute;
    top: 15vh;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 50vh;
    border-radius: 1%;
    overflow: hidden;
}

.hero.second video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FOOTER */
footer {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(15, 15, 15, 0.9));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 45px 20px 35px;
    text-align: center;
    color: #aaa;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.footer-content a {
    color: #b5b5b5;
    margin: 0 10px;
    text-decoration: none;
    transition: 0.25s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

.footer-content a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.footer-links, .socials {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

footer .copyright {
    font-size: 13px;
    color: #777;
}

/* MOBILE FIXES */
@media (max-width: 800px) {
    nav ul {
        gap: 18px;
        font-size: 14px;
    }

    .logo {
        width: 45px;
        left: 10px;
    }

    .hero {
        height: 40vh;
    }

    .hero.second {
        width: 90%;
        height: 40vh;
        top: 10vh;
    }

    .overlay {
        font-size: 32px;
    }

    .boah-anim {
        font-size: 32px;
        max-width: 260px;
        height: 40px;
    }

    .dropdown {
        width: 150px;
        padding: 8px;
    }

    .dropdown li a {
        padding: 6px;
        font-size: 14px;
    }

    footer {
        padding: 30px 15px 25px;
    }

    .footer-content a {
        font-size: 14px;
        gap: 4px;
    }

    .footer-links,
    .socials {
        gap: 15px;
    }
}

/* EXTRA SMALL PHONES */
@media (max-width: 480px) {
    nav ul li a {
        font-size: 12px;
    }

    .overlay {
        font-size: 26px;
    }

    .boah-anim {
        font-size: 26px;
        max-width: 220px;
        height: 35px;
    }

    .hero {
        height: 35vh;
    }

    .hero.second {
        height: 35vh;
        top: 8vh;
    }
}