/**
 * Base Styles - Etherea Derma Clinic
 */

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: var(--lh-body);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: var(--lh-heading);
    font-weight: 700;
}

h1 { font-size: var(--fs-h1); margin-bottom: var(--space-md); }
h2 { font-size: var(--fs-h2); margin-bottom: var(--space-sm); }
h3 { font-size: var(--fs-h3); margin-bottom: var(--space-xs); }

p { 
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

/* Selection */
::selection {
    background-color: var(--color-accent-light);
    color: var(--color-primary);
}

/* Accessibility: Focus States */
:focus-visible {
    outline: 2px solid var(--color-accent-warm);
    outline-offset: 4px;
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 1rem;
    z-index: 9999;
    transition: top var(--transition-fast);
}

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

/* Editorial Typography */
.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Global Utilities */
.image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
