/* Custom scroll - Tailwind tidak memiliki ini */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e9e5d8;
}

::-webkit-scrollbar-thumb {
    background: #b87333;
    border-radius: 10px;
}

/* Font family */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Transisi hover */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: translateY(-2px);
}

.hover-gold {
    transition: color 0.2s ease;
}

.hover-gold:hover {
    color: #b87333;
}

/* Custom shadow */
.shadow-gold {
    box-shadow: 0 8px 18px rgba(184, 115, 51, 0.2);
}

.shadow-soft {
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.15);
}

.shadow-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.shadow-card-hover {
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

/* Text gradient */
.text-gradient-gold {
    background: linear-gradient(135deg, #b87333, #d4a373);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* CTA Banner gradient */
.bg-cta-gradient {
    background: linear-gradient(115deg, #1e2f2c 0%, #2c3e2f 100%);
}

/* Hero image background */
.bg-hero-gradient {
    background: linear-gradient(145deg, #f9f2e7, #fff6ed);
}

/* Service tag */
.service-tag {
    font-weight: 600;
    color: #b87333;
    font-size: 0.8rem;
}

/* Mobile Nav - Hamburger animation */
#hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 50;
}

#hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #2c3e2f;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

#hamburger-btn.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

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

#hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Nav Links Container */
#nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    #hamburger-btn {
        display: flex;
    }

    /* Tambahkan aturan ini untuk memastikan logo tetap di kiri */
    .navbar-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    #nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 40;
        border-radius: 0 0 0 32px;
    }

    #nav-links.open {
        right: 0;
    }

    /* Overlay saat menu terbuka */
    #nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 30;
    }

    #nav-overlay.open {
        display: block;
    }

    #nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
    }

    #nav-links button {
        width: 100%;
        justify-content: center;
    }
}
