/*
Theme Name: Abhishek Parmar Digital
Theme URI: https://abhishekparmar.lovable.app
Author: Abhishek Parmar
Author URI: https://www.linkedin.com/in/abhishekparmar-/
Description: Dark, bold agency-grade portfolio theme for Abhishek Parmar — Google Ads & Digital Marketing Freelancer. Glassmorphism cards, orange accents, mobile-responsive, Customizer-ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
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: abhishek-parmar
Tags: portfolio, business, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #050A14;
  color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: #F97316; color: #000; }

:root {
  --background: #050A14;
  --surface: #0D1526;
  --border: #1A2540;
  --foreground: #FFFFFF;
  --muted-foreground: #94A3B8;
  --primary: #F97316;
  --secondary: #3B82F6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header / Nav ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(5,10,20,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand .custom-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(249,115,22,0.6); }
.brand-text .name { font-weight: 700; color: #fff; }
.brand-text .role { font-size: 11px; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.primary-menu ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.primary-menu a { font-size: 14px; color: var(--muted-foreground); font-weight: 500; }
.primary-menu a:hover { color: #fff; }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #0A0A0A; font-weight: 700; padding: 12px 20px; border-radius: 6px; font-size: 14px; box-shadow: 0 0 0 0 rgba(249,115,22,0.6); animation: pulseOrange 2s ease-in-out infinite; }
.btn-cta:hover { filter: brightness(1.1); }
@keyframes pulseOrange { 0%,100%{ box-shadow:0 0 0 0 rgba(249,115,22,0.6);} 50%{ box-shadow:0 0 0 12px rgba(249,115,22,0);} }

.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

/* ===== Main ===== */
main { padding-top: 100px; min-height: 70vh; }
.page-wrap { max-width: 900px; margin: 0 auto; padding: 40px 24px 80px; }
.page-wrap h1, .page-wrap h2 { letter-spacing: -0.02em; }
.page-wrap h1 { font-size: 48px; font-weight: 900; margin: 0 0 16px; }
.page-wrap .entry-content p { color: #cbd5e1; margin: 0 0 16px; }
.page-wrap a { color: var(--primary); }

/* Article */
.post-card {
  background: rgba(13,21,38,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  transition: all .3s ease;
}
.post-card:hover { border-color: rgba(249,115,22,0.5); transform: translateY(-4px); }
.post-card h2 a { color: #fff; }
.post-meta { color: var(--muted-foreground); font-size: 13px; margin-bottom: 12px; }
.post-meta a { color: var(--primary); }

/* 404 */
.error-404 { text-align: center; padding: 120px 24px; }
.error-404 h1 { font-size: 120px; margin: 0; background: linear-gradient(135deg,#F97316,#FBBF24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 p { color: var(--muted-foreground); }
.error-404 .btn-cta { margin-top: 24px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: rgba(13,21,38,0.5); padding: 64px 0 32px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { color: var(--muted-foreground); font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted-foreground); }
.social-link { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); align-items: center; justify-content: center; color: var(--muted-foreground); transition: all .2s; }
.social-link:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Hero (front) ===== */
.hero { position: relative; padding: 60px 0 80px; background: linear-gradient(135deg,#050A14 0%, #0D1F3C 100%); overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(120px); opacity: 0.25; pointer-events: none; }
.hero::before { background: #F97316; top: -10%; left: -10%; }
.hero::after { background: #3B82F6; bottom: -20%; right: -10%; }
.hero-inner { position: relative; display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 60px; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; margin: 16px 0; }
.hero h1 .accent { background: linear-gradient(135deg,#F97316,#FBBF24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; color: #cbd5e1; max-width: 600px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3); color: var(--secondary); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.3); padding: 14px 24px; border-radius: 6px; color: #fff; font-weight: 700; }
.stat-card { background: rgba(13,21,38,0.6); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.stat-card h3 { margin: 0 0 8px; font-size: 20px; }
.stat-list { list-style: none; padding: 0; margin: 24px 0 0; }
.stat-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.stat-list li:last-child { border-bottom: 0; }
.stat-val { font-weight: 900; font-size: 20px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
}
@media (max-width: 768px) {
  .primary-menu { display: none; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .primary-menu.open { display: block; position: absolute; top: 80px; left: 0; right: 0; background: rgba(5,10,20,0.98); padding: 24px; border-top: 1px solid var(--border); }
  .primary-menu.open ul { flex-direction: column; gap: 16px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .page-wrap h1 { font-size: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* WP core alignment classes */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text { position: absolute; left: -9999px; }
