/*
Theme Name: Replicated React Theme
Theme URI: https://example.com
Author: Antigravity
Author URI: https://example.com
Description: A WordPress theme replicating the Verdevitae Remix React application.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: replicated-theme
*/

/* =========================================
   Base Styles & Variables
   (Ported from src/index.css and tailwind.config.ts)
   ========================================= */

:root {
  /* Light theme */
  --background: 0 0% 100%;
  /* #ffffff */
  --foreground: 0 0% 0%;
  /* #000000 */

  --card: 0 0% 100%;
  --card-foreground: 0 0% 0%;

  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 0%;

  /* Primary - Green #6eb42f */
  --primary: 101 59% 45%;
  --primary-foreground: 0 0% 100%;

  /* Secondary - Dark navy blue #232564 */
  --secondary: 239 48% 26%;
  --secondary-foreground: 0 0% 100%;

  /* Muted */
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 0%;

  /* Accent */
  --accent: 101 59% 45%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;

  --border: 0 0% 85%;
  --input: 0 0% 85%;
  --ring: 101 59% 45%;

  --radius: 0.5rem;

  /* Custom tokens */
  --hero-overlay: linear-gradient(to right, hsl(239 48% 26% / 0.95) 0%, hsl(239 48% 26% / 0.80) 50%, hsl(239 48% 26% / 0.5) 100%);
  --text-gradient: linear-gradient(135deg, hsl(101 59% 45%) 0%, hsl(101 59% 55%) 100%);
  --card-shadow: 0 4px 20px -5px hsl(0 0% 0% / 0.1);
  --glow-primary: 0 0 40px hsl(101 59% 45% / 0.3);

  /* Typography */
  --font-serif: 'Neometric Alt', 'Poppins', system-ui, sans-serif;
  --font-sans: 'Neometric Alt', 'Poppins', system-ui, sans-serif;

  /* Sidebar */
  --sidebar-background: 0 0% 100%;
  --sidebar-foreground: 0 0% 0%;
  --sidebar-primary: 101 59% 45%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 239 48% 26%;
  --sidebar-accent-foreground: 0 0% 100%;
  --sidebar-border: 0 0% 85%;
  --sidebar-ring: 101 59% 45%;
}

.dark {
  --background: 0 0% 0%;
  --foreground: 0 0% 100%;
  --card: 239 48% 26%;
  --card-foreground: 0 0% 100%;
  --popover: 239 48% 26%;
  --popover-foreground: 0 0% 100%;
  --primary: 101 59% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 239 48% 26%;
  --secondary-foreground: 0 0% 100%;
  --muted: 239 40% 20%;
  --muted-foreground: 0 0% 80%;
  --accent: 101 59% 45%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 0 0% 100%;
  --border: 239 40% 30%;
  --input: 239 40% 30%;
  --ring: 101 59% 45%;
  --sidebar-background: 0 0% 0%;
  --sidebar-foreground: 0 0% 100%;
  --sidebar-primary: 101 59% 45%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 239 48% 26%;
  --sidebar-accent-foreground: 0 0% 100%;
  --sidebar-border: 239 40% 30%;
  --sidebar-ring: 101 59% 45%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
}

/* Utilities manually defined from index.css layers */
.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-overlay {
  background: var(--hero-overlay);
}

.card-shadow {
  box-shadow: var(--card-shadow);
}

.glow-primary {
  box-shadow: var(--glow-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--background));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--muted-foreground));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary));
}

/* Section Utilities from React index.css */
.section-light {
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.section-dark {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.section-cream {
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
}