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

body {
    overflow-x: hidden;
}

/* Scroll reveal animations - only for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #0a192f;
}

::-webkit-scrollbar-thumb:hover {
    background: #00c9a7;
}

/* Form focus styles */
input:focus,
textarea:focus {
    border-color: #0a192f !important;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

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

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accent line animations */
.w-16.h-px {
    transition: width 0.3s ease;
}

/* Ensure proper spacing on mobile */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}
