/*
Theme Name: Meredare - Engineering Intelligence
Theme URI: https://meredare.hr
Author: Meredare Team
Author URI: https://meredare.hr
Description: Premium, lightweight custom WordPress theme crafted for Meredare. Seamlessly integrates heavy engineering and AI-driven design with warm, high-contrast aesthetics and full responsiveness.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meredare
Tags: custom-background, custom-menu, featured-images, responsive-layout, translation-ready

This theme is built with Google Fonts and Tailwind CSS.
*/

/* Core CSS styles matching the React mockup */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Sora:wght@600;700&display=swap');

:root {
  --color-page-bg: #EAE7E0;
  --color-text-main: #1A1A1A;
  --color-accent-orange: #FF4D00;
  --color-accent-orange-hover: #E64500;
  --color-card-bg: #F5F3EF;
  --color-border-light: rgba(0,0,0,0.1);
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-page-bg);
  color: var(--color-text-main);
}

body {
  background-color: #EAE7E0 !important;
  color: #1A1A1A !important;
}

/* Custom Interactive Cursor (hidden on touchscreens) */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, select, input, textarea, [onclick] {
    cursor: none;
  }
}

.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #FF4D00;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-circle {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(26, 26, 26, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Cursor Hover States */
.cursor-hover .custom-cursor-dot {
  width: 12px;
  height: 12px;
  background-color: #1A1A1A;
}

.cursor-hover .custom-cursor-circle {
  width: 48px;
  height: 48px;
  border-color: #FF4D00;
  background-color: rgba(255, 77, 0, 0.05);
}

/* Core Entrance Scroll Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-left.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-right.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-scale.reveal-visible {
  opacity: 1;
  transform: scale(1);
}

/* Animation Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Custom Micro Hovers & Shadows */
.btn-primary {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px #1A1A1A;
}

.btn-outline {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px #FF4D00;
}

/* Card hover scaling to match react premium feel */
.interactive-card {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease;
}
.interactive-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0px #1A1A1A;
}

.interactive-card-orange {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.interactive-card-orange:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0px #1A1A1A;
}

