/*
Theme Name: SEO Fast
Theme URI: https://dlions.co.il/
Author: SEO Fast
Author URI: https://www.ligaseo.co.il/
Description: תבנית וורדפרס מהירה ומאוירת בסגנון קומיקס ייחודי (בהשראת chayuta.com) לקידום אתרים מהיר, מותאמת לביטוי "קידום אתרים בזול" ולתוצאות Google AI ו-Discover. פלטת 4 צבעים הרמונית (אדום, כחול בהיר, ירוק בהיר וצהוב), גופן אחיד ומודרני (Heebo), תפריט ניווט וורדפרס מלא, דף בית מאויר, עמודי קטגוריות וארכיונים, תבנית פוסטים קבועה עם תמונת 16:9, סרגל ניווט כותרות בראש המאמר (TOC), הדגשת טקסט עוגן לקישורים עם רקע מובחן, כפתור וואטסאפ צף, ופוטר קבוע עם הקישורים הנדרשים.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seo-fast
Tags: seo, digital-marketing, comic-style, illustrated, rtl-support, responsive-layout, featured-images, custom-menu
*/

/* ==========================================================================
   SEO Fast - עיצוב מאויר בהשראת חיותא (Chayuta Style)
   פלטת 4 צבעים: אדום, כחול בהיר, ירוק בהיר, צהוב | גופן אחיד: Heebo
   ========================================================================== */

