/*
Theme Name: Zulqarnain VA Portfolio
Theme URI: https://yourvazulqarnain.online/
Author: Zulqarnain Haider
Author URI: https://www.linkedin.com/in/zulqarnain-haider-42763b418/
Description: A bold, high-energy one-page WordPress portfolio theme for Zulqarnain Haider, Virtual Assistant, Lead Generation and Data Entry Specialist.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
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: zulqarnain-va
Tags: portfolio, one-page, custom-background, custom-logo, responsive-layout
*/

/* ============================================================
   TOKENS
============================================================ */
:root {
  --bg: #0a0a0b;
  --bg-raised: #131315;
  --cream: #f3f1e7;
  --ink: #0a0a0b;
  --paper: #f3f1e7;
  --light: #ffffff;
  --orange: #ff4322;
  --muted-dark: #9a9a93;
  --muted-light: #55534a;
  --line: rgba(243, 241, 231, 0.14);
  --border-w: 3px;
  --shadow-hard: 7px 7px 0 #000;
  --shadow-light: 7px 7px 0 var(--light);
  --shadow-orange: 7px 7px 0 var(--orange);
  --radius: 18px;
  --ease: cubic-bezier(.16,1,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(215,255,61,0.08), transparent 40%),
    radial-gradient(circle at 100% 20%, rgba(255,67,34,0.10), transparent 45%);
  color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.section-padding { padding: 110px 0; position: relative; }

.alt-bg {
  background: var(--bg-raised);
  border-top: var(--border-w) solid #000;
  border-bottom: var(--border-w) solid #000;
  position: relative;
}
.alt-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(215,255,61,0.05) 0 14px, transparent 14px 28px);
  pointer-events: none;
}

h1, h2, h3, .logo strong, .btn, .nav-button {
  font-family: "Archivo Black", "Space Grotesk", ui-sans-serif, sans-serif;
  text-transform: uppercase;
}

