/*
Theme Name: Anovas Integrated Systems
Theme URI: https://anovasintegratedsystems.com
Author: Anovas Integrated Systems
Author URI: https://anovasintegratedsystems.com
Description: Official WordPress theme for Anovas Integrated Systems — Business Systems & Automation for service-based businesses. Features the A.R.O.S Framework, Growth Score, Services, and more.
Version: 1.0.0
License: Private
License URI: https://anovasintegratedsystems.com
Text Domain: anovas
Tags: dark, business, automation, services, modern

*/

/* =====================================================
   ANOVAS INTEGRATED SYSTEMS - WORDPRESS THEME
   Based on the React/Tailwind frontend design
   ===================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat+Alternates:wght@400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
    --dark-bg: #020617;
    --dark-text: #FFFFFF;
    --dark-text-muted: #CBD5E1;
    --light-bg: #F9FAFB;
    --light-headline: #0B1C2C;
    --light-body: #4B5563;
    --primary-blue: #38BDF8;
    --accent-orange: #F97316;
    --teal-accent: #14B8A6;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --radius: 0.75rem;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--dark-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    line-height: 1.2;
}

h4, h5, h6 {
    font-family: 'Montserrat Alternates', sans-serif;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* =====================================================
   CUSTOM SCROLLBAR
   ===================================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-blue); }
::selection { background: rgba(56, 189, 248, 0.3); color: #fff; }

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */
.container-custom {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-custom { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .container-custom { padding-left: 2rem; padding-right: 2rem; }
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
@media (min-width: 768px) {
    .section-padding { padding-top: 7rem; padding-bottom: 7rem; }
}
@media (min-width: 1024px) {
    .section-padding { padding-top: 8rem; padding-bottom: 8rem; }
}

/* =====================================================
   SECTION BACKGROUNDS
   ===================================================== */
.section-dark {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

.section-light {
    background-color: var(--light-bg);
    color: var(--light-body);
}

.section-light h1,
.section-light h2,
.section-light h3 {
    color: var(--light-headline);
}

.section-gray {
    background-color: #F3F4F6;
    color: var(--light-body);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
    background-color: var(--accent-orange);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}
.btn-secondary:hover {
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--primary-blue);
}

.btn-blue {
    background-color: var(--primary-blue);
    color: var(--dark-bg);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.btn-blue:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

/* =====================================================
   CARDS
   ===================================================== */
.card-dark {
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
}

.card-light {
    background-color: white;
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   BRAND COLORS & TEXT
   ===================================================== */
.text-brand-blue { color: var(--primary-blue); }
.text-brand-orange { color: var(--accent-orange); }
.text-brand-teal { color: var(--teal-accent); }
.text-light-headline { color: var(--light-headline); }
.text-light-body { color: var(--light-body); }
.text-dark-muted { color: var(--dark-text-muted); }

.bg-brand-blue { background-color: var(--primary-blue); }
.bg-brand-orange { background-color: var(--accent-orange); }
.bg-brand-teal { background-color: var(--teal-accent); }
.bg-dark-bg { background-color: var(--dark-bg); }

/* =====================================================
   GLOW EFFECTS & PATTERNS
   ===================================================== */
.text-glow-blue {
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.glow-blue {
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3), 0 0 60px rgba(56, 189, 248, 0.1);
}

.glow-orange {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.3), 0 0 60px rgba(249, 115, 22, 0.1);
}

.grid-pattern {
    background-image:
        linear-gradient(to right, rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* =====================================================
   EYEBROW TEXT
   ===================================================== */
.eyebrow {
    color: var(--primary-blue);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    display: block;
}

/* =====================================================
   GRID HELPERS
   ===================================================== */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 640px) {
    .sm-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
    .lg-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.3); }
    50% { box-shadow: 0 0 40px rgba(56, 189, 248, 0.6); }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }

/* =====================================================
   WORDPRESS SPECIFIC OVERRIDES
   ===================================================== */
.wp-block-image { margin: 0; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
}

/* Skip link */
.skip-link {
    background: var(--primary-blue);
    color: var(--dark-bg);
    font-weight: 700;
    padding: 0.5rem 1rem;
    position: absolute;
    transform: translateY(-100%);
    transition: transform 0.3s;
}
.skip-link:focus { transform: translateY(0); }

/* =====================================================
   FORM STYLES
   ===================================================== */
.anovas-form input,
.anovas-form textarea,
.anovas-form select {
    width: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.anovas-form input:focus,
.anovas-form textarea:focus,
.anovas-form select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.anovas-form input::placeholder,
.anovas-form textarea::placeholder {
    color: var(--slate-400);
}

.anovas-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-300);
    margin-bottom: 0.5rem;
}

.anovas-form .form-group {
    margin-bottom: 1.5rem;
}

/* Contact form 7 override */
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 .wpcf7-not-valid-tip { color: #ef4444; font-size: 0.8125rem; margin-top: 0.25rem; }
.wpcf7 .wpcf7-response-output { border-radius: 0.5rem; padding: 1rem; margin-top: 1rem; }
