/* Custom CSS for Acopia Home Loans */

:root {
    --navy-900: #0a1628;
    --navy-800: #132038;
    --navy-700: #1e3052;
    --navy-600: #2a426b;
    --navy-500: #365485;
    --gold-400: #c9a84c;
    --gold-500: #d4b85c;
    --gold-600: #b8963d;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-500: #78716c;
    --stone-700: #44403c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--stone-50);
    color: var(--navy-900);
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-600);
}

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

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

/* Smooth section transitions */
section {
    position: relative;
}

/* Gold accent line animation */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

/* Remove the line from hero */
#hero::before {
    display: none;
}

/* Hover effects for cards */
.group:hover .group-hover\:bg-gold-400 {
    background-color: var(--gold-400);
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn,
    button {
        display: none;
    }
    
    body {
        background: white;
    }
}
