/*
Theme Name: Destivity
Theme URI: https://destivity.com
Author: Destivity Team
Author URI: https://destivity.com
Description: Premium Travel SaaS WordPress Theme - Plan Smarter. Travel Better. Features 3D Global Explorer, AI Trip Planner, and Real-time Pricing.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: destivity
Domain Path: /languages
Tags: travel, saas, 3d-map, ai-planner, dark-mode, travelpayouts, programmatic-seo

/* 
 * ---------------------------------------------------------------------------------------
 * TABLE OF CONTENTS
 * 1. Root Variables (Colors, Typography, Spacing)
 * 2. Theme Reset & Base Styles
 * 3. Typography
 * 4. Layout & Grid
 * 5. Navigation & Header
 * 6. Dark / Light Mode
 * 7. Map Components
 * 8. Blog & Programmatic SEO
 * 9. Footer
 * ---------------------------------------------------------------------------------------
 */

:root {
  /* Colors */
  --deep: #070C16;
  --dark: #0A1E2F;
  --mid: #0F2A3F;
  --teal: #0D9488;
  --teal-l: #14B8A6;
  --teal-g: rgba(13,148,136,0.3);
  --gold: #D97706;
  --gold-l: #F59E0B;
  --off: #F8F6F0;
  --white: #FFFFFF;
  --gray: #94a3b8;
  --glass: rgba(15, 23, 42, 0.85);
  --glass-b: rgba(255, 255, 255, 0.1);
  
  /* Legacy/Elementor Support */
  --bg-color: var(--deep);
  --bg-panel: var(--dark);
  --bg-glass: var(--glass);
  --text-color: var(--off);
  --text-muted: var(--gray);
  --border-color: var(--glass-b);
  --primary: #3b82f6;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --h: var(--font-heading);
  --b: var(--font-body);
  
  /* Radius & Spacing */
  --radius: 16px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-color: #F8F9FA;
  --bg-panel: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --text-color: #1a1a1a;
  --text-muted: #64748b;
  --border-color: rgba(0, 0, 0, 0.08);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  margin: 0;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 8px 12px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: 0.2s;
}
.theme-toggle:hover {
  border-color: var(--primary);
}
