/* Site Common - Shared Modern Styles for Both Themes */

/* Modern Reset & Base */
* {
    box-sizing: border-box;
}

body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Container */
.container {
    max-width: 1200px;
}

/* Card System */
.modern-card {
    background: var(--card-bg, #fff);
    border-radius: var(--border-radius-md, 8px);
    overflow: hidden;
    transition: all var(--transition-speed, 0.3s) ease;
}

/* Button System */
.btn-modern {
    padding: 12px 24px;
    border-radius: var(--border-radius-sm, 4px);
    font-weight: 500;
    transition: all var(--transition-speed, 0.3s) ease;
    border: none;
    cursor: pointer;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* 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;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove focus outline for mouse users, keep for keyboard users */
:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary-green, #4CAF50);
    outline-offset: 2px;
}
