/* Header Redesign - Hexagon Icon & Minimal Nav */

/* Hexagon Icon Animation */
.identity-icon-new {
    width: 45px;
    height: 45px;
    position: relative;
    margin-right: 12px;
}

.icon-hexagon {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation: hexRotate 8s linear infinite;
}

.hex-shape {
    fill: none;
    stroke: #dc2626;
    stroke-width: 2;
    opacity: 0.6;
    animation: hexPulse 2s ease-in-out infinite;
}

.hex-inner {
    fill: rgba(220, 38, 38, 0.1);
    stroke: #dc2626;
    stroke-width: 1;
    opacity: 0.8;
}

.hex-letter {
    position: relative;
    z-index: 2;
    font-size: 20px;
    font-weight: 700;
    color: #dc2626;
    font-family: 'Fira Code', monospace;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

@keyframes hexRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes hexPulse {
    0%, 100% { opacity: 0.6; stroke-width: 2; }
    50% { opacity: 1; stroke-width: 2.5; }
}

.identity-icon-new:hover .hex-shape {
    stroke: #ef4444;
    opacity: 1;
    animation: hexPulse 1s ease-in-out infinite;
}

.identity-icon-new:hover .hex-letter {
    color: #ef4444;
    text-shadow: 0 0 15px rgba(220, 38, 38, 0.8);
}

/* Minimal Navigation Links */
.nav-link-minimal {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.link-dot {
    width: 6px;
    height: 6px;
    background: #4b5563;
    transition: all 0.3s ease;
}

.nav-link-minimal:hover .link-dot {
    background: #dc2626;
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
}

.nav-link-minimal:hover {
    color: #ffffff;
}

.nav-link-minimal:hover .link-text {
    transform: translateX(4px);
}

.nav-link-minimal .link-text {
    transition: transform 0.3s ease;
}

/* Active state */
.nav-link-minimal.active .link-dot {
    background: #dc2626;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.8);
}

.nav-link-minimal.active {
    color: #dc2626;
    text-shadow: 0 0 8px rgba(220, 38, 38, 0.8);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .identity-icon-new {
        width: 40px;
        height: 40px;
    }
    
    .hex-letter {
        font-size: 18px;
    }
    
    .nav-link-minimal {
        padding: 12px 16px;
        font-size: 0.9375rem;
    }
}
