body, html {
    margin: 0;
    padding: 0;
    font-family: "Lexend", sans-serif;
}

header
{
  position: relative;
  background-color: white;
}


/* Fonte Rams W01 para títulos dos projetos */
@font-face {
  font-family: "Rams W01";
  src: url("../font/Rams W01 Bold.woff2") format("woff2"),
       url("../font/Rams W01 Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.titulo-portifolio{
  text-align: center;
  font-size: 60px;
  text-transform: uppercase;
  font-family: "Rams W01", "Lexend", sans-serif !important;
  font-weight: 700 !important;
}

/* Seta para cima */
.arrow-up {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: white;
  color: #000000;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 30px;
  cursor: pointer;
  border-radius: 80%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.arrow-up:hover {
  transform: scale(1.50);
}


body.blur {
  overflow: hidden;
}

.image-grid {
  column-count: 3;
  margin: 20px;
}

.grid-image {
  width: 100%;
  height: auto;
  max-width: 700px;
  margin-bottom: 20px; 
  cursor: pointer; /* Adiciona cursor apontando para indicar que a imagem é clicável */
}

.grid-image:hover {
  transform: scale(1.015); /* Aumenta ligeiramente o tamanho da imagem ao passar o mouse sobre ela */
  box-shadow: 3px 3px 8px 0px #000000;
}

nav ul li:hover::before {
  background-color: black;
}

/* Configuração para dispositivos móveis */

@media (max-width: 1200px) {
    .image-grid{
    column-count: 1;
    }
    .titulo-portifolio{
      font-size: 30px;
    }
}

/* Estilo para a imagem expandida */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95); /* Fundo preto com transparência */
  justify-content: center;
  align-items: center;
  z-index: 999; /* Z-index maior para garantir sobreposição */
}

.overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 80px;
  cursor: pointer;
}

/* Estilos para o carregamento */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-overlay .spinner {
  border: 8px solid rgba(0, 0, 0, 0.1);
  border-top: 8px solid #000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

.loading-overlay .loading-text {
  margin-top: 20px;
  font-size: 18px;
  color: #000;
}

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

/* Botão CTA */
.project-cta {
  text-align: center;
  margin: 40px 0 60px 0;
  padding: 0 20px;
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.cta-button {
  background: transparent;
  border: 2px solid #333;
  color: #333;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: var(--sc-text-weight);
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background: #333;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateY(2px);
}

/* Seção de introdução do projeto */
.project-intro {
  max-width: 1400px;
  margin: 80px auto 40px auto;
  padding: 0 20px;
}

.intro-container {
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  padding: 60px 50px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-container h2 {
  font-size: 32px;
  font-weight: 700 !important; /* Rams Bold */
  color: #2c2c2c;
  margin-bottom: 40px;
  line-height: 1.2;
  text-align: left;
  letter-spacing: -0.5px;
  font-family: "Rams W01", "Lexend", sans-serif !important;
}

.intro-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 28px;
  text-align: justify;
  font-weight: 400;
  font-family: "Comfortaa", "Lexend", sans-serif !important;
}

.intro-text p:first-child {
  font-style: italic;
  font-weight: 400;
  color: #333;
  font-size: 20px;
  margin-bottom: 35px;
  font-family: "Comfortaa", "Lexend", sans-serif !important;
}

.intro-text p:last-child {
  margin-bottom: 0;
  font-weight: 400;
  color: #2c2c2c;
  font-style: italic;
  font-family: "Comfortaa", "Lexend", sans-serif !important;
}

/* Texto em destaque com maior grossura */
.highlight-text {
  font-weight: var(--sc-text-weight) !important;
  color: #1a1a1a !important;
  letter-spacing: -0.2px;
}

/* Título com partes em destaque */
.intro-container h2 strong {
  font-weight: var(--sc-title-weight);
  color: #1a1a1a;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
  .project-cta {
    margin: 30px 0 40px 0;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 15px;
  }

  .project-intro {
    margin: 60px auto 30px auto;
    padding: 0 15px;
  }

  .intro-container {
    padding: 40px 30px;
  }

  .intro-container h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .intro-text p {
    font-size: 16px;
    line-height: 1.7;
  }

  .intro-text p:first-child {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .highlight-text {
    font-weight: var(--sc-text-weight) !important;
    font-size: 16px;
  }

  .intro-container h2 strong {
    font-weight: var(--sc-title-weight);
  }
}

@media (max-width: 480px) {
  .project-cta {
    margin: 25px 0 35px 0;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .project-intro {
    margin: 50px auto 25px auto;
  }

  .intro-container {
    padding: 30px 20px;
  }

  .intro-container h2 {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .intro-text p {
    font-size: 15px;
  }

  .intro-text p:first-child {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .highlight-text {
    font-weight: var(--sc-text-weight) !important;
    font-size: 15px;
  }

  .intro-container h2 strong {
    font-weight: var(--sc-title-weight);
  }
}

@media (min-width: 3840px) {
  .image-grid {
    column-count: 4; /* Adjust the column count as per your design preference */
    column-gap: 20px; /* Add a gap between columns for better spacing */
  }

  .project-cta {
    margin: 60px 0 80px 0;
  }

  .cta-button {
    padding: 18px 40px;
    font-size: 18px;
  }

  .project-intro {
    max-width: 1800px;
    margin: 100px auto 50px auto;
  }

  .intro-container {
    padding: 80px 60px;
  }

  .intro-container h2 {
    font-size: 40px;
    margin-bottom: 50px;
  }

  .intro-text p {
    font-size: 22px;
    margin-bottom: 32px;
  }

  .intro-text p:first-child {
    font-size: 24px;
    margin-bottom: 45px;
  }

  .highlight-text {
  font-weight: var(--sc-text-weight) !important;
    font-size: 22px;
  }

  .intro-container h2 strong {
  font-weight: var(--sc-title-weight);
  }
}




