/* SEO and E-E-A-T Enhancement Styles */

/* Proper heading hierarchy styles */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

h5 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* E-E-A-T Trust indicators */
.trust-indicator {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  margin: 5px;
}

.expertise-badge {
  background: #28a745;
  color: white;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
}

/* Schema markup visual indicators */
.structured-data-enhanced {
  position: relative;
}

.structured-data-enhanced::after {
  content: "✓";
  position: absolute;
  top: -5px;
  right: -5px;
  background: #28a745;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Authority signals */
.authority-signal {
  border-left: 4px solid #007bff;
  padding-left: 20px;
  margin: 20px 0;
  background: rgba(0, 123, 255, 0.05);
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
}

/* Professional credentials styling */
.credential-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
  border: 1px solid #dee2e6;
}

.credential-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.credential-icon {
  width: 40px;
  height: 40px;
  background: #007bff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
  flex-shrink: 0;
}

/* User testimonial styling for trust */
.testimonial {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  position: relative;
}

.testimonial::before {
  content: """;
  font-size: 4rem;
  color: #007bff;
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}

.testimonial-author {
  font-weight: 600;
  color: #495057;
  margin-top: 15px;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #6c757d;
}

/* SEO breadcrumb enhancements */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #6c757d;
}

.breadcrumb-item a {
  color: #007bff;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* FAQ section styling for featured snippets */
.faq-container {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-item {
  border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  background: #f8f9fa;
  padding: 20px;
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #e9ecef;
}

.faq-answer {
  padding: 20px;
  background: white;
  line-height: 1.6;
}

/* Local business schema styling */
.business-info {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.business-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

/* Review and rating displays */
.rating-display {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.stars {
  color: #ffc107;
  margin-right: 10px;
}

.rating-text {
  font-weight: 600;
  margin-right: 10px;
}

.review-count {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Knowledge panel styling */
.knowledge-panel {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.knowledge-panel h3 {
  color: #495057;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Enhanced table of contents */
.table-of-contents {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  border-left: 4px solid #007bff;
}

.table-of-contents h4 {
  margin-bottom: 15px;
  color: #495057;
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
}

.table-of-contents li {
  margin-bottom: 8px;
}

.table-of-contents a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.table-of-contents a:hover {
  color: #0056b3;
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .credential-container {
    padding: 15px;
  }
  
  .testimonial {
    padding: 15px;
  }
  
  .business-hours {
    grid-template-columns: 1fr;
  }
}

/* Accessibility enhancements */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .trust-indicator {
    background: #000;
    color: #fff;
    border: 2px solid #fff;
  }
  
  .credential-icon {
    background: #000;
    border: 2px solid #fff;
  }
}

/* Print styles for SEO */
@media print {
  .no-print {
    display: none;
  }
  
  .knowledge-panel,
  .credential-container,
  .testimonial {
    border: 1px solid #000;
    margin: 10px 0;
  }
}