﻿
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    width: 90%;
    margin: auto;
}

.navbar {
    background-image: url('/assets/media/header-menu-bg.jpg');
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

    .navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(12px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    }

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 20px;
}

.logo {
    order: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

    .logo:hover {
        transform: scale(1.03);
    }

    .logo img {
        width: 160px;
        height: auto;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        transition: filter 0.3s ease;
    }

        .logo img:hover {
            filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
        }

.menu-items {
    order: 2;
    display: flex;
    list-style: none;
    gap: 1rem;
}

    .menu-items li {
        position: relative;
    }

    .menu-items a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 0.5px;
        padding: 12px 28px;
        border-radius: 50px;
        transition: all 0.3s ease;
        position: relative;
        text-transform: uppercase;
        background: rgba(255, 255, 255, 0.1);
    }

        .menu-items a:hover {
            background: rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .menu-items a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: #1a1a1a;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .menu-items a:hover::after {
            width: 50%;
        }

        .menu-items a:active {
            transform: translateY(0);
        }

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.3s ease;
}

    .hamburger-menu:hover {
        background: rgba(0, 0, 0, 0.05);
    }

.hamburger-line {
    width: 30px;
    height: 3px;
    background: #1a1a1a;
    margin: 4px 0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
        order: 1;
    }

    .logo {
        order: 2;
        margin-left: auto;
        margin-right: 20px;
    }

    .menu-items {
        position: fixed;
        top: 96px;
        left: 0;

        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
       
        padding-top: 40px;

        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    }

        .menu-items.active {
            transform: translateX(0);
        }

        .menu-items a {
            font-size: 18px;
            padding: 16px 40px;
            width: 90%;
            text-align: center;
            
            background: rgba(255, 255, 255, 0.2);
          
            color: #000
        }

            .menu-items a:hover {
                background: rgba(0, 0, 0, 0.15);
                transform: scale(1.02);
            }

            .menu-items a::after {
                display: none;
            }

    .navbar-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 140px;
    }

    .menu-items a {
        font-size: 16px;
        padding: 14px 35px;
        color: #000
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-items.active a {
    animation: slideIn 0.4s ease forwards;
}

    .menu-items.active a:nth-child(1) {
        animation-delay: 0.1s;
    }

    .menu-items.active a:nth-child(2) {
        animation-delay: 0.2s;
    }

    .menu-items.active a:nth-child(3) {
        animation-delay: 0.3s;
    }

/* Demo content */
.demo-content {
    margin-top: 100px;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(45deg, #fafafa, #f0f0f0);
    min-height: 100vh;
}

    .demo-content h1 {
        color: #1a1a1a;
        margin-bottom: 20px;
        font-size: 2.5rem;
    }

    .demo-content p {
        color: #4a4a4a;
        font-size: 1.2rem;
        max-width: 600px;
        margin: 0 auto;
    }
