/**
 * Grupo GONA Main Base CSS
 *
 * Contains global variables, font loads, resets, and layout wrappers.
 */

/* ----------------------------------------------------
   1. Font Definitions
   ---------------------------------------------------- */
/* Headings are enqueued from Google Fonts (Outfit) inside inc/enqueue.php. No local binary dependencies. */

/* ----------------------------------------------------
   2. Design Tokens & CSS Variables
   ---------------------------------------------------- */
:root {
  /* Color Palette */
  --gona-orange: #FF7112;
  --gona-green: #8DE303;
  --gona-black: #000000;
  --gona-white: #FFFFFF;

  --gona-cream: #FFF8EF;
  --gona-soft-cream: #FFFBF5;
  --gona-graphite: #171717;
  --gona-muted: #6F6A63;
  --gona-border: rgba(23, 23, 23, 0.08);

  /* Transparencies & Glass effect */
  --gona-orange-soft: rgba(255, 113, 18, 0.08);
  --gona-green-soft: rgba(141, 227, 3, 0.10);
  --gona-glass: rgba(255, 255, 255, 0.72);
  --gona-glass-dark: rgba(23, 23, 23, 0.85);

  /* Typography Fallbacks */
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Border Radius System */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 44px;

  /* Modern Premium Shadows */
  --shadow-soft: 0 18px 60px rgba(23, 23, 23, 0.05);
  --shadow-card: 0 10px 30px rgba(23, 23, 23, 0.04);
  --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.02);

  /* Micro-interactions & animations */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ----------------------------------------------------
   3. Baseline Resets
   ---------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.625;
  color: var(--gona-graphite);
  background-color: var(--gona-cream);
  overflow-x: hidden;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gona-graphite);
  line-height: 1.2;
}

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

a:hover {
  color: var(--gona-orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Accessibility Focus State */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gona-orange);
  outline-offset: 4px;
}

/* Smooth Scrolling Anchor Bypass */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
