/* Biztos Fakivágás – saját réteg a Leafix main.css fölött */

/* Egységes, visszafogott színvilág: egy zöld + semleges tónusok. A sablon lime
   és élénkzöld színét a --theme / --theme-3 felülírása tünteti el mindenhonnan. */
:root {
    --theme: #DDE5D6;
    --theme-2: #1E4D2B;
    --theme-3: #1E4D2B;
    --header: #1B2A20;
    --text: #4A524C;
    --bg: #F5F4EE;
    --bg2: #F5F4EE;
    --bf-line: #E4E3DB;
    --bf-green-dark: #173D22;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

@media (max-width: 575px) {
    .container {
        padding-inline: 16px;
    }
}

/* ---------- Gombok: mindenhol ugyanaz, kitöltő animáció nélkül ---------- */
.theme-btn {
    background-color: var(--theme-2);
    color: var(--white);
    border-radius: 10px;
    transition: none;
}
.theme-btn::before,
.theme-btn:hover::before {
    display: none;
}
.theme-btn:hover,
.header-1 .header-right .theme-btn:hover {
    background-color: var(--bf-green-dark);
    color: var(--white);
}
.theme-btn.style-2,
.theme-btn.style-2:hover {
    background-color: transparent;
    color: var(--theme-2);
    box-shadow: inset 0 0 0 1.5px var(--theme-2);
}
.bf-footer .theme-btn,
.bf-footer .theme-btn:hover {
    background-color: var(--white);
    color: var(--theme-2);
}
.back-to-top:hover {
    background-color: var(--theme);
    color: var(--header);
}

/* ---------- Logó ---------- */
.header-1 .logo img,
.offcanvas__logo img,
.footer-logo img {
    width: 250px;
    height: auto;
}
@media (max-width: 1199px) {
    .header-1 .logo img {
        width: 220px;
    }
}
@media (max-width: 575px) {
    .header-1 .logo img,
    .offcanvas__logo img {
        width: 180px;
    }
}

/* ---------- Fejléc ---------- */
.header-1 {
    position: sticky;
    top: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--bf-line);
}
.header-1.sticky {
    position: sticky !important;
    background-color: var(--white);
    animation: none;
    transition: none;
}
.header-1 .mean__menu-wrapper {
    background: none;
    padding: 0;
}
.header-1 .sidebar__toggle span {
    background-color: var(--header);
}
.header-1 .header-right .contact-info p {
    color: var(--text);
}
.header-1 .header-right .contact-info .number {
    color: var(--header);
}
.header-1 .header-right .contact-info .number i {
    color: var(--theme-2);
    margin-right: 6px;
}
.header-1 .header-main .main-menu ul li a {
    text-transform: none;
    font-weight: 500;
    color: var(--header);
}
.header-main .main-menu ul li a:hover,
.header-main .main-menu ul li:hover > a,
.header-main .main-menu ul li .submenu li a:hover,
.header-main .main-menu ul li .submenu li:hover > a {
    color: var(--theme-2) !important;
}
@media (max-width: 1599px) {
    .header-1 .header-left {
        gap: 36px;
    }
    .header-main .main-menu ul li {
        margin-inline-end: 24px;
    }
    .header-1 .header-right {
        gap: 20px;
    }
}
@media (max-width: 1365px) {
    .header-1 .header-right .contact-info {
        display: none;
    }
}

/* ---------- Hero ---------- */
@media (min-width: 1200px) {
    .header-1 .container {
        padding-inline: clamp(24px, 3vw, 56px);
    }
}
.bf-hero {
    background-color: var(--bg);
    padding: 72px 0;
}
.bf-hero .sub-title {
    display: block;
    margin-bottom: 14px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    color: var(--theme-2);
}
.bf-hero .title {
    font-size: clamp(36px, 4.4vw, 60px);
    line-height: 1.08;
    color: var(--header);
}
.bf-hero .text {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.6;
}
.bf-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}
.bf-hero-note {
    margin: 18px 0 0;
    font-size: 15px;
}
.bf-hero-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
}
@media (max-width: 991px) {
    .bf-hero {
        padding: 44px 0;
    }
}
@media (max-width: 575px) {
    .bf-hero .bf-hero-btns .theme-btn {
        width: 100%;
        text-align: center;
    }
}

