/* ==========================================
   DESKTOP STYLES (Modern & Animated)
   ========================================== */

.page-header {
    background: linear-gradient(45deg, var(--dark), #2a2a2a);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    border-bottom: 4px solid var(--gold);
}

.page-header h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Grid Layout: 1 Row me 2 Cars */
.car-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 40px 0;
}

/* Modern Car Card */
.car-box {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.car-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(197, 160, 33, 0.2);
    border-color: var(--gold);
}

/* Photo Alignment Fix */
.car-img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.car-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Isse image kabhi stretch nahi hogi aur center me rahegi */
    transition: transform 0.5s ease;
}

.car-box:hover .car-img img {
    transform: scale(1.1);
}

/* Info Section */
.car-info {
    padding: 30px;
    background: white;
    flex-grow: 1;
}

.car-info h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Modern Icons Styling */
.car-features {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature-item {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #eee;
}

.feature-item i {
    color: var(--gold);
    font-size: 1rem;
}

/* Price & Button Section */
.car-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.car-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
}

.car-price span {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==========================================
   MOBILE STYLES (Bottom)
   ========================================== */

@media (max-width: 992px) {
    .car-grid {
        grid-template-columns: 1fr; /* Mobile me 1 column display */
        padding: 20px;
    }
    
    .car-box {
        max-width: 500px;
        margin: 0 auto;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .car-img {
        height: 200px;
    }
    .car-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .btn-whatsapp {
      	
        width: 100%;
        justify-content: center;
    }
  	.btn-whatsapp i {
        font-size: 48px !important; 
        margin-right: 8px;
    }
}