/* Custom styles for Metis Wealth Management */

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

/* Base typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation transitions */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar.scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Form inputs */
input,
textarea {
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(196, 112, 75, 0.1);
}

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

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

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

/* Gradients */
.bg-gradient-to-br {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .bg-gradient-to-br {
        animation: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #D4B078;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C4704B;
}

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

/* Print styles */
@media print {
    #navbar,
    #mobile-menu-btn,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
