/* Estilos personalizados para o site Trinkessen */

/* Ajustes para o header fixo */
header.fixed-header {
  transition: all 0.3s ease;
}

/* Efeito de scroll - header menor quando a página é rolada */
header.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

header.scrolled img {
  height: 60px;
}

/* Ajustes para links de navegação */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-navy);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Botão de contato com efeito de hover */
.contact-button {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Menu mobile com animação */
.menu-mobile {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.menu-mobile.active {
  transform: translateX(0);
}

/* Estilos para a seção hero */
.hero-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hero-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.hero-button:hover::after {
  left: 100%;
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Efeito de texto com sombra para melhor legibilidade */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-shadow-sm {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Estilos para o indicador de "Explore" */
#explore-indicator {
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.explore-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid white;
  border-radius: 14px;
  margin: 0 auto;
  position: relative;
  transition: all 0.3s ease;
}

#explore-indicator:hover .explore-mouse {
  transform: scale(1.1);
  border-color: var(--color-gold);
}

#explore-indicator:hover .explore-mouse-wheel {
  background-color: var(--color-gold);
}

/* Estilos para a seção de diferenciais */
.diferencial-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.diferencial-card:hover {
  transform: translateY(-10px);
}

.diferencial-card:hover .diferencial-icon {
  transform: scale(1.1);
}

.diferencial-icon {
  transition: all 0.3s ease;
}

.diferencial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-gold), var(--color-navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.diferencial-card:hover::before {
  transform: scaleX(1);
}

/* Estilos para a seção Quem Somos */
#quem-somos .stats-item {
  transition: all 0.3s ease;
}

#quem-somos .stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#quem-somos .image-container {
  position: relative;
}

#quem-somos .image-container::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--color-gold);
  z-index: -1;
  border-radius: 0.5rem;
}

#quem-somos .action-button {
  position: relative;
  overflow: hidden;
}

#quem-somos .action-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

#quem-somos .action-button:hover::after {
  left: 100%;
}

/* Estilos para a seção Missão, Visão e Valores */
#missao-visao-valores .mvv-card {
  transition: all 0.3s ease;
}

#missao-visao-valores .mvv-card:hover {
  transform: translateY(-10px);
}

#missao-visao-valores .mvv-icon {
  transition: all 0.3s ease;
}

#missao-visao-valores .mvv-card:hover .mvv-icon {
  transform: scale(1.1);
}

#missao-visao-valores .valores-item {
  transition: all 0.2s ease;
}

#missao-visao-valores .valores-item:hover {
  transform: translateX(5px);
}

#missao-visao-valores .quote-container {
  position: relative;
}

#missao-visao-valores .quote-container::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 80px;
  font-family: serif;
  color: var(--color-gold);
  opacity: 0.2;
}

/* Estilos para a seção Serviços */
#servicos .service-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

#servicos .service-card:hover {
  transform: translateY(-10px);
}

#servicos .service-icon {
  transition: all 0.3s ease;
}

#servicos .service-card:hover .service-icon {
  transform: rotate(10deg);
}

#servicos .service-feature {
  transition: all 0.2s ease;
}

#servicos .service-feature:hover {
  transform: translateX(5px);
}

#servicos .cta-button {
  position: relative;
  overflow: hidden;
}

#servicos .cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

#servicos .cta-button:hover::after {
  left: 100%;
}

/* Estilos para a seção Marcas */
#marcas .brand-item {
  transition: all 0.3s ease;
}

#marcas .brand-item:hover {
  transform: translateY(-5px);
}

#marcas .brands-carousel {
  position: relative;
}

#marcas .brands-track {
  display: flex;
  transition: transform 500ms ease-in-out;
}

#marcas .pagination-dot {
  transition: all 0.3s ease;
}

#marcas .pagination-dot:hover {
  transform: scale(1.2);
}

#marcas .brand-slide img {
  filter: grayscale(30%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

#marcas .brand-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Estilos para a seção Contato */
#contato input:focus,
#contato textarea:focus {
  box-shadow: 0 0 0 3px rgba(227, 142, 0, 0.2);
}

#contato .social-icon {
  transition: all 0.3s ease;
}

#contato .social-icon:hover {
  transform: translateY(-3px);
}

#contato form button[type="submit"] {
  position: relative;
  overflow: hidden;
}

#contato form button[type="submit"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

#contato form button[type="submit"]:hover::after {
  left: 100%;
}

#contato .contact-info-item {
  transition: all 0.3s ease;
}

#contato .contact-info-item:hover {
  transform: translateX(5px);
}

/* Animação de carregamento para os campos do CEP */
@keyframes pulse {
  0% {
    background-color: rgba(229, 231, 235, 0.7);
  }
  50% {
    background-color: rgba(229, 231, 235, 0.4);
  }
  100% {
    background-color: rgba(229, 231, 235, 0.7);
  }
}

.loading-field {
  animation: pulse 1.5s infinite;
}

/* Estilos para o rodapé */
footer {
  position: relative;
}

footer a {
  transition: all 0.3s ease;
}

footer .social-link {
  transition: all 0.3s ease;
}

footer .social-link:hover {
  transform: translateY(-3px);
}

footer h3 {
  position: relative;
}

footer h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-gold);
  transition: width 0.3s ease;
}

footer h3:hover::after {
  width: 60px;
}

#back-to-top {
  transition: all 0.3s ease;
}

#back-to-top:hover {
  transform: translateY(-5px);
}
