@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

/* Light */
@media (prefers-color-scheme: light) {
    :root {
        --bg-color--: #e8e8e8;
        --bg-color-secondary--: white;
        --border-kartu: rgb(50, 50, 50);
        --shadow--: rgb(144, 144, 144);
        --text-color--: #c7a02d;
        --primary-color: black;
    }

    .faq-item {
        border: 1px solid black;
    }
}

/* Dark*/
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color--: rgb(24, 24, 24);
        --bg-color-secondary--: rgb(35, 35, 35);
        --border-kartu: rgb(50, 50, 50);
        --shadow--: rgb(14, 14, 14);
        --text-color--: #f1c24a;
        --primary-color: white;
    }
}


*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-family: 'Google Sans', sans-serif;
    margin: 0;
    padding: 40px;
    scroll-behavior: smooth;
    background-color: var(--bg-color--);
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body {
    margin: 0;
    min-height: 100vh;
}

p, h3 {
    text-align: center;
}

#about, #proker, #pengurus, #contacts, #alumni {
    scroll-margin-top: 35vh;
}

#home {
    scroll-margin-top: 65vh;
}

#join {
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 20vh;
}


.gold-text {
    font-weight: 900;
    background-image: linear-gradient(to bottom, #ffea75, #e8ce5b, #d1b341, #ba9825, #a37e00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    position: fixed;
    z-index: 9999;
    background-color: var(--bg-sec-color);
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav p {
    color: var(--text-color--);
    font-size: 20px;
    font-weight: 900;
    display: inline-block;
    margin-left: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color--);
    font-size: 24px;
    cursor: pointer;
}

.menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin-right: 5vh;
    text-align: center;
    color: black;
}

.menu li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu li a {
    text-decoration: none;
}

/* Logo dan Container */
.logo-container, .log-con {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 3vh 0 0;
    flex-shrink: 0;
    width: fit-content;
    gap: 10px;
}

.logo {
    display: inline-block;
    flex-shrink: 0;
    width: 90px;
    height: auto;
    padding: 3vh;
    margin-right: -5vh;
    object-fit: contain;
}

/* Tombol Nav */
.tombol-nav {
    font-size: 20px;
    color: var(--text-color--);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.tombol-nav:hover {
    color: var(--primary-color);
}

.tombol-nav.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

#join-btn-nav {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 1pc;
    padding: 15px 30px;
    background-color: var(--text-color--);
    transition: 0.3s ease;
}

#join-btn-nav:hover {
    background-color: white;
    color: var(--text-color--);
    box-shadow: 1px 1px 10px 1px var(--text-color--);
}

/* Departemen Menu */
.menu-dep {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 25px;
    margin-right: 5vh;
    text-align: center;
    justify-content: center;
    color: black;
}

.tombol-dep {
    font-size: 20px;
    color: var(--text-color--);
    text-decoration: none;
    transition: 0.3s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.tombol-dep.active {
    font-weight: bold;
    border-bottom: 2px solid var(--text-color--);
}

.desc-dep {
    font-size: 35px;
    font-weight: 900;
    color: var(--primary-color);
}

/* Home */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    margin-top: 350px;
    overflow: hidden;
    transition: 1s;
}

.bg, #bg-home {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 110%;
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(55%);
    padding: 0;
    border-bottom-left-radius: 50% 50px;
    border-bottom-right-radius: 50% 50px;
}

.isi-container {
    z-index: 1;
}

.hi {
    color: white;
    font-size: 7vh;
    font-weight: 900;
    font-family: serif;
}

.desc {
    font-size: 20px;
    color: var(--text-color--);
    margin: 0;
}

.desc span {
    padding: 0 2px;
    border-radius: 5px;
}

.name {
    transition: all 0.3s ease-out;
}

.content-wrapper:hover .name {
    color: var(--primary-color);
}

.judul-section {
    font-family: 'Poppins', sans-serif;
    font-size: 6vh;
    font-weight: 800;
    color: var(--text-color--);
    text-align: center;
    margin-top: 20vh;
    margin-bottom: 20px;
}

.description-section {
    font-size: 20px;
    color: var(--primary-color);
}

.link {
    margin: 2vh 0;
    color: var(--text-color--);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/* About */
.about-us {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 30px;
}

.about-us img, .deskripsi-singkat {
    flex: 1;
    flex-wrap: wrap;
}

.about-us img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    border-radius: 1pc;
}

