/**
 * Umrah Programs Styles
 * أنماط برامج العمرة
 */

:root {
    --umrah-primary-color: #e60000;
    --umrah-hover-color: #cc0000;
}

.umrah-programs-archive-page,
.umrah-programs-wrapper {
    padding: 40px 0;
}

.umrah-programs-archive-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--umrah-primary-color);
    margin-bottom: 10px;
}

.archive-description {
    font-size: 1.2rem;
    color: #666;
}

.umrah-filter-wrapper {
    margin-bottom: 50px;
}

.filter-label {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.umrah-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 25px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #f5f5f5;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8f8f8;
    color: #666;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
}

.tab-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tab-text {
    position: relative;
}

.filter-tab:hover {
    background: #fff;
    border-color: var(--umrah-primary-color);
    color: var(--umrah-primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.15);
}

.filter-tab:hover .tab-icon {
    transform: scale(1.2) rotate(5deg);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--umrah-primary-color) 0%, var(--umrah-hover-color) 100%);
    color: #fff;
    border-color: var(--umrah-primary-color);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4);
    transform: translateY(-2px);
}

.filter-tab.active .tab-icon {
    transform: scale(1.15);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1.15);
    }

    50% {
        transform: scale(1.25);
    }
}

.umrah-programs-grid,
.umrah-programs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.umrah-program-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 500px;
}

.umrah-program-card:not([data-month="all"]) {
    display: none;
}

.umrah-program-card.show {
    display: block;
}

.umrah-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.2);
}

.program-image {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.umrah-program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-month-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--umrah-primary-color) 0%, var(--umrah-hover-color) 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.program-content {
    padding: 20px;
    text-align: center;
}

.program-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.no-programs,
.no-programs-filter {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.3rem;
    color: #999;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    color: var(--umrah-primary-color);
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid var(--umrah-primary-color);
    transition: all 0.3s ease;
    font-weight: bold;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--umrah-primary-color);
    color: #fff;
}

.pagination .dots {
    padding: 10px 5px;
    color: #666;
}

@media (max-width: 768px) {

    .umrah-programs-grid,
    .umrah-programs-container {
        grid-template-columns: 1fr;
    }

    .archive-title {
        font-size: 2rem;
    }

    .archive-description {
        font-size: 1rem;
    }

    .filter-tab {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .program-image {
        height: 200px;
    }
}

.program-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.umrah-program-single-page {
    padding: 60px 0;
    background: #f9f9f9;
}

.umrah-program-single-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.umrah-program-single {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.program-header {
    padding: 40px;
    background: linear-gradient(135deg, var(--umrah-primary-color) 0%, var(--umrah-hover-color) 100%);
    color: #fff;
    text-align: center;
}

.program-meta {
    margin-bottom: 20px;
}

.program-header .program-month-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

.program-header .program-title {
    font-size: 2.5rem;
    margin: 0;
    color: #fff;
}

.program-featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.program-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    padding: 50px 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.program-content p {
    margin-bottom: 20px;
}

.program-footer {
    padding: 30px 40px;
    border-top: 2px solid #f0f0f0;
}

.back-to-programs {
    display: inline-block;
    padding: 12px 30px;
    background: var(--umrah-primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-to-programs:hover {
    background: var(--umrah-hover-color);
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .program-header .program-title {
        font-size: 2rem;
    }

    .program-featured-image {
        height: 300px;
    }

    .program-content {
        padding: 30px 20px;
        font-size: 1rem;
    }

    .program-footer {
        padding: 20px;
    }

    .umrah-filter-tabs {
        gap: 10px;
        padding: 20px;
        border-radius: 25px;
    }

    .filter-tab {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .tab-icon {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {

    .umrah-programs-archive-page,
    .umrah-programs-wrapper {
        padding: 20px 0;
    }

    .archive-header {
        margin-bottom: 30px;
    }

    .archive-title {
        font-size: 1.5rem;
    }

    .filter-label {
        font-size: 1.1rem;
    }

    .umrah-filter-tabs {
        padding: 15px;
        gap: 8px;
        border-radius: 20px;
    }

    .filter-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .tab-icon {
        font-size: 1rem;
    }

    .program-title {
        font-size: 1.2rem;
    }

    .program-header {
        padding: 30px 20px;
    }

    .program-header .program-title {
        font-size: 1.5rem;
    }

    .program-featured-image {
        height: 250px;
    }
}