/**
 * _rochela-slider.css
 * Módulo: Slider premium de megaproyectos (La Rochela — sección "cerca")
 * Contiene: rochela-custom-slider, rochela-slider-*, panaca-text, cafe-text, decameron,
 *           rochela-cerca-*, rochela-slider-btn, rochela-slider-indicators, responsive
 * Extraído de style.css (líneas 5990–6437) — 2026-06
 * Cargado desde: views/Include/head.html.twig
 */

/* Premium Center-Focus Adjacent-Slides Slider styling for Megaproyectos */
.rochela-custom-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

.rochela-slider-slide.no-transition {
    transition: none !important;
}

.rochela-slider-track {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.rochela-slider-slide {
    position: absolute;
    width: 56%;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, z-index 0.6s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.rochela-slider-slide.is-active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

.rochela-slider-slide.is-left-hidden {
    transform: translateX(-140%) scale(0.75);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.rochela-slider-slide.is-right-hidden {
    transform: translateX(140%) scale(0.75);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.rochela-slider-slide.is-prev {
    transform: translateX(-96%) scale(0.85);
    opacity: 0.6;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
}

.rochela-slider-slide.is-next {
    transform: translateX(96%) scale(0.85);
    opacity: 0.6;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
}

/* Slide content styling */
.rochela-slider-card {
    position: relative;
    width: 100%;
    height: 100%;
}

.rochela-slider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rochela-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 30px;
    text-align: center;
}

.rochela-slider-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 720px;
    width: 100%;
    color: #ffffff;
}

.rochela-slider-cursive {
    font-family: 'Great Vibes', cursive;
    font-size: 38px;
    color: #cfa276;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.rochela-slider-title {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-size: 44px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.01em;
}

/* Stylized Logos for Slide 0 */
.rochela-slider-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-bottom: 24px;
    width: 100%;
    flex-wrap: wrap;
}

.rochela-slider-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.panaca-text {
    font-family: 'Arial Black', 'Impact', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #ffffff;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
    user-select: none;
}

.cafe-text {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
    user-select: none;
    margin-top: -6px;
}

.decameron-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
    user-select: none;
}

.decameron-crown-svg {
    width: 54px;
    height: auto;
    margin-bottom: 3px;
    fill: #ffffff;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.decameron-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1;
    margin-bottom: 2px;
}

.decameron-sub {
    font-family: 'AkzidenzGroteskRegular', 'Helvetica Neue', Arial, sans-serif;
    font-size: 5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
    line-height: 1;
}

.is-gold-cursive {
    font-family: 'Great Vibes', cursive !important;
    font-size: 32px !important;
    color: #E08E1A !important;
    font-weight: normal !important;
    margin-top: -10px;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

/* Badge bar rounded rectangle */
.rochela-slider-badge-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 16px;
    gap: 12px 32px;
    max-width: 95%;
    flex-wrap: wrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.rochela-slider-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rochela-slider-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex: 0 0 54px;
}

.rochela-slider-icon-box.is-green { background: #00CB98; }
.rochela-slider-icon-box.is-blue { background: #0066FF; }
.rochela-slider-icon-box.is-purple { background: #8B00D9; }
.rochela-slider-icon-box.is-orange { background: #FF6B00; }
.rochela-slider-icon-box.is-dark-blue { background: #183847; }

.rochela-slider-badge-text {
    font-family: 'AkzidenzGroteskMedium', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #183847;
    line-height: 1.2;
}

/* Bullet list styling for 'Cerca' card */
.rochela-slider-badge-bar.is-cerca {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 18px 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    max-width: 95%;
    width: 100%;
    display: block;
}

.rochela-cerca-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 20px;
    width: 100%;
    text-align: left;
}

.rochela-cerca-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rochela-cerca-col ul li {
    font-family: 'AkzidenzGroteskRegular', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #183847;
    position: relative;
    padding-left: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.rochela-cerca-col ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #183847;
    font-weight: bold;
}

/* Control buttons */
.rochela-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(23, 54, 69, 0.85);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.rochela-slider-btn:hover {
    background: #173645;
    transform: translateY(-50%) scale(1.1);
}

.rochela-slider-btn.prev-btn {
    left: 40px;
}

.rochela-slider-btn.next-btn {
    right: 40px;
}

/* Indicators */
.rochela-slider-indicators {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
}

.rochela-slider-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(23, 54, 69, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.rochela-slider-indicators .indicator.active {
    width: 24px;
    border-radius: 5px;
    background-color: #173645;
}

/* Responsive adjustment */
@media (max-width: 991px) {
    .rochela-slider-slide {
        width: 85%;
        height: 420px;
    }
    .rochela-slider-track {
        height: 450px;
    }
    .rochela-slider-slide.is-prev {
        transform: translateX(-12%) scale(0.85);
        opacity: 0;
        pointer-events: none;
    }
    .rochela-slider-slide.is-next {
        transform: translateX(12%) scale(0.85);
        opacity: 0;
        pointer-events: none;
    }
    .rochela-slider-slide.is-active {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    .rochela-slider-title {
        font-size: 38px;
        margin-bottom: 18px;
    }
    .rochela-slider-cursive {
        font-size: 30px;
    }
    .rochela-slider-logos {
        gap: 24px;
        margin-bottom: 16px;
    }
    .panaca-text {
        font-size: 22px;
    }
    .cafe-text {
        font-size: 32px;
        margin-top: -4px;
    }
    .decameron-crown-svg {
        width: 44px;
    }
    .decameron-text {
        font-size: 9px;
    }
    .rochela-slider-badge-bar {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 12px;
        padding: 12px 16px;
        gap: 12px;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }
    .rochela-slider-badge-item {
        width: 100%;
    }
    .rochela-slider-icon-box {
        width: 44px;
        height: 44px;
        font-size: 20px;
        flex: 0 0 44px;
    }
    .rochela-slider-badge-text {
        font-size: 14px;
    }
    .rochela-cerca-cols {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .rochela-cerca-col ul li {
        font-size: 13px;
        margin-bottom: 4px;
    }
}


