* {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

@font-face {
    font-family: azonix;
    src: url(assets/fonts/Azonix.otf); /* Pastikan path font-mu bener ya */
}

@font-face {
    font-family: metro;
    src: url(assets/fonts/Metro.otf);
}

body {
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    background-color: #0c0d10;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* NAV */
.nav {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 20px;
    left: 50%;
    width: 95%;
    padding: 1rem 2rem;
    background: rgba(12, 13, 16, 0.7);
    transform: translateX(-50%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
}

.logo-text {
    font-family: metro, sans-serif;
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #a0a0b0;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #6366f1;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* MENU & SIDEBAR */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
}

.menu-toggle:hover {
    color: #6366f1;
}

.sidebar {
    position: fixed;
    top: 85px;
    right: -250px;
    width: 220px;
    height: auto;
    background: rgba(12, 13, 16, 0.95);
    backdrop-filter: blur(15px);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    padding: 1.5rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-right: none;
    box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.5);
}

.sidebar.active {
    right: 0;
}

.close-btn {
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    text-align: right;
    margin-bottom: 1rem;
    transition: 0.3s;
}

.close-btn:hover {
    color: #ff5c5c;
    transform: scale(1.1);
}

.sidebar-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-links a {
    color: #a0a0b0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: 0.3s;
}

.sidebar-links a:hover {
    color: #6366f1;
    padding-left: 10px;
}

/* MAIN CONTENT */
#home {
    min-height: 100vh;
    display: flex;                     
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

#home h1 {
    margin: 0 0 1rem 0;
    font-family: azonix, sans-serif;
    font-size: clamp(4rem, 10vw, 10rem);
    text-shadow: 0 0 100px rgba(99, 102, 241, 0.3);
}

/* PROJECT SECTION */
#project {
    padding: 5rem 2rem;
    text-align: center;
}

.project-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.project-header h2 {
    margin: 0;
    font-family: azonix;
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.subtitle {
    color: #a0a0b0;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.vortex-hidden {
    display: none;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem auto;
    justify-content: center;
}

.card {
    background: transparent;
    border: 1px solid white;
    padding: 20px;
    border-radius: 16px;
    transition: 0.3s ease;
    text-align: center;
}

.card:hover {
    border-color: #6366f1;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

/* SWIPER SLIDER */
.swiper-container {
    width: 100%;
    max-width: 1000px;
    padding: 1rem 0 3.5rem 0;
    margin: 0 auto;
    position: relative;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 800px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #6366f1;
    opacity: 1;
}

.swiper-pagination {
    bottom: 5px !important;
}

.project-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 16px;
    color: #a0a0b0;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: #6366f1;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

/* FOOTER */
.glass-footer {
    position: relative;
    text-align: center;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(12, 13, 16, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    letter-spacing: 5px;
    color: #707080;
}

.glass-footer p {
    margin: 5px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .swiper-slide img {
        width: 100%;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}