/* Raycast-inspired Dark Theme Resume */

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

:root {
  --bg-primary: #0a1628;
  --bg-secondary: #0f1f35;
  --bg-card: rgba(15, 31, 53, 0.8);
  --bg-card-hover: rgba(20, 40, 70, 0.9);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.45);
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-pink: #ec4899;
  --glow-blue: rgba(59, 130, 246, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  background:
    url('../assets/wallpaper.jpg') center/cover no-repeat fixed;
  background-color: var(--bg-primary);
}

/* Hero Section */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  box-shadow: 0 0 40px var(--glow-blue);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.tagline {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 28px;
}

.location svg {
  opacity: 0.6;
}

.hero-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 20px var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--glow-blue);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Main Content */
.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* Sections */
.section {
  margin-bottom: 48px;
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(20px);
  transition: all 0.2s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Company Cards */
.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  backdrop-filter: blur(20px);
  transition: all 0.2s ease;
}

.company-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.company-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.company-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-logo.patagonia {
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.company-logo.patagonia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-logo.guitar-center {
  background: transparent;
  overflow: hidden;
}

.company-logo.guitar-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-logo.king-kopy {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #6d28d9 100%);
}

.company-info {
  flex: 1;
  min-width: 150px;
}

.company-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}

.meta {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
}

/* Roles / Timeline */
.roles {
  position: relative;
  padding-left: 24px;
}

.roles::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-blue) 0%, rgba(59, 130, 246, 0.2) 100%);
  border-radius: 1px;
}

.role {
  position: relative;
  margin-bottom: 24px;
}

.role:last-child {
  margin-bottom: 0;
}

.role-indicator {
  position: absolute;
  left: -24px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-blue);
}

.role.current .role-indicator {
  background: var(--accent-blue);
  box-shadow: 0 0 12px var(--glow-blue);
}

.role-content {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
}

.role-content:hover {
  background: rgba(255, 255, 255, 0.04);
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.role-header h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.date {
  font-size: 13px;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.role-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.role-list {
  list-style: none;
  margin-bottom: 12px;
}

.role-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

.role-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-blue);
  opacity: 0.6;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

/* Skills Card */
.skills-card {
  display: grid;
  gap: 24px;
}

.skill-group h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

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

.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(20px);
  transition: all 0.2s ease;
}

.cert-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cert-icon svg {
  width: 48px;
  height: 48px;
}

.cert-icon.jamf {
  background: linear-gradient(135deg, #6366f1 0%, #5E50BF 100%);
  padding: 10px;
}

.cert-icon.jamf img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-icon.comptia {
  width: 56px;
  height: 56px;
  background: transparent;
  border-radius: 50%;
}

.cert-icon.comptia img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.cert-info span {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--text-tertiary);
  font-size: 13px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.95) 100%);
}

/* Responsive - Tablet */
@media (max-width: 768px) {
  .hero {
    padding: 70px 20px 50px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .tagline {
    font-size: 18px;
  }

  .content {
    padding: 0 16px 40px;
  }

  .company-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .badge-success {
    margin-top: 4px;
  }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
  .hero {
    padding: 50px 16px 40px;
  }

  .avatar {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .tagline {
    font-size: 16px;
  }

  .location {
    margin-bottom: 24px;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .content {
    padding: 0 12px 32px;
  }

  .section {
    margin-bottom: 32px;
  }

  .card,
  .company-card {
    padding: 16px;
    border-radius: 12px;
  }

  .company-header {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .company-logo {
    width: 44px;
    height: 44px;
  }

  .company-info h3 {
    font-size: 16px;
  }

  .roles {
    padding-left: 20px;
  }

  .roles::before {
    left: 4px;
  }

  .role-indicator {
    left: -20px;
    width: 10px;
    height: 10px;
  }

  .role-content {
    padding: 12px;
  }

  .role-header {
    flex-direction: column;
    gap: 8px;
  }

  .role-header h4 {
    font-size: 15px;
  }

  .role-desc {
    font-size: 13px;
  }

  .role-list li {
    font-size: 13px;
  }

  .tags {
    gap: 4px;
  }

  .tag {
    font-size: 11px;
    padding: 3px 8px;
  }

  .skill-group h4 {
    font-size: 12px;
  }

  .footer {
    padding: 24px 16px;
  }
}
