/*
Theme Name: Zaat Hayfa Custom Theme
Version: 3.0
*/

:root {
    --zaat-dark: #181314;
    --zaat-text: #1f1b1d;
    --zaat-muted: #72686d;
    --zaat-pink: #eb4c89;
    --zaat-red: #ef4136;
    --zaat-bg: #f4f1f3;
    --zaat-white: #ffffff;
    --zaat-border: #eadfe3;
}

/* =========================
   RESET
========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--zaat-bg);
    color: var(--zaat-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

iframe {
    display: block;
    width: 100%;
    border: 0;
}

a {
    transition: all 0.25s ease;
}

/* =========================
   LAYOUT
========================= */
.zaat-wrap {
    width: min(1380px, 94%);
    margin: 0 auto;
}

.zaat-homepage {
    overflow: hidden;
}

.zaat-section {
    padding: 60px 0;
}

.zaat-section-title {
    margin: 0 0 12px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.zaat-section-text {
    max-width: 900px;
    margin: 0 0 34px;
    color: var(--zaat-muted);
    line-height: 1.8;
    font-size: 17px;
}
.zaat-site-header {
    background: #0b0b0d;
    padding: 18px 0;
}

.zaat-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.zaat-site-title {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.zaat-main-nav {
    margin-left: auto;
}

.zaat-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.zaat-menu li {
    margin: 0;
}

.zaat-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.zaat-menu a:hover {
    color: #eb4c89;
}


/* =========================
   HERO
========================= */
.zaat-home-hero {
    background: linear-gradient(90deg, #fcf6f8 0%, #fffafc 50%, #fdf4f8 100%);
    padding: 34px 0 64px;
}

.zaat-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 64px;
    align-items: start;
}

.zaat-hero-badge {
    display: inline-block;
    background: var(--zaat-pink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.zaat-home-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(48px, 5vw, 78px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -1px;
}

.zaat-home-hero h1 .accent {
    color: var(--zaat-pink);
}

.zaat-hero-subtitle {
    color: #d9739a;
    font-style: italic;
    font-size: 20px;
    margin-bottom: 18px;
}

.zaat-home-hero p {
    max-width: 650px;
    color: #5f5357;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 18px;
}

.zaat-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 24px;
    color: #8f7a82;
    font-size: 15px;
    font-weight: 500;
}

.zaat-hero-image {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
    margin-top: 0;
}

.zaat-hero-image img,
.zaat-hero-image iframe {
    width: 100%;
    height: 390px;
    object-fit: cover;
    display: block;
    border: 0;
}

/* =========================
   BUTTONS
========================= */
.zaat-btn-red,
.zaat-btn-white,
.zaat-btn-outline-light,
.zaat-btn-ghost-light,
.zaat-btn-outline-pink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.zaat-btn-red {
    background: var(--zaat-red);
    color: #fff;
    padding: 14px 24px;
    box-shadow: 0 10px 24px rgba(239, 65, 54, 0.18);
}

.zaat-btn-red:hover {
    background: #d9342a;
    transform: translateY(-2px);
}

.zaat-btn-white {
    background: #fff;
    color: #d9342a;
    padding: 13px 22px;
}

.zaat-btn-white:hover {
    transform: translateY(-2px);
}

.zaat-btn-outline-light {
    background: #fff;
    color: #cb1e73;
    padding: 13px 22px;
}

.zaat-btn-outline-light:hover {
    transform: translateY(-2px);
}

.zaat-btn-ghost-light {
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
    padding: 13px 22px;
}

.zaat-btn-ghost-light:hover {
    background: rgba(255,255,255,0.08);
}

.zaat-btn-outline-pink {
    border: 1px solid var(--zaat-pink);
    color: var(--zaat-pink);
    padding: 13px 22px;
    background: transparent;
}

.zaat-btn-outline-pink:hover {
    background: var(--zaat-pink);
    color: #fff;
}

/* =========================
   GRIDS
========================= */
.zaat-book-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.zaat-book-highlight {
    background: #FFF6D8; /* creamy yellow */
    padding: 60px 0;
}
.zaat-workshops-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.zaat-workshop-card {
    background: #fff;
    border: 1px solid var(--zaat-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(24,10,15,.05);
    transition: all 0.3s ease;
}

.zaat-workshop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(24,10,15,.10);
}

.zaat-workshop-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.zaat-workshop-content {
    padding: 20px;
}

.zaat-workshop-content h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
}

.zaat-workshop-content p {
    margin: 0;
    color: var(--zaat-muted);
    line-height: 1.7;
    font-size: 15px;
}

@media (max-width: 1100px) {
    .zaat-book-grid,
    .zaat-workshops-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .zaat-book-grid,
    .zaat-workshops-grid {
        grid-template-columns: 1fr;
    }
}
.zaat-book-grid,
.zaat-articles-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}
.zaat-articles-hero {
    padding: 40px 0 20px;
}
/* =========================
   CARDS
========================= */
.zaat-book-card,
.zaat-article-home-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(24, 10, 15, 0.05);
    transition: all 0.3s ease;
}

