/**
 * Estilos para el módulo contador de registros de hoteles
 * Diseño: Promoción (imagen + contenido) | Contador
 */

/* Contenedor Principal */
.hotel-counter-wrapper {
    max-width: 1400px;
    margin: 30px auto;
}

.hotel-counter-container {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-height: 280px;
}

/* Sección Izquierda - Promoción */
.counter-promo-section {
    flex: 2;
    display: flex;
    position: relative;
    overflow: hidden;
    margin-right: 30px;
    border-radius: 20px;
}

.promo-image {
    width: 35%;
    background: linear-gradient(135deg, #FFB84D 0%, #FFCD6B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.promo-image img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
}

.promo-content {
    flex: 1;
    background: linear-gradient(135deg, rgba(197, 48, 95, 0.822) 0%, rgba(233, 64, 87, 0.85) 100%),
                url('../img/playa 1.png') center/cover;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.promo-limited {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.promo-title {
    color: #FFD93D;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.promo-title .highlight {
    display: block;
    font-size: 46px;
}

.btn-register {
    background: #FFD93D;
    color: #8B1538;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
}

.btn-register:hover {
    background: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.6);
}

/* Sección Derecha - Contador */
.counter-display-section {
    flex: 1;
    background: linear-gradient(135deg, rgba(197, 48, 95, 0.95) 0%, rgba(233, 64, 87, 0.95) 100%),
                url('../img/Amigos 1.png') center/cover;
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    position: relative;
    border-radius: 20px;
}

.counter-badge {
    position: absolute;
    top: 116px;
    left: 56%;
    transform: translateX(-330%);
    width: 90px;
    height: 90px;
    background: rgb(175, 19, 48);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 4px solid white;
}

.badge-content {
    text-align: center;
}

.badge-content img {
    max-width: 100%;
    height: auto;
}

.counter-info {
    text-align: center;
    margin-top: 50px;
}

.counter-label {
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 400;
    opacity: 0.95;
}

.counter-number {
    color: #FFD93D;
    font-size: 85px;
    font-weight: 800;
    line-height: 1;
    margin: 10px 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.counter-number.updating {
    transform: scale(1.1);
}

.counter-text {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-top: 5px;
}

/* Mensaje de cupos agotados */
.counter-exhausted {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.counter-exhausted p {
    color: #856404;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .hotel-counter-container {
        flex-direction: column;
    }

    .counter-promo-section {
        flex-direction: column;
    }

    .promo-image {
        width: 100%;
        min-height: 200px;
    }

    .promo-content {
        padding: 30px;
    }

    .promo-title {
        font-size: 32px;
    }

    .counter-number {
        font-size: 65px;
    }

    .counter-badge {
        top: 20px;
    }
}

@media (max-width: 768px) {
    .promo-title {
        font-size: 28px;
    }

    .promo-title .highlight {
        font-size: 32px;
    }

    .counter-number {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .promo-title {
        font-size: 24px;
    }

    .promo-title .highlight {
        font-size: 28px;
    }

    .counter-number {
        font-size: 40px;
    }

    .hotel-counter-container {
        margin: 20px;
        flex-direction: column;
        content: center;
        
    }
    .counter-promo-section{
        margin: 0;
        padding-bottom: 20px;
       
    }

    .promo-image{
       padding-bottom: 20px;
    }

    .promo-image img{
        padding-top:20px
    }

    .promo-content {
        border-radius: 0px 0px 20px 20px;
    }

    .counter-display-section{

    }
}