/* Base styles and custom utilities */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold shimmer effect */
@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #D4A853, #C4623A);
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #E8D5C4;
}

/* Mobile menu line animations */
.mobile-menu-line {
    display: block;
}

/* Active nav state */
nav.scrolled .mobile-menu-line:nth-child(3) {
    width: 1.5rem;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1A1A1A 0%, #222222 100%);
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #D4A853;
    outline-offset: 2px;
}

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

/* Prevent layout shift on images */
img {
    content-visibility: auto;
}

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

/* Glass effect */
.glass {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Decorative corner accents */
.corner-accent::before,
.corner-accent::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
}

.corner-accent::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid rgba(212, 168, 83, 0.3);
    border-left: 2px solid rgba(212, 168, 83, 0.3);
}

.corner-accent::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid rgba(212, 168, 83, 0.3);
    border-right: 2px solid rgba(212, 168, 83, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print styles */
@media print {
    nav, #contact-form, button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
