/*
 Theme Name:   Construction Child
 Template:     construction
*/

:root {
    --buttons:#FFA500;
    --primary-color: #FF6B35;
    --secondary-color: #2c3e50;
    --title:#2c457f;
    --accent-color: #FF4500;
    --color-paragraph: #666;
    --font-family: 'Poppins', sans-serif;
}
#primary{
    padding-bottom: 0;
    padding-top: 0;
}
.service-card {
    background: white;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card .elementor-icon {
    color: var(--primary-color)!important;
    fill: var(--primary-color)!important;
}

.service-card h3 span{
    font-family: var(--font-family);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
h2 {
    font-size: 2.5rem !important;
    font-weight: 500 !important;
}
.service-card p {
    color: var(--color-paragraph);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-link .elementor-button {
    color: var(--primary-color) !important;
    background-color: transparent !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link .elementor-button:hover {
    color: var(--accent-color);
}

.cta-primary {
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-3px);
}

.post_home .slick-slide {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin: 25px;
    padding: 0 !important;
}
.post_home .slick-slide:hover {
    transform: translateY(-5px);
}

.post_home .slick-slide h3 a{
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--title);
    margin-bottom: 10px;
    padding: 0 45px;
    font-weight: 500;
}

.post_home .slick-slide p {
    color: var(--color-paragraph);
    font-size: 0.95rem;
    padding: 0 45px 60px;
}

.post_home .slick-slide .grid-more{
   display:none;
}
.title_home_cta h2{
    font-size: 3.8rem !important;
    font-weight: 500 !important;
    line-height: 90px !important;
}
.title_home_cta em {
  background: linear-gradient(90deg, #FF6B35, #FFA500) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
  position: relative !important;
}
.title_home_cta em::after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35, #FFA500);
    border-radius: 2px;
}

/* Despre noi */
.page-title-wrap{
    background: linear-gradient(135deg, #2c3e50, #3498db);
    padding: 100px 0;
    text-align: center;
}
.page-entry-title {
    color:#fff !important;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 25px;
}
.page-subtitle{
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    color: #ffffffd1;
    font-family: 'Open Sans', sans-serif;
}
.breadcrumbs {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    font-size: 0.9rem;
    /* position: absolute;
    top: 28rem;
    left: 42vw; */
}

.breadcrumbs  a {
    color: #FFA500;
    text-decoration: none;
}
.breadcrumbs .current-item{
    color: #fff;
}
.breadcrumbs span{
    margin-right: 10px;
}
.breadcrumbs a:after {
    right: -5px;
    top: 4px;
}
.breadcrumbs a:before {
    right: -7px;
    top: 3px;
}

#content-wrap {
    margin: 0;
    width: 100%;
    max-width: none;
    padding: 0;
}

/* Servicii */
.card_servicii .grid-item{
    background:#fff;
    border-radius:15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0 0 40px;
}
.card_servicii .grid-wrapper.grid-4-columns.grid-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card_servicii .grid-item .grid-thumbnail {
    margin-bottom: 20px;
    border-bottom: 5px solid var(--primary-color);
}
.card_servicii .grid-thumbnail img {
    border-radius: 15px 15px 0 0;
}
.card_servicii .grid-title a{
    margin-bottom: 10px;
    font-weight: 400;
    color: var(--primary-color)
}
.card_servicii h3,
.card_servicii p{
    padding: 0 25px;
}
.card_servicii p{
    margin-bottom: 2rem;
}

.grid-more{
    background: linear-gradient(90deg, #FF6B35, #FFA500);
    color: white;
    padding: 10px 20px;
    margin: 0px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pasi_proces .elementor-icon-box-title {
    color: #fff !important;
    background-color: #FFA500!important;
    border-radius: 50px;
    height: 5rem;
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.pasi_proces .elementor-icon-box-content {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}
.etichete .elementor-icon-list-item {
    background: #ffffff30;
    padding: 15px !important;
    border-radius: 15px;
}

/* Portofoliu */
.esg-filterbutton {
    padding: 0.5rem 2rem;
    background: transparent !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 50px;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}
 .esg-filterbutton.selected ,
.esg-filterbutton:hover {
    background: #f39c12 !important;
    border-color: #f39c12 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}
.esg-entry-media-wrapper-even {
    border-radius: 15px;
}
.esg-media-cover-wrapper{
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.eg-wpc_projects-element-1 {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    border: none;
    border-radius: 25px !important;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    padding: 0.4rem 1.5rem !important;
}
.eg-wpc_projects-element-1 p {
    margin-bottom: 0 !important;
}
.esg-entry-cover .esg-overlay{
    border-radius: 15px;
}
.right-sidebar .content-area{
    padding-left: 40px;
}

/* Blog */
.site-main.blog {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 100px 200px;
}
.site-main.blog article {
    background: white;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.site-main.blog article .entry-header,
.site-main.blog article .entry-content {
    padding: 0 25px;
}
.site-main.blog article .entry-content{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.site-main.blog article .entry-content p:first-child{
  flex-grow: 1;
}
.site-main.blog article .more-link {
    margin-top: auto;
    display: block;
    color:var(--primary-color) !important;
}
.site-main.blog .entry-meta span:not(:last-child)::after {
    content: " | ";
}
.site-main.blog .entry-title a{
    font-size: 1.3vw;
    font-weight: 400;
    font-family: 'Poppins' !important;
    color: var(--title)!important;
}
.site-main.blog .post-thumbnail img{
    border-bottom: 4px solid var(--primary-color);
    border-radius: 15px 15px 0 0 ;
}
.tax-portfolio_category .entry-title a{
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    border: none;
    border-radius: 25px !important;
    font-weight: 400;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.3rem;
    padding: 0.4rem 1.5rem !important;
}
.tax-portfolio_category .entry-title {
    font-size: 28px;
    margin: 2rem 6rem;
}
.tax-portfolio_category .post-thumbnail {
    display:none;
}
.category .content-area,
.post-template-default .content-area,
.page-template-default .content-area,
.portfolio-template-default .content-area{
    padding: 40px 100px !important;
}
.page-id-1508 .content-area,
.page-id-590 .content-area,
.page-id-1507 .content-area{
    padding: 0 !important;
}
.category .entry-title a{
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--title) !important;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}
.category .entry-title {
    position:relative;
    margin-bottom: 1.5rem;
}
.category .entry-title::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    border-radius: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--buttons));
    transition: width 0.3s ease;
}
.category .entry-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    margin-bottom: 2rem;
}
.category .entry-meta .byline ,
.category .entry-meta .posted-on ,
.category .entry-meta .comments-link {
   display: flex;
    gap: 0.5rem;
    position: relative;
}
.category .entry-meta .byline::before ,
.category .entry-meta .posted-on::before ,
.category .entry-meta .comments-link::before {
    content: '';
    width: 16px;
    height: 16px;
    opacity: 0.7;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 4px;
}
.category .vcard{
    margin-bottom: 0;
}

.category .entry-meta .byline::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.category .entry-meta .posted-on::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");
}

.category .entry-meta .comments-link::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M21.99 4c0-1.1-.89-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM18 14H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/%3E%3C/svg%3E");
}

/* Sidebar */
#wpc_posts-1, #categories-2 {
    position: relative;
}

#wpc_posts-1:not(:last-child)::after ,
#categories-2:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e4e7, transparent);
}
.sidebar .wp-block-heading, .sidebar .widget-title {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--title);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar .wp-block-heading::before ,
.sidebar .widget-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}
.sidebar .widget-posts-list{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sidebar .widget-posts-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-color: #f7be6817;
}

