/* ---------- GERAL ---------- */
body {
  font-family: "Montserrat", sans-serif;
  background-color: #f8f9fa;
}

/* Compensa a navbar fixa */
main {
  margin-top: 0;
}

/* ---------- HERO BANNER ---------- */
.hero-banner {
  position: relative;
  height: 100vh;
  background-image: url("../assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* efeito sutil de paralaxe */
  transition: height 0.3s ease-out;
  overflow: hidden;
}

/* Gradiente escuro sobre a imagem */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* Conteúdo central */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
}

/* ---------- EFEITO NA ROLAGEM ---------- */
@keyframes fadeOutHero {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

/* Reduz o banner ao rolar */
body.scrolled .hero-banner {
  height: 50vh;
  background-attachment: scroll;
}

/* Transição suave */
.hero-banner {
  transition: height 0.6s ease-in-out;
}

/* ---------- NAVBAR ---------- */
.navbar-brand img {
  vertical-align: middle;
}

#map {
  width: 100%;
  height: 400px;
  border-radius: 12px;
}

/* Estilo da seção de contato */
.contact-info {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info i {
  vertical-align: middle;
}

.projects-section .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projects-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.projects-section .card-img-top {
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.service-card {
  border-radius: 12px;
  background-color: #f3f3f3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-card i {
  font-size: 3rem;
}

/* Prefixo .linktree para não afetar outras páginas */
.linktree .btn-instagram,
.linktree .btn-facebook,
.linktree .btn-linkedin,
.linktree .btn-whatsapp,
.linktree .btn-dark {
    color: #fff;
    font-weight: bold;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 12px 0;
    text-align: center;
}

/* Instagram */
.linktree .btn-instagram {
    background-color: #E1306C;
    border-color: #E1306C;
}
.linktree .btn-instagram:hover {
    background-color: #fff;
    color: #E1306C;
}

/* Facebook */
.linktree .btn-facebook {
    background-color: #3b5998;
    border-color: #3b5998;
}
.linktree .btn-facebook:hover {
    background-color: #fff;
    color: #3b5998;
}

/* LinkedIn */
.linktree .btn-linkedin {
    background-color: #0077b5;
    border-color: #0077b5;
}
.linktree .btn-linkedin:hover {
    background-color: #fff;
    color: #0077b5;
}

/* WhatsApp */
.linktree .btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
}
.linktree .btn-whatsapp:hover {
    background-color: #fff;
    color: #25D366;
}

/* Meu Site */
.linktree .btn-dark {
    background-color: #555;
    border-color: #555;
}
.linktree .btn-dark:hover {
    background-color: #fff;
    color: #555;
}

/* Perfil */
.linktree img {
    object-fit: cover;
    border: 3px solid #ddd;
}

/* Ajustes responsivos */
@media (max-width: 576px) {
    .linktree .d-grid {
        width: 90% !important;
    }
}

.no-border {
  border: none !important;
  box-shadow: none !important;
}
