/**
 * Landscape Amenities Section Styles
 */

.uitkm-landscape-amenities {
    width: 100%;
    box-sizing: border-box;
}

.uitkm-landscape-amenities__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 32px;
    line-height: 1.875rem;
    letter-spacing: -0.54px;
}

/* Hero Slider */
.uitkm-landscape-amenities__hero-wrapper {
    width: 100%;
    margin-bottom: 24px;
}

.uitkm-landscape-amenities__hero {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.uitkm-landscape-amenities__hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uitkm-landscape-amenities__play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 10;
    position: relative;
}

.uitkm-landscape-amenities__play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(1);
    animation: uitkm-play-btn-ripple 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

.uitkm-landscape-amenities__play-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(1);
    animation: uitkm-play-btn-ripple 2s cubic-bezier(0.4, 0, 0.2, 1) infinite 0.5s;
    pointer-events: none;
}

@keyframes uitkm-play-btn-ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.uitkm-landscape-amenities__play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.uitkm-landscape-amenities__play-btn.is-hidden {
    display: none;
}

.uitkm-landscape-amenities__play-btn i {
    font-size: 32px;
    color: #2e438f;
    margin-left: 4px;
}

/* Thumbnail Slider */
.uitkm-landscape-amenities__thumbs-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.uitkm-landscape-amenities__thumbs-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 64px;
    height: 100%;
    background: linear-gradient(to right, transparent, #ffffff);
    pointer-events: none;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.uitkm-landscape-amenities__thumbs {
    padding-bottom: 0;
}

/* Navigation Arrows */
.uitkm-landscape-amenities__nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    padding: 0;
    margin: 0;
}

.uitkm-landscape-amenities__nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.uitkm-landscape-amenities__nav-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.uitkm-landscape-amenities__nav-btn:active {
    transform: scale(0.95);
}

.uitkm-landscape-amenities__nav-btn i {
    font-size: 1.25rem;
    color: #1e293b;
}

.uitkm-landscape-amenities__nav-btn--prev {
    left: 0;
    margin-left: 0;
}

.uitkm-landscape-amenities__nav-btn--next {
    right: 0;
    margin-right: 0;
}

.uitkm-landscape-amenities__nav-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.uitkm-landscape-amenities__thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    height: 120px;
}

.uitkm-landscape-amenities__thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.uitkm-landscape-amenities__thumb-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Text Block */
.uitkm-landscape-amenities__text {
    margin-top: 32px;
}

.uitkm-landscape-amenities__heading {
    color: #1e293b;
    margin: 0 0 16px;
    font-size: 1.25rem;
    line-height: 1.75rem;
    letter-spacing: -.63px;
    font-weight: 700;
}

.uitkm-landscape-amenities__description {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.uitkm-landscape-amenities__description p {
    margin: 0 0 16px;
}

.uitkm-landscape-amenities__description p:last-child {
    margin-bottom: 0;
    font-size: 16px;
    color: #334155;
    line-height: 1.5;
    margin: 0;
}

/* Modal (Video or Image Lightbox) */
.uitkm-landscape-amenities__modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.uitkm-landscape-amenities__modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.uitkm-landscape-amenities__modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.uitkm-landscape-amenities__modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: #000000;
    border-radius: 8px;
    overflow: hidden;
    z-index: 10000;
}

.uitkm-landscape-amenities__modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s ease;
}

.uitkm-landscape-amenities__modal-close:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.uitkm-landscape-amenities__modal-close i {
    font-size: 20px;
    color: #1e293b;
}

.uitkm-landscape-amenities__modal-video {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
}

.uitkm-landscape-amenities__modal-video iframe,
.uitkm-landscape-amenities__modal-video video,
.uitkm-landscape-amenities__modal-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
}

/* Responsive - Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .uitkm-landscape-amenities__hero {
        height: 450px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .uitkm-landscape-amenities {
        padding: 32px 0;
    }
    
    .uitkm-landscape-amenities__title {
        font-size: 1.25rem;
        line-height: 1.75rem;
        letter-spacing: -0.45px;
        margin-bottom: 20px;
    }
    
    .uitkm-landscape-amenities__hero {
        height: 200px;
        border-radius: 8px;
        margin-bottom: 16px;
    }
    
    .uitkm-landscape-amenities__play-btn {
        width: 56px;
        height: 56px;
    }
    
    .uitkm-landscape-amenities__play-btn i {
        font-size: 20px;
    }
    
    .uitkm-landscape-amenities__thumbs-wrapper {
        margin-bottom: 24px;
    }
    
    .uitkm-landscape-amenities__thumbs-wrapper::after {
        width: 40px;
    }
    
    .uitkm-landscape-amenities__thumbs {
        padding-bottom: 0;
    }
    
    .uitkm-landscape-amenities__thumbs .swiper-slide {
        width: calc(50% - 6px) !important;
        flex-shrink: 0;
    }
    
    .uitkm-landscape-amenities__thumb {
        height: 120px;
    }
    
    .uitkm-landscape-amenities__thumb-label {
        font-size: 14px;
        line-height: 1.2;
        padding: 12px 10px;
        font-weight: 600;
    }
    
    .uitkm-landscape-amenities__nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .uitkm-landscape-amenities__nav-btn i {
        font-size: 0.875rem;
    }
    
    .uitkm-landscape-amenities__nav-btn--prev {
        left: 0;
    }
    
    .uitkm-landscape-amenities__nav-btn--next {
        right: 0;
    }
    
    .uitkm-landscape-amenities__text {
        margin-top: 24px;
    }
    
    .uitkm-landscape-amenities__heading {
        font-size: 20px;
        line-height: 1.625rem;
        letter-spacing: -0.51px;
        margin-bottom: 12px;
    }
    
    .uitkm-landscape-amenities__description {
        font-size: 0.9375rem;
    }
    
    .uitkm-landscape-amenities__description p {
        font-size: 14px;
        line-height: 1.5;
    }
}
