﻿
.bg-img {
    z-index: 3;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.overlay-dark {
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.2);
}

.content-wrapper {
    z-index: 10;
    min-height: 100vh;
}

@media (min-width: 768px) {
    .logo-central {
        max-width: min(60vw, 1000px);
        filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    }

    .img-fechas {
        max-width: min(60vw, 500px);
        filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    }

    .img-frase {
        max-width: min(65vw, 350px);
        filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    }
}

@media (max-width: 767.98px) {

    .content-wrapper {
        min-height: 100vh;
        padding-top: 100px; 
        padding-bottom: 20px;
    }

    .logo-central {
        max-width: 75vw !important;
        filter: drop-shadow(0 3px 15px rgba(0, 0, 0, 0.5));
    }

    .position-absolute.top-50.start-50.translate-middle {
        top: 25% !important; /* Más arriba en móvil */
        transform: translate(-50%, -50%) !important;
    }

    .img-fechas {
        max-width: 65vw !important;
        filter: drop-shadow(0 3px 15px rgba(0, 0, 0, 0.5));
    }

    .position-absolute.bottom-0.start-0 {
        position: absolute !important;
        bottom: auto !important;
        top: 45% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        padding: 15px !important;
        text-align: center !important;
    }

    .img-frase {
        max-width: 70vw !important;
        filter: drop-shadow(0 3px 15px rgba(0, 0, 0, 0.5));
    }

    .position-absolute.bottom-0.end-0 {
        position: absolute !important;
        bottom: 100px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        padding: 15px !important;
        text-align: center !important;
        width: 90% !important;
    }

    .btn-registrarme {
        padding: 12px 30px !important;
        font-size: 0.95rem !important;
    }

    .scroll-indicator {
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
    }

    .position-absolute.bottom-0.start-50.translate-middle-x {
        bottom: 15px !important;
        padding-bottom: 10px !important;
    }

    .scroll-text {
        font-size: 0.8rem !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    }

    .overlay-dark {
        background: linear-gradient( 135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 100% ) !important;
    }
}

@media (max-width: 575.98px) {

    .content-wrapper {
        padding-top: 90px;
    }

    .logo-central {
        max-width: 80vw !important;
        padding-top: 220px;
        padding-bottom: 50px;
    }

    .img-fechas {
        max-width: 70vw !important;
        padding-top: 100px;
    }

    .img-frase {
        max-width: 75vw !important;
    }

    .btn-registrarme {
        padding-bottom: 15px;
        font-size: 0.9rem !important;
    }

    .position-absolute.top-50.start-50.translate-middle {
        top: 22% !important;
    }

    .position-absolute.bottom-0.start-0 {
        top: 42% !important;
    }

    .position-absolute.bottom-0.end-0 {
        bottom: 90px !important;
    }
}

.btn-registrarme {
    background: linear-gradient(135deg, #ff4081, #e91e63);
    color: white;
    border: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
}

    .btn-registrarme:hover {
        background: linear-gradient(135deg, #e91e63, #c2185b);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 64, 129, 0.4);
        color: white;
    }

.scroll-indicator {
    width: 50px;
    height: 50px;
    padding: 12px;
    margin-bottom: 8px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

    .scroll-indicator:hover {
        background-color: white;
        transform: scale(1.1);
    }

/* Animación de bounce */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.scroll-text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    body, html {
        overflow-x: hidden;
    }

    .p-4, .p-md-5 {
        padding: 15px !important;
    }

    .text-white {
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    }
}
