/*
Theme Name: Parvada Foods
Theme URI: https://parvadafoods.com
Author: Parvada Foods
Author URI: https://parvadafoods.com
Description: High-converting B2B food supplier theme with corporate, clean, energetic design. Features split hero layout with dynamic image slider, category showcase, and optimized conversion elements.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parvada-foods
Tags: business, b2b, food, one-column, custom-menu, featured-images, full-width-template

Parvada Foods - Para todo negocio de alimentos
*/

/* ==========================================================================
   DESIGN SYSTEM - CSS Custom Properties
   ========================================================================== */

:root {
    /* ========================================
       COLOR PALETTE
       ======================================== */
    
    /* Primary Brand Colors - Parvada Red */
    --pv-red: #B20708;            /* MAIN BRAND COLOR */
    --pv-red-900: #6B0506;
    --pv-red-800: #8A0607;
    --pv-red-700: #9E0607;
    --pv-red-600: #B20708;        /* Parvada Primary */
    --pv-red-500: #B51819;        /* Parvada Secondary */
    --pv-red-400: #D43030;
    --pv-red-300: #E05555;
    --pv-red-200: #EC8888;
    --pv-red-100: #F5BBBB;
    --pv-red-50: #FDE8E8;
    
    /* Shorthand for main brand color */
    --color-primary: var(--pv-red);
    --color-primary-hover: var(--pv-red-700);
    --color-primary-dark: var(--pv-red-800);
    
    /* Neutral Colors */
    --pv-charcoal-900: #1A1A1A;
    --pv-charcoal-800: #2D2D2D;   /* Primary Charcoal */
    --pv-charcoal-700: #3D3D3D;
    --pv-charcoal-600: #525252;
    --pv-charcoal-500: #6B6B6B;
    --pv-charcoal-400: #8A8A8A;
    --pv-charcoal-300: #A8A8A8;
    --pv-charcoal-200: #D4D4D4;
    --pv-charcoal-100: #ECECEC;
    --pv-charcoal-50: #F7F7F7;
    
    /* Accent Colors */
    --pv-white: #FFFFFF;
    --pv-off-white: #FAFAFA;
    --pv-cream: #FFF8F0;
    
    /* Semantic Colors */
    --pv-success: #22C55E;
    --pv-warning: #F59E0B;
    --pv-error: #EF4444;
    --pv-info: #3B82F6;
    --pv-whatsapp: #25D366;
    
    /* ========================================
       TYPOGRAPHY
       ======================================== */
    
    /* Font Families */
    --font-display: 'Arial Black', 'Arial', sans-serif;
    --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 4.5rem);
    --text-6xl: clamp(3.75rem, 2.5rem + 6.25vw, 6rem);
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.15;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    
    /* ========================================
       SPACING SYSTEM
       ======================================== */
    
    --space-0: 0;
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */
    --space-32: 8rem;      /* 128px */
    
    /* ========================================
       LAYOUT
       ======================================== */
    
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1440px;
    
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-gap: clamp(4rem, 8vw, 8rem);
    
    /* ========================================
       BORDERS & RADIUS
       ======================================== */
    
    --radius-none: 0;
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    --border-thin: 1px;
    --border-medium: 2px;
    --border-thick: 4px;
    
    /* ========================================
       SHADOWS
       ======================================== */
    
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    --shadow-2xl: 0 32px 64px rgba(0, 0, 0, 0.15), 0 12px 24px rgba(0, 0, 0, 0.08);
    
    /* Neumorphic Shadows */
    --shadow-neu-light: 8px 8px 16px rgba(0, 0, 0, 0.06), -8px -8px 16px rgba(255, 255, 255, 0.8);
    --shadow-neu-inset: inset 4px 4px 8px rgba(0, 0, 0, 0.05), inset -4px -4px 8px rgba(255, 255, 255, 0.7);
    
    /* Colored Shadows - Parvada Red */
    --shadow-red: 0 8px 24px rgba(178, 7, 8, 0.35);
    --shadow-red-lg: 0 16px 48px rgba(178, 7, 8, 0.4);
    
    /* ========================================
       TRANSITIONS
       ======================================== */
    
    --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;
    --duration-slower: 600ms;
    
    /* ========================================
       Z-INDEX SCALE
       ======================================== */
    
    --z-negative: -1;
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-sticky: 100;
    --z-header: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;
}

/* ==========================================================================
   BASE RESET & DEFAULTS
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-regular);
    line-height: var(--leading-normal);
    color: var(--pv-charcoal-800);
    background-color: var(--pv-white);
    overflow-x: hidden;
}

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* Focus States for Accessibility */
:focus-visible {
    outline: 3px solid var(--pv-red, #B20708);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background-color: var(--pv-red, #B20708);
    color: var(--pv-white);
}
