/* Charleston Bistro — Custom Styles */

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Raleway', system-ui, -apple-system, sans-serif;
    background-color: #080f08;
    color: #faf8f4;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Gold divider line */
.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4a843 50%, transparent 100%);
}

/* Card glow on hover */
.card-glow:hover {
    box-shadow: 0 0 60px rgba(212, 168, 67, 0.08), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Hero background */
.hero-bg {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(53, 122, 53, 0.45) 0%, transparent 65%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 168, 67, 0.2) 0%, transparent 65%),
        radial-gradient(ellipse at 50% 100%, rgba(10, 28, 10, 0.95) 0%, transparent 60%),
        linear-gradient(180deg, #0d1a0d 0%, #102910 40%, #0a1c0a 100%);
}

/* Scroll reveal (progressive enhancement — defaults to visible) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image hover zoom */
img {
    max-width: 100%;
    height: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #080f08;
}
::-webkit-scrollbar-thumb {
    background: #1f4a1f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #286028;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(8, 15, 8, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

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

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

/* Print styles */
@media print {
    body { background: white; color: black; }
    .hero-bg, section { background: white !important; }
    a { color: black; }
}
