/* 
   Shadow Dragoons
   Estilos personalizados
*/

/* Estilos da Navbar */
#mainNav {
  padding: 15px 0;
  transition: all 0.3s ease;
  background-color: transparent;
  z-index: 1000;
}

#mainNav.navbar-shrink {
  padding: 8px 0;
  background-color: rgba(10, 10, 18, 0.95);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(45deg, #7928ca, #ff0080);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Logo adjustments */
.navbar-brand img, footer .mb-4 img {
  max-height: 60px;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #7928ca;
  transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link:hover:before {
  width: 100%;
}

.navbar-dark .navbar-nav .cta-nav {
  background: linear-gradient(45deg, #7928ca, #ff0080);
  padding: 8px 20px;
  border-radius: 50px;
  margin-left: 15px;
  color: white;
  position: relative;
  z-index: 1000;
}

.navbar-dark .navbar-nav .cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(121, 40, 202, 0.4);
}

.navbar-dark .navbar-nav .cta-nav:before {
  display: none;
}

/* Estilos gerais */
body {
  background-color: #0a0a12;
  color: #eee;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

section {
  position: relative;
  overflow: hidden;
}

.section {
  padding: 100px 20px;
  position: relative;
}

.section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: linear-gradient(90deg, transparent, rgba(87, 55, 138, 0.5), transparent);
  transform: translateY(5px);
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #7928ca, #ff0080);
}

/* Cores de fundo */
.bg-dark {
  background-color: #0F0F1A !important;
}

.bg-light {
  background-color: #1a1a2e !important;
  color: #eee !important;
}

.highlight {
  background: linear-gradient(135deg, #220033, #441166);
  color: #fff;
  box-shadow: 0 0 30px rgba(69, 39, 160, 0.4) inset;
}

/* Hero section */
.hero {
  background: url('../img/planeta.png') no-repeat top right;
  background-size: cover;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 76px; /* Espaço para a navbar */
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

h1, h2, p{
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1000;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-30px) translateX(-50%);
  }
  60% {
    transform: translateY(-15px) translateX(-50%);
  }
}

/* Botões */
.cta-btn, .alt-btn, .wa-btn {
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  margin: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.cta-btn {
  position: relative;
  z-index: 1000;
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255,0,0,0.4);
}

.alt-btn:hover, .wa-btn:hover {
  transform: translateY(-3px);
}

/* Imagens */
.img-container {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin: 20px 0;
}

.img-container img {
  transition: transform 0.5s ease;
  width: 100%;
}

.img-container:hover img {
  transform: scale(1.05);
}

/* Cartões de recursos */
.feature-card {
  background: rgba(26, 26, 46, 0.8);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border-left: 4px solid #7928ca;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(121, 40, 202, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #7928ca;
}

/* Depoimentos */
.testimonial-card {
  background: rgba(15, 15, 26, 0.8);
  border-radius: 10px;
  padding: 25px;
  margin: 20px auto;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 80px;
  color: rgba(121, 40, 202, 0.2);
  font-family: Georgia, serif;
}

.quote-author {
  font-style: italic;
  text-align: right;
  color: #a389cc;
}

/* Rodapé */
footer {
  background: #080810;
  padding: 40px 0 20px;
  color: #999;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Fundo de estrelas */
.stars-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 5s infinite ease-in-out;
  z-index: 1;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

/* Efeitos de paralaxe */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Responsividade */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: rgba(10, 10, 18, 0.95);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .navbar-dark .navbar-nav .cta-nav {
    display: inline-block;
    margin: 10px 0;
  }
  
  .navbar-dark .navbar-nav .nav-link {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }
  
  .hero {
    padding-top: 80px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cta-btn, .alt-btn, .wa-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  
  .hero .container {
    padding-top: 60px;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .scroll-down {
    bottom: 10px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .img-container {
    margin: 10px 0;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .section {
    padding: 40px 15px;
  }
}

/* Animações de transição entre seções */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Background for 'O Problema' section */
#problema {
  position: relative;
  z-index: 1;
}
#problema::before {
  content: '';
  position: absolute;
  background-size: cover;
  background-position: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/isolamento.png');
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  filter: blur(2px); /* Reduced blur */
  opacity: 0.5;
  z-index: -1;
}

/* Background for 'A Solução' section */
#solucao {
  position: relative;
  z-index: 1;
}
#solucao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/picnic.png');
  background-size: cover;
  background-position: center;
  filter: blur(2px); /* Reduced blur */
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  opacity: 0.5;
  z-index: -1;
}

/* Background for 'O Método' section */
#metodo {
  position: relative;
  z-index: 1;
}
#metodo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/metodo.png');
  background-size: cover;
  background-position: center;
  filter: blur(2px); /* Reduced blur */
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  opacity: 0.5;
  z-index: -1;
}

/* Background for 'Validação' section */
#validacao {
  position: relative;
  z-index: 1;
}
#validacao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/estrelas.png');
  background-size: cover;
  background-position: center;
  filter: blur(2px); /* Reduced blur */
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  opacity: 0.5;
  z-index: -1;
}

/* Adjust background for 'O Chamado' section without parallax */
#chamado {
  background-attachment: scroll; /* Disable parallax effect */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
