/* Tablet logo */
@media (max-width: 991px) {
    .site-branding .pbmit-main-logo,
    .site-branding .pbmit-sticky-logo,
    header .pbmit-main-logo,
    header .pbmit-sticky-logo {
        max-width: 200px !important;
        width: auto !important;
        height: auto !important;
    }
}

/* Mobile logo */
@media (max-width: 575px) {
    .site-branding .pbmit-main-logo,
    .site-branding .pbmit-sticky-logo,
    header .pbmit-main-logo,
    header .pbmit-sticky-logo {
        max-width: 180px !important;
        width: auto !important;
        height: auto !important;
    }
}

/* ============== Slider Responsive Yazılar ============== */

.pbmit-slider-content {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.pbmit-slider-title,
.pbmit-slider-subtitle,
.pbmit-slider-desc {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal !important;
}

.pbmit-slider-title {
    font-size: clamp(24px, 6vw, 80px) !important;
    line-height: 1.15 !important;
}

.pbmit-slider-subtitle {
    font-size: clamp(13px, 1.6vw, 18px) !important;
}

.pbmit-slider-desc {
    font-size: clamp(13px, 1.4vw, 16px) !important;
    line-height: 1.5 !important;
}

@media (max-width: 991px) {
    .pbmit-slider-title br,
    .pbmit-slider-desc br {
        display: none;
    }
}

/* ============== Slider Buton Mobile Scaling ============== */

@media (max-width: 991px) {
    .pbmit-slider-content .pbmit-btn {
        transform: scale(0.85);
        transform-origin: left center;
    }
}

@media (max-width: 575px) {
    .pbmit-slider-content .pbmit-btn {
        transform: scale(0.7);
    }
}

@media (max-width: 380px) {
    .pbmit-slider-content .pbmit-btn {
        transform: scale(0.6);
    }
}

/* ============== Coming Soon Badge ============== */

.pbmit-coming-soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f7a91e;
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pbmit-coming-soon .pbmit-featured-wrapper img {
    filter: grayscale(40%) brightness(0.85);
    transition: filter 0.3s ease;
}

.pbmit-coming-soon:hover .pbmit-featured-wrapper img {
    filter: grayscale(0%) brightness(1);
}

.pbmit-button-inner.pbmit-disabled {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

/* About bölümü sol arka plan resmi */
.about-section-one .about-one-left-bg {
    background-image: url("../images/factory-EPPNgfg.webp") !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Navbar language */
.pbmit-language-switcher {
    position: relative;
}

.pbmit-language-switcher > a span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pbmit-language-switcher .pbmit-language-code {
    font-size: 13px;
    font-weight: 700;
}

.pbmit-language-switcher ul {
    min-width: 170px;
}

.pbmit-language-switcher ul li a {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pbmit-language-switcher .pbmit-language-flag {
    font-size: 17px;
    line-height: 1;
}

.pbmit-language-switcher .pbmit-language-label {
    white-space: nowrap;
}

/* ============== Homepage Featured Announcement ============== */

.pbmit-blog-group-left .pbmit-featured-container {
    position: relative;
}

.homepage-pinned-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.88);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.homepage-pinned-badge svg {
    display: block;
    transform: rotate(-18deg);
}

.pbmit-blog-group-left .pbmit-blog-style-2 .pbmit-content-wrapper {
    top: auto !important;
    left: auto !important;
    bottom: 60px;
    right: 30px;
    width: 45%;
    height: auto;
    padding: 30px;
}

@media (max-width: 767px) {
    .pbmit-blog-group-left .pbmit-blog-style-2 .pbmit-content-wrapper {
        position: static !important;
        background-color: transparent !important;
        backdrop-filter: none !important;
        width: 100% !important;
        bottom: auto !important;
        right: auto !important;
        border-radius: 0 !important;
    }
}

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

.footer-widget-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 44px;
    align-items: flex-start;
}

.footer-widget-grid .pbmit-footer-widget {
    min-width: 0;
}

.footer-widget-grid .widget {
    margin: 0;
}

.footer-widget-grid .widget-title {
    margin-bottom: 22px;
    white-space: nowrap;
}

.footer-widget-grid .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-widget-grid .menu li {
    margin-bottom: 12px;
    line-height: 1.45;
}

.footer-widget-grid .menu li a {
    display: inline-block;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}

.footer-widget-grid .menu li a:hover {
    color: #DA8A45;
}

.footer-widget-grid .pbmit-footer-widget:nth-child(4) .menu li a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 1199px) {
    .footer-widget-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 42px;
    }
}

