/* ─── Custom Properties ─── */
:root {
    --burgundy-50: #fdf2f4;
    --burgundy-100: #fce7eb;
    --burgundy-200: #fad0d9;
    --burgundy-300: #f5a8b8;
    --burgundy-400: #ec6c8e;
    --burgundy-500: #d43f6a;
    --burgundy-600: #b5254d;
    --burgundy-700: #931a3d;
    --burgundy-800: #7a1a36;
    --burgundy-900: #681a33;
    --burgundy-950: #3a0a19;
}

/* ─── Base & Typography ─── */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Floating Animation ─── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* ─── Scroll Reveal ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ─── Service Card Hover ─── */
@media (prefers-reduced-motion: no-preference) {
    .group:hover .group-hover\:bg-burgundy-700 {
        transition: background-color 0.3s ease;
    }
}

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

::-webkit-scrollbar-track {
    background: #f9fafb;
}

::-webkit-scrollbar-thumb {
    background: #d43f6a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #931a3d;
}

/* ─── Selection ─── */
::selection {
    background: #fad0d9;
    color: #681a33;
}

/* ─── Focus Styles ─── */
:focus-visible {
    outline: 2px solid #d43f6a;
    outline-offset: 2px;
}

/* ─── Print Styles ─── */
@media print {
    nav, #backToTop, .animate-float, .animate-float-delayed {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .bg-burgundy-950, .bg-burgundy-800 {
        background: #3a0a19 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
