.portfolio-section {
    background-image: url(./imagens/backgroundportifolio.jpg);
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  .planet-center {
    width: 350px;
    height: 350px;
    background-color: #1a1a1a;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    animation: blink-border 2s infinite ease-in-out;

  }
  
  .planet-center .logo {
    width: 100%;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    z-index: 99999;
    opacity: 1; /* deixa o logo visível */
    position: relative;

  }
  
  .planet-mini {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #111;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px solid #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 2;
  }

  .planet-mini .logo {
    border-radius: 50%;
    animation: blink-border 2s infinite ease-in-out;
  }
  
  /* Hover: vai pro centro */
  .planet-mini:hover {
    /*width: 350px;
    height: 350px;*/
    
    transform: translate(-10%, -10%);
    position: absolute;
    z-index: 50;
    transition: all 0.5s ease-in-out;

  }

  .planet-mini.active {
    width: 350px;
    height: 350px;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10;
  }
  
  /* Esconde a logo quando um planeta está ativo */
.solar-system.has-active .planet-center .logo {
    opacity: 0;
  }
  
  .portfolio-header {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    padding: 0 20px;
    z-index: 999;
    position: relative;
    pointer-events: none; /* impede que os planetas "atrapalhem" os cliques aqui */
  }
  
  .portfolio-title {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
    
  }
  
  .portfolio-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    line-height: 1.6;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6), 0 0 20px #000;
   
    padding: 10px 20px;
    border-radius: 12px;
  }
  

  /* Responsividade */
  @media (max-width: 768px) {
    .planet-center {
      width: 250px;
      height: 250px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  
    .planet-mini {
      width: 50px;
      height: 50px;
      transition: all 0.4s ease-in-out;
    }
  
    .planet-mini.active {
      width: 250px;
      height: 250px;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      z-index: 10;
    }
  
    .portfolio-section {
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    .solar-system {
      width: 100%;
      height: 100%;
      max-width: 400px;
      max-height: 600px;
      position: relative;
    }
  
    /* Mini planetas em volta (ajustável até 8) */
    .planet-mini:nth-of-type(2)  { top: 10%; left: 50%; transform: translate(-50%, -50%); }
    .planet-mini:nth-of-type(3)  { top: 25%; left: 85%; transform: translate(-50%, -50%); }
    .planet-mini:nth-of-type(4)  { top: 50%; left: 95%; transform: translate(-50%, -50%); }
    .planet-mini:nth-of-type(5)  { top: 75%; left: 85%; transform: translate(-50%, -50%); }
    .planet-mini:nth-of-type(6)  { top: 90%; left: 50%; transform: translate(-50%, -50%); }
    .planet-mini:nth-of-type(7)  { top: 75%; left: 15%; transform: translate(-50%, -50%); }
    .planet-mini:nth-of-type(8)  { top: 50%; left: 5%; transform: translate(-50%, -50%); }
    .planet-mini:nth-of-type(9)  { top: 25%; left: 15%; transform: translate(-50%, -50%); }
  }
  



  @keyframes blink-border {
    0%, 100% {
      box-shadow: 0 0 10px #3b82f6, 0 0 20px #3b82f6;
      border-color: #3b82f6;
    }
    50% {
      box-shadow: 0 0 20px #60a5fa, 0 0 70px #60a5fa;
      border-color: #60a5fa;
    }
  }