/* Custom styles that complement Tailwind */

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: #ccfbf1;
    color: #042f2e;
}

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

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

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Subtle animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero content animation */
#hero .max-w-2xl > * {
    animation: fadeInUp 0.8s ease forwards;
}

#hero .max-w-2xl > *:nth-child(1) { animation-delay: 0.1s; }
#hero .max-w-2xl > *:nth-child(2) { animation-delay: 0.2s; }
#hero .max-w-2xl > *:nth-child(3) { animation-delay: 0.3s; }
#hero .max-w-2xl > *:nth-child(4) { animation-delay: 0.4s; }

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-scrolled .nav-title {
    color: #1e293b;
}

.nav-scrolled .nav-subtitle {
    color: #64748b;
}

/* Ensure all text has proper contrast */
.text-slate-500 {
    color: #64748b;
}

.text-slate-600 {
    color: #475569;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
