/* =============================================
   PETZ HELP CENTER — Οδηγοί & Βοήθεια
   Module: petz-help-center.css
   Purpose: Help Center index, article, search pages
   Design: Warm, pet-friendly, approachable
   ============================================= */

/* ---- Hero Section ---- */
.petz-hc-hero {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 40%, #388e3c 100%);
    border-radius: var(--petz-radius-xl, 16px);
    padding: 52px 32px 48px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.petz-hc-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.petz-hc-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -30px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

/* Paw print decoration */
.petz-hc-hero-decor {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.petz-hc-hero-decor.decor-1 {
    top: 20px;
    left: 8%;
    font-size: 3rem;
    transform: rotate(-25deg);
}

.petz-hc-hero-decor.decor-2 {
    bottom: 15px;
    right: 10%;
    font-size: 2.2rem;
    transform: rotate(15deg);
}

.petz-hc-hero-decor.decor-3 {
    top: 50%;
    right: 5%;
    font-size: 1.8rem;
    transform: rotate(-10deg);
}

.petz-hc-hero h1 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.1rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.petz-hc-hero .hc-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    margin-bottom: 28px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* ---- Hero Search ---- */
.petz-hc-search {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.petz-hc-search input {
    width: 100%;
    padding: 15px 56px 15px 22px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    background: #fff;
    color: var(--petz-text-dark, #333);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.25s ease;
    height: 54px;
}

.petz-hc-search input:focus {
    outline: none;
    box-shadow: 0 6px 30px rgba(46, 125, 50, 0.3);
}

.petz-hc-search input::placeholder {
    color: #999;
}

.petz-hc-search button {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--petz-primary, #4caf50);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}

.petz-hc-search button:hover {
    background: var(--petz-primary-hover, #388e3c);
    transform: translateY(-50%) scale(1.06);
}

/* ---- Category Section Header ---- */
.petz-hc-section-header {
    text-align: center;
    margin-bottom: 28px;
}

.petz-hc-section-header h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--petz-text-dark, #333);
    margin-bottom: 6px;
}

.petz-hc-section-header p {
    color: var(--petz-text-medium, #777);
    font-size: 0.92rem;
}

/* ---- Category Grid ---- */
.petz-hc-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.petz-hc-cat-card {
    background: var(--petz-bg-white, #fff);
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    color: var(--petz-text-dark, #333);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border: 1.5px solid #eee;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.petz-hc-cat-card:hover {
    text-decoration: none;
    color: var(--petz-text-dark, #333);
    box-shadow: 0 8px 28px rgba(76, 175, 80, 0.12);
    border-color: rgba(76, 175, 80, 0.35);
    transform: translateY(-4px);
}

.petz-hc-cat-card.empty {
    opacity: 0.45;
    pointer-events: none;
}

/* Icon wrapper — multicolor illustrated SVGs */
.petz-hc-cat-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: #f8faf8;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--petz-primary, #4caf50);
    transition: all 0.3s ease;
}

.petz-hc-cat-icon img {
    width: 44px;
    height: 44px;
    transition: transform 0.3s ease;
}

.petz-hc-cat-icon i {
    font-size: 1.5rem;
}

.petz-hc-cat-card:hover .petz-hc-cat-icon {
    background: #eef5ee;
    transform: scale(1.08);
}

.petz-hc-cat-card:hover .petz-hc-cat-icon img {
    transform: scale(1.1);
}

.petz-hc-cat-info {
    flex: 1;
}

.petz-hc-cat-info h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.petz-hc-cat-info .hc-cat-desc {
    color: var(--petz-text-medium, #777);
    font-size: 0.85rem;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.petz-hc-cat-info .hc-article-count {
    color: #aaa;
    font-size: 0.82rem;
    margin: 0;
}

/* ---- Bottom CTA Section ---- */
.petz-hc-cta {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 50%, #fff8e1 100%);
    border-radius: 16px;
    padding: 44px 32px;
    text-align: center;
    border: 1.5px solid #e0e0e0;
    margin-top: 8px;
}

.petz-hc-cta h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--petz-text-dark, #333);
    margin-bottom: 8px;
}

.petz-hc-cta .cta-text {
    color: var(--petz-text-medium, #777);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.petz-hc-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.petz-hc-cta-buttons .btn-hc-primary {
    background: linear-gradient(135deg, var(--petz-primary, #4caf50), #388e3c);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 3px 12px rgba(76, 175, 80, 0.25);
}

.petz-hc-cta-buttons .btn-hc-primary:hover {
    background: linear-gradient(135deg, #388e3c, #2e7d32);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.35);
}

.petz-hc-cta-buttons .btn-hc-secondary {
    background: #fff;
    color: var(--petz-primary, #4caf50);
    border: 2px solid var(--petz-primary, #4caf50);
    padding: 11px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.petz-hc-cta-buttons .btn-hc-secondary:hover {
    background: rgba(76, 175, 80, 0.06);
    color: #388e3c;
    border-color: #388e3c;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ---- Article Page ---- */
.petz-hc-article-layout {
    display: flex;
    gap: 32px;
}

.petz-hc-sidebar {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
}

.petz-hc-sidebar-nav {
    background: var(--petz-bg-white, #fff);
    border-radius: 14px;
    border: 1.5px solid #eee;
    padding: 20px;
    position: sticky;
    top: 100px;
}

.petz-hc-sidebar-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--petz-primary, #4caf50);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}

.petz-hc-sidebar-back:hover {
    color: #2e7d32;
    text-decoration: none;
}

.petz-hc-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.petz-hc-sidebar-list li {
    margin-bottom: 2px;
}

.petz-hc-sidebar-list li a {
    display: block;
    padding: 10px 14px;
    color: var(--petz-text-medium, #666);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.petz-hc-sidebar-list li a:hover {
    background: #f1f8e9;
    color: var(--petz-primary, #4caf50);
    text-decoration: none;
}

.petz-hc-sidebar-list li.active a {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    font-weight: 600;
}

.petz-hc-content {
    flex: 1;
    min-width: 0;
}

.petz-hc-article-card {
    background: var(--petz-bg-white, #fff);
    border-radius: 16px;
    padding: 40px 36px;
    border: 1.5px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.petz-hc-article-card h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--petz-text-dark, #333);
    margin-bottom: 24px;
    line-height: 1.3;
}

.petz-hc-article-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--petz-text-dark, #444);
}

.petz-hc-article-body h1,
.petz-hc-article-body h2,
.petz-hc-article-body h3,
.petz-hc-article-body h4 {
    font-family: 'Inter', sans-serif;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--petz-text-dark, #333);
}

.petz-hc-article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.petz-hc-article-body p {
    margin-bottom: 16px;
}

.petz-hc-article-body ul,
.petz-hc-article-body ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.petz-hc-article-body li {
    margin-bottom: 6px;
}

.petz-hc-article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 16px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.petz-hc-article-body a {
    color: var(--petz-primary, #4caf50);
    text-decoration: underline;
}

.petz-hc-article-body blockquote {
    border-left: 4px solid var(--petz-primary, #4caf50);
    padding: 14px 22px;
    margin: 20px 0;
    background: #f1f8e9;
    border-radius: 0 12px 12px 0;
    color: var(--petz-text-medium, #555);
    font-style: italic;
}

/* Mobile collapse for sidebar articles */
.petz-hc-mobile-nav {
    display: none;
    background: var(--petz-bg-white, #fff);
    border-radius: 12px;
    border: 1.5px solid #eee;
    margin-bottom: 20px;
}

.petz-hc-mobile-nav-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: none;
    border: none;
    width: 100%;
    color: var(--petz-text-dark, #333);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.petz-hc-mobile-nav-toggle i {
    transition: transform 0.25s ease;
}

.petz-hc-mobile-nav-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* ---- Article bottom CTA ---- */
.petz-hc-article-cta {
    background: linear-gradient(135deg, #f1f8e9 0%, #fff8e1 100%);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    margin-top: 32px;
    border: 1.5px solid rgba(76, 175, 80, 0.15);
}

.petz-hc-article-cta h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--petz-text-dark, #333);
    margin-bottom: 6px;
}

.petz-hc-article-cta p {
    color: var(--petz-text-medium, #777);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

/* ---- Search Results ---- */
.petz-hc-search-results {
    list-style: none;
    padding: 0;
    margin: 0;
}

.petz-hc-search-results li {
    background: var(--petz-bg-white, #fff);
    border: 1.5px solid #eee;
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}

.petz-hc-search-results li:hover {
    border-color: rgba(76, 175, 80, 0.35);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.1);
    transform: translateX(4px);
}

.petz-hc-search-results .result-title a {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--petz-text-dark, #333);
    text-decoration: none;
}

.petz-hc-search-results .result-title a:hover {
    color: var(--petz-primary, #4caf50);
}

.petz-hc-search-results .result-category {
    margin-top: 6px;
}

.petz-hc-search-results .result-category a {
    color: var(--petz-text-medium, #888);
    font-size: 0.85rem;
    text-decoration: none;
}

.petz-hc-search-results .result-category a:hover {
    color: var(--petz-primary, #4caf50);
}

.petz-hc-no-results {
    text-align: center;
    padding: 60px 24px;
    color: var(--petz-text-medium, #888);
}

.petz-hc-no-results i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 16px;
    display: block;
}

/* ---- Results header & back link ---- */
.petz-hc-results-header {
    margin-bottom: 28px;
}

.petz-hc-results-header h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--petz-text-dark, #333);
    margin-bottom: 4px;
}

.petz-hc-results-header .result-count {
    color: var(--petz-text-medium, #888);
    font-size: 0.9rem;
}

.petz-hc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--petz-primary, #4caf50);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.petz-hc-back-link:hover {
    color: #2e7d32;
    text-decoration: none;
}

/* ---- Breadcrumbs (override Modesy) ---- */
.petz-hc-breadcrumb .breadcrumb {
    background: transparent;
    padding: 12px 0;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.petz-hc-breadcrumb .breadcrumb a {
    color: var(--petz-text-medium, #888);
    text-decoration: none;
}

.petz-hc-breadcrumb .breadcrumb a:hover {
    color: var(--petz-primary, #4caf50);
}

.petz-hc-breadcrumb .breadcrumb-item.active {
    color: var(--petz-text-dark, #333);
}

/* ---- Submit Request Styling ---- */
.petz-hc-form-wrap {
    background: var(--petz-bg-white, #fff);
    border-radius: 16px;
    padding: 40px 36px;
    border: 1.5px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    max-width: 720px;
    margin: 0 auto;
}

.petz-hc-form-wrap h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 24px;
    color: var(--petz-text-dark, #333);
}
