nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 30px;
    height: auto;
    transition: transform 0.6s ease;
}

.logo:hover img {
    transform: rotate(360deg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
    color: var(--dark);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Icon styles */
.home-icon,
.work-icon,
.about-icon,
.blog-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.nav-item:hover .home-icon,
.nav-item:hover .work-icon,
.nav-item:hover .about-icon,
.nav-item:hover .blog-icon {
    animation: bounce 0.6s ease infinite;
}

/* Default state - icons are hidden */
.icon {
    width: 0;
    height: 0;
    opacity: 0;
    transition: all 0.3s ease;
    fill: var(--dark);
}

/* Active state - icon is visible for current page */
.nav-item.active .icon {
    width: 24px;
    height: 24px;
    opacity: 1;
    fill: var(--dark);
}

/* Hover state - show icon */
.nav-item:hover .icon {
    width: 24px;
    height: 24px;
    opacity: 1;
}

/* Hover color change */
.nav-item:hover {
    color: var(--dark);
}

.nav-item:hover .icon {
    fill: var(--dark);
}

/* Play link styles */
.play-link {
    overflow: hidden;
}

.play-text {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-right: -0.25em;
}

.play-text:last-child {
    margin-right: 0;
}

.play-link:hover .play-text {
    animation: bounce 0.5s ease infinite;
    color: var(--dark);
}

/* Book call button */
.book-call {
    border: 2px solid var(--dark);
    padding: 0.8rem 1.5rem;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.book-call::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--dark);
    transition: all 0.3s ease;
    z-index: -1;
}

.book-call:hover {
    color: var(--light);
    border-color: var(--light);
}

.book-call:hover::before {
    left: 0;
}

/* Mobile menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    nav {
        padding: 1rem 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 250px;
        height: auto;
        background: var(--light);
        flex-direction: column;
        padding: 1.5rem;
        padding-bottom: 4rem;
        border-radius: 0 0 0 10px;
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        z-index: 999;
        gap: 1rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item, .play-link {
        font-size: 1.2rem;
        color: var(--dark);
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .nav-item .icon {
        width: 20px;
        height: 20px;
        opacity: 1;
        margin-left: 0.5rem;
    }

    .play-link {
        display: flex;
        align-items: center;
    }

    .play-text {
        margin: 0;
        padding: 0;
        display: inline;
        letter-spacing: -0.3em;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .book-call {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-item:last-of-type {
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-item {
        font-size: 1.1rem;
    }
} 