/* Custom Styles for RTC Website */

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

/* Fade-in animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero background gradient */
.hero-bg {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

/* Service card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card: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);
}

/* Custom button hover effects */
.btn-primary {
    @apply bg-primary text-white px-8 py-3 rounded-lg font-semibold transition-colors;
}

.btn-primary:hover {
    @apply bg-blue-800;
}

.btn-secondary {
    @apply bg-secondary text-white px-8 py-3 rounded-lg font-semibold transition-colors;
}

.btn-secondary:hover {
    @apply bg-yellow-600;
}

/* Mobile menu slide animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

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

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

::-webkit-scrollbar-thumb {
    background: #1e40af;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    .hero-bg {
        background: #1e40af !important;
        color: white !important;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .service-card,
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

/* Spam prevention honeypot field */
.honeypot {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
}
