
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.gallery-item {
    width: calc(33.333% - 20px); 
    max-width: 380px;
    box-sizing: border-box;
}


.gallery-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; 
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.gallery-card:hover {
    transform: translateY(-10px);
}


.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}


.fallback-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background-color: #f2f2f2;
    color: #888;
    font-size: 16px;
}


.card-body {
    padding: 15px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}


.gallery-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.btn-gallery {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    background-color: #D88A1F;    
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-gallery:hover {
    background-color: #ffffffe5; 
    color: black;
    border-radius: 5px;
    border: 1px solid #D88A1F; 
}

.btn-gallery {
    transition: all 0.3s ease;
}

@media (max-width: 1200px) {
    .gallery-container .col-lg-4 {
        flex: 0 0 33.3333%; 
    }
}

@media (max-width: 992px) {
    .gallery-item {
        width: calc(50% - 20px); 
    }
}

@media (max-width: 768px) {
    .gallery-item {
        width: 100%;
    }
}

/* ++++++++++++++++++++++++ */

#gallery-portfolio {
    background-color: #f9f9f9;
}

.gallery-card-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.gallery-card-item:hover {
    transform: translateY(-8px);
}

.image-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
    border-radius: 8px;
}

.image-wrapper:hover .gallery-card-image {
    transform: scale(1.05);
}

.no-image-placeholder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ddd;
    color: #666;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
}

/* Breadcrumbs Section */


.hero-header-area h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding: 0 8px;
    color: #999;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item.active a {
    color: #333;
    pointer-events: none;
}

.gallery-card-image:hover {
    transform: scale(1.05);
}