.deskripsi-singkat h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 35px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-color--);
    text-align: left;
}

.deskripsi-singkat p {
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--primary-color);
    text-align: left;
}

/* Kartu */
.container-kartu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    width: 100%;
}

.kartu {
    display: flex;
    flex-direction: column;
    width: 300px;
    padding: 20px;
    text-align: center;
    border-radius: 1pc;
    background-color: rgba(60, 60, 60, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 1px 1px 20px 1px var(--shadow--);
    opacity: 0;
    transition: 0.3s ease;
}

.kartu img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 1pc;
}

.kartu:hover {
    transform: translateY(-10px);
}

.kartu.muncul {
    animation: fadeUp 0.4s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(70px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.jabatan {
    font-weight: 900;
}

.info-profil a {
    text-decoration: none;
    display: inline-block;
}

.info-profil h3 {
    margin: 0 0 5px;
    font-size: 1.2em;
    color: var(--primary-color);
}

.info-profil p {
    margin: 0;
    font-size: 0.95em;
    color: #999;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    min-width: 230px;
    min-height: 300px;
    height: auto;
    padding: 0;
    border-radius: 15px;
    background: var(--bg-color-secondary--);
    transition: 0.4s;
}

.card h2 {
    font-size: 16px;
    color: var(--text-color--);
    text-align: center;
    margin-bottom: 8px;
}

.judul-isi {
    font-size: 20px;
    color: var(--text-color--);
    text-align: center;
}

.gambar {
    width: 150px;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    -webkit-touch-callout: none;
    pointer-events: none;
    user-select: none;
}

/* Proker */
#gallery-container {
    column-count: 2;
    column-gap: 20px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.gallery-link {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    background: #1a1a1a;
    transition: transform 0.3s ease;
}

.gallery-link:hover {
    transform: translateY(-5px);
}

.gallery-link img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    -webkit-touch-callout: none;
    pointer-events: none;
    user-select: none;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.gallery-link:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.gallery-title, .gallery-desc {
    opacity: 0;
    transform: translateY(8px);
}

.gallery-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.gallery-link:hover .gallery-title, .gallery-link:hover .gallery-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Benefit */
.container-benefit {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 20px;
    padding: 0 30px;
}

.benefits {
    display: grid;
    grid-template-rows: auto 1fr;
    flex: 1;
    gap: 15px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-kartu);
    background-color: var(--bg-color-secondary--);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-logo {
    text-align: center;
    width: 50px;
    height: 50px;
    font-size: 30px;
    line-height: 1.7;
    color: var(--text-color--);
    border-radius: 20%;
    aspect-ratio: 1;
}

.benefit-judul {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color--);
    text-align: left;
}

.benefit-isi {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--primary-color);
}

.benefit-deskripsi {
    margin: 0;
    text-align: left;
}

/* Pendaftaran */
.join-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    max-width: 1100px;
    padding: 60px;
    align-items: stretch;
    justify-content: center;
    border-radius: 1pc;
    background-color: rgba(60, 60, 60, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 1px 1px 100px 1px var(--bg-color--);
}

.join-faq {
    border-right: 2px solid var(--text-color--);
}

.join-faq, .join-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 280px;
    justify-content: center;
}

.join-info {
    align-self: stretch;
    padding-left: 60px;
}

.join-faq {
    padding-right: 60px;
}

.join-judul {
    font-size: 50px;
    font-weight: 900;
    color: var(--text-color--);
}

.join-desc {
    font-size: 25px;
    line-height: 1.7;
    color: var(--primary-color);
}

.join-btn {
    align-self: center;
    text-align: center;
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 1pc;
    padding: 15px 30px;
    color: var(--primary-color);
    background-color: var(--text-color--);
    transition: 0.3s ease;
}

.join-btn:hover {
    transform: translateY(-3px);
    background-color: white;
    color: var(--text-color--);
    box-shadow: 1px 1px 10px 1px var(--text-color--);
}

/* FAQ */
.faq-item {
    padding: 20px;
    margin: 3px;
    border-radius: 1pc;
    background-color: var(--bg-color--);
}

.faq-pertanyaan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Google Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-color--);
    transition: transform 0.3s ease;
}

