/* 
* Isuzu Home Page Product Section Styles
* Improves the appearance of product cards on the home page
*/

/* Hero Video Section Styles */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.center-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    margin: 0;
    letter-spacing: 2px;
    text-align: center;
    z-index: 2;
    width: 100%;
}

.bottom-left-buttons {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-video .btn {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-video .btn-primary {
    background-color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(230, 46, 45, 0.3);
}

.hero-video .btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.hero-video .btn-primary:hover {
    background-color: #d41e1d;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 46, 45, 0.4);
}

.hero-video .btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive adjustments for hero video */
@media (max-width: 992px) {
    .hero-video {
        height: 80vh;
    }
    
    .bottom-left-buttons {
        bottom: 12%;
        left: 50%;
        transform: translateX(-50%);
        gap: 15px;
    }
    
    .hero-video .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 130px;
    }
}

@media (max-width: 768px) {
    .hero-video {
        height: 70vh;
    }
    
    .bottom-left-buttons {
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
        gap: 12px;
    }
    
    .hero-video .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .bottom-left-buttons {
        flex-direction: column;
        gap: 10px;
        bottom: 8%;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }
    
    .hero-video .btn {
        width: 100%;
        min-width: 140px;
        padding: 10px 15px;
    }
}

/* Isuzu Section Enhanced Styles */
.isuzu {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #555;
}

.section-intro .btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(230, 46, 45, 0.2);
}

/* Enhanced Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Enhanced Product Cards */
.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #ddd;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 20px 0 10px;
    padding: 0 20px;
}

.product-card p {
    padding: 0 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-card .btn {
    margin: 0 20px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-buttons {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
    margin-top: auto;
}

.product-buttons .btn {
    margin: 0;
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
}

.product-buttons .btn-primary {
    background-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(230, 46, 45, 0.2);
}

.product-buttons .btn-outline {
    border: 2px solid var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .product-card img {
        height: 250px;
    }
}
