/* Reset e base */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding-top: 70px;
  background: red;
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #000;
  color: white;
  z-index: 1000;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-weight: bold;
  font-size: 16px;
}

nav a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: #ffcc00;
}

/* SECÇÕES */
section {
  padding: 100px 20px;
  text-align: center;
}

h2 {
  font-size: 42px;
  margin-bottom: 40px;
}

/* TÍTULO PRINCIPAL */
.titulo-principal {
  text-align: center;
  padding: 0px 20px 20px;
  color: white;
}

.titulo-principal h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.titulo-principal p {
  font-size: 22px;
  font-style: italic;
  margin: 0;
}

/* INTRO VÍDEO */
.intro-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 20px;
}

.video-wrapper {
  width: 90%;
  max-width: 1000px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}




/* SOBRE MIM */
.sobre-mim {
  background: white;
  border-radius: 30px;
  padding: 60px 40px;
  margin: 100px auto;
  max-width: 1100px;
}

.sobre-mim-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.texto-sobre-mim {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.texto-sobre-mim h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.texto-sobre-mim p {
  font-size: 18px;
  line-height: 1.7;
}

.imagem-sobre-mim {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.imagem-sobre-mim img {
  width: 100%;
  max-width: 500px;
  border-bottom-right-radius: 200px;
}


/* CONTACTOS */
.contact-section {
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  max-width: 1000px;
  margin: 0 auto 10px auto;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 18px;
}

.contact-item i {
  font-size: 50px;
  min-width: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-info a {
  text-decoration: none;
  color: #000;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* RESPONSIVO */
@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    font-size: 14px;
  }
  
}
 .portfolio-section {
  background-color: red;
  padding: 0px 20px;
  text-align: center;
}

.portfolio-section h1 {
  font-size: 48px;
  color: white;
  margin-bottom: 50px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.portfolio-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.portfolio-card .content {
  padding: 20px;
}

.portfolio-card h3 {
  margin-top: 15px;
  font-size: 20px;
  text-align: center;
  margin-bottom: 0%;
}

.portfolio-card p {
  margin-bottom: 1;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

