/* Kingston 7 — Custom Styles */

/* Base reset and typography */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: rgba(168, 85, 112, 0.2);
    color: #2d151c;
}

/* Body text optimization */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Form elements */
input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid #a85570;
    outline-offset: 2px;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 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;
        scroll-behavior: auto !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm, .cta-btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .cta-btn {
        border: 2px solid currentColor;
    }
}

/* Narrow mobile optimization */
@media (max-width: 360px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Wide screen optimization */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 72rem;
    }
}
