/*==================== LOADING SCREEN ====================*/
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--body-color) 0%,
    hsl(var(--hue-color), 19%, 8%) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: all 0.4s ease;
  opacity: 1;
  visibility: visible;
  will-change: opacity, visibility;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--first-color),
    var(--first-color-alt)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  animation: logoFloat 2s ease-in-out infinite;
  overflow: hidden;
  padding: 3px;
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); */
}

.loading-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.loading-logo i {
  font-size: 2rem;
  color: var(--container-color);
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.loading-text {
  color: var(--text-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 1rem;
  animation: textFade 2s ease-in-out infinite;
}

@keyframes textFade {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--first-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 2rem;
  overflow: hidden;
}

.loading-progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--first-color),
    var(--first-color-alt)
  );
  width: 0%;
  animation: progressLoad 1.5s ease-out forwards;
  border-radius: 2px;
}

@keyframes progressLoad {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Enhanced Typography for Home */
.home__title {
  animation: slideInUp 1s ease-out 0.5s both;
}

.home__subtitle {
  animation: slideInUp 1s ease-out 0.7s both;
}

.home__description {
  animation: slideInUp 1s ease-out 0.9s both;
}

.home .button {
  animation: slideInUp 1s ease-out 1.1s both;
}

.home__social {
  animation: slideInLeft 1s ease-out 0.8s both;
}

.my__info {
  animation: slideInUp 1s ease-out 1.3s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Info Items Enhancement */
.info__item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  transition: all 0.3s ease;
}

.info__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.info__icon {
  color: var(--first-color) !important;
  transition: transform 0.3s ease;
}

.info__item:hover .info__icon {
  transform: scale(1.1);
}

.info__title {
  color: var(--title-color);
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
}

.info__subtitle {
  color: var(--text-color-light);
  font-size: var(--smaller-font-size);
}

.info__subtitle a {
  color: var(--first-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info__subtitle a:hover {
  color: var(--first-color-alt);
}
