/*
Theme Name: Graftech Theme
Author: Seu Nome
Description: Tema personalizado para a empresa Graftech.
Version: 1.3
*/

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fafbfc;
}

/* Portfólio modal overlay */
.portfolio-img-wrapper img {
  transition: box-shadow 0.18s;
  cursor: pointer;
}
.portfolio-img-wrapper img:hover {
  box-shadow: 0 0 16px 0 #25D36633;
}

/* Header banner grande */
.header-mainimg {
  width: 100%;
  object-fit: cover;
  display: block;
  max-height: 400px;
  margin-bottom: 16px;
}
@media (max-width: 575px) {
  .header-mainimg {
    max-height: 420px;
    border-radius: 0 0 16px 16px;
  }
}

/* Header */
.header-content {
  text-align: center;
  padding: 20px 0 0 0;
}

/* Fade in ao scroll (mais evidente) */
.fade-scroll {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1s cubic-bezier(.33,1,.68,1),
              transform 1s cubic-bezier(.33,1,.68,1);
  will-change: opacity, transform;
}
.fade-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ajuste simples para o Bootstrap Carousel */
.carousel-item {
  max-height: 450px;
}
.carousel-item img {
  border-radius: 8px;
}

/* Seções */
section {
  margin-bottom: 36px;
}
@media (max-width: 575px) {
  section {
    margin-bottom: 24px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .header-content {
    padding: 10px 0 0 0;
  }
}

/* Botão WhatsApp */
.whatsapp-button, .btn-success {
  display: inline-block;
  background-color: #25D366;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

/* WhatsApp flutuante */
.whatsapp-float-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,.18), 0 2px 4px rgba(0,0,0,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
}
.whatsapp-float-btn:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.22), 0 3px 8px rgba(0,0,0,.20);
  transform: scale(1.08);
  color: #fff;
}
@media (max-width: 575px) {
  .whatsapp-float-btn {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    font-size: 1.5rem;
  }
}

/* Footer personalizado */
.footer-custom-bg {
  background: var(--footer-bg, #222) !important;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* Cada item do footer em linha com ícone circular e conteúdo em coluna */
.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
/* Ícone dentro de círculo semi-transparente */
.footer-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}
/* Agrupa label + texto em coluna */
.footer-content {
  display: flex;
  flex-direction: column;
}
/* Label em negrito */
.footer-label {
  font-weight: bold;
  color: #fff;
  margin-bottom: 4px;
}
/* Texto normal */
.footer-text {
  color: #fff;
  word-break: break-word;
}

/* Ajuste para full-width sections com background */
section.w-100 {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  padding-left: 0 !important;
  padding-right: 0 !important;
  min-height: 100vh;
}
@media (max-width: 575px) {
  section.w-100 {
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  section.w-100 > .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