/* ---------- Bemutatkozás ---------- */
.about-thumb-style-1 {
    padding: 0;
}
.about-thumb-style-1::before {
    display: none;
}
.about-thumb-style-1 .thumb {
    height: auto;
}
.about-thumb-style-1 .thumb > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 30%;
}
@media (min-width: 992px) {
    /* a kép a szövegoszlop teljes magasságát kitölti */
    .about-thumb-style-1,
    .about-thumb-style-1 .thumb,
    .about-thumb-style-1 .thumb > img {
        height: 100%;
    }
    .about-thumb-style-1 .thumb > img {
        aspect-ratio: auto;
    }
}
.about-content-style-2 .thumb {
    height: auto;
}
.about-content-style-2 .thumb img,
.about-content-style-2:hover .thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center 40%;
    transform: none;
    transition: none;
}
.about-content-style-2 .about-text {
    margin-bottom: 14px;
}
@media (max-width: 991px) {
    /* mobilon a számok a kép alá kerülnek, nem lógnak rá és nem tolják szét a tartalmat */
    .about-thumb-style-1 .thumb .counter-list-box {
        position: static;
        display: flex;
        justify-content: space-around;
        gap: 16px;
        margin-top: 16px;
        padding: 18px 12px;
        background-color: var(--bg);
    }
    .about-thumb-style-1 .thumb .counter-list-box .counter-items {
        margin-top: 0;
        padding-bottom: 0;
        border-bottom: 0;
    }
    .about-content-style-2.style-about-one {
        margin-left: 0;
    }
    .about-content-style-2 .thumb {
        margin-bottom: 30px;
    }
}

/* ---------- Szolgáltatások ---------- */
.section-bg-2,
.service-section {
    background-color: var(--bg);
}
.service-box-items {
    height: 100%;
}
.service-box-items .icon-area .icon i {
    font-size: 32px;
    color: var(--theme-2);
}
.service-box-items .icon-area .icon,
.service-box-items:hover .icon-area .icon {
    background-color: var(--bg);
    animation: none;
}
.service-box-items .thumb img,
.service-box-items .thumb img:first-child,
.service-box-items:hover .thumb img:first-child {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 350 / 170;
    object-fit: cover;
    transform: none;
    filter: none;
    opacity: 1;
    transition: none;
}
.service-box-items:hover .link-btn i {
    background-color: var(--theme);
    color: var(--header);
}
.bf-service-cta {
    background-color: var(--theme);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}
.bf-service-cta p {
    border-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
}
.bf-service-cta .theme-btn {
    align-self: flex-start;
}

/* ---------- Munkáim ---------- */
.work-process-box-items .icon i {
    font-size: 44px;
    color: var(--theme-2);
}
.work-process-box-items .number,
.work-process-box-items:hover .number {
    background-color: var(--bg);
    color: var(--header);
}
.project-section {
    margin-top: 0;
}
.project-section::before {
    max-width: none;
    border-radius: 0;
    background: var(--bg);
}
.project-section::after {
    display: none;
}
.bf-slider-nav {
    display: flex;
    gap: 12px;
}
.bf-slider-nav button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(30, 77, 43, 0.3);
    color: var(--theme-2);
    transition: none;
}
.bf-slider-nav button:hover {
    background: var(--theme);
}
.project-section .section-title-area {
    margin-bottom: 24px;
}
/* A Swiper indulása előtt is a végleges méret: különben a galéria előbb óriási,
   majd összezsugorodik, és a horgonyos linkek (/#terulet) rossz helyre ugranak. */
.project-slider:not(.swiper-initialized) .swiper-slide {
    width: 84%;
    margin-right: 24px;
}
@media (min-width: 768px) {
    .project-slider:not(.swiper-initialized) .swiper-slide {
        width: 44%;
    }
}
@media (min-width: 992px) {
    .project-slider:not(.swiper-initialized) .swiper-slide {
        width: 34%;
    }
}
@media (min-width: 1200px) {
    .project-slider:not(.swiper-initialized) .swiper-slide {
        width: 28%;
    }
}
@media (min-width: 1400px) {
    .project-slider:not(.swiper-initialized) .swiper-slide {
        width: 24%;
    }
}
.project-section .project-wrapper {
    padding: 0 16px;
}
.bf-photo {
    display: block;
    cursor: zoom-in;
}
.bf-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 410 / 490;
    object-fit: cover;
    border-radius: 16px;
}
.bf-photo-tag {
    margin: 14px 0 2px;
    font-size: 14px;
    color: var(--text);
}
.bf-photo-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

