/* Additional custom styles for Suku Tirilolo Landing Page */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Loading animation for statistics */
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for cards */
.feature-card {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #e74c3c;
}

/* Custom button animations */
.btn-custom {
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-custom:hover::before {
    left: 100%;
}

/* Mobile responsiveness improvements */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn-custom,
    .social-links {
        display: none !important;
    }
    
    .hero {
        height: auto;
        background: none !important;
        color: #000 !important;
        padding: 50px 0;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero {
        background: #000 !important;
        color: #fff !important;
    }
    
    .feature-card {
        border: 2px solid #000 !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn-custom:focus,
.nav-link:focus {
    outline: 3px solid #f39c12;
    outline-offset: 2px;
}

/* Language specific adjustments for Tetum text */
html[lang="tet"] {
    font-family: 'Segoe UI', 'Trebuchet MS', sans-serif;
}

/* Custom utility classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #2c3e50, #e74c3c);
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Dropdown menu scrollable styles */
.dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    z-index: 1000;
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* Firefox scrollbar styles */
.dropdown-menu {
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 #f8f9fa;
}

/* Dropdown header styling */
.dropdown-header {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    padding: 0.5rem 1rem 0.25rem;
}

/* Dropdown item hover effect */
.dropdown-item {
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    padding-left: 1.5rem;
}