
/* ===========================
   RESET + BASE
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}


body {
  min-height: 100vh;
  position: relative;
  font-family: "archivo", sans-serif;
  background-color: #8dc1d8;
}

/* ===========================
   CURSOR PERSONALIZADO
=========================== */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1c1c1c;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.08s linear;
}

#cursor.zoom {
  transform: translate(-50%, -50%) scale(1.6);
}
/*boton color */
.btn-fondo {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 6px 12px;
  background-color: #1c1c1c;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: "archivo", sans-serif;
  font-size: 12px;
  border-radius: 100px;
  transition: background-color 0.3s, color 0.3s;
}

.btn-fondo:hover {
  background-color: #8dc2d800;
  color: #1c1c1c;
}

/* ===========================
   ESTRUCTURA PRINCIPAL
=========================== */
#page-wrapper {
  position: relative;
}

#page-content {
  position: relative;
  z-index: 2;
  transition: filter 0.5s ease;
}

.blur-content {
  filter: blur(4px);
    transition: filter 0.3s ease; /* para que el blur aparezca suave */
}
/* ===========================
   OVERLAY AZUL
=========================== */
#background {
  position: fixed;
  inset: 0;
  background-color: #8dc1d8;
  z-index: 1;
  pointer-events: none;

  clip-path: ellipse(0% 0% at 50% 0%);
  transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===========================
   TEXTO CENTRAL
=========================== */
.title {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  font-size: 250px;
  font-family: "futura-pt", sans-serif;
  color: #1c1c1c;

  margin: 0;
  padding: 0;
  z-index: 2;
  pointer-events: none;
}

.texto {
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#movible-texto {
  font-family: "archivo-expanded", sans-serif;
  font-size: 16px;
  color: #1c1c1c;
  white-space: nowrap;
  position: relative;
}

#movible-texto::after {
  content: "|";
  position: absolute;
  right: -4px;
  animation: blink 1.5s step-end infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* ===========================
   HEADER FIJO
=========================== */
.profesion {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  text-align: center;
}

.profesion p {
  font-size: 10px;
  line-height: 1.2;
}

/* ===========================
   MENÚS
=========================== */
#menuTexto,
#menuContacto {
  position: fixed;
  top: 10px;
  z-index: 1100;
}

#menuTexto { right: 15px; }
#menuContacto { left: 15px; }

#menuTexto ul,
#menuContacto ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

#menuTexto ul { align-items: flex-end; }
#menuContacto ul { align-items: flex-start; }

#menuTexto a,
#menuContacto a {
  font-size: 10px;
  color: #1c1c1c;
  text-decoration: none;
}

/* ===========================
   RELOJ + UBICACIÓN
=========================== */
#reloj {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  z-index: 1100;
}

#ubicacion {
  position: fixed;
  bottom: 10px;
  right: 70px;
  font-family: "futura-pt", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  z-index: 1100;
}

/* ===========================
   LOGO + AVATAR
=========================== */
/* Logo y avatar */
.logo-btn {
  position: fixed;
  bottom: 0;
  left: 10px;
  width: 170px;
  height: 120px;
  z-index: 10000;
  cursor: pointer;
  display: flex;
    
}

.logo-btn img {
  width: 100%;
  height: 150%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.logo-normal { opacity: 1; transition: opacity .15s; }
.logo-btn:hover .logo-hover { opacity: 1; }
.logo-btn:hover .logo-normal { opacity: 0; }

#avatar {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 160px;
  height: 160px;
  z-index: 1100;
  display: none;
}
#logoBtn:hover {
  opacity: 0; /* desaparece al pasar el ratón */
}

/* ===========================
   AVISOS
=========================== */
.avisos {
  position: fixed;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1100;
}

.avisos a {
  font-family: "futura-pt", sans-serif;
  font-size: 15px;
  color: #1c1c1c;
  text-decoration: none;
}


/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  padding: 80px 50px;
}
.grid {
  grid-template-areas:
    ". . . img1"
    "text1 . . img2"
    "img3 img4 img5 text2"
    "img6 text3 img7 img8"
    "img9 img10 . .";
}
.img1 { grid-area: img1; }
.img2 { grid-area: img2; }
.img3 { grid-area: img3; }
.img4 { grid-area: img4; }
.img5 { grid-area: img5; }
.img6 { grid-area: img6; }
.img7 { grid-area: img7; }
.img8 { grid-area: img8; }
.img9 { grid-area: img9; }
.img10 { grid-area: img10; }

.text1 { grid-area: text1; 
  grid-column: span 3; /* de 4 columnas, ocupará 3 */}
.text2 { grid-area: text2; }
.text3 { grid-area: text3; }


.item {
  width: 100%;
  object-fit: cover;
}

.text {
  font-size: 16px;
  text-align: justify;
  line-height: 1.6;
  max-width: 30%;
}

/* Footer */
.footer {
  padding: 40px;
  font-size: 11px;
  text-align: right;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1.2s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===========================
   RESPONSIVE - TABLET
=========================== */
@media (max-width: 1024px) {
  .grid {
    gap: 30px; /* menos espacio entre imágenes */
    padding: 50px 30px;
  }

  .grid .item {
    max-height: 200px; /* reduce altura de las imágenes */
    object-fit: cover; /* mantiene proporción sin deformar */
  }

  .text {
    font-size: 12px;
    max-width: 300px; /* texto más compacto */
  }

    /* ===== HEADER ===== */
  .profesion p {
    font-size: 8px;
  }


  #menuTexto ul li a {
    font-size: 9px;
  }

  #menuContacto a {
    font-size: 8px;
  }

  /* ===== RELOJ + UBICACIÓN ===== */
  #ubicacion {
    bottom: 25px;  /* más arriba que el reloj */
    right: 10px;
  }

  #reloj {
    bottom: 10px;
    right: 10px;
    font-size: 10px;
  }


  /* ===== LOGO ===== */
  .logo-btn {
    width: 120px;
    height: 90px;
    bottom: 0;
    left: 10px;
  }

  #avatar {
    width: 120px;
    height: 120px;
    bottom: 10px;
    left: 10px;
  }

  .title {
    font-size: 150px;
  }

  .slide-text {
    right: 10%;
    bottom: 30%;
    max-width: 200px;
    line-height: 40px;
  }

  .slide-text h2 {
    font-size: 40px;
    margin-bottom: 5px;
  }

  .slide-text p {
    font-size: 30px;
  }

  .slide-inner a:hover img {
    transform: scale(1.03); /* efecto hover más suave en móvil */
  }

  /* BOTÓN */
  .btn-fondo {
    top: 50px;
    padding: 4px 10px;
    font-size: 10px;
  }
  
}

/* ===========================
   RESPONSIVE - MÓVIL
=========================== */
@media (max-width: 768px) {
  .grid {
    gap: 20px; /* menos espacio vertical */
    padding: 30px 15px;
  }

  .grid .item {
    max-height: 150px; /* imágenes más pequeñas */
    object-fit: cover; /* no se deforman */
  }

  .text {
    font-size: 11px;
    max-width: 180px;
  }

  /* Opcional: reducir título y otros elementos */
  .title {
    font-size: 80px;
    top: 10%;
  }


    #menuTexto ul  {
    flex-direction: row;
    gap: 10px;
  }
  
}
