/*
Theme Name: Garnet Agro
Theme URI: https://garnetagro.com/
Author: Deepak Meher
Author URI: https://raiseque.com/
Description: A premium custom WordPress theme for Garnet Agro - Fresh fruits & vegetables importer-exporter (India to Dubai). Developed by RaisequeLLP. Optimized for search engines and AI web crawlers.
Version: 1.1.1
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: garnetagro
Tags: agriculture, green, custom-logo, custom-menu, responsive-layout, seo-friendly
*/

/* =============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================= */
:root {
    /* Brand Colors */
    --color-primary: #1B4332;         /* Emerald Green (Freshness/Veg) */
    --color-primary-dark: #0D281E;
    --color-primary-light: #2D6A4F;
    --color-secondary: #CC0000;       /* Garnet Red (Fruits/Brand) */
    --color-secondary-dark: #990000;
    --color-secondary-light: #FF3333;
    --color-accent: #FF9F1C;          /* Orange Accent */

    /* Neutrals */
    --color-dark: #09100D;            /* Deep Forest Charcoal */
    --color-dark-2: #050807;
    --color-dark-3: #111E18;
    --color-dark-4: #192C23;
    --color-gray: #66756F;
    --color-gray-light: #94A69F;
    --color-gray-lighter: #C2CDC8;
    --color-border: rgba(255,255,255,0.08);
    --color-white: #FFFFFF;
    --color-white-90: rgba(255,255,255,0.9);
    --color-white-70: rgba(255,255,255,0.7);
    --color-white-50: rgba(255,255,255,0.5);
    --color-white-10: rgba(255,255,255,0.05);

    /* Typography */
    --font-heading: 'Outfit', 'Montserrat', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout Constraints */
    --container-max: 1200px;
    --container-padding: 24px;
}

/* =============================================
   RESET & BASE STYLES
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: var(--color-white-90);
    line-height: 1.7;
    font-size: var(--text-base);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.8rem, 4vw, var(--text-4xl)); }
h3 { font-size: clamp(1.4rem, 3vw, var(--text-3xl)); }
h4 { font-size: clamp(1.2rem, 2vw, var(--text-2xl)); }

p {
    margin-bottom: var(--space-4);
    color: var(--color-white-70);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-white);
}

/* =============================================
   GLOBAL LAYOUT UTILITIES
   ============================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.section-padding {
    padding: var(--space-16) 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-secondary-light);
    transform: translateY(-2px);
}
