html[data-theme="dark"] {
    --text: #f3f4f6;
    --text-light: #d1d5db;
    --muted: #9ca3af;
    --bg: #0f172a;
    --bg-soft: #111827;
    --card: #1f2937;
    --border: rgba(255, 255, 255, 0.18);
    --border-light: rgba(255, 122, 24, 0.16);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 25px 70px rgba(0, 0, 0, 0.45);
}

/* Base layout and shared surfaces */
html[data-theme="dark"] body {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    color: var(--text);
}

html[data-theme="dark"] .navbar-modern {
    background: rgba(17, 24, 39, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .brand-mark {
    color: #ff6b6b !important;
}

html[data-theme="dark"] .navbar-main-nav .nav-link {
    color: var(--text);
}

html[data-theme="dark"] .navbar-main-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

html[data-theme="dark"] .wishlist-pill {
    background: #111827;
    border-color: var(--border);
    color: var(--text);
}

html[data-theme="dark"] .wishlist-pill:hover {
    color: var(--text);
    border-color: rgba(255, 122, 24, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .wishlist-pill-label {
    color: var(--muted);
}

html[data-theme="dark"] .wishlist-pill-price {
    color: var(--text);
}

html[data-theme="dark"] .wishlist-pill-icon {
    color: var(--text);
}

html[data-theme="dark"] .navbar-account-btn {
    background: #111827;
    border-color: var(--border);
    color: var(--text);
}

html[data-theme="dark"] .navbar-account-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 122, 24, 0.22);
    color: #fff;
}

html[data-theme="dark"] .dropdown-menu {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
}

html[data-theme="dark"] .dropdown-item {
    color: var(--text);
}

html[data-theme="dark"] .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

html[data-theme="dark"] .dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .text-muted {
    color: var(--muted) !important;
}

html[data-theme="dark"] .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .card-modern,
html[data-theme="dark"] .content-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .category-card {
    background: var(--card) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .card-title,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
    color: var(--text);
}

html[data-theme="dark"] .card-meta,
html[data-theme="dark"] .section-subtitle,
html[data-theme="dark"] .dropdown-item-text {
    color: var(--muted) !important;
}

/* Dropdowns and buttons */
html[data-theme="dark"] .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text);
}

html[data-theme="dark"] .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

/* Form controls */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .custom-input {
    background-color: #111827 !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder,
html[data-theme="dark"] .form-control::placeholder,
html[data-theme="dark"] .custom-input::placeholder {
    color: var(--muted) !important;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] .custom-input:focus {
    background: #111827 !important;
    color: var(--text) !important;
}

html[data-theme="dark"] .empty-state {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

/* Public-facing sections */
html[data-theme="dark"] .info-modern {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html[data-theme="dark"] .info-modern h5,
html[data-theme="dark"] .info-modern p,
html[data-theme="dark"] .section-party .info-party h5,
html[data-theme="dark"] .section-party .info-party p,
html[data-theme="dark"] .party-banner .section-title,
html[data-theme="dark"] .party-banner .section-subtitle {
    color: var(--text) !important;
}

html[data-theme="dark"] .service-pill,
html[data-theme="dark"] .section-party .info-party {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html[data-theme="dark"] .party-banner {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.12), rgba(255, 122, 24, 0.12)), #111827 !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html[data-theme="dark"] .search-modern input {
    background: rgba(31, 41, 55, 0.95) !important;
    color: var(--text) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .search-modern input::placeholder {
    color: var(--muted) !important;
}

html[data-theme="dark"] .teaser-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.78)) !important;
}

html[data-theme="dark"] .eventmodule-label {
    background: rgba(31, 41, 55, 0.92) !important;
    color: var(--text) !important;
}

html[data-theme="dark"] .eventmodule-label small {
    color: var(--muted) !important;
}

html[data-theme="dark"] .info-icon {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .footer-modern {
    background: #020617;
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
}

html[data-theme="dark"] .footer-brand,
html[data-theme="dark"] .footer-title {
    color: #fff;
}

html[data-theme="dark"] .footer-text,
html[data-theme="dark"] .footer-links a {
    color: rgba(255, 255, 255, 0.72) !important;
}

html[data-theme="dark"] .footer-links a:hover {
    color: #fff !important;
}

html[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .footer-social {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

html[data-theme="dark"] .footer-social:hover {
    background: var(--gradient);
    color: #fff;
}

/* Categories section */
html[data-theme="dark"] .categories-section {
    background: transparent;
}

html[data-theme="dark"] .category-tile-inner {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .category-tile:hover .category-tile-inner {
    box-shadow: 0 20px 50px rgba(229, 57, 53, 0.25);
    border-color: rgba(229, 57, 53, 0.25);
}

html[data-theme="dark"] .category-tile-inner::before {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.12), rgba(255, 122, 24, 0.12));
}

html[data-theme="dark"] .category-tile-inner::after {
    opacity: 0.8;
}

html[data-theme="dark"] .category-tile-icon-wrap {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.18), rgba(255, 122, 24, 0.18));
    box-shadow: none;
}

