/* ========================================
   YDA Theme Colors Override
   Youth Development Association
   تحديث الألوان لجميع الصفحات
   ======================================== */

/* ===== Programs Page ===== */
.programs-section {
    background: linear-gradient(135deg, #F2F2F2 0%, #FFF9F0 100%) !important;
}

.programs-section .section-title {
    color: #6CB44D !important;
}

.programs-section .section-title::after {
    background: linear-gradient(90deg, #F5C300 0%, #FFD633 100%) !important;
}

.programs-section .lead {
    color: #555555 !important;
}

/* Program Cards */
.program-card {
    border: 1px solid rgba(108, 180, 77, 0.1) !important;
}

.program-card:hover {
    border-color: rgba(108, 180, 77, 0.3) !important;
    box-shadow: 0 8px 25px rgba(108, 180, 77, 0.15) !important;
}

.program-card-category {
    background: linear-gradient(135deg, #F5C300, #FFD633) !important;
    color: #222222 !important;
}

.program-card-featured {
    background: linear-gradient(135deg, #6CB44D, #7EC45E) !important;
}

.program-card-title a {
    color: #6CB44D !important;
}

.program-card-title a:hover {
    color: #F5C300 !important;
}

.program-card-link {
    color: #6CB44D !important;
    background: rgba(108, 180, 77, 0.1) !important;
}

.program-card-link:hover {
    background: linear-gradient(135deg, #6CB44D, #7EC45E) !important;
    color: white !important;
}

/* ===== News Page ===== */
.news-section {
    background: linear-gradient(135deg, #F2F2F2 0%, #FFF9F0 100%) !important;
}

.news-section .section-title {
    color: #6CB44D !important;
}

.news-section .section-title::after {
    background: linear-gradient(90deg, #F5C300 0%, #FFD633 100%) !important;
}

.news-card {
    border: 1px solid rgba(108, 180, 77, 0.1) !important;
}

.news-card:hover {
    border-color: rgba(108, 180, 77, 0.3) !important;
    box-shadow: 0 8px 25px rgba(108, 180, 77, 0.15) !important;
}

.news-card-date {
    background: linear-gradient(135deg, #6CB44D, #7EC45E) !important;
}

.news-card-title a {
    color: #6CB44D !important;
}

.news-card-title a:hover {
    color: #F5C300 !important;
}

.news-card-read-more {
    color: #6CB44D !important;
}

.news-card-read-more:hover {
    color: #F5C300 !important;
}

/* ===== Detail Pages (News & Program) ===== */
.detail-page-header {
    background: linear-gradient(135deg, #6CB44D 0%, #5A9D3D 100%) !important;
}

.detail-category {
    background: linear-gradient(135deg, #F5C300, #FFD633) !important;
    color: #222222 !important;
}

.detail-meta i {
    color: #F5C300 !important;
}

.detail-content h2,
.detail-content h3,
.detail-content h4 {
    color: #6CB44D !important;
}

.detail-content a {
    color: #6CB44D !important;
}

.detail-content a:hover {
    color: #F5C300 !important;
}

/* Share Buttons */
.share-buttons .btn-facebook {
    background: #6CB44D !important;
}

.share-buttons .btn-twitter {
    background: #7EC45E !important;
}

.share-buttons .btn-whatsapp {
    background: #F5C300 !important;
    color: #222222 !important;
}

.share-buttons .btn-linkedin {
    background: #6CB44D !important;
}

/* Related Items */
.related-section {
    background: #F2F2F2 !important;
}

.related-section .section-title {
    color: #6CB44D !important;
}

.related-section .section-title::after {
    background: linear-gradient(90deg, #F5C300 0%, #FFD633 100%) !important;
}

/* Action Buttons */
.btn-back {
    background: rgba(108, 180, 77, 0.1) !important;
    color: #6CB44D !important;
    border: 2px solid #6CB44D !important;
}

.btn-back:hover {
    background: linear-gradient(135deg, #6CB44D, #7EC45E) !important;
    color: white !important;
    border-color: transparent !important;
}

.btn-contact {
    background: linear-gradient(135deg, #F5C300, #FFD633) !important;
    color: #222222 !important;
    border: none !important;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #FFD633, #F5C300) !important;
    transform: translateY(-3px) !important;
}

/* ===== Page.php (Static Pages) ===== */
.page-header {
    background: linear-gradient(135deg, #6CB44D 0%, #5A9D3D 100%) !important;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: #6CB44D !important;
}

.page-content a {
    color: #6CB44D !important;
}

.page-content a:hover {
    color: #F5C300 !important;
}

/* Breadcrumb */
.breadcrumb {
    background: rgba(108, 180, 77, 0.05) !important;
}

.breadcrumb-item.active {
    color: #6CB44D !important;
}

.breadcrumb-item a {
    color: #6CB44D !important;
}

.breadcrumb-item a:hover {
    color: #F5C300 !important;
}

/* Compact Page Header */
.page-header-compact {
    background: #ffffff;
    border-bottom: 1px solid rgba(108, 180, 77, 0.1);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.5rem 1rem;
    background: rgba(108, 180, 77, 0.03);
    border-radius: 8px;
    list-style: none;
    font-size: 0.938rem;
}

.breadcrumb-compact .breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.breadcrumb-compact .breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: #999;
    font-weight: 400;
}

.breadcrumb-compact .breadcrumb-item a {
    color: #6CB44D;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb-compact .breadcrumb-item a:hover {
    color: #F5C300;
}

.breadcrumb-compact .breadcrumb-item.active {
    color: #666;
    font-weight: 500;
}

/* Pagination */
.pagination .page-link {
    color: #6CB44D !important;
    border-color: rgba(108, 180, 77, 0.2) !important;
}

.pagination .page-link:hover {
    background: rgba(108, 180, 77, 0.1) !important;
    color: #6CB44D !important;
    border-color: rgba(108, 180, 77, 0.3) !important;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #6CB44D, #7EC45E) !important;
    border-color: #6CB44D !important;
    color: white !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #6CB44D, #7EC45E) !important;
    border-color: #6CB44D !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7EC45E, #6CB44D) !important;
    border-color: #7EC45E !important;
    transform: translateY(-2px) !important;
}

.btn-outline-primary {
    color: #6CB44D !important;
    border-color: #6CB44D !important;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #6CB44D, #7EC45E) !important;
    border-color: #6CB44D !important;
    color: white !important;
}

/* Badges */
.badge-primary {
    background: linear-gradient(135deg, #6CB44D, #7EC45E) !important;
}

.badge-warning {
    background: linear-gradient(135deg, #F5C300, #FFD633) !important;
    color: #222222 !important;
}

/* Links */
a {
    color: #6CB44D;
}

a:hover {
    color: #F5C300;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #6CB44D;
}

/* Borders and Accents */
.border-primary {
    border-color: #6CB44D !important;
}

.text-primary {
    color: #6CB44D !important;
}

.bg-primary {
    background-color: #6CB44D !important;
}

/* Focus States */
.form-control:focus {
    border-color: #6CB44D !important;
    box-shadow: 0 0 0 0.2rem rgba(108, 180, 77, 0.25) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6CB44D, #7EC45E) !important;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7EC45E, #6CB44D) !important;
}
