body {
    background-color: #FDFCFB;
    color: #1A1A1A;
    font-family: 'Jost', sans-serif;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 50% 100%, rgba(193, 159, 96, 0.05) 0%, transparent 50%);
}
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.btn-gold {
    background-color: #C19F60;
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(193, 159, 96, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.btn-gold:hover {
    background-color: #1A1A1A;
    transform: scale(1.05);
}
.btn-gold:active {
    transform: scale(0.95);
}

.text-gradient-gold {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #C19F60, #9A7B3E, #C19F60);
}

.section-title-script {
    font-family: 'Alex Brush', cursive;
    color: #C19F60;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
    opacity: 0.9;
}
@media (min-width: 768px) {
    .section-title-script {
        font-size: 3.75rem;
    }
}

/* Custom Styles for Heritage feel */
.glass-nav {
    background: rgba(248, 245, 240, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(193, 159, 96, 0.1);
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(253, 252, 251, 0.2) 0%, rgba(253, 252, 251, 0.95) 100%);
}

.menu-card {
    background: white;
    border: 1px solid rgba(193, 159, 96, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.menu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent, rgba(193, 159, 96, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}
.menu-card:hover::before {
    transform: translateX(100%);
}
.menu-card:hover {
    border-color: rgba(193, 159, 96, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(193, 159, 96, 0.1);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(193, 159, 96, 0.35);
    color: #1A1A1A;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.75rem 1.6rem;
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.filter-btn:hover {
    color: #C19F60;
    border-color: #C19F60;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(193, 159, 96, 0.18);
}
.filter-btn:active {
    transform: scale(0.96);
}
.filter-btn.active {
    background-color: #C19F60 !important;
    color: #ffffff !important;
    border-color: #C19F60 !important;
    box-shadow: 0 10px 25px -4px rgba(193, 159, 96, 0.45);
    transform: scale(1.03);
}

/* Animations */
@keyframes reveal-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal-up {
    animation: reveal-up 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes reveal-left {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
.reveal-left {
    animation: reveal-left 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes reveal-right {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
.reveal-right {
    animation: reveal-right 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes grow-line {
    from { height: 0; }
    to { height: 100%; }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background-color: #f5f5f4;
}
::-webkit-scrollbar-thumb {
    background-color: #C19F60;
    border-radius: 9999px;
}

/* GPU Acceleration Utilities */
.gpu-accelerated, .ghost-year-bg, .thread-progress, .reveal-item {
    transform: translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal-item, .history-image {
        opacity: 1 !important;
        transform: none !important;
    }
    .ghost-year-bg {
        opacity: 0.05 !important;
        transform: translate(-50%, -50%) !important;
    }
    .thread-progress {
        height: 100% !important;
    }
}

/* Fix Mobile Menu FOUC (applied immediately by browser, independent of Tailwind CDN compilation) */
#mobile-menu { 
    background-color: #FDFCFB !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.7s ease, visibility 0.7s ease !important;
}
#mobile-menu.opacity-100 {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
