@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@300;400;500&display=swap');

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: url('source/background_compressed.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 50px;
    transition: transform 0.3s ease-in-out;
    background: linear-gradient(135deg, rgba(167, 167, 167, 0.171)gba(0, 0, 0, 0.048));
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.082);
}

/* Navbar hidden state - hide when scrolling down */
.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.logo {
    position: absolute;
    left: 50px;
    display: flex;
    align-items: center;
}

.menu-container {
    display: flex;
    justify-content: center;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar li {
    margin: 0 25px;
    position: relative;
}

/* Sembunyikan checkbox */
.menu-toggle {
    display: none;
}

/* Style icon hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
}

.hamburger span {
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Default menu disembunyikan */
.hamburger-menu {
    display: none;
    list-style: none;
    padding: 5px 0;
    margin: 10px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.089), rgba(0, 0, 0, 0.027));
    backdrop-filter: blur(20px);
    position: absolute;
    width: 200px;
    top: 100%;
    right: 0;
    z-index: 1;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.151);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 136, 0.15);
    animation: dropdownFadeIn 0.3s ease;
    overflow: hidden;
}

/* Tampilkan menu saat checkbox dicentang */
.menu-toggle:checked ~ .hamburger-menu {
    display: block;
}

/* Optional: animasi hamburger jadi X */
.menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger-item {
    display: none;
    position: relative;
}

.hamburger-menu li {
    margin: 0;
    list-style: none;
}

.hamburger-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding: 15px 20px;
    display: block;
    position: relative;
    transition: all 0.2s ease;
}

.hamburger-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, #00ff88, #00aaff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.hamburger-menu a::before {
    position: absolute;
    left: 8px;
    color: #00ff88;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 12px;
}

.hamburger-menu a:hover {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.15), rgba(0, 170, 255, 0.15));
    color: #00ff88;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    text-align: center;
}

.hamburger-menu a:hover::after {
    width: 100%;
}

.hamburger-menu a:hover::before {
    opacity: 1;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding: 10px 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, #00ff88, #00aaff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar a:hover {
    color: #00ff88;
}

.navbar a:hover::after {
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    object-fit: contain;
}

.logo h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.075);
    backdrop-filter: blur(15px);
    min-width: 200px;
    z-index: 1;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.151);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 136, 0.15);
    animation: dropdownFadeIn 0.3s ease;
    overflow: hidden;
    padding: 5px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #ffffff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    position: relative;
    font-size: 16px;
}

.dropdown-content a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ff88, #00aaff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.dropdown-content a:hover::after {
    width: 50%;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.15), rgba(0, 170, 255, 0.15));
    color: #00ff88;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    margin: 5px 10px;
}

.dropdown-content a::before {
    position: absolute;
    left: 8px;
    color: #00ff88;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 12px;
}

.dropdown-content a:hover::before {
    opacity: 1;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================= HERO SECTION ================= */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    animation: fadeUp 1s ease forwards;
}

/* ================= HERO TITLE ================= */

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.4s ease;
    display: inline-block;
}

.hero-title:hover {
    background: linear-gradient(90deg, #00ff88, #00aaff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 10px rgba(0, 255, 136, 0.205);
    transform: scale(1.05);
}

/* ================= HERO MOTO ================= */

.hero-moto {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #dddddd;
    transition: all 0.3s ease;
}

.hero-moto:hover {
    color: #00ff88;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 60px;
    margin: 0;
    font-weight: 700;
    animation: slideInLeft 1s ease-out;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 24px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.5s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ================= MOTO FLOW LINE ================= */

.moto-line {
    width: 220px;
    height: 3px;
    margin: 18px auto;
    border-radius: 5px;
    background: linear-gradient(
        90deg,
        #00ff88,
        #00aaff,
        #00ff88
    );
    background-size: 200% 100%;
    animation: flowLine 3s linear infinite;
}

@keyframes flowLine {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}
/* ================= REGISTER BUTTON ================= */

.btn-register {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: #ffffff;
    border: 1px linear-gradient(90deg, rgba(0, 255, 136, 0.39), rgba(0, 170, 255, 0.37));
    backdrop-filter: blur(20px);
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.39), rgba(0, 170, 255, 0.37));
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover sama seperti navbar */
.btn-register:hover {
    background: linear-gradient(90deg, rgba(0,255,136,0.2), rgba(0,170,255,0.2));
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.6);
    box-shadow: 0 8px 25px rgba(0,255,136,0.3);
    transform: translateY(-5px) scale(1.05);
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}

