/* COLASS - stiluri suplimentare ale designului nou (extrase din layout). */

    /* TODO: change collor for cookies btn */
       /*Cookie Consent Begin*/
    #cookieConsent {
        background-color: rgba(20, 20, 20, 0.8);
        min-height: 26px;
        font-size: 14px;
        color: #ccc;
        line-height: 26px;
        padding: 8px 0 8px 30px;
        font-family: "Trebuchet MS", Helvetica, sans-serif;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: none;
        z-index: 9999;
    }

    #cookieConsent a {
        color: #4B8EE7;
        text-decoration: none;
    }

    #closeCookieConsent {
        float: right;
        display: inline-block;
        cursor: pointer;
        height: 20px;
        width: 20px;
        margin: -15px 0 0 0;
        font-weight: bold;
    }

    #closeCookieConsent:hover {
        color: #FFF;
    }

    #cookieConsent a.cookieConsentOK {
        background-color: #f68a0a;
        color: #000;
        display: inline-block;
        border-radius: 5px;
        padding: 0 20px;
        cursor: pointer;
        float: right;
        margin: 0 60px 0 10px;
    }

    #cookieConsent a.cookieConsentOK:hover {
        background-color: #fcfcfc;
    }


    /*Cookie Consent End*/


    /* Stil comun pentru toate bannerele ce folosesc variabila --bg */
    .banner-two {
        background: var(--bg) center / cover no-repeat;
        min-height: 100vh; /* full screen pe desktop */
        position: relative;
    }

    /* Overlay opțional pentru lizibilitate (activează dacă vrei) */
    .banner-two::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .25); /* ajustează intensitatea dacă ai text deschis la culoare */
        pointer-events: none;
    }

    /* Mobile: mai mic decât 100vh dacă e nevoie */
    @media (max-width: 575.98px) {
        .banner-two {
            min-height: 70vh; /* evită viewport-urile mici prea înalte */
        }
    }


    .project-grid .project-card {
        display: flex;
        align-items: center;
    }

    /* Pătrat perfect + crop corect */
    .project-grid .project-thumb {
        position: relative;
        width: 220px; /* poți schimba la 100% pe mobile */
        aspect-ratio: 1 / 1; /* modern browsers */
        overflow: hidden;
        border-radius: 8px;
        flex: 0 0 auto;
    }

    /* Fallback pentru browsere fără aspect-ratio */
    @supports not (aspect-ratio: 1 / 1) {
        .project-grid .project-thumb {
            width: 220px;
        }

        .project-grid .project-thumb::before {
            content: "";
            display: block;
            padding-top: 100%;
        }

        .project-grid .project-thumb > img,
        .project-grid .project-thumb > a > img {
            position: absolute !important;
            inset: 0;
        }
    }

    .project-grid .project-thumb img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* centrează & taie frumos */
    }

    .project-grid .project-btn {
        position: absolute;
        bottom: 12px;
        right: 12px;
        z-index: 2;
    }

    .project-grid .project-info h6 {
        position: static; /* evită suprapuneri inutile */
        margin-top: .25rem;
    }

    /* Responsive tweaks */
    @media (max-width: 575.98px) {
        .project-grid .project-card {
            align-items: flex-start;
        }

        .project-grid .project-thumb {
            width: 100%;
            max-width: 100%;
        }

        .project-grid .project-info {
            padding-left: 0 !important;
            margin-top: .75rem;
        }
    }

    .hover-img-container {
        position: relative;
        overflow: hidden;
    }

    .hover-img-container img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
        z-index: 0;
        position: relative;
    }

    /* Overlay întunecat */
    .hover-img-container .dark-overlay {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4); /* setează intensitatea */
        z-index: 1;
        pointer-events: none; /* 🔥 NU blochează hover-ul pe imagine */
    }

    /* Efect de zoom doar pe imagine, fără să fie afectat overlay-ul */
    .hover-img-container:hover img {
        transform: scale(1.05);
    }


    .service-two-card::before,
    .service-two-card::after {
        background: none !important;
        pointer-events: none !important; /* permite click pe elementele de dedesubt */
    }


    /*custom style*/

    /* Stilul de bază pentru carduri */
    .service-two-card {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transition: background 0.4s ease-in-out, transform 0.4s ease-in-out;
    }

    /* Efectul de HOVER: Șterge imaginea și gradientul, pune doar portocaliul */
    .service-two-card:hover {
        background-image: none !important;
        background-color: var(--hover-bg, #f68a0a) !important;
        transform: translateY(-5px); /* Ridică puțin cardul */
    }

    .off-canvas-icon {
        color: #ec5306; /* Culoarea inițială a liniilor (alb) */
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .off-canvas-icon:hover {
        color: #f68a0a; /* Se face portocaliu la hover */
        transform: scale(1.05); /* Opțional: se mărește foarte puțin la hover */
    }


    /* Containerul imaginii */
    .dynamic-map-container {
        position: relative;
        display: inline-block;
    }

    /* Efectul de pulsare pentru imagine */
    .pulsing-effect {
        animation: mapPulse 2s infinite ease-in-out;
    }

    @keyframes mapPulse {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
        }
        50% {
            transform: scale(1.02);
            box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.1);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
        }
    }

    /* Butonul poziționat fix în centrul imaginii */
    .center-map-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        padding: 12px 25px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        transition: all 0.3s ease;
    }

    .center-map-btn:hover {
        transform: translate(-50%, -50%) scale(1.1);
    }

    /* STILIZARE MODAL FIXAT PE ECRAN */
    .custom-pdf-modal {
        display: none; /* Controlat din JS */
        position: fixed;
        /* Forțăm prioritatea maximă peste orice layout GSAP */
        z-index: 999999 !important;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(8px); /* Blurăm spatele */

        /* Centrare perfectă a conținutului */
        align-items: center;
        justify-content: center;
    }

    .pdf-modal-content {
        position: relative;
        background-color: #ffffff !important;
        width: 90%;
        max-width: 1200px;
        height: 85vh;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0,0,0,0.6);
        display: block;
        animation: fadeInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Forțăm iframe-ul să fie vizibil și să aibă dimensiune corectă */
    .pdf-modal-content iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: none;
    }

    @keyframes fadeInModal {
        from { opacity: 0; transform: scale(0.95); }
        to { opacity: 1; transform: scale(1); }
    }

    /* Butonul de închidere (X) */
    .close-pdf-modal {
        position: absolute;
        top: 15px;
        right: 25px;
        color: #000000;
        font-size: 38px;
        font-weight: bold;
        cursor: pointer;
        z-index: 100001; /* Peste iframe */
        transition: transform 0.2s, color 0.2s;
        line-height: 1;
    }

    .close-pdf-modal:hover {
        color: #f68a0a;
        transform: scale(1.1);
    }


