/* ============================================================
   PIERRE BUNAG — Personal Brand Website
   Design: Executive Luxury | Navy + Gold + Off-White
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:       #0D1B2A;
  --navy-mid:   #1A2E45;
  --navy-light: #1E3A5F;
  --gold:       #D4A853;
  --gold-light: #F2C96A;
  --gold-dark:  #B8873A;
  --cream:      #F8F4EC;
  --cream-dark: #EDE8DE;
  --text-dark:  #1A1A2E;
  --text-mid:   #4A5568;
  --text-light: #A0AEC0;
  --white:      #FFFFFF;
  --shadow-sm:  0 2px 8px rgba(13,27,42,0.08);
  --shadow-md:  0 8px 32px rgba(13,27,42,0.12);
  --shadow-lg:  0 20px 60px rgba(13,27,42,0.18);
  --radius:     6px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; font-size: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-title { color: var(--navy); margin-bottom: 16px; }

.gold-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px auto 0;
}

.gold-line-left {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px 0 0;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img { width: 44px; height: 44px; }

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-text span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  left: 16%; right: 16%;
}

.nav-cta {
  padding: 9px 20px !important;
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  border-radius: var(--radius) !important;
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero (Home) ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0F2A47 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212,168,83,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,168,83,0.06) 0%, transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(212,168,83,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,83,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0 80px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 8px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-title-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(212,168,83,0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,83,0.4);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,83,0.08);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  display: block;
}

/* Hero Visual Side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badge-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.2);
  animation: rotate 30s linear infinite;
}

.hero-badge-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
}

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-badge-ring-2 {
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(212,168,83,0.12);
  animation-duration: 20s;
  animation-direction: reverse;
}

.hero-photo-frame {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold-light));
  z-index: -1;
  opacity: 0.4;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(212,168,83,0.3);
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13,27,42,0.06);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-gold-border {
  border-top: 3px solid var(--gold);
}

/* ── Page Header ────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(212,168,83,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,83,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header h1 { color: var(--white); margin-bottom: 12px; }

.page-header .lead { color: rgba(255,255,255,0.65); max-width: 600px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8rem;
}

.breadcrumb a { color: var(--gold); opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: rgba(255,255,255,0.7); }

/* ── About Page ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.about-photo-container {
  position: sticky;
  top: 100px;
}

.about-photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 340px;
  box-shadow: var(--shadow-lg);
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.about-photo-badge {
  position: absolute;
  bottom: 20px;
  right: -16px;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.about-content h2 { margin-bottom: 8px; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}

.tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(13,27,42,0.06);
  border: 1px solid rgba(13,27,42,0.1);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}

.tag-gold {
  background: rgba(212,168,83,0.12);
  border-color: rgba(212,168,83,0.3);
  color: var(--gold-dark);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.skill-item {
  background: var(--white);
  border: 1px solid rgba(13,27,42,0.08);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}

.skill-item:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.skill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Resume Page ────────────────────────────────────────────── */
.resume-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.resume-sidebar {
  position: sticky;
  top: 100px;
}

.resume-contact-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}

.resume-contact-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.contact-item:last-child { margin-bottom: 0; }

.contact-icon {
  width: 28px;
  height: 28px;
  background: rgba(212,168,83,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.85rem;
}

.contact-item a { color: rgba(255,255,255,0.85); }
.contact-item a:hover { color: var(--gold); }

.resume-section { margin-bottom: 44px; }

.resume-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream-dark);
}

.resume-section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--gold);
  border-radius: 2px;
}

.exp-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--cream-dark);
}

.exp-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 4px;
}

.exp-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.exp-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  background: rgba(212,168,83,0.1);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.exp-company {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.exp-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}

.exp-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.exp-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  top: 2px;
}

.edu-item {
  margin-bottom: 20px;
}

.edu-degree {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.edu-school {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.edu-year {
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 500;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  padding: 4px 10px;
  background: var(--cream-dark);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
}

/* ── Services Page ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13,27,42,0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card-header {
  background: var(--navy);
  padding: 28px 28px 24px;
  position: relative;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(212,168,83,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.service-card-header h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0;
}

.service-price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--navy);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
}

.service-card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.service-features li::before {
  content: '✓';
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Admin Panel */
.admin-panel {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13,27,42,0.08);
  margin-top: 60px;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cream-dark);
}

