/* Index Fasilitas Section Styling */
.fasilitas-section {
    background-image: url('../Assets/fasilitas/Background Fasilitas.webp');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.fasilitas-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}

/* Bagian Kiri - List Fasilitas */
.fasilitas-list {
    flex: 1;
    padding-right: 40px;
    background: none;
}

.fasilitas-list h2 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.fasilitas-underline {
    background: white;
    width: 100px;
    height: 3px;
    margin-bottom: 30px;
}

.fasilitas-list ul {
    list-style: none;
    padding: 0;
}

.fasilitas-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.fasilitas-list i {
    color: #4CAF50;
    margin-right: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.fasilitas-list a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    transition: color 0.3s ease;
}

.fasilitas-list a:hover {
    color: #4CAF50;
}

/* Bagian Kanan - Laptop dengan Slideshow */
.fasilitas-laptop {
    flex: 1;
    position: relative;
}

.laptop {
    position: relative;
    width: 80%;
    max-width: 600px;
    margin: 50px auto;
    transform: perspective(1000px) rotateX(5deg);
}

.laptop-screen {
    position: relative;
    background: #000000;
    border: 8px solid #1a1a1a;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16/10;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px #000000,
        0 8px 25px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.05);
    z-index: 1;
}

.laptop-screen:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: #666;
    border-radius: 50%;
    margin-top: 2px;
}

.laptop-base {
    position: relative;
    width: 115%;
    height: 18px;
    left: -7.5%;
    background: linear-gradient(to bottom, 
        #2a2a2a 0%, 
        #1a1a1a 50%, 
        #151515 51%, 
        #000000 100%);
    border-radius: 0 0 15px 15px;
    box-shadow: 
        0 1px 0 rgba(255,255,255,0.05) inset,
        0 3px 8px rgba(0,0,0,0.3);
    z-index: 2;
    position: relative;
    margin-top: -2px;
}

.laptop-base:before {
    content: '';
    position: absolute;
    width: 35%;
    height: 3px;
    background: linear-gradient(to bottom, #1a1a1a, #000000);
    left: 32.5%;
    top: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 
        0 1px 0 rgba(255,255,255,0.03) inset,
        0 1px 2px rgba(0,0,0,0.3);
}

.laptop-base:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(255,255,255,0.03) 20%, 
        rgba(255,255,255,0.03) 80%, 
        transparent 100%);
    top: 0;
    left: 0;
}

#fasilitas-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.facility-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.facility-slide.active {
    opacity: 1;
}

.facility-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fasilitas-section {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .fasilitas-container {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }
    
    .fasilitas-list {
        padding-right: 0;
        margin-bottom: 0;
        width: 100%;
        order: 2;
    }
    
    .fasilitas-list h2 {
        font-size: 2em;
        text-align: center;
    }
    
    .fasilitas-list li {
        font-size: 14px;
    }
    
    .fasilitas-laptop {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .laptop {
        width: 90%;
        max-width: 400px;
        margin: 0;
        transform: none;
    }
    
    .laptop-screen {
        border-width: 4px;
        aspect-ratio: 16/10;
    }
    
    .laptop-base {
        height: 12px;
    }
}

@media (max-width: 480px) {
    .fasilitas-section {
        padding: 15px 0;
    }
    
    .fasilitas-container {
        padding: 15px;
        gap: 20px;
    }
    
    .fasilitas-list h2 {
        font-size: 1.8em;
    }
    
    .fasilitas-list li {
        font-size: 13px;
    }
    
    .laptop {
        width: 95%;
        max-width: 350px;
    }
    
    .laptop-screen {
        border-width: 3px;
    }
    
    .laptop-base {
        height: 10px;
    }
}

@media (max-width: 360px) {
    .laptop {
        width: 100%;
        max-width: 300px;
    }
    
    .laptop-screen {
        border-width: 2px;
    }
    
    .laptop-base {
        height: 8px;
    }
}
