/* Additional custom styles for premium dark luxury feel */

/* Smooth transitions for all interactive elements */
a, button, input, textarea {
    transition: all 0.3s ease;
}

/* Custom focus styles for accessibility */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

/* Ensure proper text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Improve image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Gold accent underline for headings */
.gold-underline {
    position: relative;
    display: inline-block;
}

.gold-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d4a853, transparent);
}

/* Subtle glow effect for coral elements */
.coral-glow {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.2;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-charcoal-900, .bg-charcoal-800 {
        background: white !important;
    }
    
    .text-white, .text-gray-300, .text-gray-400 {
        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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid #ffffff;
    }
    
    .btn-primary {
        border: 2px solid #ffffff;
    }
}

/* Ensure all text has sufficient contrast */
.text-gray-400 {
    color: #9ca3af;
}

.text-gray-300 {
    color: #d1d5db;
}

/* Gold gradient text fallback for browsers that don't support background-clip */
.gold-gradient {
    color: #d4a853;
}

/* Mobile menu backdrop blur fallback */
@media (max-width: 767px) {
    .mobile-menu {
        background: rgba(13, 13, 13, 0.98);
    }
}

/* Ensure proper spacing on all screen sizes */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
