@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

:root {
  --artaud-green: #2e443f;   
  --artaud-yellow: #d6b928;  
  --artaud-black: #0d0d0d;  
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto Mono', monospace;
  background: var(--artaud-black);
  color: #f5f5f5;
  overflow-x: hidden;
}

header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  border-bottom: 2px solid var(--artaud-yellow);
}

header h1 {
  font-size: 3rem;
  color: var(--artaud-yellow);
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(214,185,40,0.8);
  margin: 1rem 0 0.5rem;
}

header p {
  font-size: 1.2rem;
  color: #ccc;
}

.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid var(--artaud-yellow);
  box-shadow: 0 0 20px rgba(214,185,40,0.8);
  object-fit: cover;
  margin-bottom: 1rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.socials a {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--artaud-green);
  color: var(--artaud-yellow);
  text-decoration: none;
  font-size: 1.8rem;
  transition: 0.3s;
  border: 2px solid var(--artaud-yellow);
}

.socials a[href*="twitter"]:hover {
  background: #1DA1F2;
  color: #fff;
  border-color: #1DA1F2;
  box-shadow: 0 0 20px #1DA1F2;
  transform: scale(1.15) rotate(-5deg);
}

.socials a[href*="instagram"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  border: 2px solid #d6249f;
  box-shadow: 0 0 20px #d6249f;
  transform: scale(1.15) rotate(-5deg);
}

.socials a[href*="github"]:hover {
  background: #333;
  color: #fff;
  border-color: #333;
  box-shadow: 0 0 20px #555;
  transform: scale(1.15) rotate(-5deg);
}

.socials a[href*="spotify"]:hover {
  background: #1DB954;
  color: #fff;
  border-color: #1DB954;
  box-shadow: 0 0 20px #1DB954;
  transform: scale(1.15) rotate(-5deg);
}

.socials a:hover {
  background: var(--artaud-yellow);
  color: var(--artaud-black);
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 0 20px var(--artaud-yellow);
}


.nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.nav-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--artaud-green);
  color: var(--artaud-yellow);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  border: 2px solid var(--artaud-yellow);
  border-radius: 8px;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(214,185,40,0.3);
}

.nav-button:hover {
  background: var(--artaud-yellow);
  color: var(--artaud-black);
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 0 20px var(--artaud-yellow);
}

.about {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(46,68,63,0.2);
  border: 1px solid var(--artaud-green);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 20px rgba(214,185,40,0.2);
}

.about h2 {
  font-size: 2rem;
  color: var(--artaud-yellow);
  margin-bottom: 1rem;
}

.about p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 2px solid var(--artaud-yellow);
  margin-top: 3rem;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at center, rgba(46,68,63,0.3), transparent 70%);
  animation: pulse 6s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.3); opacity: 0.7; }
}


#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.projects {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.projects h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--artaud-yellow);
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(214,185,40,0.8);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.project-card {
  background: rgba(46, 68, 63, 0.25);
  border: 1px solid var(--artaud-green);
  border-radius: 12px;
  padding: 1.6rem;
  transition: 0.25s ease;
  box-shadow: 0 0 15px rgba(214,185,40,0.15);
}

.project-card:hover {
  border-color: var(--artaud-yellow);
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(214,185,40,0.35);
}

.project-card h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--artaud-yellow);
  margin-bottom: 0.8rem;
}

.project-card p {
  margin: 0;
  color: #ddd;
  line-height: 1.5;
  font-size: 0.95rem;
}

.contact {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background: rgba(46,68,63,0.2);
  border: 1px solid var(--artaud-green);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(214,185,40,0.15);
}

.contact h2 {
  color: var(--artaud-yellow);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact p {
  color: #ccc;
  font-size: 1rem;
}

.contact .mail {
  font-size: 1.3rem;
  margin-top: 1rem;
  color: var(--artaud-yellow);
  text-shadow: 0 0 10px rgba(214,185,40,0.8);
}


.badges {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem; 
  font-size: 0.875rem; 
  font-weight: 600;
  border-radius: 9999px; 
  border: 1px solid;
  transition: all 0.2s ease;
}

.badge:hover {
  transform: scale(1.05);
}


.badge-java {
  background: rgba(0, 255, 255, 0.2); 
  color: #00ffff;
  border-color: #00ffff;
}

.badge-paper {
  background: rgba(46, 68, 63, 0.2); 
  color: var(--artaud-green);
  border-color: var(--artaud-green);
}

.badge-fabric {
  background: rgba(214, 185, 40, 0.2); 
  color: var(--artaud-yellow);
  border-color: var(--artaud-yellow);
}

.lang-button {
  cursor: pointer; 
}
.lang-button:hover {
  background: var(--artaud-yellow);
  color: var(--artaud-black);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(214, 185, 40, 0.4);
}
.lang-button:focus {
  outline: 2px solid var(--artaud-yellow);
  outline-offset: 2px;
}

.project-image {
    width: 100%;
    height: auto; 
    border-radius: 8px;
}

.project-card:hover .project-image {
    border-color: var(--artaud-yellow);
    box-shadow: 0 0 20px rgba(214,185,40,0.25);
}

#parallaxCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    pointer-events: none;
}