/* Base styles and custom properties */
:root {
    --burgundy-50: #fdf2f4;
    --burgundy-100: #fce7eb;
    --burgundy-200: #fad0d9;
    --burgundy-300: #f6a7b5;
    --burgundy-400: #ee6d8d;
    --burgundy-500: #e04368;
    --burgundy-600: #cc294e;
    --burgundy-700: #a71f3c;
    --burgundy-800: #861c34;
    --burgundy-900: #6f1c31;
    --burgundy-950: #3d0a16;
    
    --blush-50: #fff8f6;
    --blush-100: #fff0ec;
    --blush-200: #ffd9cf;
    --blush-300: #ffb8a8;
    --blush-400: #ff8c75;
    --blush-500: #ff5a3d;
    --blush-600: #e03e20;
    --blush-700: #b82c14;
    --blush-800: #922313;
    --blush-900: #761f14;
    --blush-950: #430d07;
    
    --neutral-850: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-950);
}

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

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

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 {
        transition-delay: 0.1s;
    }
    
    .reveal-delay-2 {
        transition-delay: 0.2s;
    }
    
    .reveal-delay-3 {
        transition-delay: 0.3s;
    }
}

/* Service cards hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Loader */
#page-loader {
    transition: opacity 0.5s ease;
}

#page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

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

/* Custom selection color */
::selection {
    background: var(--burgundy-600);
    color: white;
}
