/* Structure & Sizing for Landscaping Portfolio Gallery */
.lp-21fcc41c-container {
    width: 100%;
}

/* Filters Navigation */
.lp-21fcc41c-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.lp-21fcc41c-filter-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-21fcc41c-filter-btn:hover {
    /* Dynamics handled by Elementor styling settings */
}

/* Active styles are dynamically injected via Elementor Style controls (defaults: black bg, white text) */
.lp-21fcc41c-filter-btn.active {
    /* Dynamics handled by Elementor styling settings */
}

/* Gallery Grid */
.lp-21fcc41c-grid {
    display: grid;
    gap: 24px;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 991px) {
    .lp-21fcc41c-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 767px) {
    .lp-21fcc41c-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}

/* Portfolio Cards */
.lp-21fcc41c-item {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-21fcc41c-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    height: 320px;
}

.lp-21fcc41c-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.lp-21fcc41c-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lp-21fcc41c-card:hover img {
    transform: scale(1.1);
}

/* Overlay & Content on Hover */
.lp-21fcc41c-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 44, 30, 0.85); /* Deep forestry shade */
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lp-21fcc41c-card:hover .lp-21fcc41c-overlay {
    opacity: 1;
}

.lp-21fcc41c-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
    width: 100%;
}

.lp-21fcc41c-card:hover .lp-21fcc41c-content {
    transform: translateY(0);
}

.lp-21fcc41c-item-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.lp-21fcc41c-item-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.lp-21fcc41c-item-desc {
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}
