/* Services Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--bg-header) 100%, #000000 100%);
    color: var(--text-main);
    padding: 6rem 0 3rem;
    margin-top: 0;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, auto);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0 15px 20px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(9, auto);
        gap: 20px;
    }

    .service-card img {
        height: 150px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(18, auto);
    }

    .service-card img {
        height: 180px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Service Card (reusing car-card) */
.car-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: var(--primary-color);
}

.car-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 2;
}

.car-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.car-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.car-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.car-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.car-features span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.car-features i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.car-footer {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    flex: 1;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    flex: 1;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .car-card {
        margin-bottom: 1rem;
    }
}

/* Orange Button */
.btn-orange {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    margin-top: 1rem;
}

.btn-orange:hover {
    background: var(--primary-hover);
}
