/* Custom Tailwind Configuration & Global Styles */

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --color-plum-900: #1a0f14;
    --color-plum-800: #2d1b24;
    --color-plum-700: #4a2c3a;
    --color-plum-600: #6b4053;
    --color-amber-500: #d97706;
    --color-amber-400: #f59e0b;
    --color-amber-600: #d97706;
}

/* Extend Tailwind theme colors for use in HTML classes */
/* Note: Since we use Tailwind CDN, arbitrary values or config script are needed. 
    We'll use standard Tailwind classes where possible and custom CSS for specific brand colors. */

.text-plum-900 { color: #1a0f14; }
.bg-plum-900 { background-color: #1a0f14; }
.text-plum-800 { color: #2d1b24; }
.bg-plum-800 { background-color: #2d1b24; }
.text-plum-700 { color: #4a2c3a; }
.bg-plum-700 { background-color: #4a2c3a; }
.text-plum-600 { color: #6b4053; }
.bg-plum-600 { background-color: #6b4053; }

.text-amber-400 { color: #f59e0b; }
.bg-amber-400 { background-color: #f59e0b; }
.text-amber-500 { color: #d97706; }
.bg-amber-500 { background-color: #d97706; }
.text-amber-600 { color: #d97706; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

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

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Typography adjustments */
body {
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Cormorant Garamond', serif;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f4;
}
::-webkit-scrollbar-thumb {
    background: #d6d3d1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a29e;
}
