/* Custom Stylesheets for Descontou Promo Motos */

/* Root and Base Variables & Smooth Scroll */
:root {
  --brand-red: #E50914;
  --brand-crimson: #FF1E27;
  --brand-dark-red: #8B0000;
  --brand-black: #0A0A0A;
  --brand-card: #121214;
  --brand-border: rgba(36, 36, 40, 0.4);
  --brand-accent: #25D366;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-red) #0a0a0a;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: var(--brand-red);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-crimson);
}

/* Carbon Fiber Background Pattern Overlay */
.carbon-bg {
  background-color: #0c0c0e;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.18) 0%, transparent 60%),
    linear-gradient(27deg, #111113 5px, transparent 5px) 0 5px,
    linear-gradient(207deg, #111113 5px, transparent 5px) 10px 0px,
    linear-gradient(27deg, #18181c 5px, transparent 5px) 0px 10px,
    linear-gradient(207deg, #18181c 5px, transparent 5px) 10px 5px,
    linear-gradient(90deg, #0f0f12 10px, transparent 10px),
    linear-gradient(#0a0a0c 25%, #070709 25%, #070709 50%, #0a0a0c 50%, #0a0a0c 75%, #070709 75%, #070709 100%);
  background-size: auto, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
}

/* Image Masking for Hero */
.hero-mask {
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
}

/* Glow Borders and Animations */
.border-red-glow {
  border: 1px solid rgba(229, 9, 20, 0.35);
  transition: all 0.3s ease;
}
.border-red-glow:hover {
  border-color: rgba(255, 30, 39, 0.8);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.35);
}

.text-brush-stroke {
  color: #FF1A23;
  text-shadow: 0 0 20px rgba(255, 26, 35, 0.65), 0 0 40px rgba(180, 0, 0, 0.4);
  letter-spacing: 1.5px;
}

/* Custom Grid Glows */
.shadow-glow-red {
  box-shadow: 0 0 35px -5px rgba(229, 9, 20, 0.65);
}
.shadow-glow-red-lg {
  box-shadow: 0 0 55px -2px rgba(229, 9, 20, 0.75);
}

/* Interactive elements transitions */
.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-accordion-item.active .faq-accordion-content {
  max-height: 1000px;
  transition: max-height 0.8s cubic-bezier(1, 0, 1, 0);
}

.faq-accordion-item .faq-arrow {
  transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* Notification popup */
#notification-toast {
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
}

#notification-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Pulse Glow Keyframe definition to support standard Tailwind configurations if needed */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.6);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 0 45px rgba(229, 9, 20, 0.9);
  }
}

.pulse-glow-anim {
  animation: pulseGlow 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(18, 18, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile responsive menu */
#mobile-menu {
  transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

/* Custom Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-in-out forwards;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

