/* Custom styles beyond Tailwind */

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

/* Selection color */
::selection {
    background-color: #d4a017;
    color: #0a1628;
}

/* Focus styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

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

img[data-src] {
    opacity: 0;
}

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

/* Card hover effects */
.group:hover .group-hover\\:bg-gold-500\\/20 {
    background-color: rgba(212, 160, 23, 0.2);
}

/* Geometric pattern animation */
@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

.pattern-bg {
    animation: patternMove 20s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .float-card,
    .float-card-delay {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav,
    button,
    form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
