/* =========================================
   ZakConsult Global Styles
========================================= */

/* Variables */
:root {
    --zak-primary: #003B86;
    --zak-accent: #D69742;
    --zak-dark: #111111;
    --zak-light: #F5F5F5;
    --zak-font: "Tajawal", sans-serif;
}

/* Base */
body {
    font-family: var(--zak-font);
    margin: 0;
    padding: 0;
}

/* =========================================
   Contact Form 7 RTL
========================================= */

.wpcf7 form {
    direction: rtl;
    text-align: right;
}

/* Labels */
.wpcf7 form label {
    display: block;
    margin-bottom: 6px;
    color: #003B86;
    font-weight: 500;
}

/* Inputs */
.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    direction: rtl;
    text-align: right;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

/* Submit wrapper */
.wpcf7 form p:last-of-type {
    text-align: center !important;
}

/* Submit Button */

.wpcf7 input[type="submit"] {
    display: block;
    margin: 20px auto 0;
    text-align: center;
    padding: 12px 24px;
    border-radius: 8px;
    background: var(--zak-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s;

    /* 👇 الخط */
    font-family: "Tajawal", sans-serif !important;
    font-weight: 500;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--zak-accent);
}

/* =========================================
   HERO (FULL WIDTH FIXED)
========================================= */

.zak-post-hero {
    position: relative;
    width: 100%;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    margin-top: -190px; 
}

.zak-hero-bg {
    position: absolute;
    inset: 0;
}

.zak-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

/* Overlay */
.zak-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* Content */
.zak-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.zak-post-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}

.zak-post-meta {
    margin-top: 10px;
    color: #ddd;
}


/* =========================================
   Blog Content
========================================= */

.zak-post-content {
    padding: 60px 20px;
    background: #fff;
}

/* FIX الفراغ */
.zak-container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.zak-post-body {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

/* Headings */
.zak-post-body h2 {
    color: var(--zak-primary);
}


/* =========================================
   CTA (FULL WIDTH)
========================================= */

.zak-cta-full {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(90deg, var(--zak-primary), var(--zak-accent));
    color: #fff;
    text-align: center;
    border-radius: 16px;
}

.zak-cta-full h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.zak-cta-full p {
    margin-bottom: 20px;
}

.zak-cta-full .zak-btn {
    background: #fff;
    color: var(--zak-primary);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

.zak-cta-full .zak-btn:hover {
    background: #f5f5f5;
}


/* =========================================
   Related Posts
========================================= */

.zak-related {
    padding: 60px 20px;
    background: #f9f9f9;
}

.zak-related-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.zak-related-card {
    text-decoration: none;
    color: #111;
}

.zak-related-card img {
    width: 100%;
    border-radius: 12px;
}

.zak-related-card h4 {
    margin-top: 10px;
}


/* =========================================
   Responsive
========================================= */

@media(max-width:768px){

    .zak-post-hero {
        height: 70vh;
        margin-top: -80px;
    }

    .zak-post-title {
        font-size: 28px;
    }

    .zak-container {
        max-width: 100%;
    }

    .zak-related-grid {
        grid-template-columns: 1fr;
    }

}