/* ========================================
   DESIGN SYSTEM - Matthew Willard Inspired
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&family=Caveat:wght@400;600;700&display=swap');

:root {
    /* Colors - Refined Palette */
    --navy: #0a1628;
    --navy-light: #1a2942;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --cream: #efe8dc;
    --cream-light: #f8f4ed;
    --white: #ffffff;
    
    /* New Accent Colors */
    --blue: #2563eb;
    --blue-hover: #1e40af;
    --red: #dc2626;
    --red-hover: #991b1b;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Caveat', cursive;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* Base Typography */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--navy);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
}

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

.script-accent {
    font-family: var(--font-script);
    font-weight: 600;
    color: var(--gold);
}

/* Button System */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-danger {
    background: var(--red);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Card System */
.card {
    background: var(--cream);
    border-radius: 12px;
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-white {
    background: var(--white);
}

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

/* Section Styles */
.section {
    padding: var(--space-2xl) 0;
}

.section-cream {
    background: var(--cream);
}

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

.section-white {
    background: var(--white);
}

/* Pull Quote */
.pull-quote {
    font-family: var(--font-script);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--gold);
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    margin: var(--space-xl) 0;
}

/* Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    :root {
        --space-xl: 2rem;
        --space-2xl: 3rem;
    }
    
    body {
        line-height: 1.6;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        width: 100%;
        max-width: 400px;
    }
    
    .card {
        margin-bottom: 1.25rem;
    }
}
