/* Additional styles for SEO-enhanced templates */

/* Pillar Page */
.pillar-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #1a5632) 100%);
  color: white;
  padding: 120px 0 60px;
  text-align: center;
}
.pillar-hero .pillar-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.pillar-hero .pillar-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}
.pillar-content {
  padding: 60px 0;
}
.pillar-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}
.pillar-text p { margin-bottom: 1.5rem; }

/* Comparison Table */
.comparison-table-section {
  padding: 60px 0;
  background: var(--gray-50, #f8f9fa);
}
.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100, #eee);
}
.comparison-table th {
  background: var(--primary, #2e7d51);
  color: white;
  font-weight: 600;
  white-space: nowrap;
}
.comparison-table tr:hover { background: var(--gray-50, #f8f9fa); }
.comparison-table .table-desc {
  font-size: 0.85rem;
  color: var(--gray-500, #6c757d);
  margin: 4px 0 0;
}
.price-badge {
  display: inline-block;
  background: var(--primary, #2e7d51);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}
.price-note {
  display: block;
  color: var(--gray-500, #6c757d);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* FAQ Accordion — single consistent design used across all pages.
   Class-toggle driven (no JS plugin dependency), smooth max-height transition. */
.faq-list .faq-item,
.package-faq .faq-item {
  border: 1px solid var(--gray-100, #eee);
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-list .faq-item:hover,
.package-faq .faq-item:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.faq-list .faq-item.active,
.package-faq .faq-item.active {
  border-color: var(--primary, #ff6b35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.faq-list .faq-question,
.package-faq .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  color: var(--gray-800, #1f2937);
  gap: 16px;
}
.faq-list .faq-question:hover,
.package-faq .faq-question:hover {
  color: var(--primary, #ff6b35);
}
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary, #ff6b35);
  color: #fff;
}
.faq-list .faq-answer,
.package-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--gray-600, #6b7280);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 20px 20px;
}

/* Internal Links (Related Packages) */
.package-related {
  padding: 40px 0;
  border-top: 1px solid var(--gray-100, #eee);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}
.related-card {
  border: 1px solid var(--gray-100, #eee);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.related-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.related-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.related-info {
  padding: 12px 16px;
}
.related-info h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.related-info a {
  text-decoration: none;
  color: var(--gray-800, #343a40);
}
.related-price {
  color: var(--primary, #2e7d51);
  font-weight: 600;
}

/* Package CTA */
.package-cta {
  text-align: center;
  padding: 40px 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #1a5632) 100%);
  color: white;
  text-align: center;
  padding: 60px 0;
}
.cta-section h2 { margin-bottom: 0.5rem; }
.cta-section p { opacity: 0.9; margin-bottom: 1.5rem; }

/* Button Variants */
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.1rem; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary, #2e7d51);
  color: var(--primary, #2e7d51);
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: var(--primary, #2e7d51);
  color: white;
}
/* Light variant — for use on dark/photo backgrounds like the hero,
   where the dark-green .btn-outline above would be nearly invisible. */
.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--primary, #2e7d51);
  border-color: #fff;
}
