/**
 * FLEET GRID STYLES - Exact Inspector Structure
 * Matches reference site perfectly
 */

/* ============================================
   GRID LAYOUT
   ============================================ */
.limo-fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns Desktop */
    gap: 30px;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.limo-fleet-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.limo-fleet-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   CARD CONTAINER
   ============================================ */
.limo-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--e-global-color-primary, #d4af37);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.limo-card:hover {
    border-color: var(--e-global-color-primary, #d4af37);
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.5),
        0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-6px);
}

/* ============================================
   IMAGE STYLING (From Inspector)
   ============================================ */
.limo-card-image {
    height: 250px; /* Fixed height container */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000; /* Dark background */
    position: relative;
}

.limo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents stretching */
    padding: 20px; /* Gives the car breathing room */
    transition: transform 0.3s ease;
    will-change: transform;
}

.limo-card:hover .limo-card-image img {
    transform: scale(1.05);
}

/* REMOVE OVERLAYS */
.limo-card-image::before,
.limo-card-image::after {
    display: none !important; /* Force remove any text overlays */
}

/* ============================================
   CONTENT AREA
   ============================================ */
.limo-card-content {
    padding: 25px;
    background: #1a1a1a;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Title - Below Image */
.limo-card-title {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
    text-align: center;
}

/* Description */
.limo-card-desc {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    min-height: 80px;
}

/* ============================================
   SPECIFICATIONS
   ============================================ */
/* ============================================
   SPECIFICATIONS - Clean Text Style
   ============================================ */
.limo-specs-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 15px 0;
}

.limo-specs-row .spec-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cccccc; /* Light grey text */
    font-size: 0.9rem;
    font-weight: 500;
    border: none; /* Remove border */
    background: transparent; /* Remove background */
}

.limo-specs-row .spec-item i {
    color: #b89e50; /* Gold icons */
    font-size: 18px;
}


/* ============================================
   BUTTONS - Small and Sleek
   ============================================ */
.limo-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: auto;
}

.btn-book,
.btn-details {
    padding: 10px 20px; /* Small and sleek */
    text-align: center;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-book {
    background: var(--e-global-color-primary, #d4af37);
    color: #000;
    border: 2px solid var(--e-global-color-primary, #d4af37);
}

.btn-book:hover {
    background: transparent;
    color: var(--e-global-color-primary, #d4af37);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.btn-details {
    background: transparent;
    color: var(--e-global-color-primary, #d4af37);
    border: 2px solid var(--e-global-color-primary, #d4af37);
}

.btn-details:hover {
    background: var(--e-global-color-primary, #d4af37);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .limo-fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .limo-fleet-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px 15px;
    }
    
    .limo-card-image {
        height: 220px;
    }
    
    .limo-specs {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .limo-card-image {
        height: 200px;
    }

    .limo-card-content {
        padding: 20px;
    }

    .limo-card-title {
        font-size: 1.2rem;
    }
}

/* ============================================
   READ MORE LINK
   ============================================ */
.read-more-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.read-more-link:hover {
    color: #f4d03f;
    text-decoration: underline;
}
