/* Custom styles for Fidelity One Mortgage Group */

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

/* Base styles */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

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

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

::-webkit-scrollbar-thumb {
    background: #e85533;
    border-radius: 5px;
}

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

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

/* Form styles */
input, textarea, select {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Button animations */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

/* Card hover effects */
.card-hover {
    position: relative;
}

.card-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e85533, #facc15);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-hover:hover::after {
    transform: scaleX(1);
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-reverse {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(20px) rotate(-5deg);
    }
}

.geo-shape:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.geo-shape:nth-child(2) {
    animation: float-reverse 5s ease-in-out infinite;
}

.geo-shape:nth-child(3) {
    animation: float 7s ease-in-out infinite;
}

.geo-shape:nth-child(4) {
    animation: float-reverse 4s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}

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