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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: #1a1a1a;
  font-size: 16px;
}

:root {
  --text-dark: #e0e0e0;
  --text-medium: #b0b0b0;
  --text-light: #888;
  --border: #333;
  --accent: #4a9eff;
  --bg-light: #242424;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav, .navbar {
  background: #1a1a1a;
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-logo, .logo-text {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 18px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-medium);
  font-size: 15px;
  transition: color 0.2s;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.bar {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Header */
.page-header {
  margin-top: 60px;
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 18px;
  color: var(--text-light);
  font-weight: normal;
}

/* Hero Section (About Me) */
.hero {
  margin-top: 60px;
  padding: 60px 0;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.profile-section {
  display: flex;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

.profile-image {
  flex-shrink: 0;
}

.profile-img {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.profile-content h1, .hero-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.profile-content .subtitle, .hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.profile-content p, .hero-description {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Quote */
.quote-section {
  padding: 40px;
  background: var(--bg-light);
  border-left: 3px solid var(--accent);
  margin: 40px 0;
}

.quote-section blockquote {
  font-size: 18px;
  font-style: italic;
  color: var(--text-medium);
  margin: 0;
}

.quote-section cite {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-light);
  font-style: normal;
}

/* Content Sections */
.content-section, .about-preview, .nav-cards, .skills-preview {
  margin: 60px 0;
}

.content-section h2, .section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.content-section p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 16px;
}

.content-section ul {
  list-style: none;
  padding: 0;
}

.content-section li {
  color: var(--text-medium);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.content-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Photo Gallery */
.photo-gallery, .image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.photo-item img, .gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.photo-caption, .gallery-item-caption {
  padding: 12px;
  background: var(--bg-light);
  text-align: center;
  font-size: 14px;
  color: var(--text-medium);
  border: 1px solid var(--border);
  border-top: none;
}

.gallery-item {
  border: 1px solid var(--border);
}

.gallery-item-content {
  padding: 12px;
  background: var(--bg-light);
}

.gallery-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.gallery-item p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* Documents Grid */
.docs-grid, .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.doc-card, .nav-card {
  border: 1px solid var(--border);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
  display: block;
}

.doc-card:hover, .nav-card:hover {
  border-color: var(--accent);
}

.doc-card h3, .nav-card h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.doc-card p, .nav-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

.nav-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.doc-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  background: #2a2a2a;
}

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

.skill-item {
  padding: 20px;
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color 0.2s;
}

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

.skill-item i {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.skill-item span {
  font-size: 14px;
  color: var(--text-medium);
}

/* Career/College Slides */
.slides-section {
  margin: 40px 0;
  padding: 30px;
  border: 1px solid var(--border);
  background: var(--bg-light);
}

.slides-section h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.slide-content {
  line-height: 1.8;
}

.slide-content strong {
  color: var(--text-dark);
  font-weight: 600;
}

.slide-content p {
  margin-bottom: 12px;
}

/* Image display */
.cert-image, .center-img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  margin: 20px auto;
  display: block;
}

.mbpt-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.mbpt-images img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  display: block;
}

/* Reflection boxes */
.reflection-box {
  padding: 30px;
  background: var(--bg-light);
  border-left: 3px solid var(--accent);
  margin: 24px 0;
}

.reflection-box p {
  color: var(--text-medium);
  line-height: 1.8;
}

/* Footer */
footer, .footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent);
}

/* SOAR Sections */
.soar-item {
  margin: 40px 0;
  padding: 30px;
  border: 1px solid var(--border);
  border-left-width: 4px;
}

.soar-item.service { border-left-color: #3498db; }
.soar-item.ownership { border-left-color: #e74c3c; }
.soar-item.achievement { border-left-color: #f39c12; }
.soar-item.respect { border-left-color: #2ecc71; }

.soar-item h3, .soar-item h2 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.soar-item p {
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--text-medium);
}

.soar-item ul {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.soar-item li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-medium);
}

.soar-item li::before {
  content: '•';
  position: absolute;
  left: 0;
}

/* Presentations */
.presentation-embed, .presentations-container {
  margin: 40px 0;
}

.presentations-container {
  display: grid;
  gap: 40px;
}

.presentation-embed h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.presentation-embed iframe {
  width: 100%;
  height: 400px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.presentation-link {
  text-align: center;
}

/* Buttons */
.btn, .btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-dark);
  transition: all 0.2s;
  font-size: 15px;
  margin-top: 12px;
  background: #1a1a1a;
}

.btn:hover, .btn-primary:hover, .btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Page content wrapper */
.page-content {
  padding: 40px 0;
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background: #1a1a1a;
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
    gap: 12px;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .profile-section {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .page-title, .hero-title {
    font-size: 28px;
  }
  
  .profile-content h1 {
    font-size: 28px;
  }
  
  .photo-gallery, .image-gallery {
    grid-template-columns: 1fr;
  }
  
  .docs-grid, .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .presentation-embed iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .container, .hero-container, .nav-container {
    padding: 0 16px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
}