/* ---------- Terület ---------- */
.bf-area-illustration {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
.bf-area-text {
    margin: 20px 0 22px;
}
.bf-area-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.bf-area-chips li {
    background: var(--bg);
    color: var(--header);
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
}
.bf-area-more {
    font-weight: 600;
    color: var(--header);
    margin: 0;
}

/* ---------- Ajánlatkérés ---------- */
.bf-contact {
    background-color: var(--bg);
    border-top: 1px solid var(--bf-line);
}
.bf-contact-portrait {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 20px;
    margin-bottom: 30px;
}
.contact-left-content .section-title .sub-title {
    color: var(--theme-2);
}
.contact-left-content .contact-text {
    color: var(--text);
    border-bottom-color: var(--bf-line);
}
.contact-left-content .contact-text strong {
    color: var(--header);
}
.contact-left-content .icon-items {
    margin-top: 24px;
}
.contact-left-content .icon-items .content p a {
    color: var(--header);
}
.contact-left-content .icon-items:hover .icon i {
    animation: none;
}
@media (max-width: 991px) {
    .bf-contact-portrait {
        max-width: 360px;
        aspect-ratio: 1;
        object-position: center 25%;
    }
}
.contact-form-box-2 .form-clt label,
.bf-services legend {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--header);
    margin-bottom: 6px;
}
.bf-optional {
    font-weight: 400;
    color: var(--text);
}
.contact-form-box-2 .form-clt input,
.contact-form-box-2 .form-clt textarea {
    text-transform: none;
    padding: 15px 18px;
    border: 1px solid #ECEBE5;
}
.contact-form-box-2 .form-clt input:focus,
.contact-form-box-2 .form-clt textarea:focus {
    color: var(--header);
    outline: none;
    border-color: var(--theme-3);
    background: #fff;
}
.contact-form-box-2 .form-clt textarea {
    padding-bottom: 15px;
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}
.contact-form-box-2 .is-invalid {
    border-color: #D93025 !important;
}
.bf-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bf-services legend {
    width: 100%;
    float: none;
}
.bf-services label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid #ECEBE5;
    background: var(--bg);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}
.bf-services label:has(input:checked) {
    background: var(--theme);
    border-color: var(--theme);
    color: var(--header);
}
.bf-services input {
    accent-color: var(--theme-2);
}

.bf-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 22px 16px;
    border: 2px dashed rgba(15, 84, 30, 0.3);
    border-radius: 12px;
    background: var(--bg2);
    cursor: pointer;
    transition: all 0.2s;
}
.bf-dropzone i {
    font-size: 30px;
    color: var(--theme-2);
}
.bf-dropzone span {
    color: var(--header);
}
.bf-dropzone small {
    font-size: 13px;
    line-height: 1.4;
}
.bf-dropzone:hover,
.bf-dropzone.is-drag {
    border-color: var(--theme-3);
    background: var(--theme);
}
.bf-dropzone.is-full {
    opacity: 0.5;
    pointer-events: none;
}
#q-photos:focus-visible + .bf-previews,
#q-photos:focus-visible ~ .bf-previews {
    outline: none;
}
.bf-previews {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.bf-previews:empty {
    display: none;
}
.bf-previews li {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bf-previews img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bf-previews button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 13px;
    line-height: 24px;
}
@media (max-width: 575px) {
    .bf-previews {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bf-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.bf-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}
.bf-consent input {
    margin-top: 3px;
    accent-color: var(--theme-2);
}
.bf-consent a {
    color: var(--theme-2);
    text-decoration: underline;
}
.bf-form-status {
    min-height: 0;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--theme-2);
}
.bf-form-status:empty {
    margin: 0;
}
.bf-form-status.is-error {
    color: #D93025;
}
.contact-form-box-2 button[disabled] {
    opacity: 0.6;
    cursor: wait;
}
.bf-form-success {
    text-align: center;
}
.bf-form-success i {
    font-size: 64px;
    color: var(--theme-3);
    margin-bottom: 16px;
}

/* ---------- Lábléc ---------- */
.bf-footer {
    background-color: var(--theme-2);
    padding-top: 60px;
}
.bf-footer::before {
    display: none;
}
.bf-footer .footer-top-wrapper {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.bf-footer .footer-top-wrapper .text {
    color: rgba(255, 255, 255, 0.8);
}
.bf-footer .footer-bottom-area p,
.bf-footer .footer-bottom-area a {
    color: rgba(255, 255, 255, 0.75);
}
.bf-footer .footer-bottom-area a:hover {
    color: var(--theme);
}

/* ---------- Jogi aloldal, 404 ---------- */
.bf-legal h2 {
    font-size: 24px;
    margin: 32px 0 12px;
}
.bf-legal ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 16px;
}
.bf-legal p {
    margin-bottom: 14px;
}
.bf-404-title {
    font-size: 24px;
    margin: 48px 0 16px;
}
.bf-link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.bf-link-list a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--bg);
    color: var(--theme-2);
    font-weight: 600;
}
.bf-btn-dark.theme-btn {
    background-color: var(--theme-2);
    color: var(--white);
}

