@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    background-color: black;
}

/* prelloadernya fullscreen*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000; 
    z-index: 9999; 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* styling videonya */
#preloader-video {
    max-width: 300px; /* besar kecil animasinya */
    width: 80%; /* besar kecil bentukannya */
    height: auto;
    object-fit: contain;
}

/* class yang ditambah jscript utk nyembunyiin overlay preloadernya */
#preloader.hide-preloader {
    opacity: 0;
    visibility: hidden;
}

/* Saatnya style isinya, i guess... (gemme out of here) */

.contact-content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 4rem;
    padding: 10rem 9% 5rem;
    background-color: #000;
    min-height: 100vh;
    flex-wrap: wrap;
}

.contact-card {
    background-color: #111;
    border: 3px solid rgba(100, 100, 116, 0.675);
    border-radius: 3rem;
    padding: 4rem 3rem;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0 25px rgba(100, 100, 116, 0.3);
    transition: 0.4s ease-in-out;
    align-items: center;
}

.contact-card:hover {
    transform: scale(1.03);
    border-color: rgb(136, 136, 238);
    box-shadow: 0 0 35px rgba(136, 136, 238, 0.6);
}

.contact-card .header {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
}

.contact-card .header span {
    color: rgb(136, 136, 238);
}

.contact-card i {
    font-size: 7rem;
    color: rgb(136, 136, 238);
    margin: 1.5rem 0;
    transition: 0.3s ease;
    background-color: transparent;
}

.contact-card:hover i {
    transform: scale(1.1);
}

.contact-card .sub-header {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.contact-card a {
    font-size: 1.6rem;
    color: rgb(136, 136, 238);
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    transition: 0.3s ease;
}

.contact-card a:hover {
    text-decoration: underline;
    color: #fff;
}

.contact-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 1.5rem;
    border: 2px solid rgb(136, 136, 238);
    margin-top: 1rem;
    box-shadow: 0 0 15px rgba(136, 136, 238, 0.4);
    justify-content: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        padding: 8rem 5% 4rem;
        gap: 3rem;
    }

    .contact-card {
        width: 100%;
        max-width: 100%;
        padding: 3rem 2rem;
    }

    .contact-card .header {
        font-size: 2.2rem;
    }

    .contact-card i {
        font-size: 5.5rem;
    }
}

/* Fullscreen Lightbox Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.9); 
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 85%;
    max-height: 85vh;
    border-radius: 2rem;
    border: 3px solid rgb(136, 136, 238);
    box-shadow: 0 0 30px rgba(136, 136, 238, 0.6);
    object-fit: contain;
}

/* modalnya di close */
.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 5rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.close-modal:hover {
    color: rgb(136, 136, 238);
}

/* ngasih tau kalo imagenya itu bisa di klik lho gt */
#qr-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

#qr-img:hover {
    transform: scale(1.05);
}

/* tombol back */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: absolute;
    top: 3rem;
    left: 4%;
    background-color: #111;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: 2px solid rgba(100, 100, 116, 0.675);
    border-radius: 1rem; /* Sleek rounded corners instead of giant pill */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 10;
}

.btn:hover {
    transform: translateY(-2px);
    background-color: rgb(136, 136, 238);
    color: #000;
    border-color: rgb(136, 136, 238);
    box-shadow: 0 0 20px rgba(136, 136, 238, 0.6);
}

/* ngilangin background color nya */
.btn i {
    background-color: transparent;
}

.contact-card h1,
.contact-card h2,
.contact-card a,
.contact-card span {
    background: transparent !important;
}

/* Footer Container */
.app-footer {
    background-color: #000;
    color: #fff;
    padding: 5rem 9% 3rem;
    width: 100%;
    border-top: 1px solid rgba(100, 100, 116, 0.3);
}

/* Center Content Wrapper */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer Slogan & Headings */
.footer-slogan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-slogan h1{
    color: #fff;
    font-size: large;
}

.footer-slogan .heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgb(136, 136, 238);
}

/* Social Icons Layout */
.app-footer .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.app-footer .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: transparent;
    border: 0.2rem solid rgb(100, 100, 116);
    color: #fff;
    font-size: 2.2rem;
    transition: 0.3s ease;
    text-decoration: none;
}

.app-footer .social-icons i {
    background-color: transparent;
}

.app-footer .social-icons a:hover {
    color: #000;
    transform: scale(1.15) translateY(-4px);
    background-color: rgb(136, 136, 238);
    border-color: rgb(136, 136, 238);
    box-shadow: 0 0 15px rgba(136, 136, 238, 0.6);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .app-footer {
        padding: 4rem 5% 2.5rem;
    }

    .footer-slogan h1 {
        font-size: 2.2rem;
    }

    .footer-slogan .heading {
        font-size: 1.5rem;
    }

    .app-footer .social-icons a {
        width: 4rem;
        height: 4rem;
        font-size: 1.8rem;
    }

    .app-footer .social-icons i {
        background-color: transparent;
    }
}
