/* Custom styles for K.C.Jewelry Orl */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
    background: #c9a84c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b08d2e;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Navbar transition states */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
}

.nav-transparent {
    background: transparent !important;
}

/* Mobile menu states */
.mobile-menu-open {
    transform: translateX(0) !important;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #c9a84c, #a07c2a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle hover lift for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 42, 67, 0.12);
}

/* Diamond sparkle animation */
@keyframes sparkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* Hero image shimmer */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Ensure all text is readable */
.text-navy-900 { color: #102a43; }
.text-navy-800 { color: #243b53; }
.text-navy-700 { color: #334e68; }
.text-navy-600 { color: #486581; }
.text-navy-500 { color: #627d98; }
.text-navy-400 { color: #829ab1; }
.text-navy-300 { color: #9fb3c8; }

.text-gold-900 { color: #554415; }
.text-gold-800 { color: #6b561a; }
.text-gold-700 { color: #8a6f20; }
.text-gold-600 { color: #b08d2e; }
.text-gold-500 { color: #c9a84c; }
.text-gold-400 { color: #e8a820; }
.text-gold-300 { color: #f0bf4c; }

.bg-navy-900 { background-color: #102a43; }
.bg-navy-800 { background-color: #243b53; }
.bg-navy-700 { background-color: #334e68; }
.bg-navy-600 { background-color: #486581; }
.bg-navy-500 { background-color: #627d98; }

.bg-gold-900 { background-color: #554415; }
.bg-gold-800 { background-color: #6b561a; }
.bg-gold-700 { background-color: #8a6f20; }
.bg-gold-600 { background-color: #b08d2e; }
.bg-gold-500 { background-color: #c9a84c; }
.bg-gold-400 { background-color: #e8a820; }
.bg-gold-300 { background-color: #f0bf4c; }
.bg-gold-200 { background-color: #f6d78a; }
.bg-gold-100 { background-color: #fbefc8; }
.bg-gold-50 { background-color: #fdf8e8; }

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift */
img {
    object-fit: cover;
}

/* Mobile menu animation */
.mobile-link {
    opacity: 1;
    transform: none;
}
