/**
 * Light Theme Styles
 * This file overrides dark theme styles for light mode
 */

/* Light Theme Overrides */

/* Search Filter */
.theme-light .search-filter {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

.theme-light .search-filter .form-select,
.theme-light .search-filter .form-control {
    background-color: #ffffff !important;
    border: 1px solid #ced4da;
    color: #212529 !important;
    -webkit-text-fill-color: #212529;
}

/* Select: sichtbarer Text (Placeholder + ausgewählter Wert) */
.theme-light .search-filter .form-select {
    color: #212529 !important;
    -webkit-text-fill-color: #212529;
}

.theme-light .search-filter .form-select option {
    background-color: #ffffff;
    color: #212529 !important;
    -webkit-text-fill-color: #212529;
}

.theme-light .search-filter .form-select option[value=""] {
    color: #6c757d !important;
    -webkit-text-fill-color: #6c757d;
}

.theme-light .search-filter .form-select:focus,
.theme-light .search-filter .form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(220, 38, 38, 0.25);
}

.theme-light .search-filter .form-select option {
    background-color: #ffffff;
    color: #212529;
}

.theme-light .search-filter .form-control::placeholder {
    color: #495057 !important;
    opacity: 1;
    font-weight: 400;
}


/* Cards */
.theme-light .car-card {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* Details Button - Better visibility in light theme */
.theme-light .car-card .btn-details,
.theme-light .btn-details {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
}

.theme-light .car-card .btn-details:hover,
.theme-light .btn-details:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.theme-light .car-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.theme-light .car-card .card-body {
    background-color: #ffffff;
    color: #212529;
}

.theme-light .car-card .card-title,
.theme-light .car-card .card-text {
    color: #212529;
}

.theme-light .car-card .car-price {
    color: #212529;
    font-weight: 700;
}

/* Sections */
.theme-light .section {
    background-color: #f8f9fa;
}

.theme-light .section.bg-dark {
    background-color: #f8f9fa !important;
}

/* Gallery */
.theme-light .gallery-section {
    background-color: #f8f9fa;
}

/* Process Cards */
.theme-light .process-card {
    background-color: #ffffff;
    color: #212529;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.theme-light .process-card h5 {
    color: #212529;
}

/* Forms - All Inputs */
.theme-light .form-control,
.theme-light .form-select {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    color: #212529;
}

.theme-light .form-control:focus,
.theme-light .form-select:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(220, 38, 38, 0.15);
    color: #212529;
}

.theme-light .form-control::placeholder {
    color: #6c757d !important;
    opacity: 1;
}

.theme-light .form-select option {
    background-color: #ffffff;
    color: #212529;
}

.theme-light .form-label {
    color: #495057;
    font-weight: 500;
}

/* Buttons - All Variants */
.theme-light .btn-outline-light {
    color: #212529;
    border-color: #ced4da;
    background-color: transparent;
}

.theme-light .btn-outline-light:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    color: #212529;
}

.theme-light .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.theme-light .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.theme-light .btn-outline-secondary {
    color: #6c757d;
    border-color: #ced4da;
    background-color: transparent;
}

.theme-light .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
}

.theme-light .btn-outline-success {
    color: #198754;
    border-color: #198754;
    background-color: transparent;
}

.theme-light .btn-outline-success:hover {
    background-color: #198754;
    border-color: #198754;
    color: #ffffff;
}

.theme-light .btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
    background-color: transparent;
}

.theme-light .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
}

.theme-light .btn-outline-info {
    color: #0dcaf0;
    border-color: #0dcaf0;
    background-color: transparent;
}

.theme-light .btn-outline-info:hover {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
    color: #ffffff;
}

.theme-light .btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
    background-color: transparent;
}

.theme-light .btn-outline-warning:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

/* Primary Button stays the same (red) */
.theme-light .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.theme-light .btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
}

/* Dropdown */
.theme-light .dropdown-menu-dark {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.theme-light .dropdown-menu-dark .dropdown-item {
    color: #212529;
}

.theme-light .dropdown-menu-dark .dropdown-item:hover,
.theme-light .dropdown-menu-dark .dropdown-item:focus {
    background-color: #f8f9fa;
    color: #212529;
}

.theme-light .dropdown-menu-dark .dropdown-item.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Social Icons */
.theme-light .text-white {
    color: #212529 !important;
}

/* Footer */
.theme-light footer {
    background-color: #212529 !important;
    color: #ffffff;
}

/* Brand Cards */
.theme-light .brand-card {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #dee2e6;
}

.theme-light .brand-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.theme-light .brand-card .brand-name {
    color: #212529 !important;
}

/* Admin Cards & Contact Cards */
.theme-light .admin-card,
.theme-light .contact-card {
    background-color: #ffffff;
    color: #212529;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* Background Colors */
.theme-light .bg-dark {
    background-color: #f8f9fa !important;
}

.theme-light .bg-secondary {
    background-color: #e9ecef !important;
}

/* Text Colors */
.theme-light .text-white {
    color: #212529 !important;
}

.theme-light .text-muted {
    color: #6c757d !important;
}

.theme-light .text-secondary {
    color: #6c757d !important;
}

/* Navbar */
.theme-light .navbar-dark {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid #dee2e6;
}

.theme-light .navbar-dark .navbar-nav .nav-link {
    color: #212529 !important;
}

.theme-light .navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.theme-light .navbar-dark .navbar-brand {
    color: #212529;
}

/* Breadcrumb */
.theme-light .breadcrumb {
    background-color: transparent;
}

.theme-light .breadcrumb-item a {
    color: #6c757d;
}

.theme-light .breadcrumb-item.active {
    color: #212529;
    font-weight: 500;
}

/* Tables */
.theme-light .table {
    color: #212529;
}

.theme-light .table-dark {
    background-color: #ffffff;
    color: #212529;
}

.theme-light .table-dark thead th {
    background-color: #f8f9fa;
    color: #212529;
    border-color: #dee2e6;
}

.theme-light .table-dark tbody tr {
    border-color: #e9ecef;
}

.theme-light .table-dark tbody tr:hover {
    background-color: #f8f9fa;
}

/* Alerts */
.theme-light .alert {
    border-width: 1px;
}

.theme-light .alert-dark {
    background-color: #e9ecef;
    color: #212529;
    border-color: #ced4da;
}

/* Badges */
.theme-light .badge {
    border: 1px solid transparent;
}

/* Borders */
.theme-light .border-secondary {
    border-color: #dee2e6 !important;
}

.theme-light .border-top {
    border-top-color: #dee2e6 !important;
}

.theme-light .border-bottom {
    border-bottom-color: #dee2e6 !important;
}

/* Links */
.theme-light a {
    color: var(--primary-color);
}

.theme-light a:hover {
    color: var(--primary-hover);
}

/* Input Groups */
.theme-light .input-group-text {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #495057;
}

/* Cards General */
.theme-light .card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    color: #212529;
}

.theme-light .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    color: #212529;
}

.theme-light .card-body {
    color: #212529;
}

/* Modals */
.theme-light .modal-content {
    background-color: #ffffff;
    color: #212529;
    border: 1px solid #dee2e6;
}

.theme-light .modal-header {
    border-bottom: 1px solid #dee2e6;
}

.theme-light .modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Swiper Pagination */
.theme-light .swiper-pagination-bullet {
    background: #6c757d;
    opacity: 0.5;
}

.theme-light .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

.theme-light .swiper-button-next,
.theme-light .swiper-button-prev {
    color: #212529;
}

/* Hero Content */
.theme-light .hero-content h1 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.theme-light .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
