/* ===== NATURE-THEMED INTERACTIVE STYLES ===== */
/* File ini melengkapi style.css dengan efek interaktif yang lebih kaya */

/* Animated Background Patterns */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes sway {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(15, 107, 63, 0.3); }
    50% { box-shadow: 0 0 20px rgba(15, 107, 63, 0.6); }
}

/* Card Interactions with Enhanced Effects */
.card-interactive {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.card-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.card-interactive:hover::before {
    left: 100%;
}

.card-interactive:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Button Animations */
.btn-nature {
    position: relative;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-nature::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-nature:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #0f6b3f 0%, #1a3a2a 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a3a2a 0%, #051f14 100%);
    box-shadow: 0 8px 25px rgba(15, 107, 63, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #f4a460 0%, #d97706 100%);
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

/* Floating Elements */
.float-animate {
    animation: float 3s ease-in-out infinite;
}

.float-animate-delay-1 {
    animation-delay: 0s;
}

.float-animate-delay-2 {
    animation-delay: 0.5s;
}

.float-animate-delay-3 {
    animation-delay: 1s;
}

/* Text Effects */
.text-gradient {
    background: linear-gradient(135deg, #0f6b3f 0%, #f4a460 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.text-highlight {
    position: relative;
    padding: 0 4px;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0f6b3f, #f4a460);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.text-highlight:hover::after {
    bottom: -4px;
    box-shadow: 0 4px 12px rgba(15, 107, 63, 0.3);
}

/* Image Hover Effects */
.img-hover-zoom {
    overflow: hidden;
    border-radius: 16px;
}

.img-hover-zoom img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-hover-zoom:hover img {
    transform: scale(1.1) rotate(2deg);
}

.img-hover-blur {
    position: relative;
}

.img-hover-blur::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 107, 63, 0.2);
    transition: all 0.3s ease;
    border-radius: 16px;
}

.img-hover-blur:hover::after {
    background: rgba(15, 107, 63, 0.05);
    backdrop-filter: blur(2px);
}

/* List Animations */
.list-animate li {
    opacity: 0;
    animation: slideInLeft 0.5s ease-out forwards;
}

.list-animate li:nth-child(1) { animation-delay: 0.1s; }
.list-animate li:nth-child(2) { animation-delay: 0.2s; }
.list-animate li:nth-child(3) { animation-delay: 0.3s; }
.list-animate li:nth-child(4) { animation-delay: 0.4s; }
.list-animate li:nth-child(5) { animation-delay: 0.5s; }

/* Divider Animations */
.divider-animated {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0f6b3f, transparent);
    overflow: hidden;
}

.divider-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #f4a460, transparent);
    animation: slideRight 2s infinite;
}

@keyframes slideRight {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Progress Bar */
.progress-bar {
    height: 6px;
    background: rgba(15, 107, 63, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0f6b3f, #f4a460);
    border-radius: 3px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(15, 107, 63, 0.5);
}

/* Hover Card Effect */
.card-3d {
    perspective: 1000px;
    transition: all 0.3s ease;
}

.card-3d:hover {
    transform: rotateX(5deg) rotateY(5deg);
}

/* Pulsing Badge */
.badge-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Shadow Depth */
.shadow-depth-1 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shadow-depth-2 {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.shadow-depth-3 {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.shadow-depth-4 {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Backdrop Effects */
.backdrop-nature {
    background: rgba(250, 246, 241, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
}

/* Responsive Interactive Elements */
@media (max-width: 768px) {
    .card-interactive {
        transform: scale(1) !important;
    }

    .card-interactive:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .btn-nature {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}
