/* Custom styles for MI Short Stop */

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

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* Mobile menu transitions */
.mobile-link {
    transition: all 0.3s ease;
}

.mobile-link:hover {
    color: #0d9488;
    transform: translateX(10px);
}

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

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

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 3px solid #0d9488;
    outline-offset: 2px;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .font-display {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .font-display {
        font-size: 4.5rem;
    }
}

/* Subtle hover effects for cards */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Gradient text effect (if needed) */
.gradient-text {
    background: linear-gradient(135deg, #0d9488, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Shadow utilities */
.shadow-custom {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Transition utilities */
.transition-all-300 {
    transition: all 0.3s ease;
}

/* Custom button styles */
.btn-primary {
    @apply bg-brand-teal text-white px-8 py-4 rounded-full font-bold hover:bg-brand-slate transition-all duration-300;
}

.btn-secondary {
    @apply bg-transparent border-2 border-white text-white px-8 py-4 rounded-full font-bold hover:bg-white hover:text-brand-slate transition-all duration-300;
}

/* Section spacing */
section {
    position: relative;
}

/* Navbar scroll effect */
.nav-scrolled #nav-bg {
    opacity: 1;
}

.nav-scrolled #navbar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
