/**
 * WhiteR Pro - Theme Variables
 * @version 1.1.9
 * 
 * CSS Custom Properties (változók) a téma színeihez és alapbeállításaihoz
 */

/* Reset - link aláhúzás eltávolítása (erős specificitás) */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus,
.navbar-logo,
.footer a,
footer a,
nav a,
[class*="link"],
[href] {
    text-decoration: none !important;
    text-underline-offset: unset !important;
}

/* Tailwind hover:underline felülírása */
.hover\:underline:hover {
    text-decoration: none !important;
}

:root {
    /* Primary colors */
    --color-primary: #3b82f6;
    --color-primary-dark: #2563eb;
    --color-primary-light: #60a5fa;
    --color-primary-rgb: 59, 130, 246;
    
    /* Secondary colors */
    --color-secondary: #10b981;
    --color-secondary-dark: #059669;
    --color-secondary-light: #34d399;
    
    /* Accent colors */
    --color-accent: #8b5cf6;
    --color-accent-dark: #7c3aed;
    
    /* Neutral colors - Light theme defaults */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    
    /* Surfaces */
    --surface-elevated: #ffffff;
    --surface-overlay: rgba(255, 255, 255, 0.8);
    
    /* Shadows */
    --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 -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', var(--font-sans);
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --container-max: 1280px;
    --section-padding: 5rem;
    --section-padding-mobile: 3rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Glitch effect colors */
    --glitch-color-1: #ff00c1;
    --glitch-color-2: #00fff9;
}

/* Light theme explicit */
[data-theme="light"],
.light {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #52525b;
    --border-color: #e2e8f0;
    --surface-elevated: #ffffff;
    --surface-overlay: rgba(255, 255, 255, 0.8);
}

/* Dark theme */
[data-theme="dark"],
.dark {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --text-primary: #f8fafc;
    --text-secondary: #d4d4d8;
    --text-muted: #a1a1aa;
    --border-color: #27272a;
    --surface-elevated: #18181b;
    --surface-overlay: rgba(10, 10, 15, 0.8);
    
    /* Adjusted shadows for dark */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
}

/* Base HTML styles */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}
