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

body {
  font-family: 'Heebo', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* --- Header --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(247, 247, 247, 0.9); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #ddd;
  width: 100%;
  height: 80px;
}

header #nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

header #nav-bar .nav-brand {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e1e1e;
  transition: opacity 0.3s ease;
}

header #nav-bar .nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

header #nav-bar .nav-list a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s;
}

header #nav-bar .nav-list a:hover {
  color: #0099cc;
}

/* --- Banner / Hero --- */
#banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  padding: 5rem 2rem;
  margin: 0 auto;
}

.banner-content {
  max-width: 600px;
}

.banner-content-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.banner-content-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.banner-image {
  border-radius: 50%;
  width: 350px;
  height: 350px;
  object-fit: cover; /* Corrige a foto oval */
  border: 3px solid #1e1e1e;
}

.banner-stacks {
  display: flex;
  gap: 1.5rem;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.banner-stacks i {
  transition: transform 0.3s;
  cursor: help;
}

.banner-stacks i:hover {
  transform: scale(1.2);
}

.banner-content-button {
  background-color: #1e1e1e;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s;
}

.banner-content-button:hover {
  background-color: #444;
}

/* --- Section Projetos & Carrossel --- */
#posts {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  overflow: hidden;
}

.posts-content {
  max-width: 1200px;
  margin: 0 auto;
}

.posts-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    margin-top: 2rem;
}

.carousel-wrapper {
  overflow: hidden;
  flex: 1;
}

.control-btn {
    background: #1e1e1e;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.3s;
    z-index: 10;
}

.control-btn:hover {
    background: #0099cc;
    transform: scale(1.1);
}

.posts-cards {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: max-content;
}

.post-card {
  background: #fff;
  padding: 5rem;
  border-radius: 12px;
  border: 1px solid #eee;
  min-width: 350px;
  max-width: 350px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.control-btn {
  background: #1e1e1e;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 3rem;
  width: 90%;
  max-width: 700px;
  border-radius: 15px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
}

/* --- Responsividade --- */
@media (max-width: 920px) {
  #banner { flex-direction: column-reverse; text-align: center; }
  .banner-stacks { justify-content: center; }
  .banner-image { width: 250px; height: 250px; margin-bottom: 2rem; }
}

/* --- Estilo da Seção Contact --- */
#contact {
    padding: 1rem 1rem;
    background-color: #ffffff;
    text-align: center;
    border-top: 1px solid #eee;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    text-decoration: none;
    color: #1e1e1e;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.contact-item i {
    font-size: 2.5rem;
}

.contact-item:hover {
    color: #0099cc;
}