@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background-color: #000; 
  color: #fff;
  font-family: "Roboto", sans-serif;
}

/* Video Background */
.bg-video {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none; /* evita bloquear cliques */
  will-change: transform;
  backface-visibility: hidden;
}

/* Header/Section */
header {
  position: relative;
  padding: 4rem 1rem;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url('./assets/WhatsApp Image 2026-01-14 at 21.44.59.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
}

header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(23, 37, 84, 0.6);
  z-index: 1;
}

.header-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 10;
}

.header-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.profile-img {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid #1e40af;
  transition: transform 0.3s;
}

.profile-img:hover {
  transform: scale(1.05);
  border: 4px solid #3b82f6;
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.subtitle {
  font-size: 1.5rem;
  color: #93c5fd;
  margin-bottom: 2.5rem;
}

.whatsapp-btn {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #15803d;
  color: white;
  font-weight: bold;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.cv-btn {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgb(0, 0, 191);
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.whatsapp-btn:hover {
  background-color: #166534;
  transform: scale(1.1);
}

.cv-btn:hover {
  background-color: rgb(0, 0, 116);
  transform: scale(1.1);
}

.icons {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 100%;
}

/* About Section */
.about-section {
  padding: 4rem 2rem;
  background-color: rgba(0, 0, 0, 0.7);
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

.about-text {
  color: #d1d5db;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  margin-bottom: 1.5rem;
}

/* Skills Section */
.skills-section {
  padding: 4rem 2rem;
  background-color: rgba(23, 37, 84, 0.85);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.skill-card {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 2px solid #1e40af;
  transition: border-color 0.3s;
}

.skill-card:hover {
  border-color: #3b82f6;
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.skill-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.skill-description {
  color: #9ca3af;
}

/* Projects Section */
.projects-section {
  padding: 4rem 2rem;
  background-color: rgba(0, 0, 0, 0.7);
}

.projects-list {
  display: grid;
  grid-template-columns: 1fr; /* mobile: 1 por linha */
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.project-card {
  background-color: rgba(23, 37, 84, 0.85);
  padding: 1rem;
  border-radius: 1rem;
  border: 2px solid #1e40af;
  transition: border-color 0.3s, transform 0.3s;
}

.project-card:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
}

.project-card video {
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.project-card h3 {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #93c5fd;
}

.video{
  height: 10rem;
  aspect-ratio: 16 / 9;
}


/* Education Section */
.education-section {
  padding: 4rem 2rem;
  background-color: rgba(23, 37, 84, 0.9);
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.education-card {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 2px solid #1e40af;
  transition: border-color 0.3s;
}

.education-card:hover {
  border-color: #3b82f6;
}

.education-content {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.education-icon {
  font-size: 2rem;
}

.education-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.education-institution {
  color: #93c5fd;
  margin-bottom: 0.5rem;
}

.education-status {
  color: #9ca3af;
}

/* Contact Section */
.contact-section {
  padding: 4rem 1rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);

}

.contact-description {
  font-size: 1.125rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  color: #d1d5db;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-link:hover {
  color: #60a5fa;
}

.contact-icon {
  font-size: 1.5rem;
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem 1rem;
  border-top: 1px solid #1e3a8a;
  text-align: center;
  color: #c0c0c0;
}

/* Media Queries */
@media (min-width: 690px) {
  .profile-img {
    width: 10rem;
    height: 10rem;
  }

  h1 {
    font-size: 3rem;
  }

  .whatsapp-btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }

  .cv-btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }

  .about-text {
    font-size: 1.125rem;
  }

  .video{
    height: 20rem;
  }

  .subtitle {
    font-size: 1.875rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .contact-info {
    flex-direction: row;
  }

    .projects-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .profile-img {
    width: 16rem;
    height: 16rem;
  }

  h1 {
    font-size: 3.75rem;
  }

  header {
    padding: 4.5rem 2rem;
  }

  .about-section,
  .skills-section,
  .education-section,
  .contact-section {
    padding: 4rem 2rem;
  }
}
