/* Custom CSS untuk PAFI Jakarta Barat */

/* Custom Navy Color Scheme */
.bg-navy-800 {
    background-color: #1e3a8a;
}

.text-navy-800 {
    color: #1e3a8a;
}

.border-navy-800 {
    border-color: #1e3a8a;
}

/* Service Cards Hover Effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

/* FAQ Animations */
.faq-answer {
    transition: all 0.3s ease;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Modal Animations */
#partnerModal {
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

#partnerModal.show {
    opacity: 1;
}

#partnerModal .bg-white {
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Gradient Separator */
.gradient-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    margin: 2rem 0;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-6xl {
        font-size: 3rem;
    }
}

/* Custom Focus States */
button:focus, 
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .bg-gray-50 {
        background-color: #1f2937;
    }
    
    .text-gray-700 {
        color: #d1d5db;
    }
    
    .text-gray-600 {
        color: #9ca3af;
    }
    
    .bg-white {
        background-color: #374151;
    }
    
    .border-gray-200 {
        border-color: #4b5563;
    }
}

/* Print Styles */
@media print {
    .sticky {
        position: static;
    }
    
    #partnerModal {
        display: none !important;
    }
    
    .faq-answer {
        display: block !important;
    }
    
    .service-card {
        break-inside: avoid;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .bg-navy-800 {
        background-color: #000000;
    }
    
    .text-navy-800 {
        color: #000000;
    }
    
    .border-gray-200 {
        border-color: #000000;
    }
}

/* Better contrast for hero section */
.bg-gradient-to-r {
    background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 100%) !important;
}

/* Ensure white text is always visible */
.text-white {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Better contrast for light text */
.text-gray-200 {
    color: #e5e7eb !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
