/* Fonts CSS - LinkedIn Service Website */

:root {
    /* Font Families */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
}

/* Base Font Settings - Only allowed in fonts.css */
/* Reset and Base - Only allowed in fonts.css per rule 032 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body, html {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
}

body {
    box-sizing: border-box;
    background: var(--color-background-primary); /* Deep black (#000000) from logo - Professional Dark Style */
    min-height: 100vh;
    color: var(--color-text-primary);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Headings - Only allowed in fonts.css */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

/* Body Text - Only allowed in fonts.css */
p {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* Links - Only allowed in fonts.css */
/* Professional Dark Style with Apple Glass Morphism - Logo colors harmonized */
a {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary-accent); /* LinkedIn Blue (#0077b5) from logo */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--color-primary-blue); /* LinkedIn Blue (#0077b5) from logo gradient */
    border-bottom-color: var(--color-primary-blue);
    text-shadow: 
        0 0 10px rgba(0, 119, 181, 0.5),
        0 0 20px rgba(0, 119, 181, 0.3);
}

a:active {
    color: var(--color-primary-gold); /* Gold (#ffd700) from logo gradient */
}

a:focus {
    outline: 2px solid var(--color-primary-blue);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Link with glass effect for special emphasis */
a.link-glass {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: var(--glass-background);
    backdrop-filter: blur(40px) saturate(var(--glass-saturate)) brightness(var(--glass-brightness));
    -webkit-backdrop-filter: blur(40px) saturate(var(--glass-saturate)) brightness(var(--glass-brightness));
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 4px 16px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

a.link-glass:hover {
    background: var(--glass-background-hover);
    backdrop-filter: blur(50px) saturate(var(--glass-saturate)) brightness(var(--glass-brightness-hover));
    -webkit-backdrop-filter: blur(50px) saturate(var(--glass-saturate)) brightness(var(--glass-brightness-hover));
    border: 1px solid var(--glass-border-hover);
    box-shadow: 
        0 8px 32px var(--glass-shadow-hover),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 40px var(--glass-glow),
        0 0 80px var(--glass-glow-teal);
    transform: translateY(-2px);
    border-bottom: 1px solid transparent;
}

/* Buttons - Only allowed in fonts.css */
button, .widget-button-standard {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
}

/* Form Elements - Only allowed in fonts.css */
input, textarea, select {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
}

/* Small Text - Only allowed in fonts.css */
small {
    font-size: var(--font-size-sm);
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    h3 {
        font-size: var(--font-size-xl);
    }
}
