/* Custom styles for Li House */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Ensure all text has proper contrast */
.text-cream {
    color: #F5F0E8;
}

.text-cream-light {
    color: #FAFAF5;
}

.text-cream\/60 {
    color: rgba(245, 240, 232, 0.6);
}

.text-cream\/70 {
    color: rgba(245, 240, 232, 0.7);
}

.text-cream\/80 {
    color: rgba(245, 240, 232, 0.8);
}

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

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

.gold-shimmer {
    background: linear-gradient(90deg, #D4AF37 0%, #E8C96A 50%, #D4AF37 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Gold border glow animation */
@keyframes borderGlow {
    0%, 100% { 
        border-color: #D4AF37; 
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); 
    }
    50% { 
        border-color: #E8C96A; 
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.5); 
    }
}

.gold-border-glow {
    animation: borderGlow 3s ease-in-out infinite;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #064E3B 0%, #047857 25%, #065F46 50%, #047857 75%, #064E3B 100%);
}

/* Reveal animation - only for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

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

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

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

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

/* Hover effects for interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

/* Responsive typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .font-serif.text-5xl {
        font-size: 2rem;
    }
    
    .font-serif.text-6xl {
        font-size: 2.5rem;
    }
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #mobileMenuBtn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
