.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.6s ease;
}

.hero-section.menu-mode {
    height: 100vh;
}

.hero-section.compact-mode {
    height: 60vh;
}

.hero-section.compact-mode .hero-content {
    transform: scale(0.8);
}

.hero-section.compact-mode #threejs-canvas {
    opacity: 0.3;
}

#threejs-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00f5ff, #ff00ff, #ffff00);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.portfolio-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 2rem;
}

.nav-button {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 245, 255, 0.5);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.nav-button:hover {
    background: rgba(0, 245, 255, 0.2);
    border-color: #00f5ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 245, 255, 0.3);
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-button:hover::before {
    left: 100%;
}

/* Language Toggle Styles */
.language-toggle {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 2rem;
}

.lang-button {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

.lang-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-button.active {
    background: rgba(0, 245, 255, 0.2);
    border-color: #00f5ff;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid #00f5ff;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

.hero-content > * {
    animation: fadeInUp 1s ease-out forwards;
}

.hero-content .hero-subtitle {
    animation-delay: 0.2s;
}

.hero-content .hero-description {
    animation-delay: 0.4s;
}

.hero-content .portfolio-nav {
    animation-delay: 0.6s;
}

.hero-content .language-toggle {
    animation-delay: 0.8s;
}