/*
Theme Name: Emergina
Theme URI: https://emergina.in
Author: Emergina
Author URI: https://emergina.in
Description: Emergina — Digital Marketing, Impersonation Removal & Anti-Piracy. A bold black & white one-page theme built for creators and brands.
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: emergina
Tags: one-page, business, portfolio, dark, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #0a0a0a;
  color: #fafafa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Sora', 'Space Grotesk', sans-serif; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
p  { margin: 0 0 1em; color: #cfcfcf; }
a  { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-gradient { background: linear-gradient(135deg,#fff,#a3a3a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: #9a9a9a; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: #fff; font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: opacity .2s, border-color .2s, background .2s; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: linear-gradient(135deg,#fff,#a3a3a3); color: #0a0a0a; box-shadow: 0 0 60px -10px rgba(255,255,255,.25); }
.btn-primary:hover { opacity: .9; }
.btn-outline { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.03); color: #fafafa; backdrop-filter: blur(10px); }
.btn-outline:hover { border-color: #fff; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10,10,10,.6); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1.1rem; }
.brand img { width: 36px; height: 36px; filter: drop-shadow(0 0 12px rgba(255,255,255,.3)); }
.nav-primary { display: none; gap: 2rem; }
.nav-primary a { font-size: .9rem; color: #a3a3a3; }
.nav-primary a:hover, .nav-primary .current-menu-item a { color: #fff; }
.menu-toggle { display: inline-flex; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (min-width: 768px) { .nav-primary { display: flex; } .menu-toggle { display: none; } }

.mobile-menu { display: none; padding: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); background: rgba(10,10,10,.95); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: .5rem 0; }

main { padding-top: 64px; }

/* Sections */
section { padding: 6rem 0; border-top: 1px solid rgba(255,255,255,.08); }
section:first-of-type { border-top: 0; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; padding-top: 8rem; padding-bottom: 6rem; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px; opacity: .35;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.05), transparent 55%);
}
.hero .container { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04); font-size: .75rem; color: #a3a3a3; backdrop-filter: blur(10px); }
.hero p.lead { font-size: 1.1rem; color: #cfcfcf; max-width: 560px; margin: 1.5rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats { margin-top: 3rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; max-width: 420px; }
.hero-stats .num { font-size: 1.8rem; font-weight: 700; }
.hero-stats .lbl { font-size: .75rem; color: #a3a3a3; margin-top: .25rem; }

/* Services */
.services-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; overflow: hidden; }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3,1fr); } }
.service-card { background: #0a0a0a; padding: 2.5rem; transition: background .2s; }
.service-card:hover { background: #141414; }
.service-card svg { width: 28px; height: 28px; stroke: #fff; stroke-width: 1.5; fill: none; }
.service-card h3 { margin-top: 2rem; }
.service-tags { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.service-tags span { font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; color: #a3a3a3; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: .3rem .75rem; }

/* Process / About */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
.process-card { position: relative; padding: 2rem; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.process-step { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.process-step:last-child { margin-bottom: 0; }
.process-step .n { font-size: 1.5rem; font-weight: 700; width: 3rem; background: linear-gradient(135deg,#fff,#a3a3a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.check-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.check-list li { display: flex; gap: .75rem; padding: .5rem 0; font-size: .95rem; }
.check-list li::before { content: "✓"; color: #fff; font-weight: bold; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info p { display: flex; align-items: flex-start; gap: .75rem; }
.contact-form { padding: 2rem; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(255,255,255,.03); }
.contact-form label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: #a3a3a3; margin-bottom: .5rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: .85rem 1rem; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fafafa; font-family: inherit; font-size: .95rem; margin-bottom: 1.25rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #fff; }
.map-embed { margin-top: 2rem; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.map-embed iframe { width: 100%; height: 320px; border: 0; filter: grayscale(1) invert(.92) contrast(.85); }

/* CTA */
.cta-box { position: relative; overflow: hidden; padding: 4rem 2rem; text-align: center; border-radius: 32px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.1); background: rgba(20,20,20,.4); margin-top: 6rem; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h4 { font-size: .9rem; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: .75rem; font-size: .9rem; color: #a3a3a3; }
.footer-grid ul li a:hover { color: #fff; }
.socials { margin-top: 1.5rem; display: flex; gap: .75rem; }
.socials a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; color: #a3a3a3; transition: color .2s, border-color .2s; }
.socials a:hover { color: #fff; border-color: #fff; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; text-align: center; font-size: .75rem; color: #7a7a7a; }

/* WhatsApp floating */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 999px; background: #25D366; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(37,211,102,.4); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* WordPress core alignment classes */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
