/* Custom styles and overrides */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #500724;
}

/* Ensure all text is readable */
.text-plum-200 {
    color: #fbcfe8;
}

.text-plum-300 {
    color: #f9a8d4;
}

.text-plum-400 {
    color: #f472b6;
}

.text-plum-500 {
    color: #ec4899;
}

.text-amber-400 {
    color: #fbbf24;
}

.text-amber-600 {
    color: #d97706;
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #be185d;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img,
    .group:hover img {
        transition: none;
    }
}

/* Ensure proper contrast for buttons */
.bg-gradient-to-r.from-amber-500.to-amber-600 {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.bg-gradient-to-br.from-amber-400.to-amber-600 {
    background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
}
