/* Custom styles for Melissa Stylez */

/* Ensure smooth rendering on all devices */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(52, 211, 153, 0.3);
    color: #0A1628;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #34D399;
    outline-offset: 2px;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}

/* Image lazy loading fade-in */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Prevent content flash on scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        will-change: opacity, transform;
    }
}

/* Print styles */
@media print {
    nav, .cta-pulse, #contactForm { display: none; }
    body { color: #000; background: #fff; }
    a[href]::after { content: none; }
}
