/* ============================================
   OPTIMIZED CSS VARIABLES - CENTRALIZED
   Professional Fiverr-Inspired Color Scheme
   ============================================ */

:root {
    /* ============================================
       PRIMARY BRAND COLORS
       ============================================ */
    --main-color-one: #1DBF73;
    --main-color-two: #19A463;
    --main-color-one-rgb: 29, 191, 115;
    --main-color-one-hover: #19A463;
    --main-color-one-light: #E8F7F0;

    /* ============================================
       SECONDARY & ACCENT COLORS
       ============================================ */
    --secondary-color: #FF6B35;
    --secondary-color-rgb: 255, 107, 53;
    --accent-color: #4A90E2;
    --accent-color-rgb: 74, 144, 226;

    /* ============================================
       BACKGROUND COLORS
       ============================================ */
    --bg-white: #FFFFFF;
    --bg-light: #F7F8FA;
    --bg-lighter: #FAFBFC;
    --bg-gradient: linear-gradient(135deg, #F7F8FA 0%, #FFFFFF 100%);
    --section-bg-base: #1DBF73;
    --section-bg-1: #F7F8FA;
    --section-bg-2: #FAFBFC;
    --section-bg-3: #FFFFFF;

    /* ============================================
       DARK THEME COLORS
       ============================================ */
    --dark-primary: #222325;
    --dark-secondary: #404145;
    --dark-tertiary: #62646A;
    --footer-bg-1: #222325;
    --footer-bg-2: #404145;
    --copyright-bg-1: #1A1B1D;

    /* ============================================
       BORDER & DIVIDER COLORS
       ============================================ */
    --border-color: #E4E5E7;
    --border-color-2: #DADBDD;
    --border-light: #F1F2F3;
    --divider-color: #E4E5E7;

    /* ============================================
       TEXT COLORS
       ============================================ */
    --heading-color: #222325;
    --paragraph-color: #62646A;
    --body-color: #74767E;
    --text-dark: #222325;
    --text-medium: #404145;
    --text-light: #62646A;
    --text-lighter: #95979D;
    --text-muted: #B5B6BA;

    /* ============================================
       STATUS & FEEDBACK COLORS
       ============================================ */
    --white: #FFFFFF;
    --black: #000000;
    --success-color: #1DBF73;
    --success-color-rgb: 29, 191, 115;
    --success-light: #E8F7F0;
    --warning-color: #FFBE5B;
    --warning-color-rgb: 255, 190, 91;
    --warning-light: #FFF5E6;
    --danger-color: #FF6B6B;
    --danger-color-rgb: 255, 107, 107;
    --danger-light: #FFE8E8;
    --info-color: #4A90E2;
    --info-color-rgb: 74, 144, 226;
    --info-light: #E8F2FC;
    --active-color: #1DBF73;
    --active-color-rgb: 29, 191, 115;

    /* ============================================
       CATEGORY & PROMO COLORS
       ============================================ */
    --promo-one: #E8F7F0;
    --promo-two: #FFE6D3;
    --promo-three: #E8F2FC;
    --promo-four: #F0F9E8;
    --promo-five: #FFE8E8;
    --promo-six: #E6F9F0;
    --promo-seven: #E8ECFC;
    --promo-eight: #F9E8FC;

    /* ============================================
       SHADOW SYSTEM
       ============================================ */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.18);
    --shadow-2xl: 0 16px 48px rgba(0, 0, 0, 0.20);

    /* ============================================
       HOVER & FOCUS STATES
       ============================================ */
    --hover-overlay: rgba(0, 0, 0, 0.04);
    --focus-ring: rgba(29, 191, 115, 0.2);
    --focus-ring-width: 3px;

    /* ============================================
       TYPOGRAPHY SYSTEM
       ============================================ */
    --heading-font: 'Inter', sans-serif;
    --body-font: 'Inter', sans-serif;
    --section-font: 'Inter', sans-serif;

    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* ============================================
       SPACING SYSTEM
       ============================================ */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* ============================================
       BORDER RADIUS SYSTEM
       ============================================ */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* ============================================
       TRANSITION SYSTEM
       ============================================ */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* ============================================
       Z-INDEX SYSTEM
       ============================================ */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ============================================
   GLOBAL ENHANCEMENTS
   ============================================ */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    color: var(--text-medium);
    background-color: var(--bg-white);
    font-family: var(--body-font);
    line-height: 1.6;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--main-color-one);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--main-color-one);
    color: var(--white);
}

/* ============================================
   COMPONENT UTILITIES
   ============================================ */

/* Nice Select Optimization */
.nice-select .option {
    min-height: 30px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    font-weight: 700;
}

/* Performance Optimizations */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Mobile Touch Optimization */
@media (max-width: 768px) {
    .btn, a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    body {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Remove hover effects on mobile */
    .hover-effect:hover {
        transform: none;
    }
}

