/**
 * Unified Page Header Component
 * 
 * Design philosophy:
 * - Consistent visual style across all pages
 * - Flexible structure supporting text, icons, logos, and buttons
 * - Clean and modern appearance
 */

/* ========================================
   Base Header Styles
   ======================================== */

.zen-page-header {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
    margin-bottom: 3rem;
}

.zen-page-header .header-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   Title Styles
   ======================================== */

.zen-page-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    margin: 0 0 1rem 0;
}

/* Title with icon (e.g., mirror page) */
.zen-page-title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.zen-page-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: #667eea;
}

/* Title with logo image (e.g., insight page) */
.zen-page-logo {
    width: auto;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 0.5rem;
}

/* ========================================
   Subtitle Styles
   ======================================== */

.zen-page-subtitle {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
}

/* Add spacing when subtitle has content after it */
.zen-page-subtitle + * {
    margin-top: 2rem;
}

/* ========================================
   Action Button (e.g., mirror page)
   ======================================== */

.zen-page-action-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    margin-top: 2rem;
}

.zen-page-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.zen-page-action-btn:active {
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .zen-page-title {
        font-size: 2rem;
    }
    
    .zen-page-subtitle {
        font-size: 1rem;
    }
    
    .zen-page-header {
        padding: 2rem 1rem;
    }
}
