/* Base Styles */
:root {
  --primary-color: #9c27b0;
  --primary-light: #d05ce3;
  --primary-dark: #6a0080;
  --secondary-color: #f50057;
  --secondary-light: #ff5983;
  --secondary-dark: #bb002f;
  --dark-color: #121212;
  --dark-light: #1e1e1e;
  --light-color: #f5f5f5;
  --gray-color: #757575;
  --gray-light: #bdbdbd;
  --gray-dark: #424242;
  --success-color: #4caf50;
  --error-color: #f44336;
  --font-heading: "Cinzel", serif;
  --font-body: "Raleway", sans-serif;
  --transition: all 0.3s ease;
  --rune-color: rgba(156, 39, 176, 0.7);
  --text-light: #ffffff; /* Added for text-light color */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-color);
  color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Improved Fade In Animation */
.fade-in,
.fade-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.fade-in.active,
.fade-element.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered fade-in for child elements */
.fade-in .fade-element:nth-child(1) {
  transition-delay: 0.1s;
}
.fade-in .fade-element:nth-child(2) {
  transition-delay: 0.2s;
}
.fade-in .fade-element:nth-child(3) {
  transition-delay: 0.3s;
}
.fade-in .fade-element:nth-child(4) {
  transition-delay: 0.4s;
}
.fade-in .fade-element:nth-child(5) {
  transition-delay: 0.5s;
}
.fade-in .fade-element:nth-child(6) {
  transition-delay: 0.6s;
}
.fade-in .fade-element:nth-child(7) {
  transition-delay: 0.7s;
}
.fade-in .fade-element:nth-child(8) {
  transition-delay: 0.8s;
}

/* Particles Container */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  z-index: 1000;
  transition: var(--transition);
  background-color: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo h1 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
}

.logo span {
  color: var(--primary-color);
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-light);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.language-selector {
  display: flex;
  margin-right: 2rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-dark);
}

.language-selector button {
  background: none;
  border: none;
  padding: 0.3rem 0.8rem;
  color: var(--gray-light);
  cursor: pointer;
  transition: var(--transition);
}