@media (max-width: 767px) {
    .footer-widget-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-widget-grid .widget-title {
        margin-bottom: 14px;
    }

    .footer-widget-grid .menu li {
        margin-bottom: 9px;
    }
}

/* ============== Homepage Machine Categories ============== */

.zm-home-category-slide .pbmit-service-icon,
.zm-home-category-slide .pbmit-box-content-wrap,
.zm-home-category-slide .pbmit-image-wrap,
.zm-home-category-slide .pbmit-featured-img-wrapper,
.zm-home-category-slide .pbmit-featured-wrapper,
.zm-home-category-slide .pbmit-service-content-wrap,
.zm-home-category-slide .pbmit-link {
    all: unset;
}

.zm-home-category-slide {
    height: auto;
}

.zm-home-category-area {
    margin-right: 0 !important;
}

.service-section-two .machine-arrow {
    display: flex;
    justify-content: flex-end;
    min-height: 46px;
    margin-top: 12px;
}

.zm-home-category-carousel {
    overflow: hidden;
    padding: 4px 0 10px;
}

.zm-home-category-carousel.zm-home-category-count-1 .swiper-wrapper,
.zm-home-category-carousel.zm-home-category-count-2 .swiper-wrapper {
    justify-content: center;
}

.zm-home-category-carousel.zm-home-category-count-1 .zm-home-category-slide {
    max-width: 560px;
}

.zm-home-category-carousel.zm-home-category-count-2 .zm-home-category-slide {
    max-width: 520px;
}

.zm-home-category-card {
    position: relative;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    background: #050505;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.zm-home-category-link {
    position: relative;
    display: block;
    width: 100%;
    height: 360px;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
}

.zm-home-category-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.zm-home-category-image-box {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #050505;
}

.zm-home-category-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    opacity: 0.86;
    transition: transform 0.55s ease, opacity 0.45s ease, filter 0.45s ease;
}

.zm-home-category-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 0;
    background:
            radial-gradient(
                    circle at 78% 18%,
                    rgba(218, 138, 69, 0.26) 0%,
                    transparent 30%
            ),
            linear-gradient(
                    180deg,
                    rgba(5, 5, 5, 0.02) 0%,
                    rgba(5, 5, 5, 0.32) 42%,
                    rgba(5, 5, 5, 0.94) 100%
            );
}

.zm-home-category-content {
    width: calc(100% - 92px);
    padding: 0 0 32px 32px;
}

.zm-home-category-title {
    margin: 0;
    max-width: 280px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.zm-home-category-desc {
    max-width: 330px;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.55;
    transition:
            max-height 0.35s ease,
            margin-top 0.35s ease,
            opacity 0.35s ease,
            transform 0.35s ease;
}

.zm-home-category-arrow {
    position: absolute;
    right: 30px;
    bottom: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 22px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    transition: transform 0.35s ease, color 0.35s ease;
}

.zm-home-category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(218, 138, 69, 0.40);
    box-shadow: 0 34px 86px rgba(0, 0, 0, 0.34);
}

.zm-home-category-link:hover .zm-home-category-image {
    transform: scale(1.045);
    opacity: 0.74;
    filter: saturate(1.05) contrast(1.04);
}

.zm-home-category-link:hover .zm-home-category-overlay {
    background:
            linear-gradient(
                    180deg,
                    rgba(5, 5, 5, 0.04) 0%,
                    rgba(5, 5, 5, 0.40) 34%,
                    rgba(5, 5, 5, 0.98) 100%
            );
}

.zm-home-category-link:hover .zm-home-category-desc {
    max-height: 95px;
    margin-top: 12px;
    opacity: 1;
    transform: translateY(0);
}

.zm-home-category-link:hover .zm-home-category-arrow {
    transform: translateX(7px);
    color: #DA8A45;
}

