/* Custom styles for Dan Gjeldum mortgage website */

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

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

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

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

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

/* Selection color */
::selection {
    background: #f8c4b8;
    color: #73241f;
}

/* Hero floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #e0543a 0%, #d4b06a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(224, 84, 58, 0.15);
}

/* Decorative pattern */
.pattern-bg {
    background-image: radial-gradient(circle at 2px 2px, rgba(224, 84, 58, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Reduced motion preference */
@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;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #e0543a;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    .animate-bounce,
    #contact-form {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