/* ---- adaugiri pentru implementarea dinamica ---- */
.header-lang { display: inline-flex; gap: 6px; margin-right: 22px; }
.header-lang a { color: #fff; opacity: .65; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.header-lang a.active, .header-lang a:hover { opacity: 1; color: #f68a0a; }
.header-phone { color: #fff; font-weight: 600; margin-right: 26px; white-space: nowrap; }
.header-phone:hover { color: #f68a0a; }
.header-phone i { color: #f68a0a; margin-right: 6px; }
@media (max-width: 767px) { .header-phone { display: none; } }
.offcanvas .accordion-menu li a.active { color: #f68a0a; }
.inner-hero { min-height: 62vh !important; }
.inner-hero .home-two-hero-title { font-size: clamp(36px, 6vw, 84px); }
.breadcrumbs-colass { color: rgba(255,255,255,.75); font-size: 14px; margin-bottom: 18px; }
.breadcrumbs-colass a { color: #fff; } .breadcrumbs-colass a:hover { color: #f68a0a; }
.project-card-colass { display: block; }
.project-card-colass .pc-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.project-card-colass .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card-colass:hover .pc-img img { transform: scale(1.06); }
.project-card-colass .pc-cat { color: #f68a0a; font-weight: 500; margin-top: 18px; font-size: 15px; }
.project-card-colass .pc-title { color: #1e1e1e; font-weight: 700; line-height: 1.35; margin-top: 4px; font-size: 19px; }
.project-card-colass .pc-meta { color: #777; font-size: 14px; margin-top: 4px; }
.project-card-colass .pc-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.65); color: #fff; font-size: 13px; padding: 4px 10px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.filter-chips a { padding: 9px 20px; border: 1px solid #ddd; color: #1e1e1e; font-weight: 500; font-size: 15px; transition: all .25s; }
.filter-chips a.active, .filter-chips a:hover { background: #f68a0a; border-color: #f68a0a; color: #fff; }
.colass-pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.colass-pagination a, .colass-pagination span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ddd; color: #1e1e1e; font-weight: 600; padding: 0 12px; }
.colass-pagination .active { background: #f68a0a; border-color: #f68a0a; color: #fff; }
.colass-pagination .disabled { opacity: .4; }
.blog-card-colass { display: block; height: 100%; background: #fff; border: 1px solid #eee; transition: box-shadow .3s, transform .3s; }
.blog-card-colass:hover { box-shadow: 0 18px 40px rgba(0,0,0,.08); transform: translateY(-4px); }
.blog-card-colass .bc-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-colass .bc-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-colass .bc-body { padding: 24px 26px 28px; }
.blog-card-colass .bc-tag { color: #f68a0a; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.blog-card-colass .bc-title { color: #1e1e1e; font-weight: 700; font-size: 20px; line-height: 1.35; margin: 10px 0 12px; }
.blog-card-colass .bc-excerpt { color: #666; font-size: 15px; line-height: 1.6; }
.blog-card-colass .bc-meta { color: #999; font-size: 13px; margin-top: 16px; }
.article-body { font-size: 18px; line-height: 1.8; color: #333; }
.article-body h2 { font-size: 28px; font-weight: 700; margin: 42px 0 16px; color: #1e1e1e; }
.article-body h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: #1e1e1e; }
.article-body p { margin-bottom: 18px; }
.article-body ul { margin: 0 0 20px 0; padding-left: 0; list-style: none; }
.article-body ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 2px; background: #f68a0a; }
.article-body blockquote { border-left: 4px solid #f68a0a; padding: 14px 24px; margin: 28px 0; background: #fff6ec; font-weight: 500; }
.article-sidebar { position: sticky; top: 30px; }
.article-sidebar .side-box { border: 1px solid #eee; padding: 26px; margin-bottom: 26px; background: #fff; }
.side-box h5 { font-weight: 700; margin-bottom: 16px; }
.side-post { display: flex; gap: 14px; margin-bottom: 16px; color: #1e1e1e; }
.side-post img { width: 82px; height: 64px; object-fit: cover; flex-shrink: 0; }
.side-post span { font-weight: 600; font-size: 15px; line-height: 1.35; }
.side-post:hover span { color: #f68a0a; }
.form-colass .form-control, .form-colass .form-select { border-radius: 0; border: 1px solid #ddd; padding: 14px 18px; font-size: 16px; }
.form-colass .form-control:focus, .form-colass .form-select:focus { border-color: #f68a0a; box-shadow: none; }
.form-colass label { font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.form-ok { background: #ecfdf3; border-left: 4px solid #16a34a; padding: 16px 20px; margin-bottom: 24px; color: #14532d; }
.stage-item { border-top: 2px solid #f68a0a; padding-top: 22px; height: 100%; }
.stage-item .stage-nr { color: #f68a0a; font-weight: 700; font-size: 40px; line-height: 1; }
.faq-colass .accordion-button { font-weight: 700; font-size: 19px; padding: 22px 0; background: transparent; box-shadow: none; color: #1e1e1e; }
.faq-colass .accordion-button:not(.collapsed) { color: #f68a0a; }
.faq-colass .accordion-item { border: 0; border-bottom: 1px solid #e5e5e5; border-radius: 0 !important; }
.faq-colass .accordion-body { padding: 0 0 24px; font-size: 17px; line-height: 1.7; color: #555; }
.page-body h2 { font-size: 26px; font-weight: 700; margin: 34px 0 12px; }
.page-body p, .page-body li { font-size: 17px; line-height: 1.75; color: #444; }
.page-body ul { padding-left: 20px; list-style: disc; }
.service-body p { font-size: 18px; line-height: 1.8; color: #444; margin-bottom: 16px; }
.lightbox-img { max-height: 86vh; width: auto; max-width: 100%; margin: 0 auto; display: block; }
.square-img { aspect-ratio: 1 / 1; overflow: hidden; } .square-img img { object-fit: cover; width: 100%; height: 100%; }
.portfolio-thumb { cursor: pointer; transition: transform .3s ease; } .portfolio-thumb:hover { transform: scale(1.02); }
.testimonial-one-card h3 { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.45 !important; }