.sidebar .widget-posts-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 69, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar .widget-posts-list li:hover::before {
    opacity: 1;
}

.sidebar .widget-posts-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
}
.sidebar .widget_wpc_posts img{
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.sidebar .widget_wpc_posts a{
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.4;
    transition: color 0.3s ease;
}
.sidebar .widget-posts-list li:hover a {
    color: var(--primary-color);
}
.sidebar #categories-2 ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar #categories-2 ul .cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sidebar #categories-2 ul .cat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(255, 165, 0, 0.1), rgba(255, 107, 53, 0.1));
    transition: width 0.3s ease;
}

.sidebar #categories-2 ul .cat-item:hover::before {
    width: 100%;
}

.sidebar #categories-2 ul .cat-item:hover {
    transform: translateX(4px);
    color: var(--primary-color);
}
.tagcloud a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    color: var(--secondary-color);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 165, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.tagcloud a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.tagcloud a:hover::before {
    left: 100%;
}

.tagcloud a:hover {
    background: linear-gradient(135deg, var(--buttons), var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    border-color: transparent;
}

/* Contact */
.contact_form_div label {
    font-weight: 600;
    color: var(--title);
    font-size: 1rem;
    margin: 0px 6px;
}

.contact_form_div input,
.contact_form_div textarea {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    background: #f8f9fa;
    margin-top: 5px
}

.contact_form_div input:focus,
.contact_form_div textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact_form_div textarea {
    height: 120px;
    resize: vertical;
}

.contact_form_div .wpcf7-submit{
    background: linear-gradient(135deg, var(--buttons), var(--primary-color));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact_form_div .wpcf7-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: left 0.3s ease;
}

.contact_form_div .wpcf7-submit:hover::before {
    left: 0;
}

.contact_form_div .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
}
.contact_info h4.elementor-heading-title{
    position: relative;
}
.contact_info h4.elementor-heading-title::before{
    content: '';
    width: 4px;
    height: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--buttons));
    border-radius: 2px;
    position: absolute;
    left: -10px;
}
.carousel-prev, .carousel-next{
    display:none !important;
}

