/* Custom styles that complement Tailwind */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a843, #b8860b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e6c464, #d4a843);
}

/* Selection color */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #ffffff;
}

/* Focus styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid rgba(212, 168, 67, 0.5);
    outline-offset: 2px;
}

/* Loading animation for form */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    animation: spin 1s linear infinite;
}

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

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

/* Reduce motion for accessibility */
@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;
    }
    
    .floating,
    .floating-delayed,
    .floating-slow {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav,
    .cta-button,
    #contact-form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .gold-gradient {
        -webkit-text-fill-color: #b8860b;
    }
}
