/* Custom CSS for 24K Painting and Contracting */

/* Color Palette */
:root {
    --burgundy: #5A1A21;
    --burgundy-light: #7A2530;
    --burgundy-dark: #3D1217;
    --blush-light: #F5E6D3;
    --blush: #E8C39E;
    --blush-dark: #D4A574;
    --stone-50: #FAFAF9;
    --stone-100: #F5F5F4;
    --stone-200: #E7E5E4;
    --stone-600: #57534E;
    --stone-800: #292524;
    --stone-900: #1C1917;
}

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

@layer utilities {
    .text-burgundy {
        color: var(--burgundy);
    }
    .bg-burgundy {
        background-color: var(--burgundy);
    }
    .bg-burgundy\/90 {
        background-color: var(--burgundy-light);
    }
    .bg-burgundy\/10 {
        background-color: rgba(90, 26, 33, 0.1);
    }
    .hover\:text-burgundy:hover {
        color: var(--burgundy);
    }
    .hover\:bg-burgundy:hover {
        background-color: var(--burgundy);
    }
    .hover\:bg-burgundy\/90:hover {
        background-color: var(--burgundy-light);
    }
    .focus\:ring-burgundy\/30:focus {
        --tw-ring-color: rgba(90, 26, 33, 0.3);
    }
    .focus\:border-burgundy:focus {
        border-color: var(--burgundy);
    }
    
    /* Blush colors */
    .text-blush-200 {
        color: var(--blush-light);
    }
    .bg-blush-400 {
        background-color: var(--blush);
    }
    .bg-blush-300 {
        background-color: var(--blush-dark);
    }
    .hover\:bg-blush-300:hover {
        background-color: var(--blush-dark);
    }
}

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

/* Custom Font Settings */
body {
    font-family: 'Lato', sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-light);
}

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

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