.faq-jawaban {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-jawaban p {
    margin: 0;
    padding-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: #999;
}

.faq-item.terbuka .faq-jawaban {
    max-height: 200px;
}

.faq-item.terbuka .faq-icon {
    transform: rotate(180deg);
}


/* Contact */
.kotak-contact {
    width: 100%;
    height: auto;
    min-height: auto;
    margin: 70px 0 -10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    scroll-margin-top: 5vh;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: unset;
    margin-bottom: 6vh;
    color: var(--text-color--);
}

.contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px;
    width: auto;
    height: auto;
    font-size: 20px;
    color: var(--text-color--);
    text-decoration: none;
    transition: all 0.4s ease;
    -webkit-tap-highlight-color: transparent;
}

.contact a:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
}

.logo-contact {
    font-size: 4vh;
}

/* Map */
.peta {
    position: relative;
    width: 90%;
    height: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    margin: 0 10vh;
    overflow: hidden;
}

.peta iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 2pc;
}

/* Footer */
.footer {
    font-size: 15px;
    text-align: center;
    margin: 10vh 0;
    color: var(--text-color--);
}

/* Responsif */
@media (max-width: 900px) {
    #gallery-container {
        column-count: 1;
    }
}

@media (max-width: 630px) {
    .about-us {
        margin-top: 50px;
        flex-direction: column;
    }

    .about-us img {
        max-width: 1000px;
        margin: 0 auto;
    }

    .bg {
        border-bottom-left-radius: 70% 20px;
        border-bottom-right-radius: 70% 20px;
    }

    .logo-contact {
        font-size: 4vh;
    }

    .contact {
        flex-direction: column;
    }

    .pengurus-con-utama {
        flex-direction: column;
    }

    #gallery-container {
        column-count: 1;
    }

    nav p {
        font-size: 15px;
    }

    .menu-toggle {
        display: block;
        -webkit-tap-highlight-color: transparent;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        width: 40%;
        gap: 15px;
        padding: 20px 0;
        margin-right: 2vh;
        border-radius: 1pc;
        background-color: var(--bg-color-secondary--);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        -webkit-tap-highlight-color: transparent;
    }

    .menu.show {
        display: flex;
    }

    .navbar {
        padding: 10px 20px;
        justify-content: space-between;
        transform: none;
    }

    .text-group {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
    }

    .judul-section {
        font-size: 4vh;
    }

    .hi {
        font-size: 30px;
    }

    .desc {
        font-size: 2vh;
    }

    .content-wrapper {
        flex-direction: row;
        justify-content: center;
        margin-top: 450px;
    }
}

.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9999;
    pointer-events: none;
}

.shape {
    position: absolute;
    background-color: var(--bg-color-secondary--);
    opacity: 0.5;
    animation: floatAndRotate 20s infinite linear;
}

.square {
    width: 180px;
    height: 180px;
}

.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.rectangle {
    width: 180px;
    height: 120px;
}

.triangle {
    width: 0;
    height: 0;
    background-color: transparent;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86.6px solid var(--bg-color-secondary--);
}

.shape-1 { 
    top: 10%; left: 15%; 
    animation-duration: 25s; 
    animation-delay: 0s;
}
.shape-2 { 
    top: 20%; left: 75%; 
    animation-duration: 18s; 
    animation-delay: -3s;
}
.shape-3 { 
    top: 45%; left: 40%; 
    animation-duration: 30s; 
    animation-delay: -5s;
}
.shape-4 { 
    top: 70%; left: 10%; 
    animation-duration: 22s; 
    animation-delay: -2s;
}
.shape-5 { 
    top: 65%; left: 80%; 
    animation-duration: 28s; 
    animation-delay: -7s;
}
.shape-6 { 
    top: 85%; left: 45%; 
    animation-duration: 20s; 
    animation-delay: -1s;
}
.shape-7 { 
    top: 5%; left: 50%; 
    animation-duration: 32s; 
    animation-delay: -4s;
}
.shape-8 { 
    top: 40%; left: 85%; 
    animation-duration: 24s; 
    animation-delay: -6s;
}

@keyframes floatAndRotate {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) translateX(10px) rotate(90deg);
    }
    50% {
        transform: translateY(0px) translateX(20px) rotate(180deg);
    }
    75% {
        transform: translateY(15px) translateX(10px) rotate(270deg);
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
    }
}