html[data-theme="dark"] .category-tile-title {
    color: #f3f4f6;
}

html[data-theme="dark"] .category-tile-text {
    color: #9ca3af;
}

html[data-theme="dark"] .category-tile-arrow {
    background: rgba(255, 255, 255, 0.06);
    color: #e5e7eb;
}

html[data-theme="dark"] .category-tile:hover .category-tile-arrow {
    background: var(--gradient);
    color: #fff;
}

html[data-theme="dark"] .section-kicker {
    background: rgba(229, 57, 53, 0.15);
    color: #ff8a80;
}

/* Event cards */
html[data-theme="dark"] .event-card {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .event-card:hover {
    border-color: rgba(229, 57, 53, 0.22);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .event-card-title a {
    color: #f3f4f6;
}

html[data-theme="dark"] .event-meta-pill {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
}

html[data-theme="dark"] .event-card-badge {
    background: rgba(15, 23, 42, 0.82);
    color: #ffb4a8;
}

/* Request flow and wishlist */
html[data-theme="dark"] .request-flow {
    background: var(--bg-soft);
}

html[data-theme="dark"] .wishlist-shell,
html[data-theme="dark"] .request-content-card,
html[data-theme="dark"] .request-summary-card {
    background: var(--card);
    border-color: var(--border);
}

html[data-theme="dark"] .wishlist-header,
html[data-theme="dark"] .wishlist-line-item {
    border-color: var(--border);
}

html[data-theme="dark"] .wishlist-line-title,
html[data-theme="dark"] .summary-item-title,
html[data-theme="dark"] .request-summary-title,
html[data-theme="dark"] .summary-row strong,
html[data-theme="dark"] .wishlist-total-row,
html[data-theme="dark"] .summary-info-grid strong {
    color: var(--text);
}

html[data-theme="dark"] .summary-row,
html[data-theme="dark"] .summary-info-grid,
html[data-theme="dark"] .request-content-card .form-label {
    color: var(--text-light);
}

html[data-theme="dark"] .wishlist-close-link,
html[data-theme="dark"] .wishlist-line-meta,
html[data-theme="dark"] .summary-item-meta,
html[data-theme="dark"] .wishlist-unit-price {
    color: var(--muted);
}

html[data-theme="dark"] .request-content-card .form-control,
html[data-theme="dark"] .request-content-card .form-select,
html[data-theme="dark"] .request-content-card textarea.form-control {
    background: #111827;
    color: var(--text);
    border-color: var(--border);
}

html[data-theme="dark"] .request-content-card .form-control::placeholder,
html[data-theme="dark"] .request-content-card textarea.form-control::placeholder {
    color: var(--muted);
}

html[data-theme="dark"] .request-content-card .form-control:focus,
html[data-theme="dark"] .request-content-card .form-select:focus {
    background: #111827;
    color: var(--text);
    border-color: rgba(255, 122, 24, 0.25) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 24, 0.10) !important;
}

html[data-theme="dark"] .wishlist-kicker {
    background: rgba(229, 57, 53, 0.16);
    color: #ff9c8f;
}

html[data-theme="dark"] .wishlist-card,
html[data-theme="dark"] .wishlist-summary-card,
html[data-theme="dark"] .wishlist-empty {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .wishlist-thumb {
    border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .wishlist-qty-control {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
}

html[data-theme="dark"] .wishlist-qty-btn {
    background: #111827;
    color: var(--text);
}

html[data-theme="dark"] .wishlist-qty-btn:hover {
    background: var(--primary);
    color: #fff;
}

html[data-theme="dark"] .wishlist-summary-row + .wishlist-summary-row {
    border-color: rgba(255, 255, 255, 0.08);
}

/* Premium party page */
html[data-theme="dark"] .premium-hero {
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.88), rgba(127, 29, 29, 0.46), rgba(180, 83, 9, 0.34)),
    url('https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?q=80&w=1600') center/cover no-repeat;
}

html[data-theme="dark"] .premium-hero .hero-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 122, 24, 0.12));
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .premium-hero h1 {
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .premium-hero p,
html[data-theme="dark"] .hero-lead {
    color: rgba(255, 255, 255, 0.86);
}

html[data-theme="dark"] .premium-stat {
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .premium-stat strong {
    color: #fff;
}

html[data-theme="dark"] .premium-stat span {
    color: #cbd5e1;
}

html[data-theme="dark"] .hero-glass-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.56));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .hero-glass-top {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
}