.zaat-book-card:hover,
.zaat-article-home-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}

/* =========================
   CARD IMAGES
========================= */
.zaat-book-thumb,
.zaat-article-home-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #ddd;
}

.zaat-book-thumb img,
.zaat-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zaat-book-card:hover img,
.zaat-article-home-card:hover img {
    transform: scale(1.07);
}

/* =========================
   BADGES / TAGS
========================= */
.zaat-date-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(24, 19, 20, 0.88);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.zaat-card-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.zaat-mini-badge,
.zaat-article-home-tag {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.zaat-mini-badge {
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.zaat-article-home-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255,255,255,0.96);
    color: #444;
    backdrop-filter: blur(6px);
    font-size: 12px;
}

.badge-video {
    background: var(--zaat-red);
    color: #fff;
}

.badge-coming {
    background: #666;
    color: #fff;
}

.badge-podcast {
    background: #5a3ee6;
    color: #fff;
}

/* =========================
   PLAY BUTTON
========================= */
.zaat-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--zaat-red);
    transition: all 0.3s ease;
}

.zaat-book-card:hover .zaat-play {
    transform: translate(-50%, -50%) scale(1.12);
}
.zaat-book-page {
    background: var(--zaat-bg);
    color: var(--zaat-text);
}

.zaat-book-hero {
    background: linear-gradient(90deg, #fcf6f8 0%, #fffafc 50%, #fdf4f8 100%);
    padding: 40px 0 50px;
    border-bottom: 1px solid #eee3e7;
}

.zaat-book-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 42px;
    align-items: center;
}

.zaat-book-hero-image img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

@media (max-width: 1100px) {
    .zaat-book-hero-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   BOOK OVERLAY
========================= */
.zaat-book-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.58), rgba(0,0,0,0.08));
    z-index: 1;
}

.zaat-book-title-wrap {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
}

.zaat-book-title-wrap.rtl {
    text-align: right;
}

.zaat-book-title-wrap h3 {
    margin: 0 0 6px;
    font-size: 29px;
    line-height: 1.12;
    font-weight: 800;
}

.zaat-book-title-wrap h3,
.zaat-book-title-wrap h3 a {
    color: #fff;
    text-decoration: none;
}

.zaat-book-title-wrap p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 16px;
}

/* =========================
   CARD CONTENT
========================= */
.zaat-book-content,
.zaat-article-home-content {
    padding: 18px;
}

.zaat-article-home-content h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
}

.zaat-article-home-content h3 a {
    color: var(--zaat-text);
    text-decoration: none;
}

.zaat-article-home-content h3 a:hover {
    color: var(--zaat-pink);
}

.zaat-book-excerpt,
.zaat-article-home-excerpt {
    color: #675d61;
    line-height: 1.75;
    font-size: 15px;
    margin: 0 0 14px;
}

.zaat-book-meta,
.zaat-article-home-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #9a8f93;
}

.zaat-book-link,
.zaat-article-home-link {
    color: var(--zaat-pink);
    text-decoration: none;
    font-weight: 700;
}

.zaat-center-button {
    text-align: center;
    margin-top: 30px;
}