.admin-panel-header h3 { margin-bottom: 0; }

.admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.1);
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 10px 14px;
  border-bottom: 2px solid var(--cream-dark);
  background: var(--cream);
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9rem;
  color: var(--text-mid);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(212,168,83,0.04); }

.badge-active {
  padding: 2px 10px;
  background: rgba(72,187,120,0.15);
  color: #276749;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-draft {
  padding: 2px 10px;
  background: rgba(160,174,192,0.2);
  color: var(--text-light);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Contact Page ───────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(212,168,83,0.12);
  border: 1px solid rgba(212,168,83,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 500;
}

.contact-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13,27,42,0.06);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-contact label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group-contact input,
.form-group-contact textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-group-contact input:focus,
.form-group-contact textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.1);
}

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

.form-required { color: var(--gold-dark); }

.form-submit-btn {
  width: 100%;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,27,42,0.2);
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  background: rgba(72,187,120,0.1);
  border: 1px solid rgba(72,187,120,0.3);
  color: #276749;
  display: block;
}

.form-message.error {
  background: rgba(229,62,62,0.1);
  border: 1px solid rgba(229,62,62,0.3);
  color: #9B1C1C;
  display: block;
}

/* ── Virtual Assistant ──────────────────────────────────────── */
#va-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  height: 52px;
  padding: 0 20px 0 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 2.5px solid var(--gold);
  box-shadow: 0 4px 20px rgba(13,27,42,0.3), 0 0 0 0 rgba(212,168,83,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: var(--transition);
  animation: va-pulse 3s infinite;
}

.va-trigger-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

#va-trigger.open .va-trigger-label { display: none; }

@keyframes va-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(13,27,42,0.3), 0 0 0 0 rgba(212,168,83,0.4); }
  50% { box-shadow: 0 4px 20px rgba(13,27,42,0.3), 0 0 0 10px rgba(212,168,83,0); }
}

#va-trigger:hover {
  transform: scale(1.08);
}

#va-trigger img {
  width: 32px;
  height: 32px;
}

#va-trigger .va-close-icon {
  display: none;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1;
}

#va-trigger.open .va-logo-icon { display: none; }
#va-trigger.open .va-close-icon { display: block; }

#va-panel {
  position: fixed;
  bottom: 102px;
  right: 28px;
  z-index: 8999;
  width: 360px;
  max-height: 520px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(13,27,42,0.25), 0 0 0 1px rgba(13,27,42,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

#va-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.va-header {
  background: var(--navy);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.va-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.va-header-text { flex: 1; }
.va-header-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.va-header-status {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 5px;
}
.va-status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #68D391;
}

.va-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.va-msg {
  max-width: 85%;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  animation: msgIn 0.25s ease;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.va-msg-bot {
  background: var(--cream);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.va-msg-user {
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.va-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: 56px;
}

.va-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-light);
  animation: typing 1.2s infinite;
}

.va-typing span:nth-child(2) { animation-delay: 0.2s; }
.va-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.va-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 8px;
}

.va-quick {
  padding: 5px 12px;
  background: var(--cream);
  border: 1px solid rgba(13,27,42,0.1);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}

.va-quick:hover {
  background: rgba(212,168,83,0.1);
  border-color: var(--gold);
  color: var(--navy);
}

.va-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  gap: 10px;
  align-items: center;
}

.va-input {
  flex: 1;
  border: 1.5px solid var(--cream-dark);
  border-radius: 100px;
  padding: 9px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  outline: none;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
}

.va-input:focus {
  border-color: var(--gold);
  background: var(--white);
}

.va-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  flex-shrink: 0;
}

.va-send:hover { transform: scale(1.08); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.8;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img { width: 40px; height: 40px; }

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-logo-text span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.footer-bottom a { color: var(--gold); opacity: 0.8; }
.footer-bottom a:hover { opacity: 1; }

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,83,0.08);
}

