/* Dark Mode Styles */
html.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* Header */
html.dark-mode .header {
    background-color: #242424;
    border-bottom: 1px solid #333;
}

html.dark-mode .header .header-nav {
    background-color: #242424;
    width: 100%; /* Fix for shortened top bar */
}

html.dark-mode .main-nav > li > a {
    color: #e0e0e0;
}

html.dark-mode .header .header-navbar-rht > li > a {
    color: #e0e0e0;
}

/* Dropdown Menu */
html.dark-mode .dropdown-menu {
    background-color: #242424;
    border: 1px solid #333;
}

html.dark-mode .dropdown-menu > li > a {
    color: #e0e0e0;
}

html.dark-mode .dropdown-menu > li > a:hover {
    background-color: #333;
}

/* Main Content */
html.dark-mode .main-wrapper {
    background-color: #1a1a1a;
}

/* Description Section */
html.dark-mode .details-description {
    background-color: #1a1a1a;
}

html.dark-mode .about-headings h5,
html.dark-mode .about-headings p {
    color: #e0e0e0;
}

html.dark-mode .descriptionlinks ul li a {
    color: #e0e0e0;
}

/* Card Styles */
html.dark-mode .card {
    background-color: #242424;
    border: 1px solid #333;
}

html.dark-mode .card-header {
    background-color: #2a2a2a;
    border-bottom: 1px solid #333;
}

html.dark-mode .card-header h4 {
    color: #e0e0e0;
}

html.dark-mode .card-body {
    color: #e0e0e0;
}

/* Tags */
html.dark-mode .tag-list .tags li {
    background-color: #333;
    color: #e0e0e0;
    border: none;
}
html.dark-mode .tag-list .tags li a:hover {
    background: #6156a5;
    color: white;
    border-color: #6156a5;
}

html.dark-mode .tag-list .tags li a {
    color: #e0e0e0;
}

/* Statistics */
html.dark-mode .rightsidebar .card {
    background-color: #242424;
    border: 1px solid #333;
}

html.dark-mode .rightsidebar .card h4 {
    color: #e0e0e0;
}

html.dark-mode .statistics-list {
    background-color: #242424;
}

html.dark-mode .statistics-list li {
    border-bottom: 1px solid #333;
    color: #e0e0e0;
    background-color: #242424;
}

html.dark-mode .statistics-list .statistic-details {
    color: #e0e0e0;
}

html.dark-mode .statistics-list .icons {
    color: #e0e0e0;
}

html.dark-mode .statistics-list .text-end {
    color: #e0e0e0;
}

html.dark-mode .vistors-details {
    background-color: #242424;
}

/* Footer */
html.dark-mode .footer {
    background-color: #242424;
    border-top: 1px solid #333;
}

html.dark-mode .stay-tuned {
    background-color: #2a2a2a;
}

html.dark-mode .stay-tuned h3,
html.dark-mode .stay-tuned p {
    color: #e0e0e0;
}

/* Subscribe Form */
html.dark-mode .form-set {
    background-color: #333;
    border: 1px solid #444;
}

html.dark-mode .form-set .group-img {
    background-color: #333;
}

html.dark-mode .form-set .group-img i {
    color: #e0e0e0;
}

html.dark-mode .form-control {
    background-color: #333;
    border: 1px solid #444;
    color: #e0e0e0;
}

html.dark-mode .form-control::placeholder {
    color: #999;
}

html.dark-mode .btn-primary {
    color: #fff;
}

html.dark-mode .btn-primary:hover {
    color: #374B5C;
}

html.dark-mode .footer-content p {
    color: #e0e0e0;
}

/* Icons */
html.dark-mode .feather {
    color: #e0e0e0;
}

/* Hover States */
html.dark-mode .main-nav > li > a:hover {
    color: #fff;
}

html.dark-mode .descriptionlinks ul li a:hover {
    color: #fff;
}

/* Mobile Menu */
html.dark-mode .menu-header {
    background-color: #242424;
}

html.dark-mode #menu_close {
    color: #e0e0e0;
}

/* Bar Icon */
html.dark-mode .bar-icon span {
    background-color: #e0e0e0;
}

/* Gallery Images */
html.dark-mode .gallery-widget {
    background-color: #242424;
}

/* Subscribe Section */
html.dark-mode .stay-tuned {
    background-color: #242424;
    border: 1px solid #333;
    padding: 30px;
}

html.dark-mode .stay-tuned .form-set {
    background-color: #333;
    border: 1px solid #444;
}

html.dark-mode .stay-tuned .form-set input {
    background-color: #333;
    color: #e0e0e0;
}

html.dark-mode .stay-tuned .btn-primary {
    color: #fff;
}

/* Breadcrumb Section */
html.dark-mode .breadcrumb-bar {
    background-color: #242424;
    border-bottom: 1px solid #333;
}

html.dark-mode .breadcrumb-title {
    color: #e0e0e0;
}

html.dark-mode .breadcrumb-item a {
    color: #e0e0e0;
}

html.dark-mode .breadcrumb-item.active {
    color: #999;
}

html.dark-mode .breadcrumb-item + .breadcrumb-item::before {
    color: #666;
}

/* Categories Section */
html.dark-mode .categorieslist-section {
    background-color: #101010;
}

html.dark-mode .categories-content {
    background-color: #242424;
}

html.dark-mode .categories-content a {
    color: #e0e0e0;
}

html.dark-mode .categories-content h6 {
    color: #e0e0e0;
}

html.dark-mode .categories-content span {
    color: #999;
}

html.dark-mode .categories-content:hover {
    background-color: #2a2a2a;
    border-color: #444;
}

/* Gallery Cards */
html.dark-mode .gallery-card {
    background-color: #242424;
    border: 1px solid #333;
}

html.dark-mode .gallery-card .gallery-info h3 {
    color: #e0e0e0;
}

html.dark-mode .gallery-card .gallery-info p {
    color: #999;
}

html.dark-mode .gallery-card:hover {
    background-color: #2a2a2a;
    border-color: #444;
}

/* Pagination */
html.dark-mode .pagination {
    background-color: #242424;
}

html.dark-mode .page-item .page-link {
    background-color: #242424;
    border-color: #333;
    color: #e0e0e0;
}

html.dark-mode .page-item.active .page-link {
    
    
    color: #fff;
}

html.dark-mode .page-item.disabled .page-link {
    background-color: #1a1a1a;
    border-color: #333;
    color: #666;
}

/* Search and Filter Section */
html.dark-mode .filter-content {
    background-color: #242424;
    border: 1px solid #333;
}

html.dark-mode .filter-content h2 {
    color: #e0e0e0;
}

html.dark-mode .filter-content label {
    color: #e0e0e0;
}

html.dark-mode .filter-content .form-control {
    background-color: #333;
    border-color: #444;
    color: #e0e0e0;
}

html.dark-mode .filter-content .form-control::placeholder {
    color: #999;
}

/* Sort Dropdown */
html.dark-mode .sort-by {
    background-color: #242424;
    border: 1px solid #333;
    color: #e0e0e0;
}

html.dark-mode .sort-by:focus {
    background-color: #2a2a2a;
    border-color: #444;
}

html.dark-mode .details-main-wrapper .rightsidebar .card .statistics-list li {
  background-color: #2a2a2a;
}

html.dark-mode .details-main-wrapper .rightsidebar .card ul li span, html.dark-mode .prompt-example-card p {
    color: #F9FAFC;
}

/* callnow */
html.dark-mode .callnow a:hover{
 background-color: #23272f;
}
/* view gallery */
html.dark-mode .showphotos a{
    background-color: #23272f;
}
html.dark-mode .action-buttons button{background-color: #343a40; color: #ffffff; border-color: #ffffff;}
html.dark-mode .action-buttons button:hover{color: #6156a5; border-color: #6156a5;}
html.dark-mode #imageDescription{color: #ffffff !important;}

html.dark-mode .toggle-grid{background-color: #101010 !important;color: #ffffff !important;}
html.dark-mode .community-card, html.dark-mode .community-card .creator-info div{background-color: #374B5C !important;  color: #ffffff !important;}
html.dark-mode .tags li a{background-color: #28283C;}
html.dark-mode .prompt-input,html.dark-mode .option-item{background-color: #222; color: #ffffff;}
html.dark-mode .option-item.selected, html.dark-mode .selected-tag{background-color: #009efb;}
html.dark-mode .modal-content, html.dark-mode .description-container{background-color: #343a40; color: #ffffff;}
/* dark mode'da hata olursa burayi kontrol et! gallery/index */
/* Dark mode support */

html.dark-mode .card-header h6,
html.dark-mode .gallery-content h5,
html.dark-mode .search-filter-section span,
html.dark-mode .bannergallery-section h3,
html.dark-mode .creator-card div, html.dark-mode .creator-card samp,
html.dark-mode .activity-item div, html.dark-mode .activity-item span, html.dark-mode .text-muted,
html.dark-mode .modal-header .btn-close, html.dark-mode #describeSection h6, html.dark-mode .description-text,
html.dark-mode .style-selection-section h4,html.dark-mode .custom-prompt-section h4{
    color: #ffffff;
}

html.dark-mode .search-filter-section, html.dark-mode .activity-item{background-color: #2a2a2a!important; border: none;}
html.dark-mode .creator-card:hover, html.dark-mode .activity-item:hover {background-color: #6156a5; border-radius:1rem;}
html.dark-mode .region-card:hover .region-content h5,
html.dark-mode .gallery-card:hover .region-content h5 {
    color: #667eea;
}
html.dark-mode .prompt-example-card, html.dark-mode #describeSection .bg-light, html.dark-mode .btn-outline-success{background-color: #2a2a2a !important; border: none;}
html.dark-mode .content-page-header {
    border-bottom-color: #2c3e50;
}
/* Dark mode support */
html.dark-mode .ai-tools-popup {
    background: #2a2a2a;
    border-color: #444;
}
html.dark-mode #creatorName, html.dark-mode .text-muted, html.dark-mode .region-info-section h4{color: #ffffff !important;}
html.dark-mode .drop-zone,
html.dark-mode .image-preview-container,
html.dark-mode .controls-panel,
html.dark-mode .prompt-box,
html.dark-mode .prompt-box h3,
html.dark-mode .prompt-box h4{background-color: #343a40; color: #ffffff !important;}

html.dark-mode .upload-section h4, html.dark-mode .drop-zone h4, html.dark-mode .section-header h4, html.dark-mode .prompt-generator-section h4,
html.dark-mode .search-section h4, html.dark-mode .image-preview h4, html.dark-mode #previewSection h4, html.dark-mode .credit-info p{color: #ffffff;}
html.dark-mode .ai-tool-item{
    background: #333;
    color: #fff;
}
html.dark-mode .region-info-section{background: #23272f;}
html.dark-mode .ai-tool-item:hover {
    background-color: #444;
    color: #6156a5;
}

html.dark-mode .ai-tool-item i {
    color: #6156a5;
}
html.dark-mode .weight-section,html.dark-mode #descriptionContainer,html.dark-mode #tagsContainer{
  color: #ffffff;
  background-color: #222;
  border: 1px solid #444;
}
html.dark-mode h2,html.dark-mode h6, html.dark-mode h3, html.dark-mode .accordion-button h4, 
html.dark-mode .effect-card div, html.dark-mode .setting-group label, html.dark-mode .text-input-section h4, html.dark-mode .video-id-section h4, html.dark-mode .user-menu.nav > li > a:focus i{color: #fff;}
html.dark-mode #breadcrumb-nav, html.dark-mode #tagsContainer, html.dark-mode .image-preview{background: #2a2a2a}
html.dark-mode .post-preview, html.dark-mode .form-select, html.dark-mode .banner-generator-section, html.dark-mode .btn-success:hover{background: #222; color: #fff;}
html.dark-mode .upload-area, html.dark-mode .image-drop-area{background: #222 !important; color: #fff;}
html.dark-mode .dropdown-menu a:hover{color: #222 !important;}
html.dark-mode .fa-search{color: #ffffff;}
html.dark-mode .search-section, html.dark-mode .prompt-section, html.dark-mode .prompt-section h4, html.dark-mode .credit-info{background:#343a40; color: #fff;}
html.dark-mode .generator-section, html.dark-mode .effect-card, html.dark-mode .effects-section, html.dark-mode .speaker-card{background:#212529; border-color: #343a40;}
html.dark-mode .effect-card:hover{border-color: #667eea;}
html.dark-mode .accordion-button:hover h4,html.dark-mode .accordion-button:hover i, html.dark-mode .banner-cta .btn-primary:hover{color: #101010;}
html.dark-mode .prompt-generator-section {background: #343a40; border: none;}
html.dark-mode .total-duration {background: #343a40;}
html.dark-mode .settings-section .section-header:hover{background: #343a40;}
html.dark-mode .btn-primary:hover .fa-search{color: #101010;}
html.dark-mode #seed, html.dark-mode .generated-content{background-color: #222;}
html.dark-mode .prompt-input, html.dark-mode .setting-group select, html.dark-mode .setting-group input {border-color: #444;}
html.dark-mode .text-input-section, html.dark-mode .video-id-section,html.dark-mode .style-selection-section,
html.dark-mode .custom-prompt-section{background: #343a40; border-color: #444;}
html.dark-mode .outline-section, html.dark-mode .completion-section, html.dark-mode .btn-light{background: #101010 !important;}
html.dark-mode .btn-success:hover{color: #374b5c !important;}
html.dark-mode .categories-content a{background:#212529 !important; border-color: #343a40;}
html.dark-mode .categories-content a:hover {background: #374b5c !important;}
html.dark-mode .slide-preview{background: #333;}
html.dark-mode .nav-tabs .nav-link.active{background-color: #555555; border-color: #555555;}
html.dark-mode .tag-filters {background: #242424;}
html.dark-mode .search-box {background: transparent;}
html.dark-mode .settings-section{background: transparent;}
html.dark-mode .search-bar input{background-color: #222; color: #ffffff; border-color: #3f3f3f;}
