/* =====================================
   AZZAWAJ COMPONENTS CSS (DESIGN SYSTEM)
===================================== */

/* ================= BUTTON ================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;

    border: none;
    cursor: pointer;

    transition: all 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.btn:active {
    transform: translateY(0);
}

/* BUTTON VARIANTS */
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: #222;
}

/* ================= CARD ================= */

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ================= POST CARD ================= */

.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-6px);
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    padding: 15px;
}

.post-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.post-title a {
    color: #222;
    text-decoration: none;
}

.post-title a:hover {
    color: var(--accent);
}

.post-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

/* ================= PROGRAM CARD ================= */

.program-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-image img {
    width: 100%;
    height: auto;
}

.program-content {
    padding: 15px;
}

/* ================= WIDGET ================= */

.widget {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

/* ================= BADGE ================= */

.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
}

/* ================= TAG ================= */

.tag {
    display: inline-block;
    background: #eee;
    color: #555;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
}

/* ================= FORM ================= */

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* ================= PAGINATION ================= */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: 6px;
    background: #f5f5f5;
    text-decoration: none;
    color: #222;
}

.pagination .current {
    background: var(--accent);
    color: var(--white);
}

/* ================= UTILITIES ================= */

.center {
    text-align: center;
}

.hover-lift {
    transition: 0.3s;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .post-title {
        font-size: 16px;
    }

    .btn {
        padding: 10px 18px;
    }

}