/* Custom styles that complement Tailwind CSS */

/* Base styles */
body {
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Ensure all images have consistent rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Subtle gold shimmer effect for hero accent */
@keyframes shimmer {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

.gold-line {
    animation: shimmer 4s ease-in-out infinite;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c0563a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth transitions for interactive elements */
button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Print styles */
@media print {
    #navbar,
    #contact-form,
    .hover-lift {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-luxury-black,
    .bg-luxury-dark,
    .bg-luxury-charcoal {
        background: white !important;
    }
    
    .text-sand,
    .text-sand-light,
    .text-sand-dark {
        color: black !important;
    }
}

/* 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;
    }
    
    .fade-in-section {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-terracotta {
        background-color: ButtonText;
    }
    
    .text-terracotta {
        color: ButtonText;
    }
}
