/* style.css */
:root {
  --bg: #0A0F1B;
  --fg: #F5F5F5;
  --accent: #D4AF37;
  --btn-bg: transparent;
  --btn-border: var(--accent);
  --btn-hover-bg: rgba(212, 175, 55, 0.1);
}
* { box-sizing: border-box; margin:0; padding:0 }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  padding: 2rem;
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 0.2em;
}
h2, h3 {
  margin-bottom: 0.5em;
}
h3 { font-weight: 600; color: var(--accent); }
p { margin-bottom: 1.5em; }

.hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
/* Portrait container: fixed square */
.hero .portrait {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

/* Portrait image: cover the circle */
.hero .portrait img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}
.hero .intro {
  flex: 1 1 400px;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.btn {
  border: 2px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--fg);
  padding: 0.75em 1.5em;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s;
}
.btn:hover {
  background: var(--btn-hover-bg);
}

.stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}
.stat {
  flex: 1;
  border: 1px solid var(--accent);
  padding: 1.5rem;
  text-align: center;
}
.stat h2 {
  font-size: 2.5rem;
  margin-bottom: 0.2em;
}

.timeline-cert {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.timeline {
  flex: 1 1 300px;
}
.timeline h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: var(--accent);
}
.timeline ul {
  list-style: none;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}
.timeline li {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.certs {
  flex: 1 1 300px;
}
.certs h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: var(--accent);
}
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cert-grid img {
  width: 100%;
  height: auto;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

@media (max-width: 800px) {
  .hero, .stats, .timeline-cert {
    flex-direction: column;
  }
  .stats, .timeline-cert {
    gap: 2rem;
  }
}
/* Contact page */
.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.contact-sub {
  max-width: 820px;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.contact-card {
  border: 1px solid var(--accent);
  padding: 2rem;
  border-radius: 8px;
  max-width: 920px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
label span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--fg);
}
input, select, textarea {
  width: 100%;
  background: #0e1526;
  border: 1px solid #24304a;
  color: var(--fg);
  padding: 0.75rem;
  border-radius: 6px;
}
textarea { resize: vertical; }

label.full { display: block; margin: 1rem 0; }

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hp { display: none; } /* honeypot */

@media (max-width: 800px) {
  .form-grid { grid-template-columns: 1fr; }
}
