/* Custom styles beyond Tailwind */

:root {
    --gold-500: #c9a84c;
    --gold-400: #d4b965;
    --navy-900: #0a0f1e;
    --navy-800: #0f1629;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

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

/* Default state: always visible (no JS required) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

nav.scrolled .logo-text {
    color: var(--gold-400);
}

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

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

::-webkit-scrollbar-track {
    background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
}

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

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0f1629 inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Image lazy load placeholder */
img {
    background: linear-gradient(135deg, #0f1629 0%, #151d35 100%);
}

/* Subtle hover glow on gold buttons */
.bg-gold-500:hover {
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

/* Gallery hover effect */
.grid img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.grid img:hover {
    transform: scale(1.05);
}
