/* Leaflet Coffee House — Custom Styles */

/* ── Base typography adjustments ── */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Smooth focus for accessibility ── */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #e05229;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Selection color ── */
::selection {
    background: #f8c4b4;
    color: #6f2518;
}

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

/* ── Image placeholder fallback ── */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ── Subtle page load ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero > div {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ── Custom accent line under headings ── */
.ornament-divider span {
    position: relative;
    padding: 0 16px;
    white-space: nowrap;
}

/* ── Feature card icon animation ── */
.feature-card:hover .w-14 {
    transform: scale(1.1) rotate(-5deg);
    transition: transform 0.3s ease;
}

.feature-card .w-14 {
    transition: transform 0.3s ease;
}
