/* ═══════════════════════════════════════════════════════════
   AZORIUS — Main Stylesheet
   Dark navy theme with gold accents
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --gold:        #C6992E;
  --gold-light:  #E8C45A;
  --gold-dark:   #8B6914;
  --gold-faint:  rgba(198, 153, 46, 0.1);
  --navy:        #0D1117;
  --navy-mid:    #161B22;
  --navy-light:  #21262D;
  --charcoal:    #30363D;
  --slate:       #8B949E;
  --silver:      #C9D1D9;
  --white:       #F0F6FC;
  --pure-white:  #FFFFFF;
  --radius:      12px;
  --radius-lg:   16px;
  --shadow:      0 2px 12px rgba(0,0,0,0.3);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.4);
  --max-width:   1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--silver);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; }

/* ─── NAV ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-light);
  padding: 0 2rem;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo { width: 44px; height: 44px; border-radius: 8px; }
.nav-name { font-size: 1.35rem; font-weight: 800; color: var(--pure-white); letter-spacing: -0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  padding: 160px 2rem 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(198, 153, 46, 0.08) 0%, transparent 70%),
    var(--navy);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(90deg, rgba(198,153,46,0.03) 0px, rgba(198,153,46,0.03) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg, rgba(198,153,46,0.03) 0px, rgba(198,153,46,0.03) 1px, transparent 1px, transparent 80px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  display: block;
  filter: drop-shadow(0 0 30px rgba(198, 153, 46, 0.3));
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--pure-white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 .gold { color: var(--gold); }

.hero-tagline {
  font-size: 1.2rem;
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.stat { text-align: center; }

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ─── SECTION COMMON ───────────────────────────────────── */
.section {
  padding: 100px 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--pure-white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 3rem;
}

/* ─── SERVICE CARDS ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity 0.2s;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-faint);
  border: 1px solid rgba(198, 153, 46, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.service-link:hover { gap: 0.7rem; }

/* ─── BLOG CARDS ───────────────────────────────────────── */
.blog-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-light);
  border-bottom: 1px solid var(--navy-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--navy);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
}

.blog-card:hover {
  border-color: var(--charcoal);
  transform: translateY(-2px);
}

.blog-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pure-white);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.blog-date {
  font-size: 0.78rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* ─── BLOG LISTING ─────────────────────────────────────── */
.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.blog-list-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.blog-list-card:hover {
  border-color: var(--charcoal);
  transform: translateY(-1px);
}

.blog-list-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--slate);
  white-space: nowrap;
  padding-top: 0.2rem;
}

.blog-list-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 0.4rem;
}

.blog-list-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ─── BLOG POST ────────────────────────────────────────── */
.post-header {
  padding: 160px 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--pure-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--slate);
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--silver);
}

.post-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pure-white);
  margin: 2.5rem 0 1rem;
}

.post-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pure-white);
  margin: 2rem 0 0.75rem;
}

.post-content p { margin-bottom: 1.25rem; }

.post-content a { color: var(--gold); text-decoration: underline; }
.post-content a:hover { color: var(--gold-light); }

.post-content code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88em;
  background: var(--navy-light);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--gold-light);
}

.post-content pre {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-content pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--silver);
}

.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--slate);
  font-style: italic;
}

.post-content ul, .post-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
}

.post-content li { margin-bottom: 0.4rem; }

.post-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* ─── ABOUT ────────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pure-white);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.about-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--silver);
  background: var(--navy-light);
  border: 1px solid var(--charcoal);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.experience-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.exp-years {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.exp-detail h4 { font-size: 0.95rem; font-weight: 700; color: var(--pure-white); margin-bottom: 0.2rem; }
.exp-detail p { font-size: 0.82rem; color: var(--slate); line-height: 1.4; }

/* ─── CTA SECTION ──────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 100px 2rem;
  position: relative;
  background:
    radial-gradient(ellipse 50% 60% at 50% 80%, rgba(198, 153, 46, 0.06) 0%, transparent 70%),
    var(--navy);
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--pure-white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--slate);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-gold:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-outline:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); }

/* ─── CONTACT FORM ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: 8px;
  color: var(--silver);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group textarea { min-height: 160px; resize: vertical; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--charcoal); }

.form-success {
  background: rgba(46, 160, 67, 0.1);
  border: 1px solid rgba(46, 160, 67, 0.3);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: #3fb950;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.form-error {
  background: rgba(248, 81, 73, 0.1);
  border: 1px solid rgba(248, 81, 73, 0.3);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: #f85149;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* ─── SERVICE PAGE LAYOUT ──────────────────────────────── */
.page-hero {
  padding: 140px 2rem 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(198, 153, 46, 0.06) 0%, transparent 70%),
    var(--navy);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--pure-white);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--silver);
}

.page-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pure-white);
  margin: 2.5rem 0 1rem;
}

.page-body p { margin-bottom: 1.25rem; }

.page-body ul {
  margin: 1rem 0 1.25rem 1.5rem;
}

.page-body li { margin-bottom: 0.5rem; }

/* ─── FOOTER ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--navy-light);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo { width: 32px; height: 32px; border-radius: 6px; }
.footer-name { font-size: 1rem; font-weight: 700; color: var(--silver); }
.footer-copy { font-size: 0.8rem; color: var(--charcoal); }

.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.82rem; color: var(--slate); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ─── EMPTY STATE ──────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--slate);
}

.empty-state h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--silver);
  margin-bottom: 0.5rem;
}

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 0 1rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy-mid);
    border-bottom: 1px solid var(--navy-light);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-cta { text-align: center; }

  .hero { padding: 130px 1.5rem 60px; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .stat-value { font-size: 1.6rem; }

  .section { padding: 60px 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .blog-list-card { grid-template-columns: 1fr; gap: 0.5rem; }

  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
