/* ================================================================
   CAFÉ DEL ALTO V2 — Slider Hero Styles
   ================================================================ */

/* Hero Slider Section */
.hero-slider-section {
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Swiper container */
.hero-swiper {
    width: 100%;
    height: 100%;
}

/* Swiper wrapper - CRUCIAL para que funcionen los slides */
.hero-swiper .swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Hero Slide */
.hero-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-slide-bg-placeholder {
    background: linear-gradient(135deg, var(--cafe-medio) 0%, var(--cafe-calido) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-style: italic;
    color: rgba(245, 237, 224, 0.3);
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem;
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.5;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-slide-content .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--dorado);
    font-weight: 400;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-slide-content .hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--dorado);
}

.hero-slide-content .hero-title {
    font-size: clamp(3.5rem, 7.5vw, 7rem);
    font-weight: 300;
    color: var(--crema);
    line-height: 0.93;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-slide-content .hero-title em {
    font-style: italic;
    color: var(--dorado-claro);
}

.hero-slide-content .hero-subtitle {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(245, 237, 224, 0.6);
    line-height: 1.85;
    max-width: 440px;
    margin-bottom: 3rem;
}

.hero-slide-content .hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Swiper Navigation */
.hero-swiper .swiper-pagination {
    bottom: 3rem;
    left: 0;
    right: 0;
    width: 100%;
    display: flex !important;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.hero-swiper .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(245, 237, 224, 0.4);
    border: 2px solid var(--dorado);
    border-radius: 50%;
    opacity: 1 !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.hero-swiper .swiper-pagination-bullet:hover {
    background: rgba(200, 151, 58, 0.6);
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--dorado) !important;
    transform: scale(1.4);
    border-color: var(--dorado);
    width: 14px;
    height: 14px;
}

/* Botones de navegación (siempre visibles) */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--dorado) !important;
    opacity: 1 !important;
    width: 50px;
    height: 50px;
    background: rgba(26, 15, 8, 0.6);
    border-radius: 50%;
    border: 2px solid rgba(200, 151, 58, 0.4);
    transition: all 0.3s ease;
    z-index: 100;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--dorado);
    border-color: var(--dorado);
}

.hero-swiper .swiper-button-next:hover::after,
.hero-swiper .swiper-button-prev:hover::after {
    color: var(--cafe-oscuro);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 1.4rem;
    font-weight: 600;
    transition: color 0.3s;
}

.hero-swiper .swiper-button-next {
    right: 2rem;
}

.hero-swiper .swiper-button-prev {
    left: 2rem;
}

/* Hero Scroll Indicator */
.hero-slider-section .hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(245, 237, 224, 0.4);
    z-index: 10;
}

.hero-slider-section .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--dorado), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }
    
    .hero-slider-container:hover .swiper-button-next,
    .hero-slider-container:hover .swiper-button-prev {
        display: none;
    }
    
    .hero-slide-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-slide-content .hero-eyebrow {
        justify-content: center;
    }
    
    .hero-slide-content .hero-eyebrow::before {
        display: none;
    }
}
