/* STYLE.CSS - Custom styles for SIPANEN */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Card effects */
.price-card {
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Chart toggle */
.chart-toggle-btn {
    transition: all 0.2s ease;
}

.chart-toggle-btn.active {
    background-color: #16a34a;
    color: white;
}

/* Gradients */
.gradient-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
}

.gradient-card-green {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
}

.gradient-card-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

/* Pattern background */
.pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2316a34a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Toggle buttons for grafik page */
.gabah-toggle-btn,
.beras-toggle-btn {
    transition: all 0.2s ease;
}

.gabah-toggle-btn.active {
    background-color: #16a34a;
    color: white;
}

.beras-toggle-btn.active {
    background-color: #3b82f6;
    color: white;
}