/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    overflow-x:hidden;
}

/* ===== NAVBAR ===== */
.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:10px 7%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(0,72,170,.75);
    backdrop-filter:blur(15px);
    border-bottom:1px solid rgba(255,255,255,.15);
    z-index:99999;
    height:70px;
}

.menu{
    display:flex;
    list-style:none;
    gap:35px;
}

.menu a{
    color:white;
    text-decoration:none;
    font-size:16px;
    font-weight:500;
    transition:.3s;
}

.menu a:hover{
    color:#9fd2ff;
}

.menu-toggle{
    display:none;
    color:white;
    font-size:30px;
    cursor:pointer;
    z-index:100001;
}

/* ===== OVERLAY ===== */
.menu-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(5px);
    opacity:0;
    visibility:hidden;
    transition:.4s;
    z-index:99998;
}

.menu-overlay.active{
    opacity:1;
    visibility:visible;
}

/* ===== HERO ===== */
.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.slider{
    position:absolute;
    width:100%;
    height:100%;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:1s ease;
    z-index:1;
}

.slide.active{
    opacity:1;
    z-index:2;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,50,130,.6);
    z-index:1;
}

.hero-content{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:20px;
}

.hero-content h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero-content p{
    max-width:700px;
    font-size:20px;
    line-height:1.7;
}

.hero-btn{
    margin-top:35px;
    display:flex;
    gap:20px;
}

.btn-wa,
.btn-call{
    padding:15px 30px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    font-size:17px;
    transition:.3s;
}

.btn-wa{
    background:#25D366;
    color:white;
}

.btn-call{
    background:white;
    color:#0056d6;
}

.btn-wa:hover,
.btn-call:hover{
    transform:translateY(-5px);
}

/* ===== MOBILE ===== */
@media(max-width:768px){
   .logo img{
    width:34px;
    height:34px;
}

    .menu-toggle{
        display:block;
    }

    .menu{
        position:fixed;
        top:0;
        right:-100%;
        width:280px;
        height:100vh;
        background:rgba(0,72,170,.95);
        backdrop-filter:blur(20px);
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:15px;
        transition:.45s ease;
        z-index:100000;
        border-radius:30px 0 0 30px;
        box-shadow:-10px 0 30px rgba(0,0,0,.25);
    }

    .menu.active{
        right:0;
    }

    .menu li{
        width:85%;
    }

    .menu li a{
        display:block;
        padding:15px;
        text-align:center;
        border-radius:12px;
        font-size:17px;
        font-weight:600;
        transition:.3s;
    }

    .menu li a:hover{
        background:rgba(255,255,255,.15);
        transform:translateX(-6px);
    }

    .hero-content h1{
        font-size:38px;
    }

    .hero-content p{
        font-size:16px;
    }

    .hero-btn{
        flex-direction:column;
        width:100%;
        max-width:280px;
    }
}
.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:38px;
    height:38px;
    object-fit:contain;
    background:white;
    padding:4px;
    border-radius:8px;
}

.logo-text{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.logo-title{
    color:white;
    font-size:18px;
    font-weight:700;
}

.logo-sub{
    color:#cfe6ff;
    font-size:11px;
}
/* ===== SERVICES ===== */
.services{
    padding:80px 7%;
    background:#f5f9ff;
    text-align:center;
}

.services h2{
    font-size:36px;
    margin-bottom:40px;
    color:#0a3d91;
}

.service-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.service-box{
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.service-box:hover{
    transform:translateY(-10px);
}

.service-box i{
    font-size:40px;
    color:#0056d6;
    margin-bottom:15px;
}

.service-box h3{
    margin-bottom:10px;
    color:#222;
}

/* ===== CTA ===== */
.cta{
    padding:80px 7%;
    text-align:center;
    background:linear-gradient(135deg,#0056d6,#00a2ff);
    color:white;
}

.cta h2{
    font-size:32px;
    margin-bottom:20px;
}

.cta .btn-wa{
    display:inline-block;
    margin-top:10px;
    background:#25D366;
    padding:15px 30px;
    border-radius:50px;
    font-weight:bold;
    text-decoration:none;
    color:white;
}
@media(max-width:768px){
    .services h2{
        font-size:28px;
    }

    .cta h2{
        font-size:24px;
    }
}
/* ===== FUNERAL SECTION ===== */
.funeral{
    padding:80px 7%;
    background:#ffffff;
    text-align:center;
}

.funeral h2{
    font-size:36px;
    color:#0a3d91;
    margin-bottom:10px;
}

.subtext{
    color:#666;
    margin-bottom:40px;
}

.funeral-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.funeral-card{
    background:#f5f9ff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.funeral-card:hover{
    transform:translateY(-10px);
}

.funeral-card h3{
    margin-bottom:15px;
    color:#0056d6;
}

.funeral-card ul{
    list-style:none;
    margin-bottom:20px;
}

.funeral-card ul li{
    padding:8px 0;
    border-bottom:1px solid rgba(0,0,0,.05);
    font-size:14px;
}

/* VIP highlight */
.funeral-card.vip{
    background:linear-gradient(135deg,#0056d6,#00a2ff);
    color:white;
}

.funeral-card.vip h3{
    color:white;
}

.funeral-card.vip ul li{
    border-bottom:1px solid rgba(255,255,255,.2);
}

/* PREMIUM highlight */
.funeral-card.premium{
    border:2px solid #0056d6;
    background:white;
}

/* BUTTON */
.btn-funeral{
    display:inline-block;
    padding:12px 25px;
    border-radius:50px;
    background:#25D366;
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-funeral:hover{
    transform:scale(1.05);
}
@media(max-width:768px){
    .funeral h2{
        font-size:28px;
    }
}
/* ===== GALLERY PREVIEW ===== */
.gallery-preview{
    padding:80px 7%;
    background:#f5f9ff;
    text-align:center;
}

.gallery-header h2{
    font-size:36px;
    color:#0a3d91;
    margin-bottom:10px;
}

.gallery-header p{
    color:#666;
    margin-bottom:40px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:15px;
}

.gallery-grid img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:15px;
    transition:.3s;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.gallery-grid img:hover{
    transform:scale(1.05);
}

/* BUTTON */
.gallery-btn{
    margin-top:30px;
}

.gallery-btn a{
    display:inline-block;
    padding:14px 30px;
    background:#0056d6;
    color:white;
    text-decoration:none;
    border-radius:50px;
    font-weight:bold;
    transition:.3s;
}

.gallery-btn a:hover{
    background:#003f9e;
    transform:translateY(-3px);
}
@media(max-width:768px){
    .gallery-header h2{
        font-size:28px;
    }

    .gallery-grid img{
        height:160px;
    }
}
@media(max-width:480px){

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
        gap:8px;
    }

    .gallery-grid img{
        height:100px;
    }
}
.back-btn{
    position:fixed;
    top:20px;
    left:20px;
    background:rgba(0,86,214,.9);
    color:white;
    padding:10px 18px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    font-size:14px;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
    transition:.3s;
    z-index:9999;
}

.back-btn:hover{
    background:#003f9e;
    transform:translateY(-3px);
}
@media(max-width:768px){
    .back-btn{
        top:15px;
        left:15px;
        font-size:13px;
        padding:8px 14px;
    }
}
.logo{
    display:flex;
    align-items:center;
    gap:10px;
    max-height:50px;
    overflow:hidden;
}
/* ===== LIGHTBOX ===== */
.gallery-grid img{
    cursor:pointer;
}

.lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.9);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:999999;
}

.lightbox.active{
    opacity:1;
    visibility:visible;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:15px;
    box-shadow:0 0 30px rgba(255,255,255,.2);
}

.close-btn{
    position:absolute;
    top:20px;
    right:30px;
    color:white;
    font-size:45px;
    cursor:pointer;
}
/* ===== TESTIMONI ===== */
.testimoni{
    padding:80px 7%;
    background:#fff;
    overflow:hidden;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:36px;
    color:#0a3d91;
    margin-bottom:10px;
}

.section-title p{
    color:#666;
}

.testimonial-slider{
    overflow:hidden;
}

.testimonial-slider{
    overflow:hidden;
    width:100%;
}

.testimonial-track{
    display:flex;
    width:max-content;
    gap:25px;
    animation:testimoniSlide 30s linear infinite;
}

.testimonial-track:hover{
    animation-play-state:paused;
}

@keyframes testimoniSlide{
    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }
}

.testimonial-card{
    min-width:320px;
    background:white;
    padding:30px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.testimonial-card img{
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
    border:4px solid #0056d6;
}

.testimonial-card h3{
    color:#0a3d91;
    margin-bottom:10px;
}

.stars{
    margin-bottom:15px;
    font-size:18px;
}

.testimonial-card p{
    color:#666;
    line-height:1.8;
}

@keyframes slideTestimoni{
    0%{
        transform:translateX(0);
    }
    100%{
        transform:translateX(-50%);
    }
}

.testimonial-track:hover{
    animation-play-state:paused;
}

@media(max-width:768px){

    .section-title h2{
        font-size:28px;
    }

    .testimonial-card{
        min-width:280px;
    }

}
.testimonial-card img{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:50%;
    border:4px solid #0056d6;
    margin-bottom:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}
/* ===== FOOTER ===== */
.footer{
    background:linear-gradient(135deg,#003a9c,#0066ff);
    color:white;
    padding-top:70px;
}

.footer-container{
    width:90%;
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;

    padding-bottom:50px;
}

.footer-box h3{
    margin-bottom:20px;
    font-size:22px;
}

.footer-box p{
    color:#d8e7ff;
    line-height:1.8;
    margin-bottom:12px;
}

.footer-box a{
    display:block;
    color:#d8e7ff;
    text-decoration:none;
    margin-bottom:12px;
    transition:.3s;
}

.footer-box a:hover{
    color:white;
    padding-left:8px;
}

.footer-bottom{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(255,255,255,.15);
    color:#d8e7ff;
}

@media(max-width:768px){

    .footer{
        text-align:center;
    }

    .footer-box h3{
        margin-bottom:15px;
    }

}
/* ===== FLOATING WHATSAPP ===== */
.floating-wa{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:99999;

    background:#25D366;
    color:white;
    text-decoration:none;

    height:60px;
    padding:0 22px;

    border-radius:50px;

    display:flex;
    align-items:center;
    gap:12px;

    box-shadow:
    0 8px 25px rgba(37,211,102,.4);

    animation:
    pulse 2s infinite,
    bounce 3s infinite;

    transition:.3s;
}

.floating-wa:hover{
    transform:scale(1.08);
}

.floating-wa i{
    font-size:32px;
}

.floating-wa span{
    font-size:16px;
    font-weight:600;
}

/* Efek denyut */
@keyframes pulse{
    0%{
        box-shadow:0 0 0 0 rgba(37,211,102,.7);
    }

    70%{
        box-shadow:0 0 0 18px rgba(37,211,102,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(37,211,102,0);
    }
}

/* Efek naik turun */
@keyframes bounce{
    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }
}

/* HP */
@media(max-width:768px){

    .floating-wa{
        width:60px;
        height:60px;
        padding:0;
        justify-content:center;
        border-radius:50%;
    }

    .floating-wa span{
        display:none;
    }

    .floating-wa i{
        font-size:30px;
    }

}
html{
    scroll-behavior:smooth;
}
/* ===== ARTIKEL ===== */
.artikel{
    padding:80px 7%;
    background:#fff;
}

.artikel .section-title{
    text-align:center;
    margin-bottom:50px;
}

.artikel .section-title h2{
    color:#0a3d91;
    font-size:36px;
    margin-bottom:10px;
}

.artikel .section-title p{
    color:#666;
    max-width:700px;
    margin:auto;
}

.artikel-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.artikel-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.artikel-card:hover{
    transform:translateY(-10px);
}

.artikel-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.4s;
}

.artikel-card:hover img{
    transform:scale(1.05);
}

.artikel-card h3{
    padding:20px 20px 10px;
    color:#0a3d91;
    font-size:22px;
}

.artikel-card p{
    padding:0 20px;
    color:#666;
    line-height:1.7;
}

.artikel-card a{
    display:inline-block;
    margin:20px;
    padding:12px 25px;
    background:#0056d6;
    color:white;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.artikel-card a:hover{
    background:#003f9e;
}

@media(max-width:768px){

    .artikel{
        padding:70px 5%;
    }

    .artikel .section-title h2{
        font-size:28px;
    }

    .artikel-container{
        grid-template-columns:1fr;
        gap:20px;
    }

    .artikel-card img{
        height:180px;
    }

    .artikel-card h3{
        font-size:20px;
    }

}
.reveal{
    opacity:0;
    transform:translateY(50px);
    transition:.8s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}
.artikel-card{
    transition:.3s;
}

.artikel-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}
.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:.7s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}
.floating-tiktok {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,.3);
    transition: all .3s ease;
    animation: tiktokPulse 1.8s infinite;
}

.floating-tiktok:hover {
    transform: scale(1.1);
    background: #111;
}

.floating-tiktok::before,
.floating-tiktok::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25F4EE;
    animation: ripple 2s linear infinite;
}

.floating-tiktok::after {
    animation-delay: 1s;
}

@keyframes tiktokPulse {
    0% {
        transform: scale(1);
        box-shadow:
            0 0 0 0 rgba(37,244,238,.6),
            0 0 0 0 rgba(254,44,85,.5);
    }

    70% {
        transform: scale(1.05);
        box-shadow:
            0 0 0 15px rgba(37,244,238,0),
            0 0 0 25px rgba(254,44,85,0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .floating-tiktok {
        width: 55px;
        height: 55px;
        right: 15px;
        bottom: 80px;
    }
}
/* WhatsApp */
.floating-wa {
    right: 20px;
    bottom: 20px;
}

/* TikTok */
.floating-tiktok {
    right: 20px;
    bottom: 95px; /* di atas WA */
}