/* Custom styles for Dupre Henry J MD website */

/* Base typography adjustments */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth image loading */
img {
    loading: lazy;
}

/* Selection color */
::selection {
    background-color: rgba(255, 107, 53, 0.15);
    color: #1a1a20;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #ff6b35;
    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;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .hover-lift,
    .reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline;
    }
}

/* Subtle line animations */
.thin-line {
    background: linear-gradient(90deg, transparent 0%, #d4d4dc 50%, transparent 100%);
}

/* Image hover effect */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.6s ease;
}

.rounded-2xl.overflow-hidden:hover img {
    transform: scale(1.02);
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Card hover glow */
.group:hover .rounded-full.bg-coral-50 {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

/* Navbar scroll effect */
nav.scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Custom select dropdown 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='%237c7c8c' 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;
    padding-right: 2.5rem;
}

/* Input autofill style */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #f7f7f8 inset !important;
    -webkit-text-fill-color: #26262e !important;
}
