/*
Theme Name: RohitBhatt SEO Pro
Theme URI: https://rohitbhatt.com
Author: Rohit Bhatt
Author URI: https://rohitbhatt.com
Description: A premium, fully customizable WordPress theme for SEO specialists and digital marketing freelancers. Built with Customizer-editable text, SEO schema markup, Core Web Vitals optimizations, and a luxury brand aesthetic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rohitbhatt-seo-pro
Tags: one-page, portfolio, blog, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, rtl-language-support, theme-options, threaded-comments, translation-ready
*/

/* ════════════════════════════════════════════════════
   ROHITBHATT SEO PRO THEME — PREMIUM DESIGN SYSTEM
   Color Palette: Deep Midnight + Liquid Gold + Ivory
   Feel: Luxury Brand · Premium Freelancer · Authority
════════════════════════════════════════════════════ */

/* ── Google Fonts loaded via functions.php ── */

:root {
  /* ── BRAND PALETTE ── */
  --midnight:     #080B18;        /* Deepest bg */
  --night:        #0C1024;        /* Card bg */
  --dusk:         #111628;        /* Section alt */
  --slate:        #171F38;        /* Card hover */
  --gold:         #C9A84C;        /* Primary accent – liquid gold */
  --gold-light:   #E8C97A;        /* Gold highlight */
  --gold-dim:     #8A6F32;        /* Gold muted */
  --ivory:        #F5F0E8;        /* Primary text */
  --ivory-muted:  #A8A090;        /* Muted text */
  --ivory-soft:   #6B6560;        /* Softer muted */
  --white:        #FFFFFF;
  --teal:         #2DD4BF;        /* Accent 2 – precision/data */
  --green:        #4ADE80;        /* Success */
  --red:          #F87171;        /* Error */

  /* ── GRADIENTS ── */
  --grad-gold:    linear-gradient(135deg, #C9A84C 0%, #E8C97A 50%, #C9A84C 100%);
  --grad-dark:    linear-gradient(135deg, #0C1024, #111628);
  --grad-hero:    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,168,76,.12) 0%, transparent 65%),
                  radial-gradient(ellipse 50% 40% at 15% 80%, rgba(45,212,191,.06) 0%, transparent 55%);

  /* ── BORDERS & GLOWS ── */
  --border:       rgba(201,168,76,.15);
  --border2:      rgba(255,255,255,.06);
  --glow-gold:    rgba(201,168,76,.25);
  --glow-teal:    rgba(45,212,191,.15);

  /* ── TYPOGRAPHY ── */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;   /* Luxury display */
  --font-head:    'DM Sans', sans-serif;                     /* Clean headings */
  --font-body:    'DM Sans', sans-serif;                     /* Body text */
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* ── SPACING ── */
  --r:     12px;
  --r2:    20px;
  --r3:    32px;
  --shadow: 0 4px 24px rgba(0,0,0,.5);
  --shadow2: 0 16px 60px rgba(0,0,0,.6);
  --transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NOISE TEXTURE ── */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9000; opacity: .5;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── TYPOGRAPHY SCALE (mobile-first using clamp) ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ivory);
}
h1 { font-size: clamp(2.2rem, 8vw, 6.5rem); font-family: var(--font-display); }
h2 { font-size: clamp(1.6rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--ivory-muted); line-height: 1.8; }

.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.text-ivory { color: var(--ivory); }

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4vw;
  width: 100%;
}
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 4vw; }
.section { padding: 6rem 0; }
.section-alt { background: var(--dusk); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 2rem; border-radius: var(--r);
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  letter-spacing: .02em; border: none; cursor: pointer;
  transition: var(--transition); text-decoration: none;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.08);
  transform: translateX(-100%); transition: transform .4s;
}
.btn:hover::before { transform: translateX(0); }

.btn-gold {
  background: var(--grad-gold);
  color: var(--midnight);
  box-shadow: 0 4px 20px var(--glow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 35px var(--glow-gold); color: var(--midnight); }

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(201,168,76,.08);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.25);
}
.btn-ghost:hover { background: rgba(201,168,76,.15); transform: translateY(-1px); }

