.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url("../img/backGround-NoLogo.webp") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeIn 1.5s ease-in-out;
    backdrop-filter: blur(4px);
    border-radius: 50px;
}

.hero h1 {
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ff0000, #ff4d4d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ff0000; 
}

.hero p {
    font-size: 1.4rem;
    margin: 20px 0;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(45deg, #ff0000, #ff4d4d);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 15px rgba(255, 0, 0, 0.5);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 20px rgba(255, 0, 0, 0.7);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 480px) {
    .hero {
        background-position: center;
        padding: 20px;
    }

    .hero h1 {
        font-size: 2.2rem; 
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 1rem;
        margin: 10px 0;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
        border-radius: 20px;
    }
}
@media (max-width: 770px){
    .hero {
        margin-top: 95px;
    }
    
}


.f1-history {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background-color: #f8f8f8;
    position: relative;
}

.history-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    text-align: center;
}

.history-content img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease-in-out;
}

.history-text {
    max-width: 600px;
}

.history-text h2 {
    font-size: 28px;
    color: #d71920;
}

.history-text p {
    font-size: 18px;
    color: #333;
}

button {
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #d71920;
    transition: 0.3s;
}

button:hover {
    color: black;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.history-content img {
    width: 600px; 
    height: 400px;
    object-fit: cover; 
    border-radius: 10px; 
}

@media (max-width: 1180px) {
    .history-content {
        flex-direction: column;
        text-align: center;
    }

    .history-text {
        max-width: 90%;
        text-align: center;
    }

    .history-content img {
        max-width: 90%;
        height: auto;
    }
}