/* ---------- Aloldalak: fejléc, menü ---------- */
.breadcrumb-wrapper {
    background-color: var(--bg);
}
.breadcrumb-wrapper::before {
    display: none;
}
.breadcrumb-wrapper .page-heading {
    padding: 64px 0 52px;
}
.breadcrumb-wrapper .page-heading .breadcrumb-title {
    color: var(--header);
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.1;
}
.breadcrumb-wrapper .page-heading .breadcrumb-list {
    flex-wrap: wrap;
}
.breadcrumb-wrapper .page-heading .breadcrumb-list li,
.breadcrumb-wrapper .page-heading .breadcrumb-list li a {
    color: var(--text);
    font-weight: 500;
}
.header-main .main-menu ul li.active > a,
.header-main .main-menu ul li .submenu li.active > a {
    color: var(--theme-2);
    font-weight: 600;
}
.header-main .main-menu ul li .submenu li a {
    text-transform: none;
}
.header-main .main-menu ul li .submenu li.bf-submenu-more {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--bf-line);
}
.header-main .main-menu ul li .submenu li.bf-submenu-more a {
    font-size: 15px;
    color: var(--theme-2);
    font-weight: 600;
}

/* ---------- Szolgáltatás- és településoldalak ---------- */
.service-details-left-content .service-details-thumb img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center 30%;
}
.service-details-left-content .service-thumb img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.service-details-left-content .service-list .service-items a {
    color: var(--header);
}
.service-details-left-content .service-list .service-items a::after {
    content: " →";
    color: var(--theme-3);
}
.service-details-left-content .service-list .service-items:hover a {
    color: var(--theme-2);
}
.service-details-left-content .bf-area-chips li {
    font-size: 14px;
    padding: 4px 12px;
}
.bf-check-list {
    margin: 16px 0;
}
.bf-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}
.bf-check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--theme-3);
}
.service-main-sidebar {
    position: sticky;
    top: 110px;
}
.service-main-sidebar .sidebar-box .service-list li.active a {
    color: var(--theme-3);
    font-weight: 600;
}
.service-main-sidebar .sidebar-box .service-list li a {
    color: var(--header);
}
.service-main-sidebar .sidebar-box .title {
    background-color: var(--theme);
    color: var(--header);
}
.service-main-sidebar .talk-content .title,
.service-main-sidebar .talk-content .title-2 {
    color: var(--white);
}
.service-main-sidebar .talk-content .icon-items:hover .icon i {
    animation: none;
}
.service-main-sidebar .talk-content .theme-btn,
.service-main-sidebar .talk-content .theme-btn:hover {
    background-color: var(--white);
    color: var(--theme-2);
}
@media (max-width: 991px) {
    .service-main-sidebar {
        position: static;
    }
}

/* ---------- GYIK ---------- */
.bf-faq-intro {
    margin: 20px 0 26px;
}
.bf-faq {
    background: var(--bg);
    border-radius: 12px;
    margin-bottom: 12px;
}
.bf-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 56px 18px 22px;
    position: relative;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: var(--header);
}
.bf-faq summary::-webkit-details-marker {
    display: none;
}
.bf-faq summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: var(--theme);
    color: var(--header);
    font-size: 18px;
}
.bf-faq[open] summary::after {
    content: "–";
}
.bf-faq-a {
    padding: 0 22px 18px;
}
.bf-faq-a p {
    margin: 0;
}

/* ---------- Terület: kattintható települések ---------- */
.bf-area-chips li:has(a) {
    padding: 0;
}
.bf-area-chips li a {
    display: block;
    padding: 6px 14px;
    color: var(--theme-2);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Lábléc linkek ---------- */
.bf-footer-links {
    padding: 40px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.bf-footer-title {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 16px;
}
.bf-footer-links li {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}
.bf-footer-links a {
    color: rgba(255, 255, 255, 0.75);
}
.bf-footer-links a:hover {
    color: var(--theme);
}
.bf-footer-links i {
    color: var(--theme);
    width: 20px;
}
.bf-footer .footer-top-wrapper {
    padding-bottom: 40px;
}

/* ---------- Mobil menü almenük ---------- */
.mean-container .mean-nav ul li li a {
    white-space: normal;
    text-transform: none;
    padding-right: 10px;
}
