/* =============================================================================
   HOUTINI PAGE-SPECIFIC STYLES
   Styles for specific pages and page types
   ============================================================================= */

/* ===== HOME PAGE STYLES ===== */
.page-template-front-page .houtini-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
}

/* ===== BLOG ARCHIVE PAGE ===== */
.blog .content-area,
.archive .content-area {
  padding: var(--houtini-spacing-xl) 0;
}

.blog .card,
.archive .card {
  margin-bottom: var(--houtini-spacing-lg);
  transition: all 0.3s ease;
}

/* ===== SINGLE POST STYLES ===== */
.single-post .entry-content,
.page .entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--houtini-text-primary);
}

.single-post .entry-content h2,
.page .entry-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem;
  color: var(--houtini-primary);
}

.single-post .entry-content h3,
.page .entry-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}

/* ===== DOCUMENTATION PAGES ===== */
.page-template-documentation .content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--houtini-spacing-xl) var(--houtini-spacing-lg);
}

/* Code Blocks in Documentation */
.page-template-documentation pre,
.single-guide pre {
  background: var(--houtini-bg-white);
  border: 1px solid var(--houtini-gray-200);
  border-radius: var(--houtini-radius-sm);
  padding: 1.5rem;
  overflow-x: auto;
  position: relative;
}

.page-template-documentation pre code,
.single-guide pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Info Boxes in Documentation */
.page-template-documentation .info-box,
.single-guide .info-box {
  background: rgba(0, 102, 255, 0.05);
  border-left: 4px solid var(--houtini-primary);
  border-radius: var(--houtini-radius-sm);
  padding: 1.5rem;
  margin: 2rem 0;
}

/* ===== INSTALLATION/SETUP PAGES ===== */
.page-template-setup .step-list {
  margin: var(--houtini-spacing-xl) 0;
}

.page-template-setup .step-item {
  display: flex;
  gap: var(--houtini-spacing-md);
  margin-bottom: var(--houtini-spacing-lg);
  padding: var(--houtini-spacing-lg);
  background: var(--houtini-bg-white);
  border-radius: var(--houtini-radius-md);
  border: 1px solid var(--houtini-gray-200);
  transition: all 0.3s ease;
}

.page-template-setup .step-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--houtini-shadow-lg);
}

.page-template-setup .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--houtini-gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--houtini-font-weight-bold);
  font-size: var(--houtini-font-size-lg);
  flex-shrink: 0;
}

/* ===== CONTACT PAGE ===== */
.page-template-contact .contact-form {
  max-width: 600px;
  margin: var(--houtini-spacing-xl) auto;
  padding: var(--houtini-spacing-xl);
  background: var(--houtini-glass-bg-light);
  backdrop-filter: var(--houtini-glass-blur);
  border-radius: var(--houtini-radius-lg);
  box-shadow: var(--houtini-shadow-glass);
}

.page-template-contact .form-control {
  border: 1px solid var(--houtini-gray-300);
  border-radius: var(--houtini-radius-sm);
  padding: 12px 16px;
  font-family: var(--houtini-font-family);
  transition: all 0.3s ease;
}

.page-template-contact .form-control:focus {
  border-color: var(--houtini-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
  outline: none;
}

/* ===== 404 ERROR PAGE ===== */
.error404 .error-content {
  text-align: center;
  padding: var(--houtini-spacing-3xl) var(--houtini-spacing-lg);
}

.error404 .error-title {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: var(--houtini-font-weight-bold);
  background: var(--houtini-gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--houtini-spacing-lg);
}

.error404 .error-message {
  font-size: var(--houtini-font-size-xl);
  color: var(--houtini-text-secondary);
  margin-bottom: var(--houtini-spacing-xl);
}

/* ===== SEARCH RESULTS PAGE ===== */
.search-results .search-info {
  background: var(--houtini-bg-white);
  padding: var(--houtini-spacing-lg);
  border-radius: var(--houtini-radius-md);
  margin-bottom: var(--houtini-spacing-xl);
  border: 1px solid var(--houtini-gray-200);
}

.search-results .search-query {
  color: var(--houtini-primary);
  font-weight: var(--houtini-font-weight-semibold);
}

/* ===== ARCHIVE PAGE STYLES ===== */
.archive .archive-header {
  text-align: center;
  padding: var(--houtini-spacing-3xl) 0 var(--houtini-spacing-xl);
}

.archive .archive-title {
  font-size: var(--houtini-section-title);
  font-weight: var(--houtini-font-weight-bold);
  margin-bottom: var(--houtini-spacing-md);
}

.archive .archive-description {
  font-size: var(--houtini-font-size-lg);
  color: var(--houtini-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