/* ============================================================
   CURSOR + SCROLL PROGRESS + NOISE
============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0%;
  background: linear-gradient(90deg, var(--light), var(--orange));
  z-index: 999; transition: width .08s linear;
}

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 8px; height: 8px; background: var(--light); }
.cursor-ring {
  width: 34px; height: 34px; border: var(--border-w) solid var(--light);
  transition: width .2s var(--ease), height .2s var(--ease), border-color .2s ease, background .2s ease;
}
.cursor-ring.is-active { width: 60px; height: 60px; background: rgba(215,255,61,0.12); border-color: var(--orange); }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #000;
  border-bottom: var(--border-w) solid var(--light);
  transition: padding .25s ease;
}

.navbar { height: 80px; display: flex; justify-content: space-between; align-items: center; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo span {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; border: var(--border-w) solid var(--light);
  background: var(--light); color: #000; font-weight: 900; letter-spacing: -0.04em;
  font-family: "Archivo Black", sans-serif;
  transform: rotate(-6deg);
  transition: transform .3s var(--ease);
}
.logo:hover span { transform: rotate(6deg) scale(1.08); }
.logo strong { font-size: 17px; letter-spacing: -0.01em; }

.nav-menu { display: flex; align-items: center; gap: 30px; color: var(--paper); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.nav-menu a { position: relative; padding: 4px 0; }
.nav-menu a:not(.nav-button)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--light);
  transition: width .25s var(--ease);
}
.nav-menu a:not(.nav-button):hover::after { width: 100%; }
.nav-menu a:not(.nav-button):hover { color: var(--orange); }

.nav-button, .btn {
  border-radius: 999px; padding: 13px 24px; font-weight: 900; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  border: var(--border-w) solid #000;
  box-shadow: var(--shadow-hard);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.nav-button, .btn.primary { background: var(--light); color: #000; }
.btn.secondary { background: #000; color: var(--light); border-color: var(--light); box-shadow: 5px 5px 0 var(--light); }

.btn:hover, .nav-button:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #000; }
.btn.secondary:hover { box-shadow: 2px 2px 0 var(--light); }
.btn:active, .nav-button:active { transform: translate(6px, 6px); box-shadow: 0 0 0 #000; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: var(--border-w) solid var(--light);
  border-radius: 10px; background: #000; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 3px; background: var(--light); margin: 4px auto; border-radius: 99px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero { min-height: calc(100vh - 80px); display: flex; align-items: center; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: 64px; align-items: center; }

.badge, .section-label {
  color: #000; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--light); border: var(--border-w) solid #000; border-radius: 999px; padding: 8px 16px;
}
.section-label { background: none; border: none; color: var(--orange); padding: 0; }
.badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .5; } }

.hero h1 { font-size: clamp(38px, 6.4vw, 74px); margin: 22px 0 24px; line-height: 0.98; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--light); -webkit-text-stroke: 1px #000; }
.hero h1 .accent-2 { color: var(--orange); }

.hero-text { color: var(--muted-dark); font-size: 18px; max-width: 640px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-tags span, .skills-list span {
  border: var(--border-w) solid #000; background: var(--cream); color: #000;
  padding: 9px 15px; border-radius: 999px; font-size: 12px; font-weight: 800;
  text-transform: uppercase; box-shadow: 4px 4px 0 #000;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.hero-tags span:hover, .skills-list span:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--light); }

.hero-card { position: relative; }

.photo-wrap {
  border-radius: var(--radius); overflow: hidden; border: 4px solid #000;
  box-shadow: 12px 12px 0 var(--light);
  aspect-ratio: 4 / 5; transform: rotate(-3deg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.photo-wrap:hover { transform: rotate(0deg); box-shadow: 16px 16px 0 var(--orange); }
.photo-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.05); }

.profile-card {
  position: absolute; left: -18px; bottom: -18px;
  padding: 18px 22px; border-radius: 16px;
  background: var(--orange); border: var(--border-w) solid #000; color: #000;
  box-shadow: 6px 6px 0 #000;
  transform: rotate(-4deg);
}
.profile-card h2 { font-size: 18px; letter-spacing: -0.01em; }
.profile-card p { color: #1a1a1a; font-size: 12.5px; margin-top: 4px; font-weight: 700; text-transform: uppercase; }

/* ============================================================
   MARQUEE TICKER (signature element)
============================================================ */
.marquee-strip {
  background: var(--light); border-top: var(--border-w) solid #000; border-bottom: var(--border-w) solid #000;
  overflow: hidden; transform: skewY(-1.4deg); margin: 46px 0; position: relative; z-index: 2;
}
.marquee-track {
  display: flex; width: max-content; gap: 0;
  animation: marquee 26s linear infinite;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 28px; font-family: "Archivo Black", sans-serif; font-size: 20px;
  color: #000; white-space: nowrap; text-transform: uppercase;
}
.marquee-track span::after { content: "\2605"; color: var(--orange); font-size: 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   STATS
============================================================ */
.stats-section { padding-bottom: 90px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.stat-card, .service-card, .portfolio-card, .process-card, .testimonial-card, .contact-card, .cta-card, details {
  border: var(--border-w) solid #000;
  background: var(--cream);
  color: #000;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

.stat-card { padding: 26px; text-align: center; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.stat-card:hover { transform: translate(-4px,-4px); box-shadow: 11px 11px 0 var(--light); }
.stat-card strong, .stat-card span { font-size: 44px; line-height: 1; font-weight: 900; letter-spacing: -0.04em; font-family: "Archivo Black", sans-serif; }
.stat-card span { color: var(--orange); }
.stat-card p { color: var(--muted-light); font-size: 13px; margin-top: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }

/* ============================================================
   TWO COLUMN / HEADINGS
============================================================ */
.two-column { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 60px; align-items: start; }
.two-column h2, .section-heading h2, .faq-list h2, .contact-grid h2 {
  font-size: clamp(30px, 4vw, 50px); margin-bottom: 20px; letter-spacing: -0.02em; line-height: 1.02;
}
.two-column p, .contact-grid p { color: var(--muted-dark); font-size: 17px; margin-bottom: 16px; }

.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading .section-label { margin-bottom: 16px; }

/* ============================================================
   SERVICES
============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.service-card, .portfolio-card, .process-card, .testimonial-card {
  padding: 30px; transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  will-change: transform;
}
.service-card:hover, .process-card:hover, .testimonial-card:hover {
  transform: translate(-5px, -5px) rotate(-1deg);
  box-shadow: 11px 11px 0 var(--orange);
}

.icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: #000; color: var(--orange); font-size: 24px; margin-bottom: 22px;
  border: var(--border-w) solid #000;
  transform: rotate(-4deg);
}

.service-card h3, .portfolio-card h3, .process-card h3, .timeline-item h3 {
  font-size: 20px; margin-bottom: 12px; letter-spacing: -0.01em;
}
.service-card p, .portfolio-card p, .process-card p, .timeline-item p, .testimonial-card span, .faq-list p {
  color: var(--muted-light);
}

/* ============================================================
   SKILLS
============================================================ */
.skills-list { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   PORTFOLIO / PROCESS
============================================================ */
.portfolio-grid, .process-grid, .testimonial-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}

.portfolio-card { position: relative; overflow: hidden; }
.portfolio-card span, .process-card span, .timeline-item span {
  display: inline-block; font-weight: 900; margin-bottom: 16px;
  font-family: "Archivo Black", sans-serif;
}
.portfolio-card span { position: absolute; top: -6px; right: 10px; font-size: 70px; color: rgba(0,0,0,0.08); z-index: 0; }
.portfolio-card h3, .portfolio-card p { position: relative; z-index: 1; }
.process-card span, .timeline-item span { color: var(--orange); font-size: 15px; }
.process-card:hover { transform: translate(-5px,-5px) rotate(1deg); }

.privacy-note { color: var(--muted-dark); text-align: center; margin-top: 30px; font-size: 14px; }

/* ============================================================
   BENEFITS
============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefits-grid div {
  padding: 18px 20px; border-radius: 14px; border: var(--border-w) solid #000;
  background: var(--cream); color: #000; font-weight: 700; box-shadow: 5px 5px 0 var(--light);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.benefits-grid div:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--light); }

/* ============================================================
   TIMELINE
============================================================ */
.timeline { position: relative; }
.timeline-item { position: relative; padding: 26px 0 26px 36px; border-left: var(--border-w) solid var(--light); }
.timeline-item::before {
  content: ""; position: absolute; left: -10px; top: 34px; width: 17px; height: 17px;
  border-radius: 999px; background: var(--orange); border: 3px solid #000;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-card { position: relative; }
.testimonial-card::before {
  content: "\201C"; position: absolute; top: -6px; left: 18px; font-size: 70px;
  font-family: Georgia, serif; color: var(--orange); opacity: .5; line-height: 1;
}
.testimonial-card p { color: #1a1a1a; font-size: 16.5px; margin-bottom: 22px; position: relative; z-index: 1; }
.testimonial-card strong { display: block; font-family: "Archivo Black", sans-serif; font-size: 14px; }

/* ============================================================
   FAQ
============================================================ */
.faq-list details { padding: 20px 22px; margin-bottom: 14px; transition: box-shadow .2s ease; }
.faq-list details[open] { box-shadow: 8px 8px 0 var(--light); }
.faq-list summary {
  cursor: pointer; font-weight: 900; list-style: none; display: flex; justify-content: space-between;
  gap: 20px; text-transform: uppercase; font-size: 14.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; color: #fff; background: #000; width: 26px; height: 26px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 18px; flex-shrink: 0; transition: transform .2s ease;
}
.faq-list details[open] summary::after { content: "\2212"; background: var(--orange); transform: rotate(180deg); }
.faq-list p { margin-top: 14px; }

/* ============================================================
   CTA
============================================================ */
.cta-section { padding: 20px 0 110px; }
.cta-card {
  padding: 60px; text-align: center; background: var(--light); position: relative; overflow: hidden;
  box-shadow: 12px 12px 0 #000;
}
.cta-card h2 { font-size: clamp(30px, 5vw, 56px); color: #000; }
.cta-card p { color: #1a1a1a; max-width: 640px; margin: 18px auto 28px; font-weight: 600; }
.cta-card .btn.primary { background: #000; color: var(--light); box-shadow: 7px 7px 0 var(--orange); }
.cta-card .btn.primary:hover { box-shadow: 3px 3px 0 var(--orange); }

/* ============================================================
   CONTACT
============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.contact-card a {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px;
  border: var(--border-w) solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .18s var(--ease), box-shadow .18s var(--ease);
}
.contact-card a:hover { background: #fff; border-color: #000; transform: translate(-3px,-3px); box-shadow: 5px 5px 0 var(--orange); }
.contact-card a:hover .c-arrow { transform: translateX(6px); }

.c-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; border: var(--border-w) solid #000;
}
.c-icon.email { background: var(--orange); color: #000; }
.c-icon.whatsapp { background: #25d366; color: #06210f; }
.c-icon.linkedin { background: #0a66c2; color: #fff; }

.c-text { display: flex; flex-direction: column; min-width: 0; }
.c-label {
  display: block; color: var(--orange); font-size: 12px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 4px;
}
.contact-card strong { word-break: break-word; }
.c-arrow { margin-left: auto; font-weight: 900; font-size: 18px; flex-shrink: 0; transition: transform .2s var(--ease); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.contact-actions .btn { gap: 10px; }
.whatsapp-btn { background: #25d366; color: #06210f; border-color: #000; box-shadow: var(--shadow-hard); }
.whatsapp-btn:hover { box-shadow: 2px 2px 0 #000; }
.linkedin-btn { background: #0a66c2; color: #fff; border-color: #000; box-shadow: var(--shadow-hard); }
.linkedin-btn:hover { box-shadow: 2px 2px 0 #000; }

/* ============================================================
   FOOTER
============================================================ */
.footer { padding: 34px 0; border-top: var(--border-w) solid var(--light); color: var(--muted-dark); background: #000; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer a { margin-left: 18px; font-weight: 700; text-transform: uppercase; font-size: 13px; }
.footer a:hover { color: var(--orange); }

.floating-hire {
  position: fixed; right: 24px; bottom: 24px; z-index: 50; display: none;
  padding: 14px 22px; border-radius: 999px; background: var(--orange); color: #000;
  font-weight: 900; text-transform: uppercase; font-size: 13px;
  border: var(--border-w) solid #000; box-shadow: 6px 6px 0 #000;
  animation: shake-attn 4.5s ease-in-out infinite;
}
@keyframes shake-attn {
  0%, 92%, 100% { transform: rotate(0deg); }
  93% { transform: rotate(-4deg); }
  95% { transform: rotate(4deg); }
  97% { transform: rotate(-3deg); }
  99% { transform: rotate(2deg); }
}

/* ============================================================
   REVEAL / GLITCH
============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px) scale(.98);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

.glitch-init { animation: glitch-in .7s var(--ease) both; }
@keyframes glitch-in {
  0% { opacity: 0; transform: translateX(-6px); text-shadow: 3px 0 var(--orange), -3px 0 var(--light); }
  20% { opacity: 1; transform: translateX(4px); }
  40% { transform: translateX(-3px); text-shadow: -3px 0 var(--orange), 3px 0 var(--light); }
  60% { transform: translateX(2px); text-shadow: 2px 0 var(--orange), -2px 0 var(--light); }
  100% { opacity: 1; transform: translateX(0); text-shadow: none; }
}

[data-tilt] { transform-style: preserve-3d; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 80px; left: 20px; right: 20px; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 18px;
    border: var(--border-w) solid var(--light); border-radius: 18px; background: #000;
    box-shadow: 8px 8px 0 var(--light);
  }
  .nav-menu.active { display: flex; }
  .nav-menu a { padding: 12px 10px; }
  .nav-button { margin-top: 10px; justify-content: center; }

  .hero-grid, .two-column, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid, .stats-grid, .portfolio-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .section-padding { padding: 76px 0; }
  .hero { min-height: auto; padding-top: 48px; }
  .hero-grid { gap: 48px; }
  .hero-actions .btn { width: 100%; }
  .stats-grid, .cards-grid, .portfolio-grid, .process-grid, .benefits-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer a { margin: 0 8px; }
  .floating-hire { display: inline-flex; }
  .profile-card { left: -8px; bottom: -14px; padding: 14px 16px; }
  .marquee-track span { font-size: 16px; padding: 10px 18px; }
}
