/* Custom styles and animations */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #c2704e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a85a3c;
}

/* Reveal animations - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Gold gradient animation */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.gold-gradient-text {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* Hover effects for cards */
.group:hover .group-hover\:bg-terracotta\/20 {
    background-color: rgba(194, 112, 78, 0.2);
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 2px rgba(194, 112, 78, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Image hover zoom effect */
img {
    transition: transform 0.5s ease;
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Selection color */
::selection {
    background-color: rgba(194, 112, 78, 0.3);
    color: #e8d5c4;
}
