/* Custom styles for Nancy-Guinot at Jacksonville */

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

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #35806c;
}

/* Focus styles for accessibility */
*:focus {
    outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #4a9d88;
    outline-offset: 2px;
}

/* 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;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .font-display {
        font-size: 2rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Hover effects for interactive elements */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Better form styling */
input,
textarea,
select {
    font-family: inherit;
}

/* Ensure proper spacing */
section {
    position: relative;
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Custom selection color */
::selection {
    background: #4a9d88;
    color: white;
}

::-moz-selection {
    background: #4a9d88;
    color: white;
}
