/*
 Theme Name:   Leon-Vasilj.com
 Description:  Unabhängiges WordPress Theme von Leon Vasilj
 Author:       Leon Vasilj
 Version:      1.0.0
 Text Domain:  leon-vasilj.com
*/

/* ========== Basis-Layout ========== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: #f5f5f5;
}

#wrapper {
    width: 100% !important;
    margin: 0 auto !important;
    background: transparent !important;
}

#main {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

/* ========== Header / Navigation ========== */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background-color: #ffffff;
    padding: 20px 40px;
    border-bottom: 1px solid #ccc;
    border-radius: 50px;
    box-shadow: 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.logo {
    justify-self: start;
}

.logo a {
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    color: #333;
}

.static-menu {
    justify-self: center;
}

.static-menu .nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.static-menu .nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.static-menu .nav-links li a:hover {
    color: #aa0000;
}

/* Burger-Button */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
    justify-self: end;
}

.burger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Burger Animation */
.burger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.toggle span:nth-child(2) {
    opacity: 0;
}
.burger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== Footer ========== */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 50px 50px 0 0;
    z-index: 9999;
}

.footer-logo a {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.footer-logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* ========== About-Section ========== */
.about-wrapper {
    width: 100%;
    padding: 0 20px 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* Größere weiße Kästen */
.about-box {
    max-width: 1400px;
    width: 100%;
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

/* Abstand nach oben nur beim ersten Kasten */
.about-box:first-child {
    margin-top: 100px;
}

.about-box:last-child {
    margin-bottom: 0;
}

.about-box-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-box-inner.reverse {
    flex-direction: row-reverse;
}

/* Größere Animation */
.about-image {
    flex: 0 0 500px;
    max-width: 500px;
}

/* Schatten bei Animationen entfernt */
.about-image img,
.about-image lottie-player {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: none; /* Schatten entfernt */
}

/* Größere Schrift */
.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 22px;
    line-height: 1.8;
    color: #555;
}

/* ========== Responsive Anpassungen ========== */
@media (max-width: 768px) {

    /* Neues einfaches mobiles Design */
    .about-box-inner {
        display: block !important;
        text-align: center;
    }

    .about-image {
        max-width: 250px !important;
        margin: 0 auto 20px auto !important;
        flex: none !important;
        width: 100% !important;
        height: auto !important;
    }

    .about-text {
        flex: none !important;
        width: 100% !important;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 18px;
    }

    /* Mobile Navigation */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
    }

    .logo {
        margin-left: 20px;
    }

    .burger {
        display: flex;
        margin-right: 20px;
    }

    .static-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 20px 0;
        z-index: 1001;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        text-align: center;
    }

    .static-menu.active {
        display: flex;
    }

    .static-menu .nav-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .static-menu .nav-links li a {
        display: block;
        font-size: 20px;
        padding: 10px 0;
        color: #333;
        text-decoration: none;
    }
}
