:root {
  --bg: #0b1120;
  --bg-alt: #0f172a;
  --surface: #131c31;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #ff9900; /* AWS orange */
  --accent-2: #22d3ee;
  --border: #1e293b;
  --max-width: 1100px;
  --radius: 10px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo .accent { color: var(--accent); }

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

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--accent); }

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #0b1120;
}

.btn-primary:hover {
  background: #e08800;
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: rgba(255, 153, 0, 0.1);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-content { max-width: 700px; }

.eyebrow {
  color: var(--accent);
  font-family: monospace;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text {
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

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

.hero-social {
  display: flex;
  gap: 24px;
}

.hero-social a {
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.hero-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Sections */
.section { padding: 100px 0; }

.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: 1.8rem;
  margin-bottom: 40px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.section-title.centered {
  justify-content: center;
  text-align: center;
}

.section-number {
  color: var(--accent);
  font-family: monospace;
  font-size: 1.2rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}

.section-intro.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-cta {
  margin-top: 40px;
  text-align: center;
}

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

.about-text p { color: var(--text-muted); margin-bottom: 16px; }

.about-text a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

.about-list {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.about-list li {
  color: var(--text);
  font-size: 0.92rem;
  padding-left: 20px;
  position: relative;
}

.about-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: var(--surface);
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder::after {
  content: "Add assets/profile.jpg";
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition);
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.skill-card h4 {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 1rem;
}

.skill-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.project-card-header a { transition: color var(--transition); }

.project-card-header a:hover { color: var(--accent); }

.project-card h4 { margin-bottom: 10px; }

.project-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Videos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Certifications */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.cert-card h4 { font-size: 0.98rem; margin-bottom: 6px; }

.cert-card p { color: var(--text-muted); font-size: 0.85rem; }

/* Contact */
.contact-section { text-align: center; }

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 18px;
  }

  .nav-links.open { display: flex; }

  .about-grid { grid-template-columns: 1fr; }

  .about-photo { order: -1; max-width: 220px; }

  .hero { min-height: auto; padding: 60px 0; }
}
