/* hero.css */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url("../../assets/images/manchester-3d-printing-background.webp") center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(15, 15, 15, 0.8) 0%, rgba(15, 15, 15, 0.25) 85%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-main-logo {
    width: clamp(230px, 35vw, 368px); 
    height: auto;
    margin-bottom: var(--space-md); 
    z-index: 10;
    filter: drop-shadow(0 0 0 rgba(var(--primary-rgb), 0));
    transition: filter var(--transition-smooth), transform var(--transition-smooth);
}

.hero-main-logo:hover {
    filter: drop-shadow(var(--glow-super-strong)); 
    transform: scale(1.02); 
    cursor: default;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    color: #ffffff;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9); 
}

.hero p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9); 
    margin-bottom: var(--space-lg); 
    letter-spacing: 1.5px; 
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* 🎯 UNIFIED FOOTER: Anchored to the bottom right */
.hero-footer {
    position: absolute;
    bottom: 30px;
    right: 40px;
    left: auto;
    width: auto;
    text-align: right;
    z-index: 5;
}

.hero-footer p {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* 🎯 SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 40px; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.snap-container:not([scrolltop="0"]) .scroll-indicator {
    opacity: 0;
    pointer-events: none;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--text-muted);
    border-right: 2px solid var(--text-muted);
    transform: rotate(45deg);
    margin: -5px;
    animation: arrow-bounce 1.6s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

@keyframes arrow-bounce {
    0% { opacity: 0; transform: rotate(45deg) translate(-10px, -10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(10px, 10px); }
}

/* 📱 MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .hero-main-logo {
        margin-bottom: var(--space-sm);
    }
    
    /* Keep footer bottom right, just tighter to the edge on small screens */
    .hero-footer {
        bottom: 20px;
        right: 20px;
    }

    /* 🚀 Push the mouse animation significantly higher up on mobile */
    .scroll-indicator {
        bottom: 110px; 
    }
}