/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    padding: 10px 0;
    background-color: transparent;
    z-index: 1000;
    transition: background-color 1s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-main img {
    width: 150px;
    height: auto;
    transition: opacity 1s ease-in-out;
}

.navigation {
    display: flex;
    gap: 40px;
}

.navigation a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.6s;
}

.navigation a:hover {
    color: #ee1d23;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.navigation a:active {
    color: #ee1d23;
}

.burger {
    display: none;
}

.navigation-mob {
    display: none;
}

/* Scroll Effects */
header.scrolled {
    background-color: white;
}

.scrolled .navigation a {
    color: #ee1d23;
}

@media (max-width: 800px) {
    
    .header-container {
        padding: 0 10px;
    }

    .navigation {
        display: none;
    }

    .burger {
        display: block;
        cursor: pointer;
        height: 20px;
    }

    .burger span {
        margin-top: 8px;
        position: relative;
        display: block;
        width: 22px;
        height: 3px;
        background: white;
        transition: all .2s ease-in-out;

        &:before, &:after {
            position: absolute;
            background: white;
            content: '';
            width: 22px;
            height: 3px;
            transition: all .2s ease-in-out;
        }

        &:before {
            top: -8px;
        }
        
        &:after {
            top: 8px;
        }
    }

    .burger.scrolled {
        span {
            background: black;

            &:before, &:after {
                background: black;
            }
        }
    }

    .burger.active {
        span {
            background: transparent;

            &:before {
                transform: rotate(45deg) translate(5px, 6px);
            }
            &:after {
                transform: rotate(-45deg) translate(5px, -6px);
            }
        }
    }


    .navigation-mob {
        position: absolute;
        top: 73px;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: right;
        opacity: 0;
        visibility: hidden;
        padding: 10px;
        transition: 0.5s;
    }

    .navigation-mob li {
        list-style: none;
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.5s ease, opacity 0.5s ease;

    }

    .navigation-mob li a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        transition: 0.6s;
    }
    
    .navigation-mob li a:hover {
        color: #ee1d23;
        text-decoration: underline;
        text-decoration-thickness: 3px;
        text-underline-offset: 5px;
    }

    .navigation-mob.active {
        opacity: 1;
        visibility: visible;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .navigation-mob.active li {
        transform: translateX(0);
        opacity: 1;
    }

    .navigation-mob.active li:nth-child(1) { transition-delay: 0.1s; }
    .navigation-mob.active li:nth-child(2) { transition-delay: 0.2s; }
    .navigation-mob.active li:nth-child(3) { transition-delay: 0.3s; }
    .navigation-mob.active li:nth-child(4) { transition-delay: 0.4s; }
}
