/* Design System - Based on  Wetsuit Page */

/* Color System */
:root {
    /* Foreground colors */
    --fg-primary: rgba(0, 0, 0, 1.0);      /* #000000 - Main text */
    --fg-secondary: rgba(81, 88, 99, 1.0); /* #515863 - Secondary text */
    --fg-muted: rgba(102, 109, 122, 1.0);     /* Muted text for less emphasis */
    
    /* Background colors */
    --bg-base: rgb(255, 255, 255);        /* #EDEDED - Base background */
    --bg-elevated: rgba(206, 206, 206, 0.286);    /* #FFFFFF - Elevated elements */
    --bg-hover: rgba(245, 245, 245, 1.0);        /* Hover state background */
    
    /* Accent colors (from Patagonia's wetsuit theme) */
    --accent-blue: rgba(140, 201, 224, 1.0);      /* Light blue background */
    --accent-green: rgba(133, 204, 161, 1.0);     /* Green background */
    --accent-yellow: rgba(224, 194, 122, 1.0);     /* Yellow/orange background */
    --accent-orange: rgba(224, 153, 107, 1.0);     /* Orange background */
    --accent-purple: rgb(174, 145, 255);     /* Orange background */
    --accent-yellow: #CCDD21;     /* yellow background */

    /* Border colors */
    --border-light: rgba(230, 230, 230, 1.0);    /* Light borders */
    --border-medium: rgba(217, 217, 217, 1.0);   /* Medium borders */
    
    /* Status colors */
    --success: rgba(46, 184, 115, 1.0);          /* Success green */
    --error: rgba(217, 65, 65, 1.0);              /* Error red */
    --warning: rgba(217, 184, 46, 1.0);           /* Warning yellow */
    --info: rgba(46, 156, 217, 1.0);             /* Info blue */
}

/* Typography System */
:root {
    /* Font sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    
    /* Font weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Line heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    --leading-loose: 2;
}

/* Spacing System */
:root {
    /* Spacing scale */
    --spacing-1: 0.25rem;   /* 4px */
    --spacing-2: 0.5rem;    /* 8px */
    --spacing-3: 0.75rem;   /* 12px */
    --spacing-4: 1rem;      /* 16px */
    --spacing-6: 1.5rem;    /* 24px */
    --spacing-8: 2rem;      /* 32px */
    --spacing-12: 3rem;     /* 48px */
    --spacing-16: 4rem;     /* 64px */
    
    /* Container widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
}

/* Border Radius */
:root {
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 1rem;      /* 16px */
    --radius-full: 9999px;  /* Full rounded */
}

/* Shadows */
:root {
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Transitions */
:root {
    --transition-fast: 150ms ease-out;
    --transition-normal: 200ms ease-out;
    --transition-slow: 300ms ease-out;
}

/* Z-index layers */
:root {
    --z-negative: -1;
    --z-elevate: 1;
    --z-sticky: 100;
    --z-drawer: 200;
    --z-dropdown: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-toast: 600;
}

/* Component-specific variables */
:root {
    /* Card */
    --card-padding: var(--spacing-6);
    --card-radius: var(--radius-md);
    --card-shadow: var(--shadow-sm);
    --card-hover-shadow: var(--shadow-md);
    
    /* Button */
    --button-padding-y: 0.5rem;
    --button-padding-x: 1rem;
    --button-radius: var(--radius-md);
    --button-font-weight: var(--font-medium);
    
    /* Input */
    --input-padding-y: 0.5rem;
    --input-padding-x: 0.75rem;
    --input-radius: var(--radius-md);
    --input-border: 1px solid var(--border-light);
    
    /* Badge */
    --badge-padding-y: 0.25rem;
    --badge-padding-x: 0.5rem;
    --badge-radius: var(--radius-full);
    --badge-font-size: var(--text-xs);
}

/* Utility classes */
.fg-primary { color: var(--fg-primary); }
.fg-secondary { color: var(--fg-secondary); }
.fg-muted { color: var(--fg-muted); }
.link:hover {
    color: var(--accent-yellow);
    cursor: pointer;
    /* text-decoration: none;
    border-bottom: 1px solid var(--accent-yellow);*/
    transition: color 100ms; 
}
.linkbright{
    border-bottom: 1px solid var(--accent-yellow);
}


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

.bg-base { background-color: var(--bg-base); }
.bg-elevated { background-color: var(--bg-elevated); }
.bg-hover { background-color: var(--bg-hover); }

.border-light { border-color: var(--border-light); }
.border-medium { border-color: var(--border-medium); }

/* Responsive breakpoints */
@media (min-width: 640px) {
    :root {
        --container-padding: 2rem;
    }
}

@media (min-width: 768px) {
    :root {
        --container-padding: 3rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: 4rem;
    }
}

/* Print styles */
@media print {
    :root {
        --bg-base: white;
        --bg-elevated: white;
        --shadow-sm: none;
        --shadow-md: none;
        --shadow-lg: none;
    }
} 