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

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

/* Custom selection color */
::selection {
    background-color: rgba(212, 168, 67, 0.3);
    color: #f0d68a;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* Loading animation for images */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Reduce motion for accessibility */
@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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .mobile-menu,
    .gold-shimmer::after {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border-width: 2px;
    }
    
    .btn-gold {
        border: 2px solid #d4a843;
    }
}

/* Dark mode improvements */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0d0514;
    }
}

/* Ensure text readability on all backgrounds */
.text-white {
    color: #ffffff;
}

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

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

/* Button hover states */
.btn-gold:hover {
    background: linear-gradient(135deg, #e0b853 0%, #f5e09a 100%);
    transform: translateY(-2px);
}

.btn-outline:hover {
    background: #d4a843;
    color: #1a0a2e;
}

/* Card hover effects */
.service-card {
    background: linear-gradient(145deg, rgba(45, 27, 78, 0.8), rgba(26, 10, 46, 0.9));
}

/* Gold line animation */
.gold-line {
    background: linear-gradient(90deg, transparent, #d4a843, #f0d68a, #d4a843, transparent);
}

/* Testimonial card hover */
.testimonial-card:hover {
    border-left-color: #f0d68a;
    transform: translateX(4px);
}

/* Input focus animations */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.2);
}

/* Smooth transitions for all interactive elements */
a,
button,
input,
select,
textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(26, 10, 46, 0.9) 0%,
            rgba(26, 10, 46, 0.8) 50%,
            rgba(26, 10, 46, 0.95) 100%
        );
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Ensure all interactive elements are keyboard accessible */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error state for form inputs */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

/* Success state for form inputs */
input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
    border-color: #22c55e;
}