html[data-theme="dark"] .hero-glass-kicker {
    color: #fca5a5;
}

html[data-theme="dark"] .hero-glass-body h3,
html[data-theme="dark"] .hero-mini-card {
    color: #f8fafc;
}

html[data-theme="dark"] .hero-glass-body p {
    color: #cbd5e1;
}

html[data-theme="dark"] .hero-mini-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .premium-strip-card {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
    color: var(--text);
}

html[data-theme="dark"] .premium-strip-title,
html[data-theme="dark"] .premium-feature-item strong,
html[data-theme="dark"] .premium-service-card h5,
html[data-theme="dark"] .premium-showcase-overlay h4,
html[data-theme="dark"] .premium-showcase-overlay h5,
html[data-theme="dark"] .premium-process-card h5 {
    color: #f8fafc;
}

html[data-theme="dark"] .premium-strip-card p,
html[data-theme="dark"] .premium-feature-item p,
html[data-theme="dark"] .premium-service-card p,
html[data-theme="dark"] .premium-process-card p {
    color: #9ca3af;
}

html[data-theme="dark"] .premium-feature-item {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .premium-feature-icon,
html[data-theme="dark"] .premium-process-step {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .premium-image-main {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.40);
}

html[data-theme="dark"] .premium-image-floating {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.40);
}

html[data-theme="dark"] .premium-image-floating p,
html[data-theme="dark"] .premium-showcase-overlay p {
    color: #cbd5e1;
}

html[data-theme="dark"] .floating-badge,
html[data-theme="dark"] .premium-showcase-overlay .badge-soft,
html[data-theme="dark"] .premium-service-number {
    color: #ffb4a8;
}

html[data-theme="dark"] .floating-badge,
html[data-theme="dark"] .premium-showcase-overlay .badge-soft {
    background: rgba(229, 57, 53, 0.14);
}

html[data-theme="dark"] .premium-services-section,
html[data-theme="dark"] .premium-process-section {
    background: var(--bg-soft) !important;
}