/* ── BADGES & TAGS ── */
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.28);
  color: var(--gold-light); padding: .3rem .9rem; border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.badge-teal {
  background: rgba(45,212,191,.08); border-color: rgba(45,212,191,.25); color: var(--teal);
}
.live-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.5)} }

.tag {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--border2);
  color: var(--ivory-muted); padding: .25rem .65rem; border-radius: 6px;
  font-size: .75rem; transition: var(--transition);
}
.tag:hover { background: rgba(201,168,76,.08); border-color: var(--border); color: var(--gold-light); }
.tag-gold { background: rgba(201,168,76,.1); border-color: rgba(201,168,76,.25); color: var(--gold-light); }

/* ── CARDS ── */
.card {
  background: var(--night);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 2rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: rgba(201,168,76,.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow2), 0 0 50px rgba(201,168,76,.1);
}
.card-glow::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,.06), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.card-glow:hover::before { opacity: 1; }
.card-bar::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-gold);
}

/* ── SECTION HEADERS ── */
.sec-header { margin-bottom: 3.5rem; }
.sec-header .badge { margin-bottom: 1rem; }
.sec-header h2 { margin-bottom: .8rem; }
.sec-header p { color: var(--ivory-muted); font-size: 1.02rem; max-width: 560px; }
.sec-header.center { text-align: center; }
.sec-header.center p { margin: 0 auto; }

/* ── SKILL BARS ── */
.skill-bar { margin-bottom: 1rem; }
.skill-bar-hd { display: flex; justify-content: space-between; margin-bottom: .4rem; }
.skill-bar-name { font-size: .85rem; color: var(--ivory-muted); }
.skill-bar-pct { font-size: .8rem; color: var(--gold); font-weight: 600; }
.skill-bar-track { height: 4px; background: rgba(255,255,255,.06); border-radius: 100px; overflow: hidden; }
.skill-bar-fill {
  height: 100%; background: var(--grad-gold);
  border-radius: 100px; width: 0;
  transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
}

/* ── DIVIDERS ── */
.divider {
  width: 60px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px; margin: 1.2rem 0;
}
.divider.center { margin: 1.2rem auto; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)} }
@keyframes shimmer { 0%{background-position:-200% 0}100%{background-position:200% 0} }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform:scaleY(1);transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom} }

.anim { opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.anim.in { opacity:1; transform:translateY(0); }
.anim-l { opacity:0; transform:translateX(-30px); transition:opacity .7s ease, transform .7s ease; }
.anim-l.in { opacity:1; transform:translateX(0); }
.anim-r { opacity:0; transform:translateX(30px); transition:opacity .7s ease, transform .7s ease; }
.anim-r.in { opacity:1; transform:translateX(0); }
.anim-d1 { transition-delay:.1s; } .anim-d2 { transition-delay:.2s; }
.anim-d3 { transition-delay:.3s; } .anim-d4 { transition-delay:.4s; }
.anim-d5 { transition-delay:.5s; }

/* ── WORDPRESS CORE ── */
.wp-block-image, .wp-block-embed { margin: 2rem 0; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 2rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 2rem; margin-bottom: 1rem; }
.clearfix::after { content: ''; display: table; clear: both; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}

/* ── RESPONSIVE — mobile-first approach ── */
/* Base styles already mobile. Scale up: */
@media (min-width: 640px) {
  .btn { padding: .9rem 2rem; font-size: .95rem; }
}
@media (min-width: 768px) {
  h1 { letter-spacing: -.03em; }
  h2 { letter-spacing: -.02em; }
}
@media (max-width: 639px) {
  .section { padding: 3.5rem 0; }
  .btn { padding: .75rem 1.4rem; font-size: .88rem; }
  .sec-title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .sec-sub { font-size: .92rem; margin-bottom: 2rem; }
}
