﻿/* HERO SECTION MEJORADO */
.banner-PlanMedio {
    width: 100%;
    margin-top: 124px; /* Compensa el navbar fixed */
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-position: left;
    background: var(--color-white);
}

.bungee-spice-regular {
    font-family: "Bungee Spice", sans-serif;
    font-weight: 600;
    font-style: initial;
    color: var(--color-secondary);
}

    .banner-PlanMedio .wave {
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--color-primary);
        box-shadow: inset 50px rgba(255, 255, 255, 0.1);
        transition: 0.5s;
        margin-bottom: 10px;
        color: var(--color-secondary) !important;
    }

        .banner-PlanMedio .wave span {
            position: absolute;
            width: 325vh;
            height: 255vh;
            top: 0;
            left: 50%;
            transform: translate(-50%, -75%);
            background: linear-gradient(135deg, #3a3a3a 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
        }

    .banner-PlanMedio .content {
        position: relative;
        z-index: 2;
        animation: fadeInUp 1s ease-out;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-PlanMedio .wave span:nth-child(1) {
    border-radius: 45%;
    background: rgba(131, 58, 58, 0.8);
    animation: animate 5s linear infinite;
}

.banner-PlanMedio .wave span:nth-child(2) {
    border-radius: 40%;
    background: rgba(209, 198, 198, 0.6);
    animation: animate 10s linear infinite;
}

.banner-PlanMedio .wave span:nth-child(3) {
    border-radius: 42.5%;
    background: rgba(230, 228, 228, 0.4);
    animation: animate 15s linear infinite;
}

@keyframes animate {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}

.banner-PlanMedio .content h1,
.banner-PlanMedio .content p {
    color: var(--color-secondary) !important;
    text-align: left !important;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.banner-PlanMedio .content h1 {
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.banner-PlanMedio .btn-white {
    background-color: var(--color-white) !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-white) !important;
    padding: 12px 30px !important;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

    .banner-PlanMedio .btn-white::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }

    .banner-PlanMedio .btn-white:hover::before {
        left: 100%;
    }

    .banner-PlanMedio .btn-white:hover {
        background-color: var(--color-primary) !important;
        color: var(--color-white) !important;
        border: 2px solid var(--color-primary) !important;
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 6px 20px rgba(210, 10, 17, 0.4);
    }

.hero-btn {
    position: absolute;
    top: 40%;
    left: 20%;
    transform: translateY(-50%);
    width: auto;
}

.banner-PlanMedio .btn-white {
    background-color: var(--color-white) !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-white) !important;
    padding: clamp(10px, 2vw, 16px) clamp(20px, 4vw, 40px) !important;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: bold;
    transition: var(--transition-bounce);
}

@media (max-width: 768px) {

    .banner-PlanMedio {
        height: auto;
    }

    .hero-btn {
        /*        position: static;*/
        transform: none;
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
        padding: 0 20px;
        top: 380px;
        left: 90px;
    }

    .banner-PlanMedio .btn-white {
        width: 100%;
        max-width: 320px;
        font-size: 1rem;
        padding: 12px 0 !important;
        color: var(--color-white) !important;
        background: var(--color-primary) !important;
    }
}


/* Estilos para la galería de Plan de Premios */

.gallery-grid {
    margin-top: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background: white;
}

    .gallery-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

.gallery-image-container {
    position: relative;
    overflow: hidden;
    height: 320px;
    height: 250px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-info h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.gallery-info p {
    color: #f8f9fa;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.premio-badge {
    background: linear-gradient(to right, #D92534, #c0392b);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Detalles de premios */
.premio-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

    .premio-detail:hover {
        background: white;
        box-shadow: var(--box-shadow);
        transform: translateX(5px);
    }

    .premio-detail i {
        font-size: 1.5rem;
        margin-top: 5px;
    }

    .premio-detail h5 {
        color: var(--secondary-color);
        margin-bottom: 5px;
        font-size: 1rem;
    }

    .premio-detail p {
        color: var(--light-text);
        font-size: 0.9rem;
        margin-bottom: 0;
    }

/* Responsive para la galería */
@media (max-width: 768px) {
    .gallery-image-container {
        height: 200px;
    }

    .gallery-overlay {
        padding: 15px;
        opacity: 1;
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    }

    .gallery-info h5 {
        font-size: 1rem;
    }

    .gallery-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .gallery-image-container {
        height: 180px;
    }

    .premio-detail {
        padding: 10px;
    }

        .premio-detail i {
            font-size: 1.2rem;
        }
}



/*boton Flotante*/
.flotante {
    position: fixed;
    bottom: 60px;
    right: 80px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


.btn-flotante {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e5ec9;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: all .3s ease;
    animation: pulso 2.5s infinite;
}

    .btn-flotante i {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: all .3s ease;
    }

    .btn-flotante:hover {
        background: #d20a11;
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }

        .btn-flotante:hover i {
            background: rgba(255,255,255,0.3);
            transform: rotate(10deg) scale(1.1);
        }

.flotante {
    position: fixed;
    bottom: 60px;
    right: 80px;
    z-index: 9999;
}

.ondas-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.onda {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid #1e5ec9;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: expand-ring 2s ease-out infinite;
    opacity: 0;
}

.onda-2 {
    animation-delay: 1s;
    border-color: #ff6b35;
}

@keyframes expand-ring {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }

    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.btn-flotante {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e5ec9;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: all .3s ease;
}
