/* Header - Dark Tech Theme (Orizon Inspired) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(42, 47, 62, 0.3);
    transform: translateY(0);
    opacity: 1;
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 80px;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.025em;
    min-height: 48px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-weight: 900;
    color: var(--background);
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 0.75rem;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    min-height: 48px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.contact-phone {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
}

.contact-phone:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.header-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Tablet Navigation */
@media (max-width: 1024px) {
    .header-content {
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav-list {
        gap: 1.25rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 5;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-link {
        font-size: 1.125rem;
        font-weight: 600;
    }

    .header-contact {
        display: none;
    }

    .header-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-content {
        min-height: 70px;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 1.5rem;
        margin-right: 0;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.75rem 0;
        min-height: 65px;
        gap: 1rem;
    }

    .logo {
        font-size: 1.25rem;
        min-height: 40px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-right: 0.4rem;
    }
    
    .mobile-menu-toggle {
        width: 25px;
        height: 20px;
    }
    
    .mobile-menu-toggle span {
        height: 2px;
    }
}
