/* Premium Dark mode overrides for Shofy Theme & GMR Landing Page */

[data-bs-theme="dark"] {
    --bs-body-bg: #0b0f19;
    --bs-body-color: #cbd5e1;
    --bs-body-color-rgb: 203, 213, 225;
    --bs-tertiary-bg: #111827;
    
    --tp-common-white: #111827 !important;
    --tp-common-black: #f3f4f6 !important;
    
    /* Header & Footer Custom Variables */
    --header-main-background-color: #111827 !important;
    --header-main-text-color: #f3f4f6 !important;
    --header-sticky-background-color: #111827 !important;
    --header-sticky-text-color: #f3f4f6 !important;
    --footer-background-color: #070b13 !important;
    --footer-text-color: #9ca3af !important;
    --footer-title-color: #f3f4f6 !important;
    --footer-link-color: #9ca3af !important;
    --footer-border-color: #1f2937 !important;
}

/* Background elements override */
[data-bs-theme="dark"] body {
    background-color: #0b0f19;
    color: #cbd5e1;
}

[data-bs-theme="dark"] .tp-header-main,
[data-bs-theme="dark"] .tp-header-sticky,
[data-bs-theme="dark"] .tp-header-area {
    background-color: #111827 !important;
    border-bottom: 1px solid #1f2937;
}

[data-bs-theme="dark"] .tp-header-contact-icon span,
[data-bs-theme="dark"] .tp-header-contact-content span,
[data-bs-theme="dark"] .tp-header-action-btn,
[data-bs-theme="dark"] .tp-header-top-menu-item > a,
[data-bs-theme="dark"] .tp-header-top-menu-item > span,
[data-bs-theme="dark"] .tp-main-menu ul li a {
    color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .tp-header-search-input-box input {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
    color: #f3f4f6 !important;
}

/* Main layouts and cards */
[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] .gmr-workflow-section {
    background-color: #0e1420 !important;
}

[data-bs-theme="dark"] .border,
[data-bs-theme="dark"] .border-top,
[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-start,
[data-bs-theme="dark"] .border-end {
    border-color: #1f2937 !important;
}

[data-bs-theme="dark"] .text-muted,
[data-bs-theme="dark"] .text-secondary {
    color: #9ca3af !important;
}

/* GMR Landing Page Override */
[data-bs-theme="dark"] .gmr-hero-section {
    background: radial-gradient(circle at 85% 30%, rgba(90, 92, 226, 0.12) 0%, transparent 60%);
}

[data-bs-theme="dark"] .gmr-hero-image-card {
    background: rgba(17, 24, 39, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
}

[data-bs-theme="dark"] .gmr-stats-card,
[data-bs-theme="dark"] .benefit-card,
[data-bs-theme="dark"] .step-card {
    background: #111827 !important;
    border-color: #1f2937 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25) !important;
}

[data-bs-theme="dark"] .gmr-stats-card:hover,
[data-bs-theme="dark"] .benefit-card:hover,
[data-bs-theme="dark"] .step-card:hover {
    border-color: rgba(90, 92, 226, 0.3) !important;
    box-shadow: 0 20px 45px rgba(90, 92, 226, 0.08) !important;
}

[data-bs-theme="dark"] .gmr-map-preview .bg-light {
    background-color: #1f2937 !important;
}

[data-bs-theme="dark"] .gmr-map-preview,
[data-bs-theme="dark"] .gmr-map-preview small {
    color: #9ca3af !important;
}

[data-bs-theme="dark"] .gmr-map-preview h4 {
    color: #f3f4f6 !important;
}

[data-bs-theme="dark"] .gmr-avatar {
    border-color: #111827 !important;
}

[data-bs-theme="dark"] .gmr-workflow-container::before {
    border-top: 2px dashed rgba(255, 255, 255, 0.1) !important;
}

/* Products and e-commerce */
[data-bs-theme="dark"] .tp-product-item,
[data-bs-theme="dark"] .tp-product-item-2,
[data-bs-theme="dark"] .tp-product-details-inner {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
}

[data-bs-theme="dark"] .tp-product-title,
[data-bs-theme="dark"] .tp-product-price {
    color: #f3f4f6 !important;
}

[data-bs-theme="dark"] .tp-footer-area {
    background-color: #070b13 !important;
    border-top: 1px solid #1f2937;
}

/* Inputs and Forms */
[data-bs-theme="dark"] input,
[data-bs-theme="dark"] textarea,
[data-bs-theme="dark"] select {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
    color: #f3f4f6 !important;
}
