/* RESET DE ESTILOS PADRÃO */
/* ==================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Evita barras de rolagem horizontais */
}
/* ==================== */
/* ESTILOS GERAIS */
/* ==================== */
/*body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 70px; /* Espaço para o navbar fixo */
}

@media (max-width: 991.98px) {
    body {
        padding-top: 60px; /* Reduz o espaço para o navbar em dispositivos móveis */
    }
}
/* ==================== */
/* VARIÁVEIS E RESET */
/* ==================== */
:root {
  --primary: #007bff;
  --secondary: #6c757d;
  --dark: #343a40;
  --light: #f8f9fa;
  --warning: #ffc107;
  --success: #28a745;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  padding-top: 70px;
  overflow-x: hidden;
}

/* ==================== */
/* NAVBAR */
/* ==================== */
/* ==================== */
/* NAVBAR (LOGO 2X MAIOR) */
/* ==================== */
.navbar {
  background: rgba(0, 0, 0, 0.8);
  transition: all 0.4s ease;
  padding: 8px 0;
  height: 70px;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-brand .logo-nav {
  height: 90px; /* Aumentado de 45px para 90px */
  transition: all 0.4s ease;
}
}

.navbar-brand .logo-nav:hover {
  transform: scale(1.05);
}

.nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--warning) !important;
}

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

.nav-link:hover::after {
  width: 100%;
}
@media (max-width: 991.98px) {
  .navbar-brand .logo-nav {
    height: 70px; /* Tamanho reduzido para mobile */
  }
}

/* ==================== */
/* HEADER */
/* ==================== */
header {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: #000 url('https://rochaservicosderestauracao.com.br/imagens/background.webp') no-repeat center center/cover;
  background-attachment: fixed;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.header-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  animation: fadeIn 1.5s ease-out;
}

.header-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  animation: slideUp 1.8s ease-out;
}

/* ==================== */
/* SEÇÕES GERAIS */
/* ==================== */
section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  position: relative;
  margin-bottom: 50px;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.bg-light {
  background-color: #f8f9fa !important;
}

/* ==================== */
/* SOBRE NÓS */
/* ==================== */
#sobre img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.4s ease;
}

#sobre img:hover {
  transform: scale(1.02);
}

/* ==================== */
/* SERVIÇOS */
/* ==================== */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* ==================== */
/* GALERIA (EFEITOS CORRIGIDOS) */
/* ==================== */
#galeria .img-effect {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1) translateZ(0);
    backface-visibility: hidden;
    filter: brightness(0.95) contrast(1.05);
}

#galeria .img-effect:hover {
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05) contrast(1.1);
    z-index: 100;
}
.img-effect {
    transform: scale(1) !important;
}

/* Garante que o efeito funcione mesmo em imagens dentro de links */
#galeria a {
    display: inline-block;
    overflow: hidden;
    border-radius: 8px;
}

/* SOLUÇÃO ALTERNATIVA MAIS FORTE */
#galeria img {
    transition: all 0.4s ease !important;
    transform: scale(1) !important;
    filter: brightness(0.95) contrast(1.05) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

#galeria img:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.05) contrast(1.1) !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3) !important;
    z-index: 100 !important;
}

/* ==================== */
/* PARCEIROS */
/* ==================== */
#parceiros .card {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

#parceiros .card-body {
  padding: 30px;
}

#parceiros .card-title i {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* ==================== */
/* CONTATO */
/* ==================== */
#contato .form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

#contato .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.15);
  border-color: var(--primary);
}

/* ==================== */
/* RODAPÉ */
/* ==================== */
/* ==================== */
/* FOOTER (LOGOS COM EFEITO) */
/* ==================== */
.footer-logo {
  max-width: 180px;
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  margin-bottom: 15px;
}

.footer-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.infodigit-logo {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
  transition: all 0.4s ease;
}

.infodigit-link:hover .infodigit-logo {
  transform: rotate(15deg) scale(1.2);
}

footer {
  background: #212529;
  color: white;
  padding: 60px 0 30px;
}

footer h5 {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--warning);
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer ul li {
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

footer ul li:hover {
  transform: translateX(5px);
}

footer ul li i {
  width: 20px;
  text-align: center;
  margin-right: 8px;
  color: var(--warning);
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ==================== */
/* BOTÃO WHATSAPP */
/* ==================== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: scale(1.1);
}

/* ==================== */
/* ANIMAÇÕES */
/* ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== */
/* RESPONSIVO */
/* ==================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
  }
  
  .header-content h1 {
    font-size: 2.5rem;
  }
  
  .header-content p {
    font-size: 1.1rem;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 767.98px) {
  .header-content h1 {
    font-size: 2rem;
  }
  
  .header-content p {
    font-size: 1rem;
  }
  
  .card {
    margin-bottom: 20px;
  }
  
  footer .text-md-start, 
  footer .text-md-end {
    text-align: center !important;
  }
  
  footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 575.98px) {
  .header-content h1 {
    font-size: 1.8rem;
  }
  
  .navbar-brand .logo-nav {
    height: 35px;
  }
  
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}
/* ==================== */
/* SEÇÃO DICAS */
/* ==================== */
#dicas .card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

#dicas .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

#dicas .ratio {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

#dicas iframe {
    border: none;
}

#dicas .card-body {
    padding: 1.5rem;
}

#dicas .card-title {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

#dicas .card-text {
    color: var(--secondary);
    font-size: 0.95rem;
}
/* Ícones Sociais */
/*.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #405DE6, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.social-icon.facebook {
    background: #1877F2;
    color: white;
}

.social-icon.whatsapp {
    background: #25D366;
    color: white;
}

.social-icon.maps {
    background: #FF0000;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);*/
}