/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base styles */
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.6;
}

/* Container */
#resume-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.resume-header {
  height: 83px;
  border-top: #141414 1px solid;
  border-bottom: #141414 1px solid;
  background-color: #090909;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.resume-header #logo {
  display: block;
  height: 64%;
  width: 200px;
  background-image: url('images/ebn-logo.png');
  background-repeat: no-repeat;
  background-position: center left;
  background-size: auto 100%;
}

.print-button {
  background-color: #fe386e;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.print-button:hover {
  background-color: #e5326b;
}

/* Main content */
main {
  flex: 1;
  max-width: 8.5in;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #141414;
  border-radius: 0;
}

/* Loading state */
.loading {
  text-align: center;
  color: #fff;
  font-size: 18px;
  padding: 4rem;
}

/* Typography */
h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 2.5rem;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #fe386e;
}

h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin: 1.5rem 0 0.5rem 0;
}

p {
  margin: 0 0 1rem 0;
  color: #ccc;
}

/* Contact info (first paragraph after h1) */
.contact-info p {
  text-align: center;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Lists */
ul {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  color: #ccc;
}

/* Strong text */
strong {
  color: #fff;
  font-weight: 600;
}

/* Links */
a {
  color: #fe386e;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ff5a85;
  text-decoration: underline;
}

/* Code */
code {
  background-color: #090909;
  color: #fff;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

/* Experience sections */
.contact-info p {
  text-align: center;
  font-size: 1.1rem;
  color: #fe386e;
  margin-bottom: 2rem;
  font-weight: 600;
}

.experience-entry {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #0a0a0a;
  border-radius: 6px;
  border-left: 4px solid #fe386e;
}

.experience-entry h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.experience-entry p em {
  color: #aaa;
  font-style: italic;
  display: block;
  margin-bottom: 1rem;
}

.experience-details ul {
  margin-top: 1rem;
}

.experience-details li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}

.experience-details li::before {
  content: '▶';
  color: #fe386e;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
}

/* Footer */
.resume-footer {
  text-align: center;
  color: #333;
  font-size: 12px;
  padding: 1rem;
  border-top: #141414 1px solid;
  background-color: #090909;
}

/* Print styles */
@media print {
  body {
    background-color: white !important;
    color: black !important;
    font-size: 12pt;
    line-height: 1.4;
  }

  .print-hide {
    display: none !important;
  }

  #resume-container {
    min-height: auto;
  }

  .resume-header {
    background-color: white !important;
    border: none !important;
    height: auto;
    padding: 1rem 0;
    margin-bottom: 1rem;
  }

  .resume-header #logo {
    /* Hide logo in print or provide a print-friendly version */
    display: none;
  }

  main {
    background-color: white !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
  }

  h1 {
    color: #333 !important;
    font-size: 24pt;
    margin-bottom: 8pt;
  }

  h1+p {
    color: #666 !important;
    margin-bottom: 16pt;
  }

  h2 {
    color: #333 !important;
    font-size: 16pt;
    margin: 16pt 0 8pt 0;
    border-bottom: 1pt solid #333 !important;
  }

  h3 {
    color: #333 !important;
    font-size: 14pt;
    margin: 12pt 0 4pt 0;
  }

  p,
  li {
    color: black !important;
  }

  .contact-info p {
    color: #666 !important;
    margin-bottom: 16pt;
  }

  .experience-entry {
    background-color: white !important;
    border: none !important;
    border-left: 2pt solid #333 !important;
    padding: 8pt !important;
    margin-bottom: 12pt !important;
    page-break-inside: avoid;
  }

  .experience-entry p em {
    color: #666 !important;
  }

  .experience-details li::before {
    color: #333 !important;
  }

  h3+p {
    color: #666 !important;
  }

  code {
    background-color: #f5f5f5 !important;
    color: #333 !important;
  }

  strong {
    color: black !important;
  }

  /* Page breaks */
  h2 {
    page-break-after: avoid;
  }

  h3 {
    page-break-after: avoid;
  }

  /* Ensure good spacing */
  @page {
    margin: 0.75in;
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  main {
    margin: 1rem;
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .resume-header {
    padding: 0 1rem;
  }
}
