/* Custom styles and overrides */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4ade80;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Geometric pattern overlay */
.geometric-pattern {
    background-image: 
        linear-gradient(45deg, rgba(16, 185, 129, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(16, 185, 129, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(16, 185, 129, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(16, 185, 129, 0.03) 75%);
    background-size: 40px 40px;
}

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

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Hover effects for cards */
.group:hover .group-hover\\:rotate-0 {
    transform: rotate(0deg);
}

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

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

/* Smooth transitions for all interactive elements */
button, a {
    transition: all 0.2s ease;
}
