/* General styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif !important;
    box-sizing: border-box;
    overflow-x: hidden; /* Para evitar scroll horizontal */
}

.marketing-banner {
    position: relative;
    width: 100%;
    height: 75vh; /* Altura ajustada a 75vh */
    background-image: url('/images/PORTADA_Mesa\ de\ trabajo\ 1.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.marketing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.099); /* Color anaranjado translúcido */
    z-index: 1;
    animation: fadeInOverlay 2s ease-in-out forwards;
}

.marketing-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInContent 2s ease-in-out forwards 1s;
}

.marketing-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0 20px;
    line-height: 1.2;
    animation: slideInFromLeft 2s ease-in-out forwards;
}

.marketing-content h1 span {
    font-size: 2rem;
    color: #ffd700; /* Color amarillo */
}

.marketing-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: slideInFromRight 2s ease-in-out forwards;
}

.marketing-content button {
    background-color: #777;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInButton 2s ease-in-out forwards 1.5s;
    margin-top: 300px;
}

.marketing-content button:hover {
    background-color: #656565;
    transform: scale(1.1);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .marketing-content h1 {
        font-size: 2rem;
    }

    .marketing-content h1 span {
        font-size: 1.5rem;
    }

    .marketing-content button {
        padding: 10px 25px;
        font-size: 1rem;
    }
    .marketing-banner {
        position: relative;
        width: 100%;
        height: 50vh;
      }
      .marketing-content button {
        background-color: #9e9e9e;
        color: white;
        padding: 15px 40px;
        border: none;
        border-radius: 30px;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.4s ease;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
        animation: fadeInButton 2s ease-in-out forwards 1.5s;
        margin-top: 270px;
    }
    
}

/* Animations */
@keyframes fadeInOverlay {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInContent {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInButton {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
