/* ========================================
   RESET CSS - Modern CSS Reset
   Litl Studio Website
   ======================================== */

/* Box sizing reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* HTML & Body base */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Media elements */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

/* Typography reset */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    margin: 0;
}

/* Links reset */
a {
    color: inherit;
    text-decoration: none;
}

/* Button reset */
button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* List reset */
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Remove default focus outline, will add custom later */
:focus {
    outline: none;
}

/* Screen reader only content (accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Visible focus for keyboard navigation (accessibility) */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* Remove animations for users who prefer reduced motion (accessibility) */
@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;
    }
}

/* Skip Link para accesibilidad */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #333;
    color: #fafafa;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.3s ease;
    font-size: 14px;
}

.skip-link:focus {
    top: 0;
}