/* Shared styles for all pages */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Helvetica,
    Arial,
    sans-serif,
    Apple Color Emoji,
    Segoe UI Emoji;
  font-weight: 300;
  font-style: normal;
  background-color: #121212;
  color: #fff;
  width: 100vw;
  overflow-x: hidden;
}

header {
  width: 100%;
}

.navigation {
  width: 100%;
  height: 15vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.navigation div {
  font-size: 1.5rem;
  font-weight: 500;
  max-width: 100%;
}
.navigation .logo {
  font-size: 1.5rem;
  font-weight: 500;
  opacity: 100%;
}

.navigation a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.navigation a:hover {
  opacity: 1;
  text-decoration: underline;
}

.hero-title {
  font-size: 12vw;
  font-weight: 500;
  line-height: 1;
  position: relative;
}
.zoom-item {
  display: inline-block; /* necesario para que GSAP mueva el elemento */
  cursor: pointer;
  /* sin transform, sin transition — GSAP lo controla */
}
.zoom-item a {
  color: white;
}

.noise-container {
  display: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("651d15fb8f27f4a03c14afa4_5d8424ac4ffed73f4d72846e_5c06f51d6e75c933fe05c728_giphy.gif");
  background-position: 0 0;
  background-size: 480px;
  background-attachment: fixed;
  position: fixed;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  width: 100vw;
  overflow: hidden;
}

.back-link {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  background: #fff;
  color: #121212;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  z-index: 101;
  transition: transform 0.3s;
}

.back-link:hover {
  transform: scale(1.1);
}

/* ============================================= */
/* BURGER MENU */
/* ============================================= */

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1002;
  width: 30px;
  height: 24px;
  position: relative;
}

.burger-line {
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-menu-list li {
  font-size: 2.5rem;
  font-weight: 400;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-list li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-menu-list li a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.mobile-menu-list li:hover {
  opacity: 0.7;
}

/* ============================================= */
/* SCROLL TO TOP BUTTON */
/* ============================================= */

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #fff;
  color: #121212;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 100;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-to-top:hover {
  transform: scale(1.1) translateY(-3px);
}

.scroll-to-top::before {
  content: "↑";
  font-size: 2rem;
  font-weight: 300;
}

footer a {
  transition: opacity 0.3s;
}
footer a:hover {
  opacity: 0.5;
}

.desktop-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.desktop-menu li {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
}

.desktop-menu li:hover {
  text-decoration: underline;
}

/* ============================================= */
/* RESPONSIVE DESIGN */
/* ============================================= */

/* ============================================= */
/* RESPONSIVE */
/* ============================================= */

@media (max-width: 767px) {
  .navigation {
    padding: 1rem;
    align-items: center;
    height: 10vh;
  }

  .navigation div,
  .navigation .logo {
    font-size: 1.2rem;
  }

  .desktop-menu {
    display: none !important;
  }

  .burger-menu {
    display: flex;
  }
}

/* Extra Small Mobile (up to 480px) */
@media (max-width: 480px) {
  .navigation {
    padding: 0.75rem;
  }

  .navigation div,
  .navigation .logo {
    font-size: 1rem;
  }
}
