/* Custom styles for Fields Appraisal Service */

/* Smooth scroll padding for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* Editorial serif accent */
.font-serif em {
    font-style: italic;
}

/* Hero text shadow for readability */
.hero-pattern {
    background-attachment: fixed;
}

/* Card hover effects */
.bg-white:hover {
    transform: translateY(-2px);
}

.bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 81, 26, 0.1);
}

/* Print-friendly contact info */
@media print {
    #navbar,
    #mobileMenuBtn,
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 11pt;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-white {
        border: 1px solid #000;
    }
    
    input,
    select,
    textarea {
        border: 2px solid #000;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-pattern {
        background-attachment: scroll;
    }
}
