@tailwind base; @tailwind components; @tailwind utilities; /* Custom styles untuk Bank Sampah App */ @layer components { .hero-gradient { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; } .card-hover:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); } /* New Landing Page Styles */ .fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; } .fade-in-up.visible { opacity: 1; transform: translateY(0); } .animate-fade-in { animation: fadeIn 0.8s ease-in-out; } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } } /* Custom badge styles */ .badge-icon { width: 12px; height: 12px; background: currentColor; border-radius: 50%; } /* Hover effects for buttons and cards */ .btn-custom { transition: all 0.3s ease; } .btn-custom:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); } /* Map marker animation */ .map-marker { animation: pulse 2s infinite; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } /* Responsive text sizing */ @media (max-width: 640px) { .hero-title { font-size: 2.5rem; line-height: 1.2; } } @media (min-width: 1024px) { .hero-title { font-size: 4.5rem; line-height: 1.1; } } }