@media only screen and (max-width: 767px) {
    h2 {
        font-size: 1.8rem !important;
    }
    .post_home .slick-slide h3 a {
        font-size: 0.9rem;
    }
    .title_home_cta h2 {
        font-size: 2rem !important;
        line-height: 45px !important;
    }
    .category .content-area, .post-template-default .content-area, .page-template-default .content-area, .portfolio-template-default .content-area{
        padding: 40px 20px !important;
    }
    #secondary{
        display:none;
    }
    .wpc-projects-light .esg-filterbutton{
        margin-right: 5px !important;
        margin-bottom: 8px;
        font-size: 10px !important;
    }
    .site-main.blog{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
        padding: 50px 20px;
    }
    .site-main.blog .entry-title a
    {
        font-size: 4vw;
        font-weight: 600;
    }
    .breadcrumbs,
    .breadcrumbs .container {
        display: flex !important;
        flex-direction: column;
    }
    .form_1_2,.form_1_2.last{
        margin-bottom: 0px;
    }
    .contact_form_div label{
        font-size: 0.8rem;
    }
    .contact_form_div input, .contact_form_div textarea,.contact_form_div .wpcf7-submit{
        font-size: 0.7rem;
    }
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .title_home_cta h2 {
        font-size: 2rem !important;
        line-height: 45px !important;
    }
    #secondary{
        display:none;
    }
    .site-main.blog{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
        padding: 50px;
    }
    .site-main.blog .entry-title a
    {
        font-size: 3vw;
        font-weight: 600;
    }
    .form_1_2,.form_1_2.last{
        margin-bottom: 0px;
    }
    .contact_form_div .wpcf7-submit{
        font-size: 0.7rem;
    }
}
@media only screen and (min-width: 993px) and (max-width: 1471px) {
    .site-main.blog{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 50px;
    }
    .site-main.blog .entry-title a
    {
        font-size: 2vw;
        font-weight: 600;
    }
}