/* Custom styles for Recovery Room Canvas */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #111111;
}
::-webkit-scrollbar-thumb {
    background: #3d7a3d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4af55;
}

/* Selection color */
::selection {
    background-color: #3d7a3d;
    color: #faf8f5;
}

/* Hero parallax-like subtle effect */
#hero {
    background-attachment: fixed;
}

/* Image hover zoom container */
.overflow-hidden {
    will-change: transform;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4af55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

/* Subtle gold shimmer on hover for cards */
.group:hover .group-hover\:border-gold-400\/40 {
    border-color: rgba(212, 175, 85, 0.4);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .overflow-hidden img {
        transition: none;
    }
    .overflow-hidden:hover img {
        transform: none;
    }
}

/* Reveal animation styles */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4af55 0%, #e8d5a3 50%, #d4af55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
