/* Kristian Schmidt Larsen - Professional Bio Resume */
/* Dark Mode Theme - Based on Professional Bio PowerPoint Template */

:root {
  --color-bg: #1a1a2e;
  --color-bg-card: #16162b;
  --color-primary: #2d4a7c;
  --color-primary-dark: #1e3a5f;
  --color-accent: #e07b39;
  --color-accent-light: #f5924d;
  --color-text: #ffffff;
  --color-text-muted: #b0b0c0;
  --color-text-dim: #7a7a8a;
  --color-border: #3a3a5a;
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

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

html {
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Resume Container */
.resume-container {
  max-width: 1000px;
  width: 100%;
}

.resume {
  background-color: var(--color-bg-card);
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  min-height: 500px;
}

/* Left Section - Photo & About */
.left-section {
  background: var(--color-bg-card);
  padding: 2.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.photo-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

/* Large circular frame around photo */
.photo-frame {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 12px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  box-shadow: 0 10px 40px rgba(45, 74, 124, 0.4);
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.name-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary-dark);
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.name-badge h1 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.name-badge p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.about-box {
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.about-box p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  text-align: center;
}

/* Middle & Right Sections */
.middle-section,
.right-section {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Section Headers - Orange underline style */
.section h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-primary);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  display: inline-block;
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  border-radius: 0 0 4px 4px;
}

/* Contact Section */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-item strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-item span,
.contact-item a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.contact-item a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--color-accent-light);
  text-decoration: underline;
}

/* Timeline - Education & Experience */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-item {
  position: relative;
}

.timeline-item .year {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.timeline-item p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Skills - Large circles */
.skills-row {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.skill-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.skill-icon {
  width: 70px;
  height: 70px;
  border: 4px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(45, 74, 124, 0.3);
}

.skill-circle:hover .skill-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(45, 74, 124, 0.5);
}

.skill-label {
  font-size: 0.7rem;
  color: var(--color-text-dim);
  text-align: center;
  max-width: 75px;
}

/* Responsive - Tablet */
@media (max-width: 900px) {
  .resume {
    grid-template-columns: 1fr 1fr;
  }

  .left-section {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 2rem;
    padding: 2rem;
  }

  .photo-wrapper {
    margin-bottom: 0;
  }

  .about-box {
    margin-top: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-box p {
    text-align: left;
  }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

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

  .left-section {
    flex-direction: column;
    gap: 1rem;
  }

  .photo-frame {
    width: 170px;
    height: 170px;
    border-width: 10px;
  }

  .profile-photo {
    width: 135px;
    height: 135px;
  }

  .about-box p {
    text-align: center;
  }

  .skills-row {
    justify-content: center;
  }

  .skill-icon {
    width: 60px;
    height: 60px;
    font-size: 0.8rem;
  }
}
