/* adcolima-header.php - Frontend styles v2.0.3 */

/* Slider container */
.adh-header-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #101010;
}

.adh-slider {
    display: flex;
    transition: transform .5s ease;
    will-change: transform;
}

.adh-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

/* Imágenes - deben ocupar TODO el ancho */
.adh-header-container img,
.adh-slide img,
.adh-regular-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    display: block;
    object-fit: contain;
}

.adh-header-container a {
    display: block;
    width: 100%;
}

/* Bloques de código - contenedor base */
.adh-code-wrapper {
    width: 100%;
    display: block;
    text-align: center;
    overflow: hidden;
}

/* Navigation controls */
.adh-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.adh-prev {
    left: 8px;
}

.adh-next {
    right: 8px;
}

.adh-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.adh-dots button {
    width: 32px;
    height: 3px;
    border-radius: 2px;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.adh-dots button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scaleY(1.3);
}

.adh-dots button.is-active {
    background: #fff;
    width: 48px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Regular items (non-slider) */
.adh-regular-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.adh-regular-item {
    width: 100%;
    background: #101010;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .adh-nav {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .adh-prev {
        left: 4px;
    }
    
    .adh-next {
        right: 4px;
    }
    
    /* Indicadores más compactos en móviles */
    .adh-dots {
        bottom: 10px;
        gap: 4px;
    }
    
    .adh-dots button {
        width: 24px;
        height: 2.5px;
    }
    
    .adh-dots button.is-active {
        width: 36px;
    }
}

/* Vista elegante para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .adh-dots button {
        width: 28px;
    }
    
    .adh-dots button.is-active {
        width: 42px;
    }
}
