/* Custom styles — extends Tailwind with refined touches */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdfb;
}
::-webkit-scrollbar-thumb {
    background: #f5a5b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #eb6f8a;
}

/* Selection color */
::selection {
    background: #fad0d9;
    color: #6a182b;
}

/* Scroll reveal — progressive enhancement, only applied via JS */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: if JS is disabled, all content is visible */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Nav active state */
nav a.active {
    color: #9a1e38;
    background: #fdf2f4;
}

/* Form focus transitions */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Subtle hover lift for cards */
.group:hover {
    transform: translateY(-2px);
}

/* Decorative pattern overlay for hero */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(184, 40, 68, 0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Print styles */
@media print {
    nav, #contact-form, button { display: none; }
    body { color: #000; background: #fff; }
}
