/**
* Theme Name: Rebuilto Child
* Description: This is a child theme of Rebuilto, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: rebuilto
* Version: 1.1.1
*/

.service-item.service-style-1 .service-post-thumbnail img{
    filter: none;
}

.elementor-style-effect-yes.elementor-service-style-1 .d-grid .grid-item {
	margin: 0 1px;
}

.elementor-20 .elementor-element.elementor-element-9ca1b0b .elementor-brand-image img {
	opacity: 1;
}

.single-rebuilto_project.rebuilto_project-template-default #page .site-content {
	margin-top: 0px;
}



/* =========== Header ========== */


img.hfe-site-logo-img.elementor-animation- {
    width: 20%;
}

.single-rebuilto_project img.hfe-site-logo-img.elementor-animation- {
    width: auto;
}

.breadcrumb-wrap {
    position: relative;
}

.breadcrumb-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Light black overlay - adjust opacity as needed */
    z-index: 1;
    pointer-events: none; /* Allows clicks to pass through */
}

.breadcrumb-wrap > * {
    position: relative;
    z-index: 2; /* Ensures content appears above overlay */
}


/* =========== Footer ========== */

footer img.hfe-site-logo-img.elementor-animation- {
    width: 60%;
}

/* =========== Home Page ========== */

.elementor-teambox-item .team-name { 

	font-size: 14px;

}


/* ======== Project Page - Card Design (Image 2 Style) ========== */

.project-item.project-style-2 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-item.project-style-2:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.project-item.project-style-2 .project-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image Section */
.project-item.project-style-2 .project-post-thumbnail {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f0f0f0;
}

.project-item.project-style-2 .project-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item.project-style-2:hover .project-post-thumbnail img {
    transform: scale(1.05);
}

/* Status Badge (Top Left - Green) */
.project-status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E8F5E9;
    color: #2E7D32;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    z-index: 2;
}

.project-status-badge svg {
    width: 16px;
    height: 16px;
}

/* Category Badge (Top Right - Dark) */
.project-category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #283345;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Content Card */
.project-content-card {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Location */
.project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.project-location svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Project Title */
.project-title-card {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.project-title-card a {
    color: #283345;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title-card a:hover {
    color: #ebc429;
}

/* Description */
.project-description {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

/* Feature Tags */
.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-feature-tag {
    display: inline-block;
    background: #F5F5F5;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.project-feature-tag:hover {
    background: #FFF9E6;
    color: #283345;
}

/* Action Buttons */
.project-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.project-actions .btn-primary,
.project-actions .btn-secondary {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

/* Primary Button - Yellow */
.project-actions .btn-primary {
    background: #ebc429;
    color: #fff;
    border-color: #ebc429;
}

.project-actions .btn-primary:hover {
    background: #d4ad1f;
    border-color: #d4ad1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 196, 41, 0.3);
}

/* Secondary Button - Outlined Dark */
.project-actions .btn-secondary {
    background: #fff;
    color: #283345;
    border-color: #283345;
}

.project-actions .btn-secondary:hover {
    background: #283345;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-item.project-style-2 .project-post-thumbnail {
        height: 240px !important;
    }
    
    .project-content-card {
        padding: 20px;
    }
    
    .project-title-card {
        font-size: 20px;
    }
    
    .project-description {
        font-size: 14px;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .project-actions .btn-primary,
    .project-actions .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .project-status-badge,
    .project-category-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .project-feature-tag {
        font-size: 12px;
        padding: 5px 10px;
    }
}


/* ===== BASIC PROJECT SEARCH STYLES ===== */

.project-search-form {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.project-search-form .ct-form {
    max-width: 100%;
}

.project-search-form .row {
    margin-bottom: 15px;
}

.project-search-form .column-search {
    width: 100%;
}

.project-search-form .column-search p {
    margin: 0;
}

.project-search-form .wpcf7-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
    box-sizing: border-box;
}

.project-search-form .wpcf7-form-control:focus {
    outline: none;
    border-color: #007cba;
}

.project-search-form .search-results-info {
    margin-top: 15px;
    padding: 10px 15px;
    background: #e3f2fd;
    border-left: 3px solid #007cba;
    border-radius: 3px;
}

.project-search-form .search-results-info p {
    margin: 0;
    font-style: italic;
    color: #1976d2;
}

/* Mobile */
@media (max-width: 768px) {
    .project-search-form {
        padding: 15px;
    }
    
}