/* Red Accents - Strategic color additions for visual interest */

/* Hero Section Accents */
.hero-title {
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #d42929 100%);
  border-radius: 2px;
}

/* Section Title Accents - Make the existing underlines more vibrant */
.section-title::after {
  background: linear-gradient(90deg, var(--color-accent) 0%, #d42929 100%) !important;
  height: 4px !important;
  width: 80px !important;
}

/* Service Card Accents */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #d42929 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

/* Service Icon Enhancements */
.service-icon {
  position: relative;
}

.service-icon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
}

/* Testimonial Accents */
.testimonial-item.active .quote-icon {
  color: var(--color-accent) !important;
}

.testimonials-dots .dot.active {
  background: var(--color-accent) !important;
}

.testimonials-progress .progress-bar {
  background: linear-gradient(90deg, var(--color-accent) 0%, #d42929 100%) !important;
}

/* Button Enhancements */
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #d42929 100%) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  border: 2px solid var(--color-accent) !important;
  color: var(--color-accent) !important;
}

.btn-secondary:hover {
  background: var(--color-accent) !important;
  color: white !important;
}

/* Credential Item Accents */
.credential-item {
  position: relative;
  overflow: hidden;
}

.credential-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #d42929 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.credential-item:hover::after {
  transform: scaleX(1);
}

/* Form Accents */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 49, 49, 0.1) !important;
}

.form-label {
  position: relative;
}

.form-label::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* Instagram Grid Accents */
.instagram-item {
  position: relative;
  overflow: hidden;
}

.instagram-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 0%, rgba(255, 49, 49, 0.1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-item:hover::before {
  opacity: 1;
}

/* Contact Item Accents */
.contact-icon {
  color: var(--color-accent) !important;
}

/* Footer Accents */
.footer-nav-title {
  position: relative;
  padding-bottom: 8px;
}

.footer-nav-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

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

.social-link:hover {
  color: var(--color-accent) !important;
  transform: translateY(-2px);
}

/* Mission Section Accents */
.mission-quote {
  position: relative;
  padding-left: 20px;
}

.mission-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent) 0%, #d42929 100%);
  border-radius: 2px;
}

/* Page Hero Accents */
.page-hero-title {
  position: relative;
}

.page-hero-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #d42929 100%);
  border-radius: 2px;
}

/* Service Features List Accents */
.service-features li::before {
  content: '•';
  color: var(--color-accent) !important;
  font-weight: bold;
  margin-right: 8px;
}

/* Hover Effects for Cards */
.service-card:hover,
.credential-item:hover,
.component-card:hover {
  border-color: var(--color-accent) !important;
}

/* Mobile Sticky CTA Accent */
.mobile-sticky-cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, #d42929 100%) !important;
}

/* Subtle Background Accents */
.services::before {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 49, 49, 0.02) 50%, transparent 100%) !important;
}

/* Navigation Current Page Enhancement - REMOVED */
/* No underlines for navigation links */

/* Subtle Animation Enhancements */
@keyframes redPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 49, 49, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(255, 49, 49, 0); }
}

.btn-primary:hover {
  animation: redPulse 1.5s infinite;
}

/* Fix scroll bar and red line issues */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* Prevent red line above services link */
.nav-link.services::before,
.nav-link.services::after {
  display: none !important;
}

/* Ensure no pseudo-elements cause overflow */
.service-card::before,
.credential-item::after,
.instagram-item::before {
  z-index: 1;
  pointer-events: none;
}

/* Fix header overflow issues */
.header {
  overflow: hidden !important;
  max-width: 100vw !important;
}

.header-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

/* Ensure navigation doesn't cause overflow */
.nav, .nav-list, .nav-item {
  overflow: visible !important;
}

/* Remove ALL navigation underlines and pseudo-elements */
.nav-link::before,
.nav-link::after,
.nav-link[aria-current="page"]::before,
.nav-link[aria-current="page"]::after {
  display: none !important;
}

/* Remove underlines from all navigation link classes */
.nav-link.home::before,
.nav-link.home::after,
.nav-link.about::before,
.nav-link.about::after,
.nav-link.services::before,
.nav-link.services::after,
.nav-link.contact::before,
.nav-link.contact::after,
.nav-link.revival::before,
.nav-link.revival::after {
  display: none !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title::after,
  .page-hero-title::after {
    width: 60px;
    height: 3px;
  }
  
  .section-title::after {
    width: 60px !important;
    height: 3px !important;
  }
}