
/* Import Font Chakra Petch dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap');

/* Navigasi Button dengan bentuk jajar genjang terbalik */
.nav-button {
    position: relative;
    display: inline-block;
    background: linear-gradient(94deg, #01c6f3 24%, #138bd1 56%, #2450af 100%);
    color: white;
    padding: 24px 60px;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 15% 100%);
    transition: all 0.3s ease;
    z-index: 1;
    background-color: transparent;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 198, 243, 0.4);
}

.nav-button:active {
    transform: translateY(0);
}

/* Main Header Styles */
.main-header {
    width: 100%;
    background: transparent;
    padding: 20px 0;
}

/* Untuk navigasi container */
.nav-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    width: 100%;
}

/* Logo di tengah */
.nav-logo {
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    max-width: 135px;
    height: auto;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    z-index: 1000;
    padding-top: 10px;
    margin-top: -10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.dropdown-item {
    display: block;
    background: linear-gradient(94deg, #01c6f3 24%, #138bd1 56%, #2450af 100%);
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.4s ease;
    border-radius: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dropdown-item:hover {
    background: linear-gradient(94deg, #138bd1 24%, #2450af 56%, #01c6f3 100%);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(1, 198, 243, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Jika ingin variasi ukuran */
.nav-button.small {
    padding: 8px 20px;
    font-size: 0.85em;
}

.nav-button.large {
    padding: 15px 40px;
    font-size: 1.1em;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Navigation */
@media (max-width: 992px) {
    .hamburger-menu {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
    }

    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 10px 0;
        background: rgba(0, 0, 0, 0.3);
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, rgba(1, 198, 243, 0.95) 0%, rgba(18, 139, 209, 0.95) 100%);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        gap: 0;
    }

    .nav-container.active {
        right: 0;
    }

    .nav-dropdown {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }

    .nav-button {
        width: 100%;
        padding: 15px 20px;
        margin: 0;
        margin-bottom: 10px;
        text-align: center;
        clip-path: none;
        border-radius: 0;
        background: transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-button:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
        box-shadow: none;
    }

    .nav-logo {
        position: fixed;
        top: 15px;
        left: 20px;
        z-index: 1001;
    }

    .nav-logo img {
        max-width: 70px;
    }

    .dropdown-content {
        position: static;
        transform: none;
        min-width: 100%;
        padding-top: 0;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-dropdown.active .dropdown-content {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .nav-dropdown .nav-button,
    .nav-dropdown .dropdown-toggle {
        cursor: pointer;
        pointer-events: auto;
    }

    .dropdown-item {
        padding: 12px 20px;
        border: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-item:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.15);
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .dropdown-item.golden-button {
        background: linear-gradient(94deg, #FFD700 24%, #FFA500 56%, #FF8C00 100%);
        color: #fff;
        border: none;
        padding: 12px 20px;
        box-shadow: none;
    }

    .dropdown-item.golden-button:hover {
        background: linear-gradient(94deg, #FFA500 24%, #FF8C00 56%, #FFD700 100%);
        transform: none;
        box-shadow: none;
        border: none;
    }
}

@media (max-width: 576px) {
    .nav-container {
        width: 100%;
    }

    .nav-button {
        font-size: 16px;
        padding: 12px 15px;
    }

    .nav-logo img {
        max-width: 60px;
    }

    .dropdown-item.golden-button {
        padding: 12px 20px;
    }
}

/* Golden Button Style */
.dropdown-item.golden-button {
    background: linear-gradient(94deg, #FFD700 24%, #FFA500 56%, #FF8C00 100%);
    color: #fff;
    padding: 15px 25px;
    text-decoration: none;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dropdown-item.golden-button:hover {
    background: linear-gradient(94deg, #FFA500 24%, #FF8C00 56%, #FFD700 100%);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}
