/*======================================
PERKUMPULAN SYARIAT HATI
style.css
Bagian 2A
======================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

body{
    background:#081321;
    color:#fff;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:#fff;
}

ul{
    list-style:none;
}

section{
    padding:100px 8%;
}

.title{
    text-align:center;
    margin-bottom:60px;
}

.title h2{
    font-size:42px;
    color:#ffd700;
    margin-bottom:15px;
}

.title p{
    color:#d8d8d8;
    max-width:850px;
    margin:auto;
    line-height:30px;
}

/*========================
LOADER
========================*/

#loader{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:#081321;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.loader-content{
    text-align:center;
}

.loader-logo{
    width:130px;
    margin:auto;
    animation:putar 3s linear infinite;
}

.loader-content h1{
    margin-top:20px;
    font-size:40px;
    letter-spacing:3px;
}

.loader-content h2{
    color:#ffd700;
    margin:10px 0;
}

.loader-content p{
    color:#bbb;
}

.loading-bar{
    width:300px;
    height:10px;
    background:#1b304a;
    margin-top:30px;
    border-radius:30px;
    overflow:hidden;
}

.loading-bar span{
    display:block;
    height:100%;
    width:0%;
    background:#ffd700;
    animation:loading 4s linear forwards;
}

@keyframes loading{
    0%{
        width:0%;
    }
    100%{
        width:100%;
    }
}

@keyframes putar{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

/*========================
NAVBAR
========================*/

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(15px);
}

nav{
    width:90%;
    margin:auto;
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    width:55px;
}

.logo span{
    font-size:22px;
    font-weight:700;
    color:#ffd700;
}

nav ul{
    display:flex;
    gap:30px;
}

nav ul li a{
    transition:.4s;
    font-weight:500;
}

nav ul li a:hover{
    color:#ffd700;
}

.menu{
    display:none;
    font-size:30px;
    cursor:pointer;
}

/*========================
HERO
========================*/

#home{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
    background:url("img/foto1.jpg") center/cover;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
}

.hero-content h3{
    color:#ffd700;
    letter-spacing:4px;
    margin-bottom:20px;
}

.hero-content h1{
    font-size:70px;
    margin-bottom:25px;
}

.hero-content p{
    font-size:18px;
    line-height:32px;
    color:#ddd;
}

.hero-button{
    margin-top:40px;
}

.btn1,
.btn2{
    display:inline-block;
    padding:15px 35px;
    border-radius:50px;
    transition:.4s;
    margin:10px;
}

.btn1{
    background:#ffd700;
    color:#000;
}

.btn2{
    border:2px solid #ffd700;
}

.btn1:hover{
    transform:translateY(-5px);
}

.btn2:hover{
    background:#ffd700;
    color:#000;
}

.scroll{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    font-size:35px;
    animation:naikTurun 1.5s infinite;
}

@keyframes naikTurun{
    0%{
        transform:translate(-50%,0);
    }
    50%{
        transform:translate(-50%,10px);
    }
    100%{
        transform:translate(-50%,0);
    }
}

/*======================================
TENTANG KAMI
======================================*/

#tentang{
    background:#0d1b2a;
}

.about-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:25px;
    border:4px solid #ffd700;
    box-shadow:0 15px 40px rgba(0,0,0,.5);
    transition:.5s;
}

.about-image img:hover{
    transform:scale(1.05);
}

.about-text h3{
    color:#ffd700;
    font-size:30px;
    margin:20px 0;
}

.about-text p{
    color:#ddd;
    line-height:30px;
    margin-bottom:20px;
}

.about-text ul li{
    color:#ddd;
    margin-bottom:15px;
    padding-left:25px;
    position:relative;
}

.about-text ul li::before{
    content:"✔";
    position:absolute;
    left:0;
    color:#ffd700;
}

/*======================================
PERJALANAN
======================================*/

#perjalanan{
    background:#081321;
}

.timeline{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:35px;
}

.card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,215,0,.3);
    border-radius:20px;
    padding:35px;
    backdrop-filter:blur(10px);
    transition:.4s;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.card:hover{
    transform:translateY(-10px);
    border-color:#ffd700;
}

.card span{
    display:inline-flex;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#ffd700;
    color:#000;
    justify-content:center;
    align-items:center;
    font-size:22px;
    font-weight:bold;
    margin-bottom:20px;
}

.card h3{
    font-size:26px;
    color:#ffd700;
    margin-bottom:15px;
}

.card p{
    color:#ddd;
    line-height:28px;
}

/*======================================
EFEK ANIMASI
======================================*/