@media (max-width: 1199px) {
    .zm-home-category-carousel.zm-home-category-count-1 .zm-home-category-slide,
    .zm-home-category-carousel.zm-home-category-count-2 .zm-home-category-slide {
        max-width: none;
    }

    .zm-home-category-link {
        height: 330px;
    }

    .zm-home-category-title {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .zm-home-category-carousel.zm-home-category-count-1 .swiper-wrapper,
    .zm-home-category-carousel.zm-home-category-count-2 .swiper-wrapper {
        justify-content: flex-start;
    }

    .zm-home-category-carousel .zm-home-category-slide {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .zm-home-category-carousel {
        padding-bottom: 4px;
    }

    .zm-home-category-card {
        min-height: 310px;
    }

    .zm-home-category-link {
        height: 310px;
    }

    .zm-home-category-content {
        width: calc(100% - 74px);
        padding: 0 0 24px 22px;
    }

    .zm-home-category-title {
        max-width: 230px;
        font-size: 22px;
    }

    .zm-home-category-desc {
        font-size: 13px;
        line-height: 1.45;
    }

    .zm-home-category-arrow {
        right: 22px;
        bottom: 29px;
        font-size: 30px;
    }
}

@media (hover: none) {
    .zm-home-category-desc {
        max-height: 78px;
        margin-top: 10px;
        opacity: 1;
        transform: none;
    }

    .zm-home-category-image {
        opacity: 0.84;
    }
}

@media (max-width: 767px) {
    .pbmit-footer-logo {
        text-align: center;
        margin-top: 20px;
    }

    .pbmit-footer-logo .pbmit-main-logo {
        max-width: 250px;
        height: auto;
    }
}

.inner-box p {
    font-variant-numeric: normal;
    font-feature-settings: "frac" 0, "numr" 0, "dnom" 0;
}

.contact-iframe-section .map-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(16, 24, 40, 0.12);
}

.contact-iframe-section .map-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    pointer-events: none;
    z-index: 2;
}

.contact-iframe-section iframe {
    display: block;
    width: 100%;
    height: 560px;
    border: 0;
}

@media (max-width: 991px) {
    .contact-iframe-section iframe {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .contact-iframe-section .map-card {
        border-radius: 18px;
    }

    .contact-iframe-section .map-card::after {
        border-radius: 18px;
    }

    .contact-iframe-section iframe {
        height: 420px;
    }
}

/* ============== Product / CTA Image Responsiveness ============== */

.pbmit-element-posts-wrapper.row {
    min-width: 0;
}

.pbmit-element-posts-wrapper .pbmit-service-style-1,
.pbmit-element-posts-wrapper .pbmit-service-style-1 .pbminfotech-post-item,
.pbmit-element-posts-wrapper .pbmit-service-style-1 .pbmit-box-content-wrap,
.pbmit-element-posts-wrapper .pbmit-service-style-1 .pbmit-image-wrap,
.pbmit-element-posts-wrapper .pbmit-service-style-1 .pbmit-featured-img-wrapper,
.pbmit-element-posts-wrapper .pbmit-service-style-1 .pbmit-featured-wrapper {
    max-width: 100%;
    min-width: 0;
}

.pbmit-element-posts-wrapper .pbmit-service-style-1 .pbmit-box-content-wrap {
    height: 100%;
}

.pbmit-element-posts-wrapper .pbmit-service-style-1 .pbmit-featured-wrapper {
    aspect-ratio: 16 / 10;
    background: #0f1218;
}

.pbmit-element-posts-wrapper .pbmit-service-style-1 .pbmit-featured-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.about-us-section-two {
    overflow: hidden;
}

.about-us-section-two .container-fluid > .row {
    margin-left: 0;
    margin-right: 0;
}

.about-us-section-two .container-fluid > .row > [class*="col-"] {
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
}

.about-us-two-leftbox,
.about-us-two-rightbox {
    min-height: 360px;
    max-width: 100%;
    background-size: cover !important;
    background-position: center !important;
}

@media (max-width: 991px) {
    .about-us-section-two {
        padding-right: 30px;
        padding-left: 30px;
    }

    .about-us-two-leftbox,
    .about-us-two-rightbox {
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    .pbmit-element-posts-wrapper .pbmit-service-style-1 .pbmit-featured-wrapper {
        aspect-ratio: 4 / 3;
    }

    .about-us-section-two {
        padding-right: 15px;
        padding-left: 15px;
    }

    .about-us-section-two .container-fluid > .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .about-us-two-leftbox,
    .about-us-two-rightbox {
        min-height: 280px;
    }
}
