/* Hero section styles for Fylrano website */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--primary-dark);
    color: var(--text-light);
    overflow: hidden;
    padding: 0;
    margin-bottom: var(--space-7);
}

.hero .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 50%;
    padding-right: var(--space-4);
    z-index: 10;
}

.hero h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: var(--space-3);
    line-height: 1.1;
}

.hero p {
    margin-bottom: var(--space-4);
    opacity: 0.9;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url('https://www.hacksawgaming.com/images/games_hero_img.png');
    background-size: cover;
    background-position: center;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark) 0%, rgba(14, 33, 72, 0.8) 20%, rgba(14, 33, 72, 0.4) 50%, rgba(14, 33, 72, 0.1) 80%, rgba(14, 33, 72, 0) 100%);
}

/* Animation for hero section */
.hero-content.animate-on-scroll {
    transform: translateX(-50px);
}

.hero-content.animate {
    transform: translateX(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 500px;
    }
    
    .hero-content {
        width: 60%;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero-image {
        width: 65%;
        clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-content {
        width: 100%;
        padding: 100px var(--space-2) var(--space-5);
        text-align: center;
    }
    
    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        clip-path: none;
        z-index: 0;
    }
    
    .hero-image::after {
        background: linear-gradient(to bottom, rgba(14, 33, 72, 0.9) 0%, rgba(14, 33, 72, 0.85) 100%);
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 450px;
    }
    
    .hero-content {
        padding: 80px var(--space-2) var(--space-4);
    }
    
    .hero h1 {
        font-size: 32px;
    }
}