/* Custom styles for Wisma Indonesia */

/* Smooth transitions for all interactive elements */
a, button, input, textarea {
    transition: all 0.3s ease;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
}

.geo-shape {
    animation: float 6s ease-in-out infinite;
}

.geo-shape:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.geo-shape:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 7s;
}

/* Blob shapes */
.blob-shape {
    animation: pulse 4s ease-in-out infinite;
}

/* Hover effects for cards */
.bg-charcoal-800:hover {
    box-shadow: 0 20px 40px rgba(255, 107, 74, 0.1);
}

/* Button hover effects */
.bg-coral-500:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 74, 0.4);
}

/* Input focus effects */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.2);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF6B4A 0%, #FF8566 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FF8566 0%, #FF6B4A 100%);
}

/* Selection color */
::selection {
    background: #FF6B4A;
    color: white;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Reveal animation for scroll */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-on-scroll.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}
