/*
 * Travel Affiliate Guru - Central Design Token System
 * This file contains the default global CSS variables used across the entire theme.
 * These variables are overridden dynamically via the Design Studio (inline styles in header).
 */

:root {
    /* 1. Core Branding Colors */
    --primary: #2196F3;
    --secondary: #1976D2;
    --accent: #E91E63;

    /* 2. Backgrounds & Surfaces */
    --background: #f9fbff;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;
    --card: #ffffff;
    
    /* 3. Typography */
    --font-primary: 'Inter', sans-serif;
    --text: #334155;
    --text-muted: #64748b;
    --heading: #0f172a;
    
    /* 4. Borders & Shadows */
    --border: #e2e8f0;
    --border-radius: 12px;
    --border-radius-btn: 8px;
    --border-radius-input: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* 5. Status / System Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* 6. Header & Footer Specific */
    --nav-bg: var(--surface);
    --nav-text: var(--text);
    --nav-hover: var(--primary);
    
    --footer-bg: #1e293b;
    --footer-text: #94a3b8;
    --footer-heading: #ffffff;
    
    /* 7. Utilities */
    --transition-speed: 0.3s;
    --transition-timing: ease-in-out;
}

/* Base resets using tokens */
body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    font-family: var(--font-primary);
}

a {
    color: var(--primary);
}

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

/* Base button styles */
.btn-primary, .button-primary {
    background-color: var(--primary);
    color: #fff;
    border-radius: var(--border-radius-btn);
    transition: all var(--transition-speed) var(--transition-timing);
}

.btn-primary:hover, .button-primary:hover {
    background-color: var(--secondary);
    box-shadow: var(--shadow-hover);
}

/* Base Card styles */
.tag-card, .article-card, .hotel-card, .flight-card {
    background-color: var(--card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all var(--transition-speed) var(--transition-timing);
    border: 1px solid var(--border);
}

.tag-card:hover, .article-card:hover, .hotel-card:hover, .flight-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
