/**
 * Lifestyle Videos Section — Slider
 */

.lspa-lifestyle {
    padding: 5rem 0;
    background: var(--lspa-gray-50);
    overflow: hidden;
}

.lspa-lifestyle__container {
    width: 100%;
    max-width: var(--lspa-container-xl, 1280px);
    margin: 0 auto;
    padding: 0 var(--lspa-space-lg, 1.5rem);
}

/* Header */
.lspa-lifestyle__header {
    text-align: center;
    margin-bottom: 3rem;
}

.lspa-lifestyle__pill {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(1, 41, 81, 0.08);
    color: var(--lspa-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.lspa-lifestyle__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--lspa-gray-900);
    line-height: 1.2;
    margin: 0 0 0.75rem 0;
}

.lspa-lifestyle__subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--lspa-gray-600);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Slider wrapper with arrows */
.lspa-lifestyle__slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Arrows */
.lspa-lifestyle__arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--lspa-gray-200);
    background: var(--lspa-white, #fff);
    color: var(--lspa-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lspa-lifestyle__arrow:hover {
    background: var(--lspa-primary);
    color: #fff;
    border-color: var(--lspa-primary);
    box-shadow: 0 4px 16px rgba(1, 41, 81, 0.2);
}

.lspa-lifestyle__arrow:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.lspa-lifestyle__arrow svg {
    width: 22px;
    height: 22px;
}

/* Slider viewport */
.lspa-lifestyle__slider {
    flex: 1;
    overflow: hidden;
    border-radius: 1rem;
}

/* Track */
.lspa-lifestyle__track {
    display: flex;
    gap: 1rem;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Video Item */
.lspa-lifestyle__item {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    background: var(--lspa-gray-200);
    flex: 0 0 calc((100% - 3rem) / 4);
}

.lspa-lifestyle__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lspa-lifestyle__item:hover .lspa-lifestyle__video {
    transform: scale(1.03);
}

/* Play overlay */
.lspa-lifestyle__play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, opacity 0.3s ease;
}

.lspa-lifestyle__item.is-playing .lspa-lifestyle__play-overlay {
    opacity: 0;
    pointer-events: none;
}

.lspa-lifestyle__item:hover .lspa-lifestyle__play-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.lspa-lifestyle__play-icon {
    width: 48px;
    height: 48px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.lspa-lifestyle__item:hover .lspa-lifestyle__play-icon {
    transform: scale(1.1);
}

.lspa-lifestyle__item.is-playing:hover .lspa-lifestyle__play-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.15);
}

/* CTA */
.lspa-lifestyle__cta {
    display: flex;
    justify-content: center;
}

.lspa-lifestyle__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    background: var(--lspa-white);
    color: var(--lspa-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--lspa-gray-200);
    border-radius: 100px;
    transition: all 0.2s ease;
}

.lspa-lifestyle__btn:hover {
    background: var(--lspa-primary);
    color: #fff;
    border-color: var(--lspa-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(1, 41, 81, 0.2);
}

.lspa-lifestyle__btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .lspa-lifestyle__item {
        flex: 0 0 calc((100% - 2rem) / 3);
    }
}

@media (max-width: 768px) {
    .lspa-lifestyle {
        padding: 3.5rem 0;
    }

    .lspa-lifestyle__header {
        margin-bottom: 2rem;
    }

    .lspa-lifestyle__item {
        flex: 0 0 calc((100% - 0.75rem) / 2);
    }

    .lspa-lifestyle__track {
        gap: 0.75rem;
    }

    .lspa-lifestyle__play-icon {
        width: 36px;
        height: 36px;
    }

    .lspa-lifestyle__arrow {
        width: 36px;
        height: 36px;
    }

    .lspa-lifestyle__arrow svg {
        width: 18px;
        height: 18px;
    }

    .lspa-lifestyle__slider-wrapper {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .lspa-lifestyle__item {
        flex: 0 0 calc((100% - 0.5rem) / 2);
        border-radius: 0.75rem;
    }

    .lspa-lifestyle__track {
        gap: 0.5rem;
    }
}
