/*
Theme Name: MRBD Portfolio Theme
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A modern one-page personal portfolio WordPress theme inspired by a clean portfolio layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: mrbd-portfolio
*/

:root {
  --bg: #0b1020;
  --bg-soft: rgba(255,255,255,0.04);
  --card: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.1);
  --text: #eef2ff;
  --muted: #b7c0d8;
  --accent: #7c9cff;
  --accent-2: #79f0d3;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, #18213f 0%, var(--bg) 45%, #070b16 100%);
  color: var(--text);
}

body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
h1,h2,h3 { margin: 0 0 16px; }
img { max-width: 100%; height: auto; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
}
.orb-1 {
  width: 260px;
  height: 260px;
  background: var(--accent);
  top: 80px;
  left: -40px;
}
.orb-2 {
  width: 280px;
  height: 280px;
  background: var(--accent-2);
  bottom: 40px;
  right: -80px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(10,15,30,0.5);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08101d;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover,
.text-link:hover { color: var(--text); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
}

.hero {
  padding: 88px 0 44px;
}

.hero-grid,
.two-col,
.contact-box {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow,
.section-tag {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.hero h1 span {
  color: #9fb4ff;
}

.lead {
  max-width: 640px;
  font-size: 18px;
}

.hero-actions,
.contact-actions,
.stats,
.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #a597ff);
  color: #08101d;
}
.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.stats {
  margin-top: 26px;
}

.stats div,
.card,
.project-card,
.mock-card,
.contact-box {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.stats div {
  min-width: 130px;
  padding: 16px 18px;
  border-radius: 16px;
}

.stats strong {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.hero-card { position: relative; }
.badge {
  position: absolute;
  right: 18px;
  top: -14px;
  background: #dffef4;
  color: #09231d;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.mock-card {
  padding: 28px;
  border-radius: 28px;
}

.small {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.mock-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.section {
  padding: 54px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.cards {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }

.card,
.project-card {
  padding: 24px;
  border-radius: 24px;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 18px;
}

.project-type {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 700;
}

.contact-box {
  padding: 28px;
  border-radius: 28px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
}

.footer-wrap {
  justify-content: space-between;
}

.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .contact-box,
  .cards.three,
  .cards.two {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    padding: 16px;
    background: rgba(8,12,24,0.95);
    border: 1px solid var(--line);
    border-radius: 20px;
  }

  .nav.show { display: flex; }
  .menu-toggle { display: block; }
}
