/* Custom styles for Valentin's Furniture Repairs & Caning */

:root {
    --midnight: #0a1628;
    --midnight-light: #0d1f3c;
    --gold: #c9a84c;
    --gold-light: #d4b45a;
    --mint: #4dd9b5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Card hover effects */
.card-hover {
    transform: translateY(0);
}

.card-hover:hover {
    transform: translateY(-4px);
}

/* Navbar transition */
nav.scrolled {
    background: rgba(10, 22, 40, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Scroll reveal base state - content is VISIBLE by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll reveal active state - applied via JS */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Subtle gold accent line animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .group img {
        transition: none !important;
    }
}
</style>
