/* Base styles and custom properties */
:root {
    --burgundy-950: #3a0e0e;
    --burgundy-900: #6b1d1d;
    --burgundy-800: #7f2222;
    --burgundy-700: #a12c2c;
    --burgundy-600: #c24040;
    --burgundy-200: #fadada;
    --burgundy-100: #fce7e7;
    --blush-500: #f55065;
    --blush-400: #ff808d;
    --blush-300: #ffb3b9;
    --blush-200: #ffd6d8;
    --blush-100: #ffeaeb;
    --cream: #FFF8F5;
    --warmgray: #4A3F3F;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Card hover effect */
.card-hover {
    transform: translateY(0);
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 248, 245, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(127, 34, 34, 0.08);
}

.navbar-scrolled .text-burgundy-900 {
    color: var(--burgundy-900) !important;
}

/* Mobile menu */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--burgundy-100);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Scroll reveal base - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-marquee {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .card-hover:hover {
        transform: none;
    }
}

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

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

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

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

/* Selection color */
::selection {
    background: var(--blush-200);
    color: var(--burgundy-950);
}
