/* Custom CSS untuk Kang Djoe */

/* Font Family Definitions */
:root {
    --font-primary: 'Nunito', sans-serif;
    --font-heading: 'Baloo 2', cursive;
    --font-accent: 'Fredoka One', cursive;
    --font-body: 'Rubik', sans-serif;
    --font-fallback: 'Inter', system-ui, -apple-system, sans-serif;
    --yellow-dark: #F2B753;
    --yellow-light: #FFDF00;
    --cream: #FFF9E1;
}

/* Base font settings */
body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
}

/* Heading fonts */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

/* Special accent font for brand/logo */
.font-accent {
    font-family: var(--font-accent);
}

/* Body text font */
.font-body {
    font-family: var(--font-body);
}

/* Primary font (Nunito) */
.font-primary {
    font-family: var(--font-primary);
}

/* Heading font (Baloo 2) */
.font-heading {
    font-family: var(--font-heading);
}

/* Font weight utilities for custom fonts */
.font-baloo-light {
    font-family: 'Baloo 2', cursive;
    font-weight: 400;
}

.font-baloo-medium {
    font-family: 'Baloo 2', cursive;
    font-weight: 500;
}

.font-baloo-semibold {
    font-family: 'Baloo 2', cursive;
    font-weight: 600;
}

.font-baloo-bold {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
}

.font-baloo-extrabold {
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
}

.font-nunito-light {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
}

.font-nunito-regular {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
}

.font-nunito-medium {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
}

.font-nunito-semibold {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.font-nunito-bold {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.font-rubik-light {
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
}

.font-rubik-regular {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
}

.font-rubik-medium {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
}

.font-rubik-semibold {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
}

.font-rubik-bold {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
}

.font-yellow-dark {
    color: var(--yellow-dark);
}

.font-yellow-light {
    color: var(--yellow-light);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Custom shadows */
.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Custom gradient */
.gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Form styling improvements */
.form-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Loading animation */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .text-responsive {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}