/* ── Utility & Animations ───────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-8 { margin-bottom: 32px; }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-eyebrow, .hero-actions, .hero-stats { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-visual { display: none; }
  .resume-layout { grid-template-columns: 1fr; }
  .resume-sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-container { position: static; display: flex; justify-content: center; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-form { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 60px 0; }
  .contact-form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  #va-panel { width: calc(100vw - 24px); right: 12px; bottom: 88px; }
  #va-trigger { right: 20px; bottom: 20px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}

/* ── Mobile Nav ────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--gold); }

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}

/* Loading spinner for VA */
.va-loading {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Notification badge */
.va-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #E53E3E;
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
}


/*
 * ── Animation Fix Patch (Apr 2026) ───────────────────────────────────────────
 * Appended to bottom of style.css. Do NOT remove the existing .fade-in rule
 * above — these additions override and extend it (order matters).
 *
 * Fixes:
 *   1. Speeds up transition (0.6s → 0.5s) for snappier feel.
 *   2. Adds prefers-reduced-motion support (WCAG 2.1 AA requirement).
 *   3. CSS-only fallback: after 3s, .fade-in elements become visible
 *      even without JS running.
 * ─────────────────────────────────────────────────────────────────────────── */

/* ── Override: faster, smoother fade-in ─────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);          /* reduced from 24px — subtler lift  */
  transition: opacity 0.5s ease, transform 0.5s ease;  /* was 0.6s          */
  /* CSS-only safety net: after 3 s reveal the element even without JS      */
  animation: pb-reveal-fallback 0s 3s forwards;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback keyframe — only kicks in if .visible was never added by JS */
@keyframes pb-reveal-fallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Respect user's reduced-motion preference (accessibility) ───────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  /* Also disable the hero ring rotation */
  .hero-badge-ring {
    animation: none !important;
  }

  /* Disable VA trigger pulse */
  #va-trigger {
    animation: none !important;
  }
}

/* ── Hide ADMIN panel from public visitors (Fix Apr 13, 2026) ──────────── */
#admin-open-btn,
#admin-modal,
.admin-toggle-btn,
.admin-modal {
  display: none !important;
  visibility: hidden !important;
}

/*
 * PierreBunag.com — Animation Fix Patch
 * ---------------------------------------------------------------------------
 * ADD THESE RULES to the bottom of your existing css/style.css file.
 * Do NOT replace the existing .fade-in rule — these additions override and
 * extend it, so order matters (paste at the very end of style.css).
 *
 * FIX NOTES (Apr 14 2026):
 *   The original .fade-in rule used opacity:0 + translateY(24px) with no
 *   fallback for users/environments where JavaScript animations don't fire.
 *   These additions:
 *     1. Speed up the transition slightly so cards feel snappier.
 *     2. Add prefers-reduced-motion support (WCAG 2.1 AA requirement).
 *     3. Add a CSS-only fallback: after 3 s the animation-delay expires and
 *        .fade-in elements become visible even without JS running.
 * ---------------------------------------------------------------------------
 */

/* ── Override: faster, smoother fade-in ─────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);          /* reduced from 24px — subtler lift  */
  transition: opacity 0.5s ease, transform 0.5s ease;  /* was 0.6s          */
  /* CSS-only safety net: after 3 s reveal the element even without JS      */
  animation: pb-reveal-fallback 0s 3s forwards;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback keyframe — only kicks in if .visible was never added by JS */
@keyframes pb-reveal-fallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Hide Bluehost ADMIN toolbar from public visitors ───────────────────── */
/*
 * FIX (Apr 2026): The Bluehost site-management toolbar ("⚙ ADMIN" button)
 * was appearing in the bottom-right corner of the page for all visitors.
 * These rules hide every known variant of the Bluehost / WordPress admin bar.
 * This is purely cosmetic — it has no effect on your ability to log in or
 * manage the site from Bluehost cPanel.
 */
#wpadminbar,
.bluehost-toolbar,
.bluehost-notice,
[id*="bluehost-toolbar"],
[class*="bluehost-toolbar"],
.admin-bar-notice,
a[href*="bluehost.com/hosting/admin"],
[data-testid="admin-bar"] {
  display: none !important;
  visibility: hidden !important;
}

/* ── Respect user's reduced-motion preference (accessibility) ───────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  /* Also disable the hero ring rotation */
  .hero-badge-ring {
    animation: none !important;
  }

  /* Disable VA trigger pulse */
  #va-trigger {
    animation: none !important;
  }
}
