/* styles.css */

/* Nord Theme Color Palette */
:root {
  /* Dark theme (default) - Polar Night */
  --nord0: #2E3440;
  --nord1: #3B4252;
  --nord2: #434C5E;
  --nord3: #4C566A;

  /* Text colors - Snow Storm */
  --nord4: #D8DEE9;
  --nord5: #E5E9F0;
  --nord6: #ECEFF4;

  /* Frost - Accent colors */
  --nord7: #8FBCBB;
  --nord8: #88C0D0;
  --nord9: #81A1C1;
  --nord10: #5E81AC;
}

/* Default Dark Theme */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--nord0);
  color: var(--nord6);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light Theme */
body.light-theme {
  background-color: var(--nord6);
  color: var(--nord0);
}

.container {
  text-align: center;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.theme-toggle {
  position: absolute;
  top: -40px;
  right: 0;
  background-color: var(--nord3);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nord6);
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--nord2);
}

body.light-theme .theme-toggle {
  background-color: var(--nord4);
  color: var(--nord0);
}

body.light-theme .theme-toggle:hover {
  background-color: var(--nord5);
}

.theme-icon {
  font-size: 18px;
}

.profile {
  margin-bottom: 20px;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--nord8);
  transition: border-color 0.3s ease;
}

body.light-theme .profile-pic {
  border-color: var(--nord10);
}

.job-title {
  font-size: 18px;
  color: var(--nord6);
  transition: color 0.3s ease;
}

body.light-theme .job-title {
  color: var(--nord1);
}
  
  .links {
    display: flex;
    flex-direction: column;
  }
  
  .link-item {
    display: flex;
    align-items: center;
    background-color: var(--nord3);
    color: var(--nord6);
    text-decoration: none;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
  }

  .link-item:hover {
    background-color: var(--nord2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .link-item:active {
    transform: translateY(0);
  }

  .link-item:focus {
    outline: 2px solid var(--nord9);
    outline-offset: 2px;
  }

  body.light-theme .link-item {
    background-color: var(--nord4);
    color: var(--nord0);
  }

  body.light-theme .link-item:hover {
    background-color: var(--nord5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  body.light-theme .link-item:focus {
    outline-color: var(--nord10);
  }

  .link-icon {
    width: 30px;
    height: auto;
    margin-right: 10px;
  }

  .link-item span {
    font-size: 16px;
  }
  