/* ===========================================
   FEATURED CARS SECTION STYLES
   =========================================== */

/* Section Container */
.sr-featured-cars-section {
    max-width: 1400px;
    margin: 60px auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Header */
.sr-featured-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.sr-featured-title {
    font-size: 36px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.sr-featured-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Cars Grid - Desktop: 3 columns */
.sr-featured-cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Featured Car Card */
.sr-featured-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sr-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #000000;
}

/* Car Image - SHOW FULL IMAGE WITHOUT CROPPING */
.sr-featured-image {
    position: relative;
    height: 295px;
    overflow: hidden;
}

.sr-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Shows more of the car, less of empty space */
    transition: transform 0.5s ease;
}

.sr-featured-card:hover .sr-featured-image img {
    transform: scale(1.05);
}
.sr-featured-card:hover .sr-featured-image img {
    transform: scale(1.05);
}

.sr-featured-brand {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Car Content */
.sr-featured-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Title Row */
.sr-featured-title-row {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.sr-featured-car-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.sr-featured-car-type {
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}

/* Pricing */
.sr-featured-pricing {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sr-featured-price-daily {
    display: flex;
    align-items: baseline;
    margin-bottom: 5px;
}

.sr-price-amount {
    font-size: 28px;
    font-weight: 800;
    color: #000000;
}

.sr-price-label {
    font-size: 16px;
    color: #666;
    margin-left: 4px;
}

.sr-featured-price-weekly {
    display: flex;
    align-items: baseline;
}

.sr-weekly-amount {
    font-size: 18px;
    font-weight: 600;
    color: #444;
}

.sr-weekly-label {
    font-size: 14px;
    color: #888;
    margin-left: 4px;
}

/* Specs with SVG Icons */
.sr-featured-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.sr-featured-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.sr-spec-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: #000000;
}

.sr-spec-value {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
}

/* Action Buttons */
.sr-featured-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto;
}

.sr-featured-btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: block;
}

.sr-featured-btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.sr-featured-btn-details {
    background: #000000;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: block;
}

.sr-featured-btn-details:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* View All Button */
.sr-featured-view-all {
    text-align: center;
    margin-top: 30px;
}

.sr-view-all-btn {
    display: inline-block;
    background: #000000;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.sr-view-all-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* No Featured Cars */
.sr-no-featured {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #666;
    grid-column: 1 / -1;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .sr-featured-cars-section {
        padding: 0 15px;
    }
    
    .sr-featured-title {
        font-size: 32px;
    }
    
    .sr-featured-subtitle {
        font-size: 16px;
    }
    
    .sr-featured-cars-grid {
        gap: 20px;
    }
    
    .sr-price-amount {
        font-size: 24px;
    }
    
    .sr-weekly-amount {
        font-size: 16px;
    }
    
    .sr-spec-icon {
        width: 16px;
        height: 16px;
    }
}

/* Mobile - 2 columns, 10 cars */
@media (max-width: 768px) {
    .sr-featured-cars-section {
        margin: 40px auto 30px;
        padding: 0 15px;
    }
    
    .sr-featured-header {
        margin-bottom: 30px;
        padding: 0;
    }
    
    .sr-featured-title {
        font-size: 28px;
    }
    
    .sr-featured-subtitle {
        font-size: 15px;
    }
    
    /* Mobile: 2 columns, show 10 cars */
    .sr-featured-cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }
    
    /* Show only 10 cars on mobile (5 rows × 2 columns) */
    .sr-featured-cars-grid .sr-featured-card:nth-child(n+11) {
        display: none;
    }
    
    .sr-featured-image {
        height: 180px;
    }
    
    .sr-featured-content {
        padding: 15px;
    }
    
    .sr-featured-car-title {
        font-size: 17px;
    }
    
    .sr-featured-car-type {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .sr-price-amount {
        font-size: 22px;
    }
    
    .sr-price-label {
        font-size: 14px;
    }
    
    .sr-weekly-amount {
        font-size: 15px;
    }
    
    .sr-spec-icon {
        width: 16px;
        height: 16px;
    }
    
    .sr-spec-value {
        font-size: 12px;
    }
    
    .sr-featured-actions {
        gap: 10px;
    }
    
    .sr-featured-btn-whatsapp,
    .sr-featured-btn-details {
        padding: 10px;
        font-size: 13px;
    }
    
    .sr-view-all-btn {
        padding: 14px 30px;
        font-size: 15px;
        min-width: 180px;
    }
}

/* Small Mobile - 1 column */
@media (max-width: 480px) {
    .sr-featured-cars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Show 10 cars in single column on very small screens */
    .sr-featured-cars-grid .sr-featured-card:nth-child(n+11) {
        display: none;
    }
    
    .sr-featured-title {
        font-size: 24px;
    }
    
    .sr-featured-subtitle {
        font-size: 14px;
    }
    
    .sr-featured-image {
        height: 200px;
    }
    
    .sr-featured-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sr-spec-icon {
        width: 14px;
        height: 14px;
    }
}
@media (max-width: 768px) {
    .sr-featured-image {
        padding-bottom: 70%; /* Slightly rectangular on mobile */
    }
    
    .sr-featured-image img {
        object-position: center 15%;
    }
}