/* Custom styles that complement Tailwind CSS */

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

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

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

/* Image loading placeholder */
img {
    background-color: #0a1628;
}

/* Subtle text shadow for readability */
h1, h2, h3 {
    text-rendering: optimizeLegibility;
}

/* Ensure proper contrast on all interactive elements */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Custom focus ring for buttons */
.btn-primary:focus-visible,
.btn-outline:focus-visible {
    outline-color: #fcd34d;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Gold shimmer effect for special text */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-gradient-text {
    background: linear-gradient(
        90deg,
        #fcd34d 0%,
        #d4a843 25%,
        #fcd34d 50%,
        #d4a843 75%,
        #fcd34d 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Subtle parallax for hero decorative elements */
@media (prefers-reduced-motion: no-preference) {
    .float-1 { animation-duration: 6s; }
    .float-2 { animation-duration: 7s; animation-delay: 1.5s; }
    .float-3 { animation-duration: 5.5s; animation-delay: 3s; }
}
