/* ===== CSS Variables & Base Styles ===== */
:root {
    /* Primary Colors - Warm Earth Tones */
    --color-earth-deep: #2D1810;
    --color-earth-brown: #5D3A1A;
    --color-earth-warm: #8B4513;
    --color-earth-gold: #DAA520;
    --color-earth-amber: #FFBF00;
    
    /* Accent Colors - Kente Inspired */
    --color-kente-red: #C41E3A;
    --color-kente-green: #228B22;
    --color-kente-gold: #FFD700;
    --color-kente-black: #1A1A1A;
    
    /* Neutral Colors */
    --color-cream: #FDF8F0;
    --color-cream-light: #FFFAF5;
    --color-warm-gray: #6B5B4F;
    --color-text: #2D2218;
    --color-text-light: #5C4D42;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(45, 24, 16, 0.08);
    --shadow-md: 0 4px 16px rgba(45, 24, 16, 0.12);
    --shadow-lg: 0 8px 32px rgba(45, 24, 16, 0.16);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-cream-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--color-earth-brown);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-earth-deep);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-2xl) 0;
}

/* ===== Kente Border Pattern ===== */
.kente-border {
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-kente-gold) 0px,
        var(--color-kente-gold) 20px,
        var(--color-kente-red) 20px,
        var(--color-kente-red) 40px,
        var(--color-kente-green) 40px,
        var(--color-kente-green) 60px,
        var(--color-kente-black) 60px,
        var(--color-kente-black) 80px
    );
}

/* ===== Adinkra Symbols (CSS-based) ===== */
.adinkra-symbol {
    width: 200px;
    height: 200px;
    position: relative;
}

.adinkra-symbol.sankofa {
    background: var(--color-earth-gold);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adinkra-symbol.sankofa::before {
    content: '';
    width: 80%;
    height: 80%;
    border: 8px solid var(--color-earth-deep);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.adinkra-symbol.sankofa::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--color-earth-deep);
    border-radius: 50%;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
}

.adinkra-accent {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-md);
    opacity: 0.15;
}

.adinkra-accent.dwennimmen {
    background: 
        linear-gradient(45deg, var(--color-earth-deep) 25%, transparent 25%),
        linear-gradient(-45deg, var(--color-earth-deep) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--color-earth-deep) 75%),
        linear-gradient(-45deg, transparent 75%, var(--color-earth-deep) 75%);
    background-size: 30px 30px;
}

.adinkra-accent.nyame-dua {
    background: radial-gradient(circle, var(--color-earth-deep) 30%, transparent 30%),
                radial-gradient(circle, var(--color-earth-deep) 30%, transparent 30%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

/* ===== Section Headers ===== */
.section-header {
    margin-bottom: var(--space-xl);
}

.section-header.centered {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-earth-gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}
