/* Additional custom styles and progressive enhancement for Imperial Nails */

/* Smooth focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--plum-light);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(157, 92, 157, 0.2);
    color: var(--plum-dark);
}

/* Subtle page load fade */
html {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reduced motion: disable all custom animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        animation: none;
    }

    .hero-scroll {
        animation: none;
        opacity: 0.5;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .hero-scroll, .cta, footer {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
        background: var(--plum-pale) !important;
    }

    .hero h1, .hero p {
        color: var(--plum-dark) !important;
    }

    section {
        padding: 2rem 1rem;
        page-break-inside: avoid;
    }
}
