/* Additional custom styles and overrides */

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

/* Selection color */
::selection {
    background: #be185d;
    color: #fff;
}

/* Focus visible styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Body background */
body {
    background-color: #fdf4f8;
}

/* Subtle pattern overlay on hero */
.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(251, 207, 212, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(253, 230, 138, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Card image zoom on hover */
.card-hover img {
    transition: transform 0.5s ease;
}
.card-hover:hover img {
    transform: scale(1.05);
}

/* Navbar active state */
.navbar a.active {
    color: #be185d;
}

/* Date input styling */
input[type="date"] {
    color-scheme: light;
}

/* 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;
    }
}
