﻿.service-section-bg {
}

.service-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.service-subtitle {
    font-size: 18px;
    color: #666;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
    }

.card-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6666;
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
}

.card-header {
    padding: 16px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.card-description {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.card-content {
    padding: 0 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-section {
    margin-bottom: 16px;
}

.price-container .discount-price {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
}

.original-price-container {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #999;
}

.original-price {
    text-decoration: line-through;
}

.savings {
    color: #2ecc71;
}

.detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background-color: #ffb366;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .detail-button:hover {
        background-color: #ff9c33;
    }

.button-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.search-form {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .search-form input[type="text"],
    .search-form select {
        padding: 12px;
        width: 200px;
        border: 1px solid #ccc;
        border-radius: 10px;
    }

    .search-form button {
        padding: 8px 16px;
        border: none;
        background-color: #333;
        color: white;
        border-radius: 10px;
        cursor: pointer;
        font-weight:bold;
    }

.pagination {
    margin-top: 30px;
    text-align: center;
}

    .pagination a {
        padding: 8px 12px;
        margin: 0 4px;
        background-color: #eee;
        border-radius: 4px;
        text-decoration: none;
        color: #333;
    }

        .pagination a.active-page {
            background-color: #333;
            color: #fff;
        }