/* Custom styles for Red White & Brewed Coffee Bar */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
    background: #c42347;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a11634;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero gradient animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Subtle pulse for CTA buttons */
@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(161, 22, 52, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(161, 22, 52, 0);
    }
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #c42347;
    outline-offset: 2px;
}

/* Mobile menu transitions */
#nav-links {
    transition: transform 0.3s ease-in-out;
}

#nav-overlay {
    transition: opacity 0.3s ease-in-out;
}

/* Card hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Ensure proper contrast on all backgrounds */
.bg-burgundy-900,
.bg-burgundy-800,
.bg-burgundy-700,
.bg-burgundy-950 {
    color: white;
}

.text-burgundy-900,
.text-burgundy-800,
.text-burgundy-700 {
    color: #6c142b;
}

/* Form input focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 35, 71, 0.1);
}

/* Print styles */
@media print {
    header,
    footer,
    .reveal {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