html[data-theme="dark"] .premium-service-card,
html[data-theme="dark"] .premium-process-card {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .premium-showcase-card {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .premium-showcase-overlay {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .premium-final-cta {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.12), rgba(255, 122, 24, 0.10)), #111827 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .premium-final-cta .section-title,
html[data-theme="dark"] .premium-final-cta .section-subtitle,
html[data-theme="dark"] .premium-services-section .section-title,
html[data-theme="dark"] .premium-process-section .section-title,
html[data-theme="dark"] .premium-services-section .section-subtitle,
html[data-theme="dark"] .premium-process-section .section-subtitle {
    color: var(--text) !important;
}

html[data-theme="dark"] .request-check {
    background: #111827;
    border-color: var(--border);
}

html[data-theme="dark"] .request-check-text {
    color: var(--text-light);
}

html[data-theme="dark"] .request-check-box {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .request-check-input:checked + .request-check-box {
    border-color: var(--primary);
    background: var(--primary);
}

html[data-theme="dark"] .request-check-input:focus-visible + .request-check-box {
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 24, 0.12);
}

html[data-theme="dark"] .request-check:has(.request-check-input:checked) {
    background: rgba(255, 122, 24, 0.08);
    border-color: rgba(255, 122, 24, 0.28);
}

html[data-theme="dark"] .services-sidebar-card,
html[data-theme="dark"] .services-group,
html[data-theme="dark"] .services-page-cta {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .services-sidebar-title,
html[data-theme="dark"] .services-group-title,
html[data-theme="dark"] .services-service-card h3,
html[data-theme="dark"] .services-page-cta h3 {
    color: var(--text);
}

html[data-theme="dark"] .services-page-lead,
html[data-theme="dark"] .services-group-text,
html[data-theme="dark"] .services-service-card p,
html[data-theme="dark"] .services-page-cta p {
    color: var(--muted);
}

html[data-theme="dark"] .services-anchor-nav a {
    color: var(--text);
}

html[data-theme="dark"] .services-anchor-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

html[data-theme="dark"] .services-service-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .services-service-card:hover {
    border-color: rgba(255, 122, 24, 0.22);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .services-page-kicker {
    background: rgba(229, 57, 53, 0.14);
    color: #ff9c8f;
}

html[data-theme="dark"] .services-card-simple {
    background: var(--card);
    color: var(--text);
    box-shadow: none;
}
html[data-theme="dark"] .stats-section {
    background: linear-gradient(135deg, #020617, #0f172a);
}

html[data-theme="dark"] .stats-title {
    color: #fff;
}

html[data-theme="dark"] .stats-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .services-card-simple:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .services-card-body {
    background: var(--card);
}

html[data-theme="dark"] .services-card-title,
html[data-theme="dark"] .services-section-title {
    color: var(--text);
}

html[data-theme="dark"] .admin-item-card {
    background: var(--card);
    border-color: var(--border);
}

html[data-theme="dark"] .admin-item-desc {
    color: var(--muted);
}
html[data-theme="dark"] .stats-section {
    background: linear-gradient(135deg, #020617, #0f172a);
}

html[data-theme="dark"] .stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

html[data-theme="dark"] .stat-label {
    color: rgba(255, 255, 255, 0.8);
}
html[data-theme="dark"] .category-tile-inner {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .category-tile:hover .category-tile-inner {
    box-shadow: 0 28px 70px rgba(229, 57, 53, 0.28);
    border-color: rgba(229, 57, 53, 0.25);
}

/* GLASS CONTENT PANEL */
html[data-theme="dark"] .category-tile-content::before {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* TEXT COLORS */
html[data-theme="dark"] .category-tile-title {
    color: #f8fafc;
}

html[data-theme="dark"] .category-tile-text {
    color: #9ca3af;
}

/* ARROW */
html[data-theme="dark"] .category-tile-arrow {
    background: rgba(255, 255, 255, 0.06);
    color: #e5e7eb;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .category-tile:hover .category-tile-arrow {
    background: var(--gradient);
    color: #fff;
}

/* IMAGE TWEAK (important for premium look) */
html[data-theme="dark"] .category-tile-image {
    filter: brightness(0.85) contrast(1.05);
}

html[data-theme="dark"] .category-tile:hover .category-tile-image {
    filter: brightness(0.95) contrast(1.08);
}

/* LIGHT SWEEP EFFECT */
html[data-theme="dark"] .category-tile-inner::after {
    opacity: 0.6;
}
/* ========================
   SERVICE CATEGORY BLOCK
   DARK MODE
======================== */

html[data-theme="dark"] .service-categories-section {
    background: transparent;
}

/* CATEGORY BLOCK */
html[data-theme="dark"] .category-block {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .category-block-hero,
html[data-theme="dark"] .category-block-hero .row,
html[data-theme="dark"] .category-block-hero .col-lg-6,
html[data-theme="dark"] .category-block-hero .col-lg-6 * {
    background: #1e293b !important;
}

html[data-theme="dark"] .category-block-image,
html[data-theme="dark"] .category-block-image-placeholder {
    background: #1f2937 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] .category-block-description {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .service-categories-section .category-block-description p {
    color: var(--muted);
}

html[data-theme="dark"] .service-categories-section .category-item-tile {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .service-categories-section .category-item-tile:hover {
    border-color: rgba(255, 122, 24, 0.22);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .service-categories-section .category-item-inner img {
    filter: brightness(0.92) contrast(1.05);
}

html[data-theme="dark"] .service-categories-section .category-item-inner span {
    background: rgba(15, 23, 42, 0.88);
    color: var(--text);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* ========================
   CATEGORIES (MAIN PAGE)
   DARK MODE
======================== */

/* Layout background */
html[data-theme="dark"] .categories-section {
    background: transparent;
}

/* SIDEBAR */
html[data-theme="dark"] .categories-sidebar-inner {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .categories-sidebar-label {
    background: rgba(229, 57, 53, 0.14);
    color: #ff9c8f;
}

/* SIDEBAR LINKS */
html[data-theme="dark"] .categories-sidebar-link {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    box-shadow: none;
}

html[data-theme="dark"] .categories-sidebar-link:hover {
    background: linear-gradient(
            135deg,
            rgba(229, 57, 53, 0.12),
            rgba(255, 122, 24, 0.12)
    );
    border-color: rgba(255, 122, 24, 0.22);
    color: #fff;
}

html[data-theme="dark"] .categories-sidebar-link.active {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 12px 28px rgba(229, 57, 53, 0.35);
}

/* CATEGORY BLOCK */
html[data-theme="dark"] .category-block {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

/* HEADER */
html[data-theme="dark"] .category-block-header h2 {
    color: var(--text);
}

/* IMAGE */
html[data-theme="dark"] .category-block-image {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* DESCRIPTION */
html[data-theme="dark"] .category-block-description {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .category-block-description p {
    color: var(--muted);
}

/* ITEMS GRID TILES */
html[data-theme="dark"] .category-item-tile {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .category-item-tile:hover {
    border-color: rgba(255, 122, 24, 0.22);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
}

/* ITEM IMAGE */
html[data-theme="dark"] .category-item-inner img {
    filter: brightness(0.9) contrast(1.05);
}

/* ITEM TITLE BAR */
html[data-theme="dark"] .category-item-inner span {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}