:root {
    --ivory: #FAFAF7;
    --ink: #0F172A;
    --gold: #BFA053;
    --slate: #E5E7EB;
}

/* Custom Tailwind Configuration */
@tailwind base;
@tailwind components;
@tailwind utilities;

.font-display {
    font-family: 'Fraunces', serif;
}

.font-body {
    font-family: 'Inter', system-ui, sans-serif;
}

.text-ink { color: var(--ink); }
.text-gold { color: var(--gold); }
.bg-ivory { background-color: var(--ivory); }
.bg-ink { background-color: var(--ink); }
.bg-gold { background-color: var(--gold); }
.border-slate { border-color: var(--slate); }
.border-gold { border-color: var(--gold); }

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles */
.focus-ring:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Hover transitions */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Navigation backdrop */
.nav-backdrop {
    backdrop-filter: blur(8px);
    background-color: rgba(250, 250, 247, 0.8);
}

/* Gold accent line */
.gold-accent::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background-color: var(--gold);
    margin-top: 16px;
}

/* Button styles */
.btn-primary {
    background-color: var(--ink);
    color: var(--ivory);
    border: 2px solid var(--ink);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    border-color: var(--gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--ink);
    border: 2px solid var(--gold);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: rgba(250, 250, 247, 0.5);
}

/* Link hover effects */
.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}
