/* 1. ANIMASI BINGKAI GRADIENT EYE-CATCHING */
.modern-hero-wrapper { max-width: 1200px; margin: 40px auto; padding: 5px; border-radius: 20px; background: linear-gradient(270deg, #ff9800, #ff5722, #e91e63, #ff9800); background-size: 800% 800%; animation: gradientBorder 8s ease infinite; box-shadow: 0 15px 40px rgba(255, 87, 34, 0.3); }
@keyframes gradientBorder { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
/* 2. KONTENER UTAMA CAROUSEL */
.galuh-carousel { position: relative; height: 550px; background: #1a1a1a; border-radius: 15px; overflow: hidden; font-family: 'Segoe UI', Arial, sans-serif; }
.galuh-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; z-index: 1; transition: opacity 1.5s ease-in-out; pointer-events: none; }
.galuh-slide.active { opacity: 1 !important; z-index: 3; pointer-events: auto; }
.galuh-slide.hold { opacity: 1; z-index: 2; }
.galuh-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 7s ease; }
.galuh-slide.active img { transform: scale(1); }
/* OVERLAY */
.galuh-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%); }
/* 3. EFEK GLASSMORPHISM */
.galuh-content { position: absolute; top: 50%; left: 6%; transform: translateY(-50%); color: #fff; max-width: 550px; z-index: 10; opacity: 0; transition: all 1s ease 0.3s; margin-left: -50px; }
.galuh-slide.active .galuh-content { opacity: 1; margin-left: 0; }
.glass-box { background: rgba(20, 20, 20, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 40px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); }
.galuh-content h2 { font-size: 2.8rem; font-weight: 800; margin: 0 0 15px 0; line-height: 1.2; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); background: linear-gradient(45deg, #fff, #ffe0b2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.galuh-content p { font-size: 1.15rem; margin-bottom: 30px; line-height: 1.6; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); color: #f1f1f1; }
/* TOMBOL CTA */
.galuh-btn { display: inline-block; padding: 15px 40px; background: linear-gradient(45deg, #ff9800, #ff5722); color: white; text-decoration: none; border-radius: 50px; font-weight: 700; letter-spacing: 1px; transition: 0.4s; text-transform: uppercase; box-shadow: 0 5px 20px rgba(255, 152, 0, 0.5); }
.galuh-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 25px rgba(255, 87, 34, 0.6); }
/* NAVIGASI PANAH */
.nav-prev, .nav-next { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); color: white; width: 55px; height: 55px; border-radius: 50%; z-index: 20; display: flex; align-items: center; justify-content: center; transition: 0.3s; font-size: 20px; }
.nav-prev { left: 20px; } .nav-next { right: 20px; } .nav-prev:hover, .nav-next:hover { background: #ff9800; border-color: #ff9800; transform: translateY(-50%) scale(1.1); }
/* NAVIGASI TITIK */
.galuh-dots { position: absolute; bottom: 25px; width: 100%; text-align: center; z-index: 20; }
.dot { cursor: pointer; height: 6px; width: 30px; margin: 0 4px; background-color: rgba(255,255,255,0.3); border-radius: 10px; display: inline-block; transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.dot.active { background-color: #ff9800; width: 50px; box-shadow: 0 0 10px #ff9800; }

/* RESPONSIVE HP */
@media (max-width: 768px) { 
    .modern-hero-wrapper { 
        margin: 15px; 
        padding: 4px; /* Menjaga bingkai gradient tetap rapi */
        border-radius: 15px; 
    } 
    .galuh-carousel { 
        /* Trik mengunci kotak agar tidak kempes meski gambarnya melayang */
        height: 0 !important; 
        padding-bottom: 47%; /* Ini rasio 16:9 (Layar Lebar). Baca catatan di bawah jika gambar kurang pas */
        min-height: 0 !important; 
        border-radius: 10px; 
        background: #1a1a1a;
    } 
    .galuh-slide img {
        object-fit: cover; /* Gunakan cover agar penuh. Karena rasio kotak sudah dikunci, gambar tidak akan banyak terpotong */
        object-position: center; 
        transform: scale(1) !important; /* Matikan zoom */
        transition: none; 
    }
    .galuh-slide.active img {
        transform: scale(1) !important; 
    }
    
    /* Menyembunyikan elemen teks/panah di HP */
    .galuh-content, 
    .glass-box,
    .nav-prev, 
    .nav-next { 
        display: none !important; 
    } 
}