.card,
.about-image,
.about-text{
    animation:fadeUp 1s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(60px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*======================================
RESPONSIVE
======================================*/

@media(max-width:900px){

.about-container{
    grid-template-columns:1fr;
}

.about-text{
    text-align:center;
}

.about-text ul{
    text-align:left;
}

}

/*======================================
GALERI
======================================*/

#galeri{
    background:#10233b;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.item{
    background:rgba(255,255,255,.06);
    border-radius:20px;
    overflow:hidden;
    border:2px solid rgba(255,215,0,.25);
    transition:.4s;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.item:hover{
    transform:translateY(-10px);
    border-color:#ffd700;
    box-shadow:0 20px 40px rgba(0,0,0,.45);
}

.item img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.5s;
}

.item:hover img{
    transform:scale(1.08);
}

.item h3{
    text-align:center;
    padding:18px;
    color:#ffd700;
    font-size:20px;
}

.logo-item img{
    height:320px;
    object-fit:contain;
    background:#fff;
    padding:20px;
}

/*======================================
VIDEO KENANGAN
======================================*/

#video{
    background:#081321;
}

.video-box{
    max-width:900px;
    margin:auto;
    border-radius:25px;
    overflow:hidden;
    border:3px solid #ffd700;
    box-shadow:0 20px 45px rgba(0,0,0,.45);
}

.video-box video{
    width:100%;
    display:block;
}

/*======================================
EFEK HOVER
======================================*/

.gallery .item,
.video-box{
    transition:.4s ease;
}

.video-box:hover{
    transform:scale(1.02);
}

/*======================================
ANIMASI MUNCUL
======================================*/

.item{
    animation:zoomIn .8s ease;
}

@keyframes zoomIn{

    from{
        opacity:0;
        transform:scale(.8);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

/*======================================
RESPONSIVE
======================================*/

@media(max-width:768px){

.gallery{
    grid-template-columns:1fr;
}

.item img{
    height:220px;
}

.logo-item img{
    height:250px;
}

.video-box{
    border-width:2px;
}

}

/*======================================
PESAN & KESAN
======================================*/

#pesan{
    background:#0d1b2a;
}

.pesan-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.pesan-card{
    background:rgba(255,255,255,.06);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,215,0,.30);
    border-radius:20px;
    padding:35px;
    text-align:center;
    transition:.4s;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.pesan-card:hover{
    transform:translateY(-10px);
    border-color:#ffd700;
}

.pesan-card i{
    font-size:50px;
    color:#ffd700;
    margin-bottom:20px;
}

.pesan-card p{
    color:#ddd;
    line-height:30px;
}

/*======================================
KONTAK
======================================*/

#kontak{
    background:#081321;
}

.contact-box{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
}

.contact-box a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:18px 35px;
    border-radius:50px;
    background:rgba(255,255,255,.08);
    border:2px solid rgba(255,215,0,.30);
    transition:.4s;
    font-size:18px;
    font-weight:600;
}

.contact-box a:hover{
    background:#ffd700;
    color:#000;
    transform:translateY(-8px);
}

.contact-box a i{
    font-size:28px;
}

/*======================================
FOOTER
======================================*/

footer{
    background:#050b14;
    padding:60px 20px;
    text-align:center;
    border-top:2px solid rgba(255,215,0,.30);
}

footer img{
    width:90px;
    margin:auto;
    margin-bottom:20px;
}

footer h2{
    color:#ffd700;
    margin-bottom:15px;
}

footer p{
    color:#bbb;
}

/* LIGHTBOX */

#lightbox{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.9);
justify-content:center;
align-items:center;
z-index:99999;
}

#lightbox img{
max-width:90%;
max-height:90%;
border-radius:15px;
border:4px solid #ffd700;
}

#closeLightbox{
position:absolute;
top:25px;
right:40px;
font-size:45px;
color:#fff;
cursor:pointer;
}

.video-box iframe{
    width:100%;
    height:500px;
    border:none;
    border-radius:20px;
}

@media(max-width:768px){

.video-box iframe{
    height:250px;
}

}
 

/*======================================
AKHIR STYLE.CSS
======================================*/


/* RESPONSIVE HP */

@media (max-width:768px){

    nav ul{
        display:none;
    }

    nav ul.active{
        display:flex;
        flex-direction:column;
        background:#081321;
        position:absolute;
        width:100%;
        top:80px;
        left:0;
        padding:20px;
    }

    .menu{
        display:block;
    }

    .hero-content h1{
        font-size:34px;
    }

    .hero-content p{
        font-size:15px;
    }

    .gallery{
        grid-template-columns:repeat(2,1fr);
    }

    .item img{
        height:180px;
    }

    .video-box iframe{
        height:220px;
    }

}   