:root {
    --color-primary-blue: #4A85E6;     /* כחול שמיים עשיר (סגנון חיותא) */
    --color-light-blue: #38BDF8;       /* כחול בהיר */
    --color-dark-blue: #1E3A8A;        /* כחול כהה לניגודיות */
    --color-red: #EF4444;              /* אדום בהיר */
    --color-yellow: #FBBF24;           /* צהוב שמש */
    --color-yellow-hover: #F59E0B;     /* צהוב כהה למעבר */
    --color-green: #10B981;            /* ירוק מנטה בהיר */
    
    --bg-hero: #4A85E6;
    --bg-light: #F0F7FF;
    --bg-soft-blue: #E2EEFC;
    --bg-card: #FFFFFF;
    --bg-dark: #0F172A;
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-white: #FFFFFF;
    
    --border-light: #E2E8F0;
    --border-blue: #CBDCF8;
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 8px 24px rgba(74, 133, 230, 0.08);
    --shadow-hover: 0 14px 32px rgba(74, 133, 230, 0.16);
    --shadow-btn: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Single Font Rule (גופן יחיד ואחיד בכל האתר כפי שנדרש) */
html, body, button, input, textarea, select, h1, h2, h3, h4, h5, h6, p, a, span {
    font-family: 'Heebo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

html {
    direction: rtl;
    text-align: right;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 15px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

#site-header {
    background: #FFFFFF;
    border-bottom: 2px solid var(--border-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-top-bar {
    background: #0F172A;
    color: #94A3B8;
    font-size: 12px;
    padding: 6px 0;
}

.header-main-row {
    padding: 12px 0;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-emblem {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #E2E8F0;
    flex-shrink: 0;
    background: #FFFFFF;
}

.brand-emblem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-title-box {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 26px;
    font-weight: 900;
    color: #0F172A;
    letter-spacing: -0.5px;
}

.brand-name span {
    color: var(--color-primary-blue);
}

.brand-subtitle {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748B;
}

/* Desktop Navigation Menu */
.desktop-nav-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav-menu,
.primary-nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.site-nav-menu li,
.primary-nav-menu li {
    list-style: none !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.site-nav-menu a,
.primary-nav-menu a {
    display: block !important;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.site-nav-menu a:hover,
.primary-nav-menu a:hover,
.primary-nav-menu .current-menu-item > a {
    color: var(--color-primary-blue) !important;
    background: var(--bg-soft-blue) !important;
}

/* Submenu Dropdowns */
.primary-nav-menu .menu-item-has-children:hover > .sub-menu {
    display: flex !important;
}

.primary-nav-menu .sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: #FFFFFF !important;
    min-width: 190px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
    padding: 6px !important;
    z-index: 1000 !important;
    flex-direction: column !important;
}

.primary-nav-menu .sub-menu a {
    padding: 8px 14px !important;
    font-size: 13px !important;
}

/* Mobile Drawer (Strictly Hidden on Desktop) */
#mobile-drawer {
    display: none !important;
}

@media (max-width: 767px) {
    #mobile-drawer.is-open {
        display: block !important;
    }
}

.mobile-nav-list {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-nav-list a {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    background: #F8FAFC !important;
    text-decoration: none !important;
}

/* Generic Hidden Utility */
.hidden {
    display: none !important;
}

/* ==========================================================================
   BUTTONS (CHAYUTA PILL STYLE)
   ========================================================================== */

.btn-yellow-pill {
    background: var(--color-yellow);
    color: #0F172A;
    font-weight: 900;
    font-size: 16px;
    padding: 14px 34px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-btn);
    transition: all 0.25s ease;
}

.btn-yellow-pill:hover {
    background: var(--color-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
    color: #000000;
}

.btn-pill-blue {
    background: var(--color-primary-blue);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-pill-blue:hover {
    background: #3B72D4;
    transform: translateY(-2px);
}

.btn-pill-outline {
    background: transparent;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-pill-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
}

/* ==========================================================================
   HERO SECTION (CHAYUTA SKY-BLUE)
   ========================================================================== */

.chayuta-hero {
    background-color: var(--bg-hero);
    color: #FFFFFF;
    padding: 40px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 19px;
    line-height: 1.55;
    color: #EFF6FF;
    margin-bottom: 28px;
    max-width: 580px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.video-link {
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.video-link:hover {
    opacity: 0.85;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #DBEAFE;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-illustration-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: #FFFFFF;
}

.hero-illustration-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   FEATURE CARDS SECTION (3 ILLUSTRATED CARDS)
   ========================================================================== */

.feature-cards-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.section-headline-center {
    text-align: center;
    margin-bottom: 42px;
}

.section-tag {
    display: inline-block;
    background: var(--bg-soft-blue);
    color: var(--color-primary-blue);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-headline-center h2 {
    font-size: 32px;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 10px;
}

.section-headline-center p {
    font-size: 16px;
    color: #64748B;
    max-width: 620px;
    margin: 0 auto;
}

.cards-3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 28px;
    margin-bottom: 36px;
}

.feature-card {
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-blue);
}

.card-img-wrap {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 18px;
    background: #FFFFFF;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
}

/* ==========================================================================
   SCENARIOS SECTION (CHAYUTA INFOGRAPHIC STYLE)
   ========================================================================== */

.scenarios-section {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.scenarios-infographic-box {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
    overflow: hidden;
}

.scenarios-infographic-box img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

.scenarios-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.scenario-item-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-light);
    border-right: 4px solid var(--color-primary-blue);
}

.scenario-item-card.border-red { border-right-color: var(--color-red); }
.scenario-item-card.border-yellow { border-right-color: var(--color-yellow); }
.scenario-item-card.border-green { border-right-color: var(--color-green); }

.scenario-item-card h4 {
    font-size: 16px;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 8px;
}

.scenario-item-card p {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.55;
}

/* ==========================================================================
   REVIEWS & 5 STARS (CHAYUTA SOCIAL PROOF)
   ========================================================================== */

.reviews-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card {
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-blue);
}

.review-stars {
    color: var(--color-yellow);
    font-size: 16px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 16px;
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #E2E8F0;
    padding-top: 12px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary-blue);
    color: #FFFFFF;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.review-author-name {
    font-size: 13.5px;
    font-weight: 800;
    color: #0F172A;
}

.review-author-role {
    font-size: 11.5px;
    color: #64748B;
}

/* ==========================================================================
   IN-ARTICLE TOC & PROMINENT ANCHOR HIGHLIGHTING (POST TEMPLATE)
   ========================================================================== */

.article-toc {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.article-toc-title {
    font-size: 16px;
    font-weight: 900;
    color: #1E3A8A;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-toc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563EB;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.15s;
}

.article-toc-link:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* Mandatory Anchor Highlighting in Posts */
.entry-content a {
    background: rgba(74, 133, 230, 0.12) !important;
    color: #2563EB !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-decoration-color: #3B82F6 !important;
    text-underline-offset: 3px !important;
    transition: all 0.2s ease !important;
}

.entry-content a:hover {
    background: #2563EB !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* 16:9 Aspect Ratio */
.aspect-16-9 {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (0586063366)
   ========================================================================== */

.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 99999;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp-btn svg {
    width: 34px;
    height: 34px;
    fill: #FFFFFF;
}

/* ==========================================================================
   FOOTER (FIXED ACROSS ALL PAGES)
   ========================================================================== */

#site-footer {
    background: #0F172A;
    color: #CBD5E1;
    padding-top: 50px;
    margin-top: 60px;
    border-top: 4px solid var(--color-primary-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 36px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 16px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary-blue);
    display: inline-block;
}

.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
}

.footer-links-list a {
    color: #94A3B8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.footer-links-list a:hover {
    color: #FFFFFF;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    font-size: 12.5px;
    color: #64748B;
}

.footer-bottom-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Responsive Rules */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-trust-badges {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 32px;
    }
    .desktop-nav-wrap {
        display: none !important;
    }
    .mobile-menu-btn {
        display: block !important;
    }
    .floating-whatsapp-btn {
        bottom: 18px;
        left: 18px;
        width: 52px;
        height: 52px;
    }
}