.content {
    padding: 80px 50px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    margin: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease-out;
}
.content-about{
    padding: 80px 50px;
    text-align: center;
    background: none;
    margin: 20px;
}

.content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00ff88;
}

.content p {
    font-size: 18px;
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar li {
        margin: 0 15px;
    }
    .navbar ul {

    display: none;

    }
    .navbar a {
        font-size: 16px;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 20px;
    }
    .content {
        padding: 50px 20px;
    }
    .nav-menu {
        display: none !important;
    }
    .hamburger-item {
        display: block !important;
        position: relative;
        top: 10px;
        right: 10px;
        left: 450px;
    }
    .hamburger {
        display: flex !important;
    }
    .logo {
        display: flex !important;
        position: static;
    }
    .navbar {
        justify-content: flex-start;
        padding: 15px 20px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

/* About Section Styles */
.section-title {
    margin-bottom: 40px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}
/* Hover sama tone dengan navbar */
.section-title:hover {
    color: #00ff88;
    transform: scale(1.05);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00ff88, #00aaff);
    transition: width 0.3s ease;
    border-radius: 5px;
}

.section-title:hover::after {
    width: 80%;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-profile {
    flex: 1;
    text-align: center;
    padding: 30px;



}

.about-profile h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-profile p {
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 136, 0.3);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.stat-label {
    font-size: 14px;
    color: #ffffff;
    opacity: 0.8;
    margin-top: 5px;
}

.about-photo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-frame {
    position: relative;
    width: 300px;
    height: auto;
    border-radius: 20px;
    overflow: visible;
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: none;
    background-size: 400% 400%;
    border-radius: 25px;
    z-index: -1;
}

.photo-frame img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    border-radius: 20px;
    border: none;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.photo-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    border-radius: 20px;
    pointer-events: none;
}

.photo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.041) 0%, transparent 70%);
    border-radius: 20px;
    pointer-events: none;
    animation: pulse 2s ease-in-out infinite;
}

.photo-caption {
    margin-top: 20px;
    text-align: center;
}

.photo-caption h4 {
    font-size: 22px;
    color: #00ff88;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.photo-caption p {
    font-size: 14px;
    color: #ffffff;
    opacity: 0.8;
    margin: 5px 0 0 0;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Responsive for About Section */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-profile, .about-photo {
        width: 100%;
    }
    
    .photo-frame {
        width: 250px;
        height: 320px;
    }
    
    .profile-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

/* Gallery Grid Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item .gallery-caption {
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.gallery-item .gallery-caption h3 {
    font-size: 16px;
    margin: 0;
    color: #00ff88;
    font-weight: 500;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        padding: 10px;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .gallery-item .gallery-caption h3 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .gallery-item img {
        height: 120px;
    }
}

/* ================= PREMIUM CAROUSEL ================= */

.carousel {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 50px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    transition: all 0.8s cubic-bezier(.77,0,.18,1);
    opacity: 0;
    text-align: center;
}

.carousel-slide img {
    width: 420px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.carousel-slide p {
    margin-top: 12px;
    font-weight: 600;
}

/* POSISI AKTIF (TENGAH) */
.carousel-slide.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 3;
}

/* KIRI */
.carousel-slide.prev {
    transform: translate(-130%, -50%) scale(0.75);
    opacity: 0.5;
    z-index: 2;
}

/* KANAN */
.carousel-slide.next {
    transform: translate(30%, -50%) scale(0.75);
    opacity: 0.5;
    z-index: 2;
}

/* ================= BUTTON MODERN ================= */

/* ================= CAROUSEL BUTTON - MATCH NAVBAR ================= */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 136, 0.041);
    cursor: pointer;
    font-size: 22px;
    color: #ffffff;
    backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover sama seperti menu navbar */
.carousel-btn:hover {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.2), rgba(0, 170, 255, 0.2));
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.041);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 8%;
}

.carousel-btn.next {
    right: 8%;
}


.carousel-btn.prev {
    left: 8%;
}

.carousel-btn.next {
    right: 8%;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){
    .carousel-slide img {
        width: 280px;
        height: 200px;
    }
}
