/* Custom styles and overrides */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #111214;
}
::-webkit-scrollbar-thumb {
    background: #373940;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6b2a;
}

/* Hero reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.3s; }
.reveal:nth-child(3) { transition-delay: 0.5s; }
.reveal:nth-child(4) { transition-delay: 0.7s; }

/* Scroll reveal for sections below fold */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover effects */
a, button {
    transition: all 0.3s ease;
}

/* Image hover zoom with overflow hidden */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Coral glow pulse */
@keyframes coralPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 107, 42, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 107, 42, 0.5);
    }
}
.coral-glow {
    animation: coralPulse 3s ease-in-out infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
    }
}
