/* Header/Navbar Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    padding: 32px;
    transition: all 0.3s ease;
    height: 1080px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.logo-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0;
}

/* Morphing Navigation - Centered */
.nav-container {
    position: absolute;
    top: 50%;
    left: 32px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-item {
    position: relative;
    cursor: pointer;
    height: 36px;
    display: flex;
    align-items: center;
}

/* Background container that expands */
.nav-background {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    width: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
    opacity: 0;
}

.nav-item.active .nav-background {
    width: 120px;
    opacity: 1;
}

.nav-item:not(.active) .nav-background {
    width: 12px;
    opacity: 0;
}

/* Dot - always visible */
.nav-dot {
    position: relative;
    z-index: 2;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.nav-item:hover .nav-dot {
    background: rgba(255, 255, 255, 0.5);
}

.nav-item.active .nav-dot {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Text container with mask */
.nav-text-container {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    width: 96px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Text that gets revealed */
.nav-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: opacity 0.4s ease;
}

/* Hide text when not active with animation */
.nav-item:not(.active) .nav-text {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-item.active .nav-text {
    opacity: 1;
    transition: opacity 0.4s ease 0.2s;
}

/* Footer Styles */
footer {
    padding: 2rem 0;
    background: var(--background-primary);
    text-align: center;
    color: var(--text-dark);
}

/* Section Footer - Footer within contact section */
.section-footer {
    margin-top: 3rem;
    padding: 2rem 0 0 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.section-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Scaling system replaces mobile responsive design */
/* All content scales uniformly to fit viewport */