/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

/* Hero Background Layer */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-hero-bg);
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 102, 0, 0.05) 0%, transparent 50%);
}

/* Hero Geometric Pattern Layer */
.hero-geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-hero-pattern);
    opacity: 0.3;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(255, 102, 0, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255, 102, 0, 0.05) 50%, transparent 60%);
    background-size: 200px 200px, 150px 150px;
    background-position: 0 0, 100px 100px;
}

.hero-geometric-pattern::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 102, 0, 0.2);
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
    transform: rotate(15deg);
    animation: float 6s ease-in-out infinite;
}

.hero-geometric-pattern::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 102, 0, 0.15);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(-20deg);
    animation: float 8s ease-in-out infinite reverse;
}

/* Hero Content Layer */
.hero-content {
    position: relative;
    z-index: var(--z-hero-content);
    text-align: center;
    max-width: 800px;
    padding: 0 var(--spacing-lg);
}

.hero-name {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(255, 102, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-slogan {
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Hero CTA Button */
.hero-cta {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-2xl);
    background: var(--accent-orange);
    color: var(--primary-bg);
    font-family: var(--font-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 15px 100%);
    transition: all var(--transition-normal);
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-cta::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 var(--transition-slow);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:active {
    transform: translateY(-1px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-hero-content);
    animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--accent-orange);
    border-bottom: 2px solid var(--accent-orange);
    transform: translate(-50%, -50%) rotate(45deg);
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--accent-orange);
    border-bottom: 2px solid var(--accent-orange);
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0.5;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(15deg);
    }
    50% {
        transform: translateY(-20px) rotate(15deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parallax Elements */
.hero-background,
.hero-geometric-pattern,
.hero-content {
    will-change: transform;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        padding: 0 var(--spacing-md);
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-name {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: 2px;
    }
    
    .hero-title {
        font-size: clamp(1.25rem, 5vw, 2rem);
        letter-spacing: 1px;
    }
    
    .hero-slogan {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-cta {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: var(--font-size-base);
    }
    
    .hero-geometric-pattern::before {
        width: 200px;
        height: 200px;
        top: 10%;
        right: 5%;
    }
    
    .hero-geometric-pattern::after {
        width: 150px;
        height: 150px;
        bottom: 10%;
        left: 5%;
    }
    
    .scroll-indicator {
        bottom: var(--spacing-xl);
    }
}

@media (max-width: 480px) {
    .hero-geometric-pattern::before,
    .hero-geometric-pattern::after {
        display: none;
    }
    
    .hero-cta {
        clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
    }
}

/* High Performance Optimizations */
.hero * {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Enhanced Visual Effects */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center top, rgba(255, 102, 0, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse at center bottom, rgba(255, 102, 0, 0.05) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

/* Interactive Elements */
.hero-content:hover .hero-name {
    text-shadow: 0 0 40px rgba(255, 102, 0, 0.5);
    transition: text-shadow var(--transition-normal);
}

/* Loading State */
.hero-content > * {
    opacity: 0;
    transform: translateY(30px);
}

.hero.loaded .hero-content > * {
    animation-play-state: running;
} 