/*
Theme Name: OCV Contractor Management
Theme URI: https://ocvltd.com.au
Author: OCV Ltd
Author URI: https://ocvltd.com.au
Description: Professional one-page WordPress theme for OCV Contractor Management Services Australia. Features a dark navy and amber colour scheme with sections for hero, services, about, trust indicators, and contact form.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ocv-theme
Tags: one-page, business, professional, contractor, management
*/

/* =====================================================
   GOOGLE FONTS
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* =====================================================
   MAIN THEME STYLES
   ===================================================== */

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --navy: #0B1F3A;
    --navy-mid: #122544;
    --accent: #F59E0B;
    --accent-light: #FCD34D;
    --steel: #1E3A5F;
    --slate: #64748B;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --text: #1E293B;
    --muted: #64748B;
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; height: 72px;
    background: rgba(11, 31, 58, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-logo {
    font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px;
    color: var(--white);
  }
  .nav-logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    color: rgba(255,255,255,0.75); text-decoration: none;
    font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
    letter-spacing: 0.02em;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-cta {
    background: var(--accent); color: var(--navy);
    padding: 0.55rem 1.4rem; border-radius: 6px;
    font-weight: 700; font-size: 0.875rem; text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .nav-cta:hover { background: var(--accent-light); transform: translateY(-1px); }

  /* HERO */
  .hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #071526 0%, #0B1F3A 40%, #122B50 100%);
  }
  .hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
      radial-gradient(ellipse 80% 60% at 70% 50%, rgba(245,158,11,0.08) 0%, transparent 70%),
      radial-gradient(circle at 20% 80%, rgba(30,58,95,0.6) 0%, transparent 50%);
  }
  .hero-grid {
    position: absolute; inset: 0; opacity: 0.03;
    background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .hero-inner {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 120px 5% 80px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25);
    color: var(--accent); padding: 0.4rem 1rem; border-radius: 50px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 1.5rem;
  }
  .hero-badge::before { content: '●'; font-size: 0.5rem; }
  .hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 900; line-height: 1.08;
    color: var(--white);
    letter-spacing: -1.5px; margin-bottom: 1.5rem;
  }
  .hero h1 em { color: var(--accent); font-style: normal; }
  .hero-sub {
    font-size: 1.05rem; color: rgba(255,255,255,0.65);
    line-height: 1.7; margin-bottom: 2.5rem; max-width: 480px;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    background: var(--accent); color: var(--navy);
    padding: 0.85rem 2rem; border-radius: 8px; text-decoration: none;
    font-weight: 700; font-size: 0.95rem;
    transition: all 0.2s; display: inline-block;
    box-shadow: 0 4px 20px rgba(245,158,11,0.35);
  }
  .btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,158,11,0.45); }
  .btn-outline {
    background: transparent; color: var(--white);
    padding: 0.85rem 2rem; border-radius: 8px; text-decoration: none;
    font-weight: 600; font-size: 0.95rem;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: all 0.2s; display: inline-block;
  }
  .btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
  .hero-stats {
    display: flex; gap: 2rem; margin-top: 3rem;
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  }
  .stat-item { text-align: left; }
  .stat-number { font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1; }
  .stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.06em; }
  
  /* Hero right panel */
  .hero-card-stack { position: relative; height: 420px; }
  .hero-card {
    position: absolute; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 1.5rem;
    backdrop-filter: blur(10px);
  }
  .hero-card-main {
    top: 0; right: 0; left: 0; padding: 2rem;
    background: rgba(30, 58, 95, 0.7);
  }
  .hero-card-main h3 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
  .service-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
  .service-list li {
    display: flex; align-items: center; gap: 0.75rem;
    color: rgba(255,255,255,0.8); font-size: 0.875rem;
  }
  .service-list li::before {
    content: ''; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(245,158,11,0.2); border: 1px solid rgba(245,158,11,0.4);
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23F59E0B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 12px; background-repeat: no-repeat; background-position: center;
  }
  .hero-card-float {
    bottom: 20px; right: -10px; width: 200px;
    background: var(--accent);
    border-radius: 14px; padding: 1.2rem;
  }
  .hero-card-float .cf-num { font-size: 1.8rem; font-weight: 900; color: var(--navy); }
  .hero-card-float .cf-label { font-size: 0.72rem; color: rgba(11,31,58,0.7); font-weight: 600; text-transform: uppercase; }

  /* STATS BAR */
  .stats-bar {
    background: var(--navy); padding: 3rem 5%;
    display: flex; justify-content: center;
  }
  .stats-bar-inner {
    max-width: 1000px; width: 100%;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; text-align: center;
  }
  .sb-item {
    padding: 0 2rem; position: relative;
  }
  .sb-item:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 20%; height: 60%;
    width: 1px; background: rgba(255,255,255,0.1);
  }
  .sb-num { font-size: 2.4rem; font-weight: 900; color: var(--accent); line-height: 1; }
  .sb-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.4rem; text-transform: uppercase; letter-spacing: 0.06em; }

  /* SECTION HEADER */
  .section { padding: 100px 5%; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-tag {
    display: inline-block; color: var(--accent);
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 0.75rem;
  }
  .section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800; letter-spacing: -0.5px;
    color: var(--text); line-height: 1.15;
  }
  .section-sub {
    margin-top: 1rem; font-size: 1rem;
    color: var(--muted); max-width: 560px; line-height: 1.7;
  }

  /* BENEFITS */
  .benefits-section { background: var(--light); }
  .benefits-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5px; margin-top: 4rem;
    background: var(--border); border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border);
  }
  .benefit-card {
    background: var(--white); padding: 2.5rem 2rem;
    transition: background 0.2s;
  }
  .benefit-card:hover { background: #FAFBFF; }
  .benefit-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(245,158,11,0.06));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem; font-size: 1.4rem;
  }
  .benefit-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
  .benefit-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

  /* SERVICES */
  .services-section { background: var(--white); }
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 4rem;
  }
  .service-card {
    border: 1px solid var(--border); border-radius: 16px;
    padding: 2.5rem; position: relative; overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  }
  .service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s;
  }
  .service-card:hover { border-color: transparent; box-shadow: 0 8px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-num { font-size: 3rem; font-weight: 900; color: rgba(245,158,11,0.12); line-height: 1; margin-bottom: 0.75rem; font-variant-numeric: tabular-nums; }
  .service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
  .service-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

  /* ABOUT */
  .about-section { background: var(--light); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 0; }
  .about-visual {
    position: relative; border-radius: 20px; overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--steel), var(--navy));
    display: flex; align-items: center; justify-content: center;
  }
  .about-visual-inner {
    text-align: center; padding: 3rem;
  }
  .about-visual-icon { font-size: 4rem; margin-bottom: 1rem; }
  .about-visual-title { color: var(--white); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
  .about-visual-sub { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
  .about-accent-bar {
    position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
  }
  .about-content .section-title { margin-bottom: 1.5rem; }
  .about-paragraphs { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
  .about-paragraphs p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }
  .about-mission {
    background: var(--white); border-left: 3px solid var(--accent);
    padding: 1.25rem 1.5rem; border-radius: 0 10px 10px 0;
    font-size: 0.875rem; color: var(--text); line-height: 1.7;
    font-style: italic; margin-bottom: 2rem;
  }

  /* TRUST */
  .trust-section { background: var(--navy); }
  .trust-section .section-tag { color: var(--accent-light); }
  .trust-section .section-title { color: var(--white); }
  .trust-section .section-sub { color: rgba(255,255,255,0.55); max-width: 700px; }
  .trust-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; margin-top: 4rem;
  }
  .trust-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 2rem 2rem 2rem 1.75rem;
    display: flex; gap: 1.25rem; align-items: flex-start;
    transition: background 0.2s, border-color 0.2s;
  }
  .trust-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(245,158,11,0.25); }
  .trust-icon {
    width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
    background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
  }
  .trust-card h3 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
  .trust-card p { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.65; }

  /* CONTACT */
  .contact-section { background: var(--white); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 4rem; }
  .contact-info { }
  .contact-info-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
  .contact-info-sub { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
  .contact-detail {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.25rem; border-radius: 10px;
    border: 1px solid var(--border); margin-bottom: 0.75rem;
    font-size: 0.875rem; color: var(--text); font-weight: 500;
  }
  .contact-detail-icon { font-size: 1.1rem; }
  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
  .form-group input, .form-group textarea, .form-group select {
    padding: 0.75rem 1rem; border: 1.5px solid var(--border);
    border-radius: 8px; font-size: 0.875rem; font-family: inherit;
    color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white); outline: none;
  }
  .form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
  }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .btn-submit {
    background: var(--navy); color: var(--white);
    padding: 0.9rem 2rem; border-radius: 8px; font-weight: 700;
    font-size: 0.95rem; border: none; cursor: pointer; font-family: inherit;
    transition: background 0.2s, transform 0.15s;
    display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  }
  .btn-submit:hover { background: var(--steel); transform: translateY(-1px); }
  .btn-submit::after { content: '→'; font-size: 1rem; }

  /* FOOTER */
  footer {
    background: #060F1E; padding: 3rem 5%;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .footer-logo { font-size: 1.4rem; font-weight: 800; color: var(--white); }
  .footer-logo span { color: var(--accent); }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
  .footer-links a:hover { color: var(--accent); }
  .footer-copy { color: rgba(255,255,255,0.3); font-size: 0.78rem; }

  @media (max-width: 900px) {
    .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-card-stack { display: none; }
    .benefits-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    nav { padding: 0 4%; }
    .nav-links { display: none; }
  }


      @keyframes claude-pulse {
        0%, 100% { opacity: 0.6; }
        50% { opacity: 1; }
      }
      #claude-agent-glow-border-inner {
        animation: claude-pulse 2s ease-in-out infinite;
      }
      @media (prefers-reduced-motion: reduce) {
        #claude-agent-glow-border-inner {
          animation: none;
        }
      }
    
