/* 
* Hero Section Styles
*/

.hero {
    position: relative;
    height: 100vh;
    min-height: 60rem;
    display: flex;
    align-items: flex-start;
    padding-top: 12rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../assets/images/primmary-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.8);
    z-index: -1;
}


.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    color: var(--text-light);
    position: relative;
    z-index: 1;
    padding: 0;
    margin-top: 2rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-car {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

.hero-car:hover {
    transform: translateY(-10px);
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}


.scroll-down {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-size: 2rem;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 3.6rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 4rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 12rem;
        height: auto;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 50rem;
        padding: 12rem 0 8rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.8rem;
    }
}
