/* Modern Project Gallery Styles */

/* Hover Zoom Effect */
.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

/* Listing Page Cards */
.mpg-card {
    border: none;
    transition: box-shadow 0.3s ease;
    height: 100%;
    border-radius: 0;
    /* Remove radius to match red header screenshot style */
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mpg-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.mpg-card-header {
    background-color: #8c6a4f;
    /* Red color from screenshot */
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    min-height: 60px;
    /* Ensure 2 lines fit */
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpg-card-img-wrapper {
    position: relative;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.mpg-card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mpg-card-footer {
    padding: 15px;
    text-align: center;
    background: white;
    border-top: 1px solid #eee;
}

.mpg-btn-view {
    color: #8c6a4f;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #8c6a4f;
    padding: 8px 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.mpg-btn-view:hover {
    background: #8c6a4f;
    color: white;
    text-decoration: none;
}

/* Single Page Grid */
.mpg-gallery-grid img {
    cursor: pointer;
    width: 100%;
    height: 200px;
    /* Fixed height for consistent grid */
    object-fit: cover;
    border: 4px solid #8c6a4f;
    /* Red border from screenshot */
    transition: opacity 0.3s;
}


.mpg-gallery-grid img:hover {
    opacity: 0.9;
}

.text-primary-dark {
    color: #174e4f;
    /* Deep blue often used in corporate sites */
}