/* ============================================
   FLOATEX SOLAR — base.css
   Variables, Reset, Typography, Utilities
   Shared across ALL pages
============================================ */

/* ============================================
   1. CSS VARIABLES
============================================ */
:root {
  --color-primary: #fcaf17;
  --color-primary-dark: #e09a0f;
  --color-primary-light: #fdc94a;

  --color-dark: #0a0a0a;
  --color-dark-2: #111111;
  --color-dark-3: #1a1a1a;

  --color-light: #ffffff;
  --color-light-2: #f5f5f5;

  --color-text: #ffffff;
  --color-text-muted: #a0a0a0;
  --color-text-dark: #1a1a1a;

  --font-primary: "Poppins", sans-serif;
  --font-script: "Caveat", cursive;

  --text-xs: clamp(0.7rem, 1vw, 0.75rem);
  --text-sm: clamp(0.8rem, 1.2vw, 0.875rem);
  --text-base: clamp(0.875rem, 1.5vw, 1rem);
  --text-md: clamp(1rem, 1.8vw, 1.125rem);
  --text-lg: clamp(1.1rem, 2vw, 1.25rem);
  --text-xl: clamp(1.25rem, 2.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 3vw, 2rem);
  --text-3xl: clamp(2rem, 4vw, 2.75rem);
  --text-4xl: clamp(2.5rem, 5vw, 3.5rem);
  --text-hero: clamp(3rem, 6vw, 5.2rem);

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 40px rgba(252, 175, 23, 0.3);

  --ease-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --z-below: -1;
  --z-base: 0;
  --z-raised: 10;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;

  /* Nav specific */
  --nav-height: 72px;
  --nav-bg: rgba(133, 161, 218, 0.65);
  --nav-border: rgba(255, 255, 255, 0.1);
  --nav-blur: blur(18px);
}

/* ============================================
   FIGMA HAND — Uncomment when font file ready
============================================ */
/*
@font-face {
  font-family: 'Figma Hand';
  src: url('../assets/fonts/FigmaHand-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style:  italic;
  font-display: swap;
}
*/

.text--primary {
  color: var(--color-primary);
}


/* ============================================
   2. MODERN RESET
============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ============================================
   3. BASE TYPOGRAPHY
============================================ */
h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

/* ============================================
   4. UTILITY CLASSES
============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.overflow-hidden {
  overflow: hidden;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.object-cover {
  object-fit: cover;
}

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

.section {
  padding-block: var(--space-5xl);
}


/* ============================================
   6. SKIP LINK
============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: var(--color-dark);
  font-weight: var(--fw-semibold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 999;
  transition: top var(--ease-fast);
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* ============================================
   7. SCROLLBAR
============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-dark-2);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

::selection {
  background: var(--color-primary);
  color: var(--color-dark);
}

