/* =============================================
   CSS Variables — update these in Design & Branding
   before finalizing the look of the site
   ============================================= */
:root {
  --color-bg:           #0a0b0d;
  --color-surface:      #141618;
  --color-accent:       #38bdf8;
  --color-text:         #e8eaed;
  --color-text-muted:   #6b7280;

  --font-heading: 'Exo 2', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-width:       1100px;
  --section-padding: 5rem 1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

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

/* =============================================
   Layout
   ============================================= */
section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

/* =============================================
   Navigation
   ============================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

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

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
}

/* =============================================
   Hero
   ============================================= */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}

#hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

#hero > p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--color-text-muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

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

.btn-secondary {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

/* =============================================
   Section headings
   ============================================= */
section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* =============================================
   Skills
   ============================================= */
.skill-group {
  margin-bottom: 1.75rem;
}

.category-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: var(--color-surface);
  color: var(--color-text);
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #2a2d30;
}


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

.project-card {
  background-color: var(--color-surface);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.project-header h3 {
  font-size: 1.2rem;
}

.project-status {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  background-color: rgba(56, 189, 248, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
}

.project-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* =============================================
   Experience & Education
   ============================================= */
.exp-section-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.exp-section-label:first-of-type {
  margin-top: 0;
}

.entry-card {
  background-color: var(--color-surface);
  border-left: 2px solid var(--color-accent);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.entry-title {
  font-size: 1rem;
}

.entry-date {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.entry-org {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.entry-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.entry-bullets li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-left: 1rem;
  position: relative;
}

.entry-bullets li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* =============================================
   Contact
   ============================================= */
#contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-links {
  display: flex;
  gap: 1.5rem;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem;
  }

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }

  section {
    padding: 3rem 1.25rem;
  }

  #hero {
    min-height: 90vh;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    text-align: center;
  }

  .entry-header {
    flex-direction: column;
    gap: 0.2rem;
  }

  .entry-date {
    order: -1;
  }

  .contact-links {
    flex-wrap: wrap;
  }
}

/* =============================================
   Footer
   ============================================= */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
