/* =====================================================
   PORTFOLIO PAGE - LIGHT THEME OVERRIDES
===================================================== */

/* 1. Page Background & Main Text */
[data-theme="light"] body,
[data-theme="light"] main,
[data-theme="light"] .featured-work1.portfolio {
    background-color: #ffffff !important;
    background-image: none !important;
}
[data-theme="light"] .gradient-bg,
[data-theme="light"] .animated-bg,
[data-theme="light"] .bg-gradients,
[data-theme="light"] .blur-gradient {
    display: none !important;
    background: none !important;
    visibility: hidden !important;
}
/* 2. Portfolio Banner & Headings - Force Black */
[data-theme="light"] .work-name,
[data-theme="light"] .work-category,
[data-theme="light"] .filter-container h5,
[data-theme="light"] .contentbanner-text-block,
[data-theme="light"] .contentbanner-text-block h1{
    color: #000000 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #000000 !important;
}
[data-theme="light"] .portfolio-banner h1{
    color: #4093D0 !important;
    -webkit-text-fill-color: #4093D0 !important;
}

[data-theme="light"] .portarrow {
    color: #000000 !important;
}

/* 3. FILTER BAR STYLING */
[data-theme="light"] #filterBar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

[data-theme="light"] .btn-custom-filter {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
    /* Added Border */
    border-radius: 8px !important;
}

/* 4. DROPDOWN MENUS */
[data-theme="light"] .dropdown-menu-dark-custom {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .dropdown-item,
[data-theme="light"] .form-check-label {
    color: #000000 !important;
}

[data-theme="light"] .reset-section {
    color: #000000 !important;
}

/* 5. CHECKBOX CUSTOMIZATION */
[data-theme="light"] .filter-checkbox {
    background-color: #000000 !important;
    /* Black Background */
    border: 1px solid #000000 !important;
}

[data-theme="light"] .filter-checkbox:checked {
    background-color: #4093D0 !important;
    /* Brand Blue on click */
    border-color: #4093D0 !important;
}

/* 6. PROJECT CARDS - LIGHT MODE */

[data-theme="light"] .work-img {
    border: 1px solid #eeeeee !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border-radius: 16px !important;
}

/* 7. NO RESULTS STATE */
[data-theme="light"] #no-results h3 {
    color: #000000 !important;
}

[data-theme="light"] #clear-filters-btn {
    color: #000000 !important;
    border-color: #000000 !important;
}

/* 8. MOBILE VIEW ADJUSTMENTS */
@media (max-width: 768px) {
    [data-theme="light"] .mobileFilter {
        border-color: #000000 !important;
        color: #000000 !important;
    }

    [data-theme="light"] #mobileFilterSidebar {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
}

/* =====================================================
   PORTFOLIO FILTERS - INTERACTION FIXES (LIGHT MODE)
===================================================== */

/* 1. Dropdown Option Hover State - Subtle Darker White */
[data-theme="light"] .dropdown-menu-dark-custom li:hover,
[data-theme="light"] .dropdown-menu-dark-custom .dropdown-item:hover {
    background-color: #f2f2f2 !important; /* "A little bit darker white" */
    color: #000000 !important;
    cursor: pointer;
}

/* 2. Checkbox Input Fix - Force Black Background */
[data-theme="light"] .filter-checkbox {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-color: #000000 !important; /* Pure Black Background */
    border: 1px solid #000000 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    position: relative !important;
    outline: none !important;
}

/* 3. Checkbox Checked State - Blue Background with White Check */
[data-theme="light"] .filter-checkbox:checked {
    background-color: #4093D0 !important; /* Brand Blue */
    border-color: #4093D0 !important;
}

[data-theme="light"] .filter-checkbox:checked::after {
    content: "\f00c" !important; /* FontAwesome Check Icon */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* 4. Filter Button Focus/Active state removal */
[data-theme="light"] .btn-custom-filter:focus,
[data-theme="light"] .btn-custom-filter:active {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: none !important;
}
[data-theme="light"] .filter-checkbox{
    background-color: #ffffff !important;
}

@media (max-width: 768px) {
    [data-theme="light"] .btn{
        background-color: #ffffff !important;
        color: #000000 !important;
    }
}