/* ===== HERO SECTION ===== */

.hero {
  min-height: 100vh;
  padding: 0 1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  text-align: center;

  /* Gradiente equivalente ao Tailwind */
  background: linear-gradient(
    135deg,
    #0d1b2a,
    #0d1b2a 60%,
    #0b5fa5
  );

  color: #ffffff;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

/* Botão */
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.75rem 2rem;
  border-radius: 0.75rem;

  background-color: #0b5fa5;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;

  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #094f8a;
}

/* ===== ABOUT SECTION ===== */

.about {
  padding: 6rem 1rem;
  background-color: #f7fafc;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;

  align-items: center;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: #0f172a;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1.5rem;
}

/* Imagem */
.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 320px;
  border-radius: 1.5rem;
  object-fit: cover;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===== EDUCATION SECTION ===== */

.education {
  padding: 6rem 1rem;
  background-color: #f8fafc;
}

.education-container {
  max-width: 1100px;
  margin: 0 auto;
}

.education h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: #0f172a;
}

.education-block {
  margin-bottom: 4rem;
}

.education-subtitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.education-subtitle i {
  color: #0b5fa5;
}

/* Cards */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;

  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  color: #475569;
  font-size: 0.95rem;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: 6rem 1rem;
  background-color: #f8fafc;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  display: block;
  padding: 20px;
  background-color: #1b263b;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.project-card .tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card .tags span {
  background: rgba(100, 200, 255, 0.15);
  color: #6ec1ff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.projects-section h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: #0f172a;
}

/* ===== FOOTER SECTION ===== */
.footer-section {
  padding: 6rem 1rem;
  background: linear-gradient(
    135deg,
    #0d1b2a,
    #0d1b2a 60%,
    #0b5fa5
  );
  align-items: center;
  justify-content: center;
}

.footer-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffffff;
  text-align: center;
}

.footer-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d1d5db;
  margin-bottom: 1.5rem;
  text-align: center;
}

.footer-section a {
  font-size: 32px;
  color: #a8c6ff;
  margin: 0 10px;
  transition: color 0.3s ease;
  text-decoration: none;
  justify-content: center; /* centraliza na horizontal */
  align-items: center; 
}

.footer-section a:hover {
  color: #0b0982;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* Responsivo */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}


/* Responsividade */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text h2 {
    text-align: center;
  }

  .about-image {
    margin-top: 2rem;
  }
}


/* Animação bounce (equivalente ao animate-bounce) */
@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}
