/* Custom Styles for Scott Gajewski Mortgage Website */

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

/* Navigation States */
.nav-text {
    color: #065f46;
    transition: color 0.3s ease;
}

.nav-text-muted {
    color: #047857;
    transition: color 0.3s ease;
}

/* Hero nav override */
nav .nav-text {
    color: #f5f5f4;
}

nav .nav-text-muted {
    color: #a7f3d0;
}

/* Scrolled nav */
nav.scrolled .nav-text {
    color: #065f46;
}

nav.scrolled .nav-text-muted {
    color: #047857;
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Custom Select Arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

/* Selection color */
::selection {
    background-color: #047857;
    color: white;
}

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

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

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Button hover lift effect */
button, a {
    transition: all 0.2s ease;
}

/* Image loading placeholder */
img {
    background-color: #f5f5f4;
}

/* Subtle card shadow on load */
.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Print styles */
@media print {
    nav, #mobile-menu-btn, button {
        display: none !important;
    }
    
    body {
        color: #000;
        background: white;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
