/* Templates Industry Page Styles */

.breadcrumbs {
  padding: 2rem 0 1rem;
  background: var(--secondary-bg);
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--accent-color);
}

.breadcrumbs span {
  color: var(--text-primary);
  font-weight: 500;
}

.breadcrumbs i {
  color: var(--text-light);
  font-size: 0.75rem;
}

/* Industry Hero */
.industry-hero {
  padding: 60px 0;
  background: var(--hero-gradient);
  text-align: center;
}

.industry-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

.industry-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.industry-hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1rem;
}

.industry-hero-count {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Templates Grid */
.templates-grid-section {
  padding: 60px 0 80px;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.template-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.template-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.template-card-link {
  text-decoration: none;
  display: block;
}

.template-card-image {
  position: relative;
  padding-top: 62.5%; /* 16:10 aspect ratio */
  overflow: hidden;
}

.template-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.template-card:hover .template-card-image img {
  transform: scale(1.05);
}

.template-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3));
}

.template-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}

.template-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.template-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.3;
}

.template-card-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.template-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-light);
}

.template-card-location,
.template-card-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.template-card-footer {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.template-card-link-text {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  transition: gap 0.3s ease;
}

.template-card:hover .template-card-link-text {
  gap: 0.5rem;
}

/* ==================== TEMPLATE SAMPLES SECTION ==================== */
.template-samples-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
}

.template-samples-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.template-samples-section .section-header h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.template-samples-section .section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.template-samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Template Card - Matching Service Card Style */
.template-sample-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  padding: 1.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.template-sample-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Template Card Icon - Like Service Card */
.sample-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.template-sample-card:hover .sample-card-icon {
  transform: scale(1.1);
}

/* Template Card Content */
.sample-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sample-card-content h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.3;
}

.sample-card-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Template Card Footer/CTA - Like Service Card */
.sample-card-arrow {
  color: var(--accent-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: gap 0.3s ease;
  font-size: 0.9375rem;
}

.sample-card-arrow::before {
  content: 'View Template';
}

.sample-card-arrow i {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
}

.template-sample-card:hover .sample-card-arrow {
  gap: 0.75rem;
}

.template-sample-card:hover .sample-card-arrow i {
  transform: translateX(4px);
}

/* Note Section */
.samples-note {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.samples-note i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.samples-note p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .templates-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .industry-hero-title {
    font-size: 2rem;
  }

  .template-samples-section {
    padding: 80px 0;
  }

  .template-samples-section .section-header h2 {
    font-size: 2rem;
  }

  .template-samples-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .template-sample-card {
    padding: 1.5rem;
  }

  .sample-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .sample-card-content h3 {
    font-size: 1.25rem;
  }

  .sample-card-content p {
    font-size: 0.875rem;
  }

  .samples-note {
    padding: 1.25rem;
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .template-samples-grid {
    gap: 1rem;
  }

  .template-sample-card {
    padding: 1.25rem;
  }

  .sample-card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.375rem;
  }
}

