/* Base & Utilities */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf4f8;
}
::-webkit-scrollbar-thumb {
    background: #f9a8d4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f472b6;
}

/* Selection */
::selection {
    background: #fbcfe8;
    color: #500724;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}
img[data-src] {
    opacity: 0;
}

/* Nav active state */
nav.scrolled {
    background: rgba(127, 23, 77, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(80, 7, 36, 0.15);
}

/* Card hover lift */
.group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-4px);
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #be185d, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for CTA */
@keyframes pulse-subtle {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
}
.pulse-cta {
    animation: pulse-subtle 2.5s ease-in-out infinite;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.open {
    transform: translateX(0);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .animate-bounce { animation: none; }
}
