/*
Theme Name: AiMS Vista Global Advisory
Theme URI: https://aimsvista.com
Author: AiMS Vista Global Advisory
Author URI: https://aimsvista.com
Description: Institutional-grade WordPress theme for AiMS Vista Global Advisory. Comprehensive solutions across Finance, Accounting, UAE/GCC Tax, Compliance, ERP Technology, Website & Web Application Development, and Digital Marketing. Features modern responsive design, Theme Customizer controls, interactive ROI calculators, execution architecture diagrams, and AJAX lead intake.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aims-vista
Tags: financial, accounting, tax, consulting, web-development, digital-marketing, advisory, enterprise, block-patterns, custom-menu, custom-logo, translation-ready
*/

/* Core Theme Design Tokens & Typography (Brand Palette) */
:root {
  --color-navy: #0B1B3D;
  --color-navy-dark: #07122A;
  --color-navy-light: #0D2352;
  --color-blue: #134074;
  --color-gold: #C89B3C;
  --color-gold-light: #DFB15B;
  --color-gold-dark: #B8860B;
  --color-slate-bg: #F8FAFC;
  --color-paper: #FFFFFF;
  --color-border: #E2E8F0;
  --color-text-main: #0B1B3D;
  --color-text-muted: #64748B;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Background Grids */
.bg-grid {
  background-image:
    linear-gradient(#E2E8F0 1px, transparent 1px),
    linear-gradient(90deg, #E2E8F0 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-grid-dark {
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-gradient {
  background:
    radial-gradient(70% 90% at 100% 100%, rgba(200,155,60,0.2) 0%, rgba(200,155,60,0) 65%),
    linear-gradient(135deg, #0B1B3D 0%, #0D2352 50%, #134074 100%);
}

/* WordPress Core Specific CSS */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0.5em 1.5em 1em 0; }
.alignright { float: right; margin: 0.5em 0 1em 1.5em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: #64748B; text-align: center; margin-top: 0.5rem; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Back to Top Floating Button */
#toTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Accordion Smooth Height Transitions */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}
.faq-item.open .faq-content {
  max-height: 500px;
  opacity: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* Animations, Micro-Interactions & Shimmer Effects */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.06); }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

.gold-shimmer-btn {
  position: relative;
  overflow: hidden;
}

.gold-shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: translateX(-100%) rotate(25deg);
  transition: transform 0.8s ease;
}

.gold-shimmer-btn:hover::after {
  transform: translateX(100%) rotate(25deg);
}

.gold-glow-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gold-glow-card:hover {
  box-shadow: 0 12px 30px -10px rgba(200, 155, 60, 0.2), 0 4px 12px -2px rgba(11, 27, 61, 0.06);
  border-color: rgba(200, 155, 60, 0.45);
}
