/* Custom Color Palette */
:root {
    --terracotta-50: #fef7f4;
    --terracotta-100: #fdecd7;
    --terracotta-200: #fad4b0;
    --terracotta-300: #f5b582;
    --terracotta-400: #ef8e52;
    --terracotta-500: #e86838;
    --terracotta-600: #d94f27;
    --terracotta-700: #b33d1e;
    --terracotta-800: #8c311a;
    --terracotta-900: #702917;
    
    --sand-50: #faf9f7;
    --sand-100: #f5f2ed;
    --sand-200: #e8e2d6;
    --sand-300: #d4c9b8;
    --sand-400: #baa98e;
    --sand-500: #a08d6e;
    --sand-600: #857357;
    --sand-700: #6d5c47;
    --sand-800: #5a4b3c;
    --sand-900: #4b3f33;
}

/* Tailwind Config */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Reveal Animations - Progressive Enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

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

::-webkit-scrollbar-track {
    background: var(--sand-100);
}

::-webkit-scrollbar-thumb {
    background: var(--terracotta-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta-600);
}

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

/* Focus Styles */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--terracotta-500);
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background-color: var(--terracotta-200);
    color: var(--terracotta-900);
}
