/* Base & Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A1214;
}
::-webkit-scrollbar-thumb {
    background: #7B2D3B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C9A96E;
}

/* Selection */
::selection {
    background: rgba(201, 169, 110, 0.3);
    color: #FDF8F4;
}

/* Mobile menu active state */
.mobile-menu-active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-active #bar2 {
    opacity: 0;
}
.mobile-menu-active #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gold shimmer on hover for CTA buttons */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-shimmer:hover::after {
    left: 100%;
}

/* Image hover effect */
img {
    display: block;
}

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

/* Smooth transitions for navbar */
#navbar.scrolled {
    background: rgba(26, 18, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

/* Gallery grid adjustments */
.grid > div {
    position: relative;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
