/* Walk Me Home - Enhanced Header Styles */

/* Header Container */
.main-header {
    position: relative;
    height: 100vh;
    background-image: url('../images/v2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Parallax Effect */
.main-header.parallax {
    background-attachment: fixed;
}

/* Dark Overlay with Gradient */
.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

/* Header Content Overlay */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    z-index: 2;
}

/* Logo Container */
.logo-container {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    transition: all 0.3s ease;
}

/* Logo Image */
.logo {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.5));
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.7));
}

/* Main Tagline */
.tagline {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
}

/* Subheadline */
.subheadline {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.6s;
}

/* CTA Button Container */
.cta-button {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.9s;
}

/* Scroll Indicator */
.scroll-indicator {
    opacity: 0;
    animation: fadeIn 1s forwards, scrollIndicator 2s infinite;
    animation-delay: 1.5s;
}

/* Orange Highlight Effect */
.orange-highlight {
    color: var(--color-orange);
    position: relative;
    display: inline-block;
}

.orange-highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.orange-highlight:hover::after {
    transform: scaleX(1);
}

/* Circuit Pattern Overlay */
.header-circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 0, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    opacity: 0.1;
    animation: circuitPulse 15s linear infinite;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .tagline {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .tagline {
        font-size: 2.5rem;
    }
    
    .subheadline {
        font-size: 1.2rem;
    }
    
    .logo-container {
        top: 1.5rem;
        left: 1.5rem;
    }
    
    .logo {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 2rem;
    }
    
    .logo-container {
        position: relative;
        top: 0;
        left: 0;
        margin: 1.5rem auto;
    }
    
    .header-overlay {
        justify-content: flex-start;
        padding-top: 2rem;
    }
}
