/* diabec-base.css — Shared variables, reset, typography, links, container
   Loaded after fonts, before component CSS. */

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-green: #2c3e1f;
    --amber-gold: #c8a96e;
    --cream: #f8f6f1;
    --accent-green: #5a6e4a;
    --text-dark: #2a2a2a;
    --text-medium: #555;
    --text-light: #555;
    --white: #ffffff;
    --border-light: #e8e4dc;
    --shadow-sm: 0 2px 8px rgba(44,62,31,0.08);
    --shadow-md: 0 4px 20px rgba(44,62,31,0.12);
    --shadow-lg: 0 8px 40px rgba(44,62,31,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    /* Aliases for legacy references */
    --green-dark: #2c3e1f;
    --green-accent: #5a6e4a;
    --green-light: #f4f1ea;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--amber-gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== SKIP NAV (a11y) ========== */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--amber-gold);
    color: var(--deep-green);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    z-index: 10000;
    font-size: 0.9rem;
}
.skip-nav:focus {
    top: 0.5rem;
    color: var(--deep-green);
}

/* ========== FOCUS INDICATORS ========== */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--amber-gold);
    outline-offset: 2px;
}

/* ========== INLINE A11Y UNDERLINE RULES ========== */
a:not(.btn):not(.nav-logo):not(.skip-nav) {
    text-decoration: underline;
    text-decoration-color: rgba(0,0,0,0.2);
    text-underline-offset: 2px;
}
a:not(.btn):not(.nav-logo):not(.skip-nav):hover {
    text-decoration-color: currentColor;
}
.navbar a, .nav-links a, .nav-dropdown-menu a, .breadcrumb a,
.footer a, .footer-links a, .nav-cta-btn {
    text-decoration: none;
}
.navbar a:hover, .nav-links a:hover, .footer a:hover {
    text-decoration: underline;
}
