/*
Theme Name: Premium Megamenu Theme
Theme URI: https://example.com/premium-megamenu-theme
Author: Antigravity
Author URI: https://github.com/google-deepmind
Description: A highly elegant and modern WordPress theme featuring a gorgeous, fully-customizable responsive Mega Menu. Built with advanced CSS grid, smooth dynamic transitions, glassmorphic dark/light aesthetics, and standard WP Navigation Walker.
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: premium-megamenu-theme
*/

/* ==========================================
   1. GLOBAL STYLES & DESIGN TOKENS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --color-primary: #6366f1;         /* Sleek Indigo */
    --color-primary-hover: #4f46e5;
    --color-secondary: #06b6d4;       /* Dynamic Cyan */
    --color-secondary-hover: #0891b2;
    --color-accent: #f43f5e;          /* Energetic Rose (for badges/highlights) */
    
    /* Dark Mode Theme Bases */
    --bg-dark: #0f172a;               /* Deep Slate */
    --bg-dark-card: #1e293b;          /* Lighter Slate */
    --bg-dark-hover: #334155;
    
    /* Light Mode Theme Bases */
    --bg-light: #f8fafc;
    --bg-light-card: #ffffff;
    --bg-light-hover: #f1f5f9;
    
    /* Active Theme Variables (Defaults to Dark Mode for Premium Look) */
    --body-bg: var(--bg-dark);
    --card-bg: var(--bg-dark-card);
    --card-hover-bg: var(--bg-dark-hover);
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Glassmorphism Styles */
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: 15px;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout */
    --container-max-width: 1280px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--body-bg);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* Header Spacer */
.header-spacer {
    height: var(--header-height);
}

/* Smooth background grid animation for hero or landing parts */
.glow-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
}
