/*
Theme Name: Koraplus
Theme URI: https://egyweb2000.blogspot.com/
Description: Wordpress theme by Hosny Elmasry.
Author: Hosny Elmasry
Theme Homepage: https://egyweb2000.blogspot.com/
Author URI: https://egyweb2000.blogspot.com/
Version: 1.0
License: license purchased
License URI: LICENSE
Text Domain: Koraplus
Tags:
*/
@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;600;700&display=swap");
:root {
    --primary-color: #1a2a3a;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --light-color: #f7f9fc;
    --dark-color: #2b3d4f;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f8f9fa;
}

a {
    text-decoration: none !important;
}

.container {
    max-width: 1024px;
}

.navbar-brand {
    font-weight: 700;
}

nav.navbar {
    box-shadow: 0 0 4px rgba(0, 0, 0, .3);
}

/*
.navbar {
    height: 90px;
}
*/
.menu-item.current-menu-item a,
.menu-item.current_page_item a {
    color: #00b894;
    font-weight: bold;
    border-bottom: 2px solid #00b894;
}

.navbar-brand i {
    color: var(--accent-color);
}

.navbar-nav li {
    padding: 0 15px
}

.navbar-nav li a {
    display: block;
    line-height: 40px;
}

.social-header a:hover {
    background: var(--bs-primary);
    color: #ffffff !important;
}

.single ul {
    list-style: none;
}

button#darkModeToggle {
    border: 1px solid #ddd;
}

.post-card {
    transition: transform 0.3s;
    background: -webkit-gradient(linear, left top, left bottom, from(#F8F9FC), to(#E3E5F0));
    background: linear-gradient(#F8F9FC, #E3E5F0);
    border: none;
}

.post-card-big {
    min-height: 220px;
}

.post-card-big .post-card-big-img {
    height: 100%;
    min-height: 220px;
}

.post-card-big .post-card-big-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-big .post-card-big-body {
    height: 100%;
    min-height: 220px;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    transition: transform 0.5s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.live-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    animation: bounce 2s infinite;
    display: none;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.compact .video-thumbnail {
    height: 120px;
}

.compact .video-title {
    font-size: 0.9rem;
}

.compact .post-image {
    height: 150px;
}

.compact .post-title a {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}

.custom-end {
    left: 18%;
    top: 10px;
    /* عدّل القيمة حسب رغبتك */
}

.nav-tabs .nav-link.active {
    color: #f00;
    border-top: 1px solid #007bff;
    border-right: 1px solid #007bff;
    border-left: 1px solid #007bff;
    background-color: #edeff6;
}

.post-tags a {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 700;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: var(--bs-border-radius);
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--bs-badge-border-radius);
}

.iframeSrc iframe {
    width: 100%;
    min-height: 440px;
    background: #000000;
}

/*
footer {
    box-shadow: 0 0 4px rgba(0,0,0,.3);
}
*/
.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

footer ul li {
    display: inline-block;
    margin: 10px 15px 0
}

footer ul li a {
    display: block;
}

.error-container {
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-in-out;
    transition: all 0.5s ease;
}

.error-icon {
    font-size: 8rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.error-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 1rem;
    transition: all 0.5s ease;
}

.error-subtitle {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 2rem;
    transition: all 0.5s ease;
}

.error-description {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    transition: all 0.5s ease;
}

.btn-home {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* زر تبديل الوضع */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
    color: #343a40;
}

/* تأثيرات الحركة */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}


ul.all-comments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-item {
    transition: all 0.3s ease;
    border-right: 3px solid #0d6efd;
    margin-bottom: 15px;
}

.article-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-content p, .egy-single {
    font-size: 19px;
    line-height: 1.7;
}

.article-content h5, .article-content h4{
    padding: 25px 0;
    border-bottom: 1px solid darkolivegreen;
    margin: 25px 0;
}
.article-content h2,
.article-content h3 {
    padding: 15px 0;
}

/* تكيف مع الأجهزة الصغيرة */
@media (max-width: 768px) {

    .post-card-big .post-card-big-img,
    .post-card-big .post-card-big-body {
        height: auto;
        min-height: auto;
    }

    .navbar.sticky-top {
        top: 0px !important;
    }

    .error-icon {
        font-size: 5rem;
    }

    .error-title {
        font-size: 2.5rem;
    }

    .error-subtitle {
        font-size: 1.2rem;
    }

    .custom-end {
        left: -10px;
        bottom: 0;
        top: auto;
    }
}
