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

html {
  scroll-behavior: smooth;
}
.contact-buttons a.active-filter {
  padding: 12px 24px;
  background-color: #fff;
  color: #111;
  border-radius: 50px;
  text-decoration: none;
  font-family: monospace;
  transition: 0.3s ease;
}

body {
  font-family: 'Courier New', monospace;
  background: #1e1e2f;
  color: #f0f0f5;
  cursor: none;
  line-height: 1.6;
}

/* CURSOR PERSONALIZADO */
.cursor {
  pointer-events: none;
}
.cursor__ball {
  position: fixed;
  top: 0;
  left: 0;
  mix-blend-mode: difference;
  z-index: 1000;
}
.cursor__ball circle {
  fill: #f7f8fa;
}

/* NAVBAR */
.navbar {
  position: fixed;
  bottom: 20px; /* distância do fundo da janela */
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 32px;
  z-index: 999;

  background-color: rgba(0, 0, 0, 0.85); /* preto elegante */
  border-radius: 30px; /* arredondado tipo bolha */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.navbar nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.navbar nav ul li a {
  background-color: transparent;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.3s, transform 0.2s, color 0.3s;
}

/* HERO / PERFIL */
.hero {
  height: 100vh;
  background: #2b2b44;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 60px;
}
.side-rectangle {
  position: absolute;
  left: 10%;         /* margem de 10% da esquerda */
  top: 0;
  width: 100px;      /* largura do retângulo — ajusta ao teu gosto */
  height: 100%;      /* do chão ao teto da section */
  background-color: #f7f7fb;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;        /* fica atrás do texto e imagem principal */
}

/* Imagem dentro do retângulo, rotacionada 90 graus */
.side-rectangle .rotated-image {
  max-height: 80%;    /* controla tamanho da imagem dentro do retângulo */
  transform: rotate(90deg);
  display: block;
}


.profile-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid #fff;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero a {
  border-bottom: 2px solid #fff;
  padding: 10px 0;
  margin-top: 25px;
  text-decoration: none;
  color: white;
}

/* SEÇÕES GERAIS */
.content-section {
  min-height: 100vh;
  background: #f7f7fb;
  color: #222;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* SEÇÃO ALTERNADA (EX: PORTFÓLIO) */
.alt-bg {
  background: #e0e4f5;
}

/* PORTFÓLIO */

.project {
  background: white;
  border-radius: 10px;
  padding: 20px;
  color: #222;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.project h3 {
  margin-bottom: 10px;
  color: #4e6ee9;
}

.project:hover {
  transform: translateY(-5px);
}

/* HOVERABLE ELEMENTOS */
.hoverable {
  transition: all 0.3s ease;
}
.language-switch {
  margin-bottom: 30px;
}

.lang-btn {
  background: none;
  border: none;
  color: #4e6ee9;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
}

.lang-btn.active {
  text-decoration: underline;
}

.about-text {
  max-width: 800px;
  text-align: left;
}

.hidden {
  display: none;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .navbar nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .profile-pic {
    width: 150px;
    height: 150px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

.contacto-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: #f1f1f3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.wave-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: skewX(-20deg);
  opacity: 0.4;
  z-index: 0;
}

.wave-background svg {
  width: 100%;
  height: 100%;
}

.contacto-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.logo-svg h1 {
  font-family: 'Courier New', monospace;
  font-size: 2.8rem;
  font-weight: bold;
  color: #111;
  margin-bottom: 5px;
}

.logo-svg p {
  letter-spacing: 0.3em;
  color: #444;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-buttons a {
  padding: 12px 24px;
  background-color: #111;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-family: monospace;
  transition: 0.3s ease;
}

.contact-buttons a:hover {
  background-color: #333;
  transform: scale(1.05);
}
.hero {
  position: right;
  text-align: center;
  padding: 4rem 2rem;
  min-height: 500px; /* ajusta conforme a altura da tua imagem */
  background-image: url('velho.svg');
  background-repeat: no-repeat;
  background-size: auto 100%;      /* imagem com 100% da altura da section */
  background-position: right bottom; /* alinha à direita e em baixo */
}

.background-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  opacity: 0.2; /* Opcional: ajusta visibilidade */
  z-index: 0;
}

.profile-pic,
.hero h1,
.hero p {
  position: relative;
  z-index: 1;
}


.filter-menu {
  text-align: center;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  margin: 0.3rem;
  border: none;
  background-color: #ddd;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #aaa;
  color: #fff;
}
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.project-box {
  display: block;
  width: 260px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s ease;
}


.project-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

.project-info {
  padding: 12px;
}

.project-info h3 {
  margin: 0 0 5px 0;
  font-size: 1.1em;
  color: black;
}

.project-date {
  font-size: 0.85em;
  color: #888;
  margin: 0;
}

