/* Custom styles beyond Tailwind */

:root {
    --burgundy-700: #7f1e1e;
    --burgundy-950: #3b0a0a;
    --blush-200: #ffd7c8;
    --cream-50: #fefcfb;
}

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Geometric floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(50deg); }
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.geo-float {
    animation: float 6s ease-in-out infinite;
}

.geo-float-reverse {
    animation: float-reverse 8s ease-in-out infinite;
}

.geo-pulse {
    animation: pulse-soft 4s ease-in-out infinite;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d44242;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9a2222;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #7f1e1e;
    outline-offset: 2px;
}

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce motion preference */
@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;
    }
}

/* Print styles */
@media print {
    nav, #back-to-top, button {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
