/**
 * Font Awesome 6 Free - Solid & Brands Icons
 * Reference: https://fontawesome.com
 * 
 * @package GrowthSheriff
 * @since 1.0.0
 */

/* ==========================================================================
   Font Face Declarations - Using CDN for reliability
   For production, consider self-hosting for performance
   ========================================================================== */

/* Font Awesome Core Variables */
:root {
    --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
    --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
    --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
}

/* ==========================================================================
   Icon Font Utility Classes
   ========================================================================== */

.gs-icon,
[class^="gs-icon-"],
[class*=" gs-icon-"] {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Icon Sizes */
.gs-icon-xs { font-size: 0.75em; }
.gs-icon-sm { font-size: 0.875em; }
.gs-icon-lg { font-size: 1.25em; }
.gs-icon-xl { font-size: 1.5em; }
.gs-icon-2x { font-size: 2em; }
.gs-icon-3x { font-size: 3em; }
.gs-icon-4x { font-size: 4em; }
.gs-icon-5x { font-size: 5em; }

/* Icon Animations */
.gs-icon-spin {
    animation: gs-icon-spin 2s infinite linear;
}

.gs-icon-pulse {
    animation: gs-icon-spin 1s infinite steps(8);
}

@keyframes gs-icon-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Icon Rotations */
.gs-icon-rotate-90 { transform: rotate(90deg); }
.gs-icon-rotate-180 { transform: rotate(180deg); }
.gs-icon-rotate-270 { transform: rotate(270deg); }
.gs-icon-flip-h { transform: scaleX(-1); }
.gs-icon-flip-v { transform: scaleY(-1); }

/* Icon Fixed Width */
.gs-icon-fw {
    width: 1.25em;
    text-align: center;
}

/* ==========================================================================
   Custom Icons - Using Font Awesome 6 CDN
   Font Awesome loaded in header.php via cdnjs
   ========================================================================== */

/* ==========================================================================
   Social Icons (SVG-based for scalability)
   ========================================================================== */

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color, #6254E7);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary-color, #F2295B);
    transform: translateY(-3px);
}

/* Facebook */
.social-icon--facebook { background: #1877f2; }
.social-icon--facebook:hover { background: #166fe5; }

/* Twitter/X */
.social-icon--twitter { background: #000; }
.social-icon--twitter:hover { background: #333; }

/* Instagram */
.social-icon--instagram { 
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); 
}
.social-icon--instagram:hover { opacity: 0.9; }

/* LinkedIn */
.social-icon--linkedin { background: #0a66c2; }
.social-icon--linkedin:hover { background: #004182; }

/* YouTube */
.social-icon--youtube { background: #ff0000; }
.social-icon--youtube:hover { background: #cc0000; }

/* WhatsApp */
.social-icon--whatsapp { background: #25d366; }
.social-icon--whatsapp:hover { background: #128c7e; }

/* Telegram */
.social-icon--telegram { background: #0088cc; }
.social-icon--telegram:hover { background: #0077b5; }

/* ==========================================================================
   Inline SVG Icons
   ========================================================================== */

.svg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: middle;
}

/* ==========================================================================
   Montserrat Font Family
   Loaded via Google Fonts CDN in functions.php
   ========================================================================== */

/* ==========================================================================
   Typography Variables
   ========================================================================== */

:root {
    /* Font Families */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Montserrat', Georgia, serif;
    --font-monospace: 'Fira Code', 'Consolas', 'Monaco', monospace;
    
    /* Font Sizes - Fluid Typography */
    --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
    --font-size-base: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
    --font-size-3xl: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
    --font-size-4xl: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
    --font-size-5xl: clamp(3rem, 2.2rem + 3vw, 5rem);
    
    /* Font Weights */
    --font-weight-thin: 100;
    --font-weight-extralight: 200;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Letter Spacing */
    --letter-spacing-tighter: -0.05em;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    --letter-spacing-widest: 0.1em;
}

/* ==========================================================================
   Typography Base Styles
   ========================================================================== */

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    color: var(--text-color, #525c7a);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--heading-color, #1d2145);
    margin-top: 0;
    margin-bottom: 0.5em;
}

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); }

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }

.font-thin { font-weight: var(--font-weight-thin); }
.font-extralight { font-weight: var(--font-weight-extralight); }
.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }
.font-black { font-weight: var(--font-weight-black); }

.leading-tight { line-height: var(--line-height-tight); }
.leading-snug { line-height: var(--line-height-snug); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }
.leading-loose { line-height: var(--line-height-loose); }

.tracking-tighter { letter-spacing: var(--letter-spacing-tighter); }
.tracking-tight { letter-spacing: var(--letter-spacing-tight); }
.tracking-normal { letter-spacing: var(--letter-spacing-normal); }
.tracking-wide { letter-spacing: var(--letter-spacing-wide); }
.tracking-wider { letter-spacing: var(--letter-spacing-wider); }
.tracking-widest { letter-spacing: var(--letter-spacing-widest); }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }
