/*
Theme Name: Riaz Advisory
Theme URI: https://riazadvisory.com
Author: Riaz Advisory
Description: Premium dark navy & gold theme for Riaz Advisory — tax, audit and compliance advisory. Custom-built, no page builder required.
Version: 2.0
License: GPL-2.0-or-later
Text Domain: riazadvisory
*/
/* ============================================
   RiazAdvisory.com — v2 "Gold Standard"
   Premium dark + Gen-Z energy
   ============================================ */

:root {
  --navy-900: #060b16;
  --navy-800: #0a1322;
  --navy-700: #0f1c31;
  --navy-600: #16273f;
  --navy-line: #1d2f49;
  --gold: #d4a72c;
  --gold-light: #f0cf6e;
  --gold-deep: #a37e14;
  --gold-dim: rgba(212, 167, 44, 0.12);
  --grad-gold: linear-gradient(115deg, #f0cf6e 0%, #d4a72c 45%, #a37e14 100%);
  --text: #eef2f8;
  --text-muted: #97a5bb;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --glass: rgba(15, 28, 49, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle film-grain for premium texture */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

.grad-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 11, 22, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--navy-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }

/* Logo v2 — monogram seal + wordmark */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 46px; height: 46px; flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(212,167,44,0.35)); }
.logo-word { font-family: var(--serif); font-size: 1.35rem; color: var(--text); letter-spacing: 0.5px; line-height: 1.1; }
.logo-word span { color: var(--gold-light); font-style: italic; }
.logo-word small {
  display: block; font-family: var(--sans); font-size: 0.56rem;
  letter-spacing: 4.2px; text-transform: uppercase; color: var(--text-muted); font-weight: 600;
}

nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
nav a {
  color: var(--text-muted); text-decoration: none; font-size: 0.92rem;
  font-weight: 500; transition: color 0.2s; position: relative;
}
nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-gold); transition: width 0.25s;
}
nav a:hover::after, nav a.active::after { width: 100%; }
nav a:hover, nav a.active { color: var(--gold-light); }
.nav-cta {
  background: var(--grad-gold); color: var(--navy-900) !important;
  padding: 11px 24px; border-radius: 100px; font-weight: 700;
  box-shadow: 0 4px 20px rgba(212,167,44,0.35); transition: all 0.25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,167,44,0.5); }

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 90px; position: relative;
  border-bottom: 1px solid var(--navy-line);
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px; top: -180px; right: -80px;
  background: radial-gradient(circle, rgba(212,167,44,0.22), transparent 65%);
  animation: float 9s ease-in-out infinite;
}
.hero::after {
  width: 380px; height: 380px; bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(38, 80, 160, 0.28), transparent 65%);
  animation: float 11s ease-in-out infinite reverse;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(28px) } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--navy-line); background: var(--glass);
  backdrop-filter: blur(8px); border-radius: 100px;
  padding: 8px 18px; font-size: 0.8rem; font-weight: 600;
  color: var(--gold-light); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge::before { content: "◆"; font-size: 0.6rem; }

.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); max-width: 840px; margin-bottom: 26px; letter-spacing: -0.5px; }
.hero h1 em { font-style: italic; }
.hero p.lead { font-size: 1.18rem; color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; padding: 16px 36px; border-radius: 100px;
  text-decoration: none; font-weight: 700; font-size: 0.97rem; transition: all 0.25s;
}
.btn-gold {
  background: var(--grad-gold); color: var(--navy-900);
  box-shadow: 0 6px 24px rgba(212,167,44,0.35);
}
.btn-gold:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 34px rgba(212,167,44,0.5); }
.btn-outline { border: 1.5px solid var(--gold); color: var(--gold-light); }
.btn-outline:hover { background: var(--gold-dim); transform: translateY(-2px); }

/* ---------- Marquee ticker ---------- */
.marquee {
  border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line);
  background: var(--navy-800); overflow: hidden; padding: 16px 0; white-space: nowrap;
}
.marquee-track { display: inline-block; animation: scroll 30s linear infinite; }
.marquee span {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  color: var(--text-muted); margin: 0 28px;
}
.marquee span b { color: var(--gold-light); font-weight: 600; }
@keyframes scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 56px 0; border-bottom: 1px solid var(--navy-line); }
.stat h3 { font-size: 2.7rem; }
.stat h3 span {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat p { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
.section-kicker {
  color: var(--gold); font-size: 0.74rem; letter-spacing: 4.5px;
  text-transform: uppercase; font-weight: 700; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 18px; letter-spacing: -0.3px; }
.section-sub { color: var(--text-muted); max-width: 640px; margin-bottom: 54px; font-size: 1.05rem; }

/* ---------- Cards (glass) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: var(--glass); backdrop-filter: blur(10px);
  border: 1px solid var(--navy-line); border-radius: 16px;
  padding: 38px 30px; transition: all 0.3s; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad-gold); opacity: 0; transition: opacity 0.3s;
}
.card:hover { border-color: rgba(212,167,44,0.55); transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,0,0,0.45); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--gold-dim); border: 1px solid rgba(212,167,44,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 24px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; }
.card a { color: var(--gold-light); text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.card a:hover { text-decoration: underline; }

/* ---------- Credentials ---------- */
.credentials {
  background: var(--navy-800); border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line); padding: 42px 0;
}
.cred-row {
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
  color: var(--text-muted); font-size: 0.88rem; letter-spacing: 2.5px;
  text-transform: uppercase; font-weight: 700;
}
.cred-row span { color: var(--gold-light); }

/* ---------- Quotes ---------- */
.quote {
  background: var(--glass); backdrop-filter: blur(10px);
  border: 1px solid var(--navy-line); border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0; padding: 34px;
}
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.06rem; color: var(--text); margin-bottom: 18px; }
.quote cite { color: var(--gold-light); font-style: normal; font-weight: 700; font-size: 0.9rem; }
.quote cite small { display: block; color: var(--text-muted); font-weight: 400; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(212,167,44,0.5); border-radius: 24px;
  padding: 68px 48px; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  top: -160px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212,167,44,0.18), transparent 65%);
  filter: blur(50px);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--text-muted); margin-bottom: 32px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 88px 0 64px; position: relative;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-bottom: 1px solid var(--navy-line); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  top: -200px; right: -60px; filter: blur(80px);
  background: radial-gradient(circle, rgba(212,167,44,0.16), transparent 65%);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 640px; font-size: 1.08rem; }
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; letter-spacing: 1px; }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }

/* ---------- Lists ---------- */
.check-list { list-style: none; margin: 24px 0; }
.check-list li { padding-left: 34px; position: relative; margin-bottom: 15px; color: var(--text-muted); }
.check-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.check-list li strong { color: var(--text); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--glass); backdrop-filter: blur(10px);
  border: 1px solid var(--navy-line); border-radius: 16px; padding: 32px; transition: all 0.3s;
}
.step:hover { border-color: rgba(212,167,44,0.5); transform: translateY(-4px); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 2.2rem; display: block; margin-bottom: 14px;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.93rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--navy-line); border-radius: 20px; padding: 44px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
input, select, textarea {
  background: var(--navy-900); border: 1px solid var(--navy-line);
  border-radius: 10px; padding: 14px 16px; color: var(--text);
  font-family: var(--sans); font-size: 0.95rem; transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
button.btn { border: none; cursor: pointer; font-family: var(--sans); }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-thumb {
  height: 172px; border-radius: 12px; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  border: 1px solid var(--navy-line);
  display: flex; align-items: center; justify-content: center; font-size: 2.7rem;
}
.post-meta { font-size: 0.76rem; color: var(--gold-light); letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }

/* ---------- Footer ---------- */
footer { background: var(--navy-800); border-top: 1px solid var(--navy-line); padding: 64px 0 32px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { font-size: 0.82rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-muted); text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-grid p { color: var(--text-muted); font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid var(--navy-line); padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-muted); font-size: 0.82rem;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav ul { display: none; }
  .grid-3, .grid-2, .steps, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 80px 0 70px; }
}
