/*
 * This file is part of the UX SDC Bundle
 *
 * (c) Jozef Môstka <https://github.com/tito10047/ux-sdc>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/* Styles for Hero component */
@layer components {
    .hero {
        position: relative;
        padding-block: var(--space-3xl);
        background: radial-gradient(circle at center, var(--color-bg-surface) 0%, var(--color-bg-deep) 100%);
        overflow: hidden;
        border-bottom: 1px solid var(--color-border-glass);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 50vh;
        
        /* Subtle red/blue background glow */
        &::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 60%;
            height: 100%;
            background: radial-gradient(circle, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
            z-index: 0;
            pointer-events: none;
        }
        
        &::after {
            content: '';
            position: absolute;
            bottom: -50%;
            right: -10%;
            width: 60%;
            height: 100%;
            background: radial-gradient(circle, rgba(69, 123, 157, 0.08) 0%, transparent 70%);
            z-index: 0;
            pointer-events: none;
        }

        & .hero__content {
            position: relative;
            z-index: 10;
            max-width: 800px;
            margin: 0 auto;
            padding-inline: var(--space-md);
            width: 100%;
        }

        & .hero__title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            line-height: 1.1;
            margin-bottom: var(--space-md);
            letter-spacing: -0.5px;
            
            & .hero__title-accent {
                color: var(--color-accent-red);
                background: linear-gradient(to right, var(--color-accent-red), #f1faee);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }
        }
        
        & .hero__subtitle {
            font-size: clamp(1.125rem, 2vw, 1.25rem);
            color: var(--color-text-main);
            margin-bottom: var(--space-xl);
            max-width: 600px;
            margin-inline: auto;
        }
        
        & .hero__searchbox-wrapper {
            margin-top: var(--space-lg);
            width: 100%;
        }
    }
}