* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
}

/* Hero Section */
.hero {
    position: relative;
    height: 350px;
    color: white;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color:white
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white
}

.hero p {
    font-size: 16px;
    max-width: 500px;
}

/* Search Tabs */
.search-container {
    padding: 0 20px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
}

.search-tabs {
    display: flex;
    background-color: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    transition: all 0.3s;
}

    .tab-btn.active {
        background-color: #d22330;
        color: white;
        font-weight: bold;
    }

        .tab-btn.active i {
            color: white;
        }

    .tab-btn i {
        font-size: 18px;
        color: gray
    }

/* Tab Content */
.tab-content {
    position: relative;
    background-color: white;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s;
}

    .tab-pane.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Quick Search */
.quick-search-form {
    padding: 30px 20px;
    text-align: center;
}

    .quick-search-form h3 {
        margin-bottom: 20px;
        color: #333;
    }

.search-input {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

    .search-input input {
        flex: 1;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 4px 0 0 4px;
        font-size: 16px;
    }

    .search-input button {
        padding: 12px 20px;
        background-color: #d22330;
        color: white;
        border: none;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
    }

.search-tip {
    margin-top: 10px;
    color: #999;
    font-size: 14px;
}

/* Oil Search */
.oil-search-form {
    padding: 30px 20px;
}

    .oil-search-form h3 {
        margin-bottom: 20px;
        color: #333;
        text-align: center;
    }

.oil-filters {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Vehicle Categories */
.vehicle-categories {
    display: flex;
    justify-content: space-between;
    padding: 30px 20px;
    flex-wrap: wrap;
    background-color: white;
}

.category {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

    .category.active {
        border-bottom: 3px solid #d22330;
    }

.icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.category i {
    font-size: 30px;
    color: #666;
}

.category.active i {
    color: #d22330;
}

.category p {
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

/* Filters */
.filters {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: white;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    flex: 1;
    min-width: 250px;
}

    .filter-group label {
        display: block;
        font-size: 16px;
        color: #666;
        margin-bottom: 8px;
    }

.select-wrapper {
    position: relative;
}

    .select-wrapper select {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        appearance: none;
        font-size: 14px;
        color: #999;
    }

    .select-wrapper i {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        pointer-events: none;
    }

/* Footer */
footer {
    padding: 20px;
}

.footer-line {
    height: 1px;
    background-color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    .vehicle-categories {
        flex-wrap: wrap;
    }

    .category {
        min-width: 120px;
        margin-bottom: 15px;
    }

    .filters {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
        margin-bottom: 15px;
    }
}
.subText {
    background-color: rgba(210, 35, 48, 0.9);
    color: white;
    padding: 5px;
    text-align: center;
    font-weight: bold;
    border-radius: 15px;
    width: 50%;
    margin-left: 80px;
}

.nav-pills-custom {
    display: flex;
    justify-content: center;
}

.card-body {
    text-align: center;
}

.nav-item {
    width: 335px;
    height: auto;
    margin: 0 15px;
}

.nav-link {
    width: 350px !important;
    height: 250px !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

    .nav-link img {
        max-height: 180px;
        width: auto;
        object-fit: contain;
        margin-bottom: 10px;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    .nav-link:hover img {
        transform: scale(1.05);
    }

.nav-text {
    margin-top: 10px;
    margin-bottom: 15px;
    display: block;
    font-size: 18px !important;
}

.accordion-button {
    background-color: #d22330;
    color: white;
    font-size: large
}

.fa-plus {
    color: white !important;
    font-size: large
}

.accordion-button:not(.collapsed) {
    background-color: #d22330;
    color: white;
    font-size: large
}


.product-card {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .product-card img {
        max-height: 150px;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }

    .product-card:hover img {
        transform: scale(1.1);
    }

#selectedType img {
    max-width: 120px !important;
    max-height: 120px !important;
    border-radius: 7px;
    box-shadow: 0 8px 7px rgba(0,0,0,0.15);
}

#modalProductImage {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 450px !important;
}

.img-fluid2 {
    max-width: 120px !important;
    max-height: 120px !important;
    border-radius: 7px;
}



.accordion-button::after {
    color: white !important;
}

/* Quick search için stil */
.quick-search-container {
    margin-top: 15px;
    margin-bottom: 25px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #d22330;
    color: white;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    padding: 6px 12px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 4px;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 36px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 24px;
    }

.select2-result-item {
    padding: 6px;
}

/* Quick search için ek stil */
#quickSearchSelect {
    width: 100%;
    display: block;
}

.select2-container {
    width: 100% !important;
    z-index: 9999;
}


.pagination .page-link {
        background-color: #f8f9fa;
        color: #d22330;
        border-color: #d22330;
        transition: all 0.3s ease;
    }

        .pagination .page-link:hover {
            background-color: #d22330;
            color: white !important;
            border-color: #d22330;
        }

    .pagination .page-item.active .page-link {
        background-color: #d22330;
        color: white;
        border-color: #d22330;
    }

    .pagination .page-item.disabled .page-link {
        background-color: #f8f9fa;
        color: #6c757d;
        border-color: #dee2e6;
    }