/* === Global Styles === */
body {
  margin: 0;
  font-family: 'Share Tech Mono', monospace;
  background-color: #0d0d0d;
  color: #20C20E;
}

/* === Navigation === */
nav {
  background-color: #4b0082;
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1001;
}

nav a {
  color: #20C20E;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  color: #20C20E;
  border: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0d0d0d;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    z-index: 1002;
    padding: 1rem 0;
    box-shadow: 0 8px 16px rgba(0, 255, 0, 0.1);
    border-top: 1px solid #20C20E;
  }

  .nav-links.show {
    display: flex;
  }
}

/* === Language Switcher === */
.lang-switcher {
  position: relative;
  margin: 10px auto 0;
  display: flex;
  justify-content: flex-end;
  max-width: 1200px;
  padding-right: 20px;
}

.lang-switcher button {
  background-color: black;
  color: #00ff00;
  border: 1px solid #00ff00;
  margin-left: 6px;
  padding: 4px 10px;
  font-family: 'Share Tech Mono', monospace;
  cursor: pointer;
}

.lang-switcher button:hover {
  background-color: #00ff00;
  color: black;
}

/* === Header & Sections === */
header {
  padding: 2rem 1rem 1rem;
  text-align: center;
}

header p {
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  color: #20C20E;
  margin-bottom: 1rem;
}

h2 {
  margin-top: 1rem;
  color: #20C20E;
  margin-bottom: 2.5rem;
}

.section {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

.welcome-text,
.welcome {
  margin-bottom: 2rem;
  text-align: center;
}

/* === Profile Image Fix === */
.profile-wrapper {
  position: relative;
  margin: 2rem auto;
  width: 230px;
  height: 230px;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 10px #4b0082;
}

.profile-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === GIF Layer Fix === */
.gif-wrapper {
  position: relative;
  margin: 2rem auto;
  width: 260px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.gif-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* === CV Button Styles === */
.cv-download {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.cv-download .download-btn,
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  background-color: #4b0082;
  color: #20C20E;
  border: 2px solid #20C20E;
  border-radius: 6px;
  text-decoration: none;
  min-width: 200px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 10px #20C20E33;
  cursor: pointer;
}

.download-btn:hover,
.cv-download .download-btn:hover {
  background-color: #20C20E;
  color: #0d0d0d;
  box-shadow: 0 0 20px #20C20E88;
  border-color: #00FF00;
}

/* === Contact Page === */
.contact-item {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icons img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1a1a1a;
  padding: 0.5rem;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.1);
  background-color: #4b0082;
}

/* === Responsive Adjustments === */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .profile-wrapper,
  .gif-wrapper {
    width: 180px;
    height: 180px;
  }

  .section {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  nav a {
    margin: 0.5rem 0;
    font-size: 1rem;
  }

  .profile-wrapper,
  .gif-wrapper {
    position: relative;
    top: 0;
    left: 0;
    margin: 1rem auto;
    display: block;
    width: 140px;
    height: 140px;
  }

  header {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .download-btn {
    width: 90%;
    font-size: 1rem;
  }

  .section {
    padding: 1rem;
    width: 90%;
  }

  .social-icons img {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .download-btn {
    padding: 0.5rem 1rem;
  }

  .social-icons {
    flex-direction: column;
  }

  .social-icons img {
    margin-bottom: 0.5rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }
}

/* === File List === */
.file-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.file-list li {
  margin: 0.5rem 0;
}

.file-list a {
  color: #20C20E;
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  transition: color 0.2s;
}

.file-list a:hover {
  color: #39ff14;
}
