* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

/* NAV */
.nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: var(--color-bg);
  z-index: 10;
}

.logo {
  font-size: 2.2rem;
  font-weight: 900;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-text);
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 8px var(--color-accent);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-item.active {
  opacity: 1;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* CONTROLES CARRUSEL */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 3rem;
  z-index: 3;
  pointer-events: none;
}

.carousel-arrow {
  pointer-events: auto;
  font-size: 1.8rem;
  background: rgba(0, 0, 0, 0.55);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.carousel-arrow:hover {
  background: rgba(125, 210, 245, 0.15);
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(125, 210, 245, 0.6);
}

/* HERO CENTRO */
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}

.name-item.mikan {
  display: flex;
  justify-content: center;
  gap: 0.1em;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
}

.name-item.mikan span {
  text-shadow: 0 0 10px var(--color-accent);
  animation: float 3s ease-in-out infinite;
}

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

.professions .name-item {
  font-size: 1.1rem;
  opacity: 0.85;
}

/* ABOUT */
.about-section {
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-separator-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 1rem;
  margin-bottom: 3rem;
}

.about-separator-container .line {
  flex: 1;
  height: 2px;
  background: var(--color-accent);
  opacity: 0.4;
}

.about-separator {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--color-accent);
}

/* GRID */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  align-items: start;
}

.about-photo-large {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(125, 210, 245, 0.35);
}

.about-text {
  font-size: 1.35rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 90%;
}

.about-subtitle {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}

/* SOFTWARE */
.software-icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
  align-items: center;
  justify-items: center;
}

.software-icons img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(1.4);
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.software-icons img:hover {
  transform: scale(1.25);
  filter: brightness(1.8);
}

.software-text span {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-accent);
  opacity: 0.9;
}

/* RIGHT COLUMN */
.about-col-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-block h3 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  color: var(--color-accent);
}

.about-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-block li {
  font-size: 1.1rem;
  opacity: 0.85;
}

/* FOOTER */
.footer {
  padding: 2rem;
  text-align: center;
}

/* TABLET */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-text {
    max-width: 100%;
  }

  .carousel-controls {
    padding: 0 1.5rem;
  }
}

/* 📱 MOBILE 428px */
@media (max-width: 428px) {
  .nav-top {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .name-item.mikan {
    font-size: 3.2rem;
  }

  .professions .name-item {
    font-size: 0.95rem;
  }

  .carousel-controls {
    padding: 0 1rem;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }

  .about-section {
    padding: 4rem 1.5rem;
  }

  .about-photo-large {
    max-height: 360px;
  }

  .about-text {
    font-size: 1.15rem;
  }

  .about-block li {
    font-size: 1rem;
  }

  .software-icons {
    justify-content: center;
  }

  .software-icons img {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 428px) {
  .software-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-items: center;
  }
}
@media (max-width: 428px) {
  .hero {
    height: 90vh;
  }
}
@media (hover: none) {
  .carousel-arrow:active,
  .nav-links a:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px rgba(125, 210, 245, 0.6);
  }
}
@media (hover: none) {
  .carousel-arrow:active,
  .nav-links a:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px rgba(125, 210, 245, 0.6);
  }
}
/* PROGRAMMING LANGUAGES – pills */
.software-text {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.software-text span {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(125, 210, 245, 0.15);
  border: 1px solid rgba(125, 210, 245, 0.35);
  color: var(--color-accent);
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.software-text span:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(125, 210, 245, 0.5);
}
.about-block h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 0.4rem;
  opacity: 0.6;
}
.about-block li {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.about-block li:hover {
  transform: translateX(6px);
  opacity: 1;
}
.about-photo-large {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.about-photo-large:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(125, 210, 245, 0.5);
}
.about-separator {
  text-shadow: 0 0 10px rgba(125, 210, 245, 0.6);
}