.zaat-empty-box {
    background: #fff;
    border: 1px solid var(--zaat-border);
    border-radius: 16px;
    padding: 28px;
}

/* =========================
   YOUTUBE BOX
========================= */
.zaat-youtube-box {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    border-radius: 22px;
    padding: 58px 34px;
    color: #fff;
    background: linear-gradient(180deg, #f03b34 0%, #ef4136 100%);
    box-shadow: 0 28px 70px rgba(239, 65, 54, 0.28);
}

.zaat-youtube-box h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
}

.zaat-youtube-box p {
    max-width: 720px;
    margin: 0 auto 24px;
    color: rgba(255,255,255,0.94);
    font-size: 17px;
    line-height: 1.8;
}

.zaat-youtube-stats {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.86);
}

.zaat-quote-mark {
    font-size: 58px;
    line-height: 1;
    color: #eb8bbb;
    margin-bottom: 10px;
    font-weight: 800;
}

/* =========================
   QUOTE
========================= */
.zaat-quote-section {
    text-align: center;
    padding: 72px 0;
}

.zaat-quote-section blockquote {
    max-width: 780px;
    margin: 0 auto;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.55;
    font-style: italic;
    color: #3d3438;
    font-weight: 500;
}

.zaat-quote-section cite {
    display: block;
    margin-top: 18px;
    color: #8f8187;
    font-size: 18px;
    font-style: normal;
}

/* =========================
   JOIN SECTION
========================= */
.zaat-join-section {
    background: linear-gradient(180deg, #ef4594 0%, #dd2e83 100%);
    color: #fff;
    text-align: center;
    padding: 72px 0;
}

.zaat-join-section h2 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 800;
}

.zaat-join-subtitle {
    font-style: italic;
    color: rgba(255,255,255,0.88);
    margin-bottom: 18px;
}

.zaat-join-section p {
    max-width: 740px;
    margin: 0 auto 28px;
    color: rgba(255,255,255,0.94);
    line-height: 1.8;
    font-size: 17px;
}

.zaat-join-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* =========================
   PAGINATION
========================= */
.zaat-pagination {
    margin-top: 40px;
    text-align: center;
}

.zaat-pagination .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 10px 14px;
    border: 1px solid var(--zaat-border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--zaat-text);
    background: #fff;
}

.zaat-pagination .page-numbers.current,
.zaat-pagination .page-numbers:hover {
    background: var(--zaat-pink);
    color: #fff;
    border-color: var(--zaat-pink);
}

/* =========================
   FOOTER
========================= */
footer,
.zaat-site-footer {
    background: #09090b;
    color: #fff;
    padding-top: 54px;
    padding-bottom: 28px;
}

.zaat-site-footer a,
footer a {
    color: #fff;
    text-decoration: none;
}

.zaat-site-footer a:hover,
footer a:hover {
    color: var(--zaat-pink);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .zaat-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .zaat-book-grid,
    .zaat-articles-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zaat-home-hero h1 {
        font-size: clamp(42px, 6vw, 64px);
    }

    .zaat-hero-image img,
    .zaat-hero-image iframe {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .zaat-wrap {
        width: min(100%, 94%);
    }

    .zaat-section {
        padding: 60px 0;
    }

    .zaat-home-hero {
        padding: 28px 0 48px;
    }

    .zaat-book-grid,
    .zaat-articles-home-grid {
        grid-template-columns: 1fr;
    }

    .zaat-site-header {
        padding: 14px 0;
    }

    .zaat-header-inner {
        align-items: flex-start;
    }

    .zaat-main-nav {
        width: 100%;
        margin-left: 0;
    }

    .zaat-menu {
        gap: 12px;
    }

    .zaat-home-hero p {
        font-size: 16px;
    }

    .zaat-hero-image img,
    .zaat-hero-image iframe {
        height: 250px;
    }

    .zaat-article-home-content h3 {
        font-size: 22px;
    }

    .zaat-book-title-wrap h3 {
        font-size: 24px;
    }

    .zaat-youtube-box {
        padding: 44px 22px;
    }

    .zaat-quote-section blockquote {
        font-size: 28px;
    }
}