/* ============================================
   AMAM ENGLISH — DESIGN SYSTEM
   ============================================ */

/* CSS VARIABLES / COLOR SYSTEM */
:root {
    /* Primary Colors */
    --color-cream: #F8EEE0;
    --color-deep-teal: #0F6064;
    --color-teal: #2D8686;
    --color-coral: #EC6F4E;
    --color-warm-yellow: #F4A527;
    --color-soft-mint: #60B198;
    --color-navy: #0C265D;
    --color-lilac: #8661A8;
    
    /* Text Colors */
    --color-charcoal: #2D2926;
    --color-white: #FFFFFF;
    --color-text-light: #6B6360;
    
    /* Palette Rules: 70/20/10 */
    --color-bg: var(--color-cream);
    --color-primary: var(--color-deep-teal);
    --color-secondary: var(--color-teal);
    --color-accent: var(--color-coral);
    --color-accent-secondary: var(--color-warm-yellow);
    
    /* Typography */
    --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(45, 41, 38, 0.05);
    --shadow-md: 0 4px 8px rgba(45, 41, 38, 0.08);
    --shadow-lg: 0 8px 16px rgba(45, 41, 38, 0.12);
    
    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-base: 250ms ease-out;
    --transition-slow: 350ms ease-out;
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-bg);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-charcoal);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-teal);
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* SECTIONS */
section {
    padding: var(--spacing-3xl) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-2xl) 0;
    }
}

/* SECTION TITLES */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-2xl);
}

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

/* LINKS */
a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* LISTS */
ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-sm);
}

/* FORMS */
input, select, textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    width: 100%;
    transition: border-color var(--transition-base);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(236, 111, 78, 0.1);
}

label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--color-primary);
}

/* UTILITY CLASSES */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.bg-light {
    background-color: var(--color-cream);
}

.bg-white {
    background-color: var(--color-white);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}
