﻿.hero-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 12rem 0;
}


.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
}
    .hero-content h1 {
        font-size: var(--font-size-3xl);
    }
    .hero-content p {
        max-width: 550px;
        font-weight: var(--font-weight-bold);
    }



.hero-cta {
    display: inline-flex;
    gap: 10px;
}




.hero-image {
    position: relative;
    flex: 1;
}
    .hero-image img {
        width: 100%;
        object-fit: contain;
        will-change: transform;
        filter: drop-shadow(-5px 5px 10px rgba(100, 100, 100, 0.5));
        animation: float 3s ease-in-out infinite;
        -webkit-user-drag: none;
        user-drag: none;
        user-select: none;
    }


.lets-go {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    cursor: pointer;
    font-size: 16px;
    width: auto;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    animation: pulse-color 1.5s infinite ease-in-out;
    bottom: 10%;
    inset-inline-end: 5%;
    font-family: var(--font-family-main);
}

    .lets-go img {
        width: 48px;
    }






@media (max-width: 992px) {

    .hero-container {
        grid-template-columns: 2fr;
        grid-template-rows: 1fr 1fr;
        gap: 1rem;
    }


    .hero-content {
        width: 100%;
        order: 2;
    }
        .hero-content h1 {
            justify-content: center;
            display: flex;
        }

        .hero-content p {
            max-width: 600px;
            margin: auto;
            text-align: center;
        }



    .hero-image {
        order: 1;
        margin: 0 auto;
        max-width: 300px;
    }

    .hero-cta {
        justify-content: center;
    }


    .lets-go {
        display: none;
        gap: 0;
    }
}

@media (max-width: 578px) {
    .hero-container {
        padding: 6rem 0;
    }
}