/* Custom styles and overrides */
:root {
    --color-teal-400: #2dd4bf;
    --color-teal-500: #14b8a6;
    --color-teal-600: #0d9488;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: var(--color-slate-900);
}

::-webkit-scrollbar-thumb {
    background: var(--color-teal-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-teal-400);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

/* Hover effects for cards */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, var(--color-teal-400), var(--color-teal-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for geometric shapes */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

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

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--color-teal-400);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-space {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}