.language-selector button.active {
  background-color: var(--primary-color);
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Main Content Styles */
main {
  padding-top: 80px;
}

section {
  padding: 5rem 5%;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.divider-line {
  height: 1px;
  width: 100px;
  background-color: var(--primary-color);
}

.divider-icon {
  margin: 0 1rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(30, 30, 30, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 18, 0.5);
  opacity: 0.1;
  z-index: -1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gray-light);
}

.hero-content h2 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.typewriter {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.typewriter::after {
  content: "|";
  position: absolute;
  right: -10px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  position: relative;
}

.image-frame {
  width: 350px;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-color: var(--dark-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(156, 39, 176, 0.3);
  z-index: 2;
}

.profile-img,
.about-img,
.journey-img,
.project-img,
.hobby-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rune Circle */
.rune-circle {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotate 20s linear infinite;
  z-index: 3;
}

.rune-circle .rune {
  position: absolute;
  font-size: 1.5rem;
  color: var(--rune-color);
  text-shadow: 0 0 10px var(--primary-color);
}

.rune-circle .rune:nth-child(1) {
  transform: rotate(0deg) translateY(-60px) rotate(0deg);
}
.rune-circle .rune:nth-child(2) {
  transform: rotate(45deg) translateY(-60px) rotate(-45deg);
}
.rune-circle .rune:nth-child(3) {
  transform: rotate(90deg) translateY(-60px) rotate(-90deg);
}
.rune-circle .rune:nth-child(4) {
  transform: rotate(135deg) translateY(-60px) rotate(-135deg);
}
.rune-circle .rune:nth-child(5) {
  transform: rotate(180deg) translateY(-60px) rotate(-180deg);
}
.rune-circle .rune:nth-child(6) {
  transform: rotate(225deg) translateY(-60px) rotate(-225deg);
}
.rune-circle .rune:nth-child(7) {
  transform: rotate(270deg) translateY(-60px) rotate(-270deg);
}
.rune-circle .rune:nth-child(8) {
  transform: rotate(315deg) translateY(-60px) rotate(-315deg);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Nordic Elements */
.nordic-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 8px solid var(--primary-color);
  border-radius: 10px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

.nordic-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 5px solid var(--primary-color);
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

.nordic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(156, 39, 176, 0.1);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.nordic-corner {
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 1;
  border: 2px solid var(--primary-color);
  opacity: 0.5;
}

.nordic-corner.top-left {
  top: 20px;
  left: 20px;
  border-top: none;
  border-left: none;
  border-bottom-right-radius: 15px;
}

.nordic-corner.top-right {
  top: 20px;
  right: 20px;
  border-top: none;
  border-right: none;
  border-bottom-left-radius: 15px;
}

.nordic-corner.bottom-left {
  bottom: 20px;
  left: 20px;
  border-bottom: none;
  border-left: none;
  border-top-right-radius: 15px;
}

.nordic-corner.bottom-right {
  bottom: 20px;
  right: 20px;
  border-bottom: none;
  border-right: none;
  border-top-left-radius: 15px;
}

.nordic-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(90deg, var(--primary-color), transparent, var(--primary-color));
  opacity: 0.3;
}

.rune-decoration {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 2;
}

.left-runes {
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
}

.right-runes {
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
}

.top-runes {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: row;
  gap: 30px;
}

.bottom-runes {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: row;
  gap: 30px;
}

.timeline-runes {
  bottom: 10px;
  right: 10px;
  flex-direction: row;
  gap: 0.5rem;
}

.project-runes {
  top: 10px;
  right: 10px;
}

.contact-runes {
  top: 100px;
  right: 20px;
}

.journey-bottom-runes,
.hobbies-bottom-runes {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.hobby-runes {
  top: 10px;
  right: 10px;
  flex-direction: row;
  gap: 15px;
}

.rune {
  font-size: 2rem;
  color: var(--rune-color);
  text-shadow: 0 0 10px var(--primary-color);
}

/* Floating Axes */
.floating-axes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.axe {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L2 12l10 10 10-10L12 2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L2 12l10 10 10-10L12 2z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

.axe-1 {
  top: 20%;
  left: 15%;
  animation: float-rotate 15s ease-in-out infinite;
}

.axe-2 {
  top: 70%;
  right: 10%;
  animation: float-rotate 12s ease-in-out infinite reverse;
}

@keyframes float-rotate {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(90deg);
  }
  50% {
    transform: translateY(0) rotate(180deg);
  }
  75% {
    transform: translateY(15px) rotate(270deg);
  }
}

/* About Section */
.about {
  background-color: var(--dark-light);
  position: relative;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

.about-text p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Skills Container */
.skills-container {
  position: relative;
  padding: 2rem;
  border-radius: 10px;
  background-color: rgba(18, 18, 18, 0.7);
  margin-top: 3rem;
  overflow: hidden;
}

/* Skills Section */
.skills {
  position: relative;
  z-index: 2;
}

.skill-categories {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.skill-category h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-category h4 i {
  color: var(--primary-color);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.skill {
  background-color: var(--dark-color);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: 1px solid rgba(156, 39, 176, 0.1);
  position: relative;
  overflow: hidden;
}

.skill:hover {
  transform: translateY(-5px);
  border-color: rgba(156, 39, 176, 0.3);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.skill h4 {
  margin-bottom: 1rem;
}

.skill-bar {
  height: 6px;
  background-color: var(--gray-dark);
  border-radius: 3px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  width: 0; /* Start at 0 and animate to final width */
  transition: width 1.5s ease-in-out;
}

/* Soft Skills Section */
.soft-skills {
  margin-top: 3rem;
}

.soft-skills-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.soft-skill {
  display: flex;
  gap: 1.5rem;
  background-color: var(--dark-color);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: 1px solid rgba(156, 39, 176, 0.1);
  position: relative;
  overflow: hidden;
}

.soft-skill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.soft-skill:hover {
  transform: translateX(5px);
  border-color: rgba(156, 39, 176, 0.3);
}

.soft-skill-icon {
  font-size: 2rem;
  color: var(--primary-color);
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.soft-skill-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.soft-skill-info p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Hobbies Section */
.hobbies {
  background-color: var(--dark-color);
  position: relative;
}

.hobbies-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hobby-card {
  background-color: var(--dark-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  border: 1px solid rgba(156, 39, 176, 0.2);
  position: relative;
}

.hobby-card:hover {
  transform: translateY(-10px);
  border-color: rgba(156, 39, 176, 0.5);
}

.hobby-image {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.hobby-content {
  padding: 2rem;
}

.hobby-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.hobby-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.hobby-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hobby-icons a {
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: var(--transition);
  display: inline-block;
}

.hobby-icons a:hover {
  transform: scale(1.2);
  color: var(--primary-light);
}

.hobby-bands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.hobby-stories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.band-tag {
  background-color: rgba(156, 39, 176, 0.2);
  color: var(--primary-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(156, 39, 176, 0.3);
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.band-tag:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Education Section */
.education {
  background-color: var(--dark-light);
  position: relative;
}

.education-content {
  max-width: 1200px;
  margin: 0 auto;
}

.education-main {
  display: flex;
  justify-content: center;
}

.education-card {
  background-color: var(--dark-color);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(156, 39, 176, 0.2);
  position: relative;
  overflow: hidden;
  max-width: 900px;
  width: 100%;
}

.education-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(156, 39, 176, 0.3);
}

.education-icon {
  font-size: 3rem;
  color: var(--primary-color);
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.education-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.education-info h4 {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.education-period {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.education-description {
  margin-bottom: 2.5rem;
}

.education-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.disciplines-section h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disciplines-section h4 i {
  color: var(--primary-color);
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.discipline-item {
  background-color: rgba(156, 39, 176, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(156, 39, 176, 0.2);
}

.discipline-item:hover {
  background-color: rgba(156, 39, 176, 0.2);
  transform: translateX(5px);
}

.discipline-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  min-width: 20px;
}

.discipline-item span {
  font-size: 1rem;
  color: var(--text-light);
}

.education-runes {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 0.5rem;
}

.education-bottom-runes {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

/* Journey/Timeline Section */
.journey {
  background-color: var(--dark-color);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-date {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-dark);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  margin-top: -40px;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 2rem;
  background-color: var(--dark-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: 1px solid rgba(156, 39, 176, 0.1);
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: rgba(156, 39, 176, 0.3);
}

.timeline-item:nth-child(odd) .timeline-content {
  left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  left: 55%;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.timeline-image {
  margin-top: 1.5rem;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--dark-color);
  position: relative;
}

/* Projects Section */
.projects {
  background-color: var(--dark-light);
  padding-bottom: 6rem;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  background-color: var(--dark-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: 1px solid rgba(156, 39, 176, 0.1);
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(156, 39, 176, 0.3);
}

.project-image {
  height: 200px;
  background-color: var(--dark-light);
  overflow: hidden;
  position: relative;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.project-info p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.projects-more {
  text-align: center;
  margin-top: 2rem;
}

/* Contact Section */
.contact {
  background-color: var(--dark-color);
  position: relative;
}

.contact-container {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
  background-color: var(--dark-light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(156, 39, 176, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--primary-light);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary-color);
}

/* Social Grid for Contact Section */
.contact-social {
  flex: 1.5;
  background-color: var(--dark-light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(156, 39, 176, 0.1);
}

.contact-social h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--primary-light);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.social-card {
  background-color: var(--dark-color);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(156, 39, 176, 0.1);
}

.social-card:hover {
  transform: translateY(-5px);
  border-color: rgba(156, 39, 176, 0.3);
  background-color: rgba(156, 39, 176, 0.1);
}

.social-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.social-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.social-card p {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: var(--transition);
  border: 1px solid rgba(156, 39, 176, 0.3);
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn.primary {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  color: white;
  box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
}

.btn.primary:hover {
  box-shadow: 0 6px 20px rgba(156, 39, 176, 0.6);
  transform: translateY(-3px);
}

.btn.secondary {
  background: transparent;
  color: var(--light-color);
  border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.btn.small {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* Viking Shield */
.viking-shield {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.6;
  transform: rotate(15deg);
}

/* Footer Styles */
footer {
  background-color: var(--dark-light);
  padding: 3rem 5% 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-logo h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content h2 {
    font-size: 3rem;
  }

  .timeline-content {
    width: 42%;
  }

  .timeline-item:nth-child(even) .timeline-content {
    left: 58%;
  }

  .rune-decoration {
    display: none;
  }

  .rune-circle {
    width: 120px;
    height: 120px;
    top: 30px;
    right: 30px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background-color: var(--dark-light);
    width: 80%;
    height: calc(100vh - 80px);
    padding: 2rem;
    transition: var(--transition);
    z-index: 999;
    gap: 1.5rem;
  }

  .nav-links.active {
    right: 0;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-dot {
    left: 30px;
  }

  .timeline-date {
    left: 30px;
    transform: translateX(0);
  }

  .timeline-content {
    width: calc(100% - 80px);
    left: 80px !important;
  }

  .contact-container {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .rune-circle {
    width: 100px;
    height: 100px;
    top: 20px;
    right: 20px;
  }

  .hobby-card {
    margin: 0 1rem;
  }

  .education-card {
    padding: 2rem;
  }

  .education-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .education-icon {
    min-width: auto;
  }

  .disciplines-grid {
    grid-template-columns: 1fr;
  }

  .discipline-item {
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
  }

  .image-frame {
    width: 280px;
    height: 280px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }

  .nordic-corner {
    width: 30px;
    height: 30px;
  }

  .rune-circle {
    width: 80px;
    height: 80px;
    top: 10px;
    right: 10px;
  }

  .hobby-image {
    height: 180px;
  }

  .hobby-content {
    padding: 1.5rem;
  }

  .hobby-content h3 {
    font-size: 1.5rem;
  }

  .hobby-content p {
    font-size: 1rem;
  }
}

/* Section Background Overlay */
.about::before,
.journey::before,
.projects::before,
.contact::before,
.hobbies::before,
.education::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 18, 0.8);
  z-index: 0;
}

.about > *,
.journey > *,
.projects > *,
.contact > *,
.hobbies > *,
.education > * {
  position: relative;
  z-index: 1;
}

/* Adicionando estilos para o barquinho viking de scroll */
#viking-scroll-indicator {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  font-size: 2rem;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(156, 39, 176, 0.5);
  transition: all 0.3s ease;
  pointer-events: none;
}

#viking-scroll-indicator i {
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(156, 39, 176, 0.7));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Estilos para partículas nas seções */
.section-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.section-particles .particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.6) 0%, rgba(156, 39, 176, 0.1) 100%);
  animation: sectionFloat 6s ease-in-out infinite;
}

@keyframes sectionFloat {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotate(90deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-10px) translateX(-10px) rotate(180deg);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-30px) translateX(5px) rotate(270deg);
    opacity: 0.8;
  }
}

/* Estilos para carrosséis de hobbies */
.hobby-carousel {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(156, 39, 176, 0.7);
}

.indicator.active {
  background: var(--primary-color);
  box-shadow: 0 0 10px rgba(156, 39, 176, 0.8);
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(156, 39, 176, 0.8);
  transform: scale(1.1);
}
