/* Bars Endüstri — site overrides */

/* Expertise / service cards (homepage + hizmetler) */
.home-expertise-card {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #ececec;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}
.home-expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    color: inherit;
}
.home-expertise-media {
    display: block;
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #1a1a1a;
}
.home-expertise-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.home-expertise-card:hover .home-expertise-media img { transform: scale(1.06); }
.home-expertise-media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    font-size: 42px;
}
.home-expertise-body {
    display: block;
    padding: 22px 20px 24px;
}
.home-expertise-title {
    display: block;
    font-family: var(--tg-heading-font-family);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #111;
}
.home-expertise-text {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    min-height: 66px;
    margin-bottom: 14px;
}
.home-expertise-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--tg-primary-color);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Project cards (homepage + projeler) */
.home-project-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ececec;
    overflow: hidden;
    transition: box-shadow .3s ease;
}
.home-project-card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.1); }
.home-project-media {
    display: block;
    height: 240px;
    overflow: hidden;
    background: #111;
}
.home-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.home-project-card:hover .home-project-media img { transform: scale(1.05); }
.home-project-body { padding: 20px 18px 22px; }
.home-project-cat {
    display: block;
    color: var(--tg-primary-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.home-project-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
}
.home-project-title a { color: #111; text-decoration: none; }
.home-project-title a:hover { color: var(--tg-primary-color); }

.listing-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.listing-filters .btn {
    padding: 10px 18px;
    font-size: 13px;
}
@media (max-width: 575.98px) {
    .listing-filters .btn {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
        justify-content: center;
        font-size: 12px;
        padding: 10px 12px;
    }
}

/* Uzun hizmet/proje alt menüleri */
.navbar-wrap ul li .sub-menu {
    max-height: 70vh;
    overflow-y: auto;
    min-width: 280px;
}
.mobile-menu .navigation li ul li > a {
    font-size: 14px;
    text-transform: none;
    padding-top: 8px;
    padding-bottom: 8px;
}
.mobile-menu .menu-box {
    overflow-y: auto;
}

/* Homepage about */
.home-about-area {
    position: relative;
    padding: 110px 0 100px;
    background:
        linear-gradient(180deg, #f7f7f7 0%, #fff 48%, #fff 100%);
}
.home-about-visual {
    position: relative;
    min-height: 520px;
}
.home-about-visual__main {
    width: 78%;
    height: 460px;
    object-fit: cover;
    display: block;
}
.home-about-visual__side {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    height: 260px;
    object-fit: cover;
    border: 10px solid #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,.16);
}
.home-about-visual__badge {
    position: absolute;
    left: 24px;
    bottom: 48px;
    width: 118px;
    height: 118px;
    background: var(--tg-primary-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 14px 30px rgba(5, 96, 212, .35);
}
.home-about-visual__badge strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    font-family: var(--tg-heading-font-family);
}
.home-about-visual__badge span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-top: 6px;
    max-width: 80px;
    line-height: 1.3;
}
.home-about-copy .section-title { margin-bottom: 18px; }
.home-about-copy > p {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 28px;
}
.home-about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}
.home-about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #222;
    font-weight: 600;
}
.home-about-points li i {
    color: var(--tg-primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}
.home-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.home-about-actions .btn-two {
    background: transparent;
    border: 1px solid #ddd;
    color: #111;
}
.home-about-actions .btn-two:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}
@media (max-width: 991.98px) {
    .home-about-visual { min-height: 0; margin-bottom: 36px; }
    .home-about-visual__main { width: 100%; height: 360px; }
    .home-about-visual__side {
        width: 42%;
        height: 180px;
        bottom: -12px;
    }
    .home-about-visual__badge {
        left: 16px;
        bottom: 20px;
        width: 100px;
        height: 100px;
    }
    .home-about-visual__badge strong { font-size: 28px; }
}
@media (max-width: 575.98px) {
    .home-about-area { padding: 70px 0 60px; }
    .home-about-visual__main { height: 260px; }
    .home-about-visual__side {
        position: static;
        width: 100%;
        height: 170px;
        margin-top: 12px;
        border: 0;
        box-shadow: none;
    }
    .home-about-visual__badge {
        left: 12px;
        bottom: auto;
        top: 12px;
    }
    .home-about-points { grid-template-columns: 1fr; }
}

/* About page */
.about-page-intro {
    padding: 100px 0 40px;
}
.about-page-visual {
    position: relative;
    margin-bottom: 30px;
}
.about-page-visual__main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.about-page-visual__side {
    position: absolute;
    right: 24px;
    bottom: -28px;
    width: 42%;
    height: 210px;
    object-fit: cover;
    border: 8px solid #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
.about-page-kicker {
    display: inline-block;
    color: var(--tg-primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
    margin-bottom: 12px;
}
.about-page-lead {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    margin-bottom: 22px;
}
.about-page-body {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}
.about-page-body h3,
.about-page-body h2 {
    margin-top: 32px;
    margin-bottom: 14px;
    font-size: 24px;
    color: #111;
}
.about-page-body p { margin-bottom: 16px; }
.about-page-body em {
    display: block;
    padding: 18px 22px;
    background: #f7f7f7;
    border-left: 3px solid var(--tg-primary-color);
    font-style: normal;
    color: #333;
    margin: 24px 0;
}

.about-highlights {
    padding: 70px 0 30px;
}
.about-highlight-card {
    height: 100%;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 3px solid var(--tg-primary-color);
    transition: box-shadow .3s ease, transform .3s ease;
}
.about-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,.08);
}
.about-highlight-card .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 96, 212, .1);
    color: var(--tg-primary-color);
    margin-bottom: 16px;
    font-size: 18px;
}
.about-highlight-card h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 8px;
}
.about-highlight-card p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.55;
}

.about-split {
    padding: 40px 0 90px;
}
.about-split-card {
    height: 100%;
    padding: 36px 32px;
    background: #111;
    color: #fff;
}
.about-split-card.is-light {
    background: #f4f4f4;
    color: #111;
}
.about-split-card .label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tg-primary-color);
    margin-bottom: 14px;
}
.about-split-card h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: inherit;
}
.about-split-card p {
    margin: 0;
    line-height: 1.75;
    opacity: .92;
}

.about-stats-band {
    background: #1a1a1a;
    padding: 60px 0;
    color: #fff;
}
.about-stat {
    text-align: center;
    padding: 10px;
}
.about-stat .value {
    font-size: 42px;
    font-weight: 700;
    color: var(--tg-primary-color);
    line-height: 1;
    font-family: var(--tg-heading-font-family);
}
.about-stat .label {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    color: #ddd;
}

.about-cta-band {
    padding: 80px 0 110px;
}
.about-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 42px 40px;
    min-height: 220px;
    background-color: #1a1a1a;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.about-cta-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,0,0,.78), rgba(0,0,0,.52));
    z-index: -1;
}
.about-cta-inner h2 {
    font-size: clamp(24px, 3vw, 34px);
    color: #fff;
    margin-bottom: 8px;
}
.about-cta-inner p {
    margin: 0;
    color: rgba(255,255,255,.85);
    max-width: 520px;
}
.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 991.98px) {
    .about-page-visual__main { height: 360px; }
    .about-page-visual__side {
        width: 46%;
        height: 160px;
        right: 16px;
        bottom: -20px;
    }
}
@media (max-width: 767.98px) {
    .about-page-intro { padding: 70px 0 20px; }
    .about-page-visual__main { height: 260px; }
    .about-page-visual__side {
        position: static;
        width: 100%;
        height: 160px;
        margin-top: 12px;
        border: 0;
        box-shadow: none;
    }
    .about-cta-inner { padding: 32px 24px; }
    .about-split-card { padding: 28px 24px; }
}

/* Catalog page — orijinal barsendustri düzenine yakın */
.catalog-section {
    padding: 70px 0 90px;
    background: #f5f7fa;
}
.catalog-intro {
    margin-bottom: 40px;
}
.catalog-intro__title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 500;
    color: var(--tg-primary-color);
    margin-bottom: 10px;
    line-height: 1.25;
}
.catalog-intro__lead {
    font-size: 18px;
    color: #777;
    margin-bottom: 18px;
}
.catalog-intro__line {
    display: block;
    width: 80px;
    height: 3px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--tg-primary-color), #3d8bf0);
}
.catalog-viewer {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(17, 24, 39, .12);
}
.catalog-viewer__head,
.catalog-viewer__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 22px;
    background: #fff;
}
.catalog-viewer__head {
    border-bottom: 1px solid #eceff3;
}
.catalog-viewer__foot {
    border-top: 1px solid #eceff3;
}
.catalog-viewer__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.catalog-viewer__meta strong {
    font-size: 16px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.catalog-viewer__meta strong i {
    color: #d32f2f;
}
.catalog-viewer__meta span {
    font-size: 13px;
    color: #888;
}
.catalog-viewer__tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.catalog-tool {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9dee7;
    background: #fff;
    color: #445;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: .2s ease;
}
.catalog-tool:hover {
    border-color: var(--tg-primary-color);
    color: var(--tg-primary-color);
}
.catalog-download-btn {
    padding: 10px 18px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.catalog-viewer__body {
    position: relative;
    height: 70vh;
    min-height: 480px;
    background: #eef1f5;
}
.catalog-viewer__body:fullscreen,
.catalog-viewer__body:-webkit-full-screen {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #111;
}
.catalog-viewer__frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #fff;
}
.catalog-viewer__foot p {
    margin: 0;
    color: #777;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.catalog-viewer__foot p i {
    color: var(--tg-primary-color);
}
.catalog-viewer__foot .btn {
    padding: 10px 20px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.catalog-fallback {
    margin: 22px 0 0;
    font-size: 13px;
    color: #888;
}
.catalog-fallback a {
    color: var(--tg-primary-color);
    font-weight: 600;
}
@media (max-width: 991.98px) {
    .catalog-section { padding: 50px 0 70px; }
    .catalog-viewer__body {
        height: 60vh;
        min-height: 420px;
    }
}
@media (max-width: 767.98px) {
    .catalog-intro { margin-bottom: 28px; }
    .catalog-viewer__head,
    .catalog-viewer__foot {
        padding: 16px;
    }
    .catalog-viewer__body {
        height: 55vh;
        min-height: 380px;
    }
    .catalog-viewer__foot p {
        width: 100%;
    }
    .catalog-download-btn span,
    .catalog-viewer__tools .btn {
        width: 100%;
        justify-content: center;
    }
    .catalog-viewer__tools {
        width: 100%;
    }
    .catalog-viewer__tools .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* Mobile header / language */
.mobile-header-tools {
    margin-left: auto;
    gap: 10px;
}
.mobile-header-tools .mobile-nav-toggler {
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.lang-switcher .lang-link {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 4px;
    text-decoration: none;
    line-height: 1;
    border: 1px solid transparent;
}
.lang-switcher .lang-link.active,
.lang-switcher .lang-link:hover {
    background: var(--tg-primary-color);
    color: #fff;
    border-color: var(--tg-primary-color);
}
.lang-switcher--mobile .lang-link {
    color: var(--tg-secondary-color);
    border-color: #ddd;
    background: #fff;
}
.lang-switcher--mobile .lang-link.active,
.lang-switcher--mobile .lang-link:hover {
    color: #fff;
    background: var(--tg-primary-color);
    border-color: var(--tg-primary-color);
}
.header-style-three .menu-area.sticky-menu .lang-switcher--mobile .lang-link {
    color: var(--tg-secondary-color);
}
.mobile-lang-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 25px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.mobile-lang-switcher > span {
    font-size: 13px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.mobile-lang-switcher .lang-link {
    color: #222;
    border: 1px solid #ddd;
}
.mobile-lang-switcher .lang-link.active,
.mobile-lang-switcher .lang-link:hover {
    color: #fff;
}

/* Mobile polish */
@media (max-width: 991.98px) {
    .header-style-three .menu-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }
    .header-style-three .menu-nav .logo {
        flex: 0 1 auto;
    }
    .home-expertise-text { min-height: 0; }
    .home-page .cta-item-wrap .cta-item {
        min-height: 0;
        padding: 28px 18px;
    }
}
@media (max-width: 767.98px) {
    .breadcrumb-bg {
        padding: 160px 0 70px !important;
    }
    .breadcrumb-content .title {
        font-size: 28px !important;
    }
    .section-title .title {
        font-size: clamp(24px, 6vw, 32px);
    }
    .home-intro-area {
        padding-top: 60px !important;
        padding-bottom: 20px !important;
    }
    .home-expertise-area,
    .home-projects-area,
    .blog-post-area-three {
        padding-bottom: 60px !important;
    }
    .home-expertise-media { height: 180px; }
    .home-project-media { height: 200px; }
    .home-blog-media { height: 180px; }
    .fact-area {
        padding-top: 60px !important;
        padding-bottom: 40px !important;
    }
    .fact-item h2 { font-size: 36px; }
    .about-cta-inner {
        padding: 28px 20px;
    }
    .about-cta-actions {
        width: 100%;
    }
    .about-cta-actions .btn {
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
    }
    .catalog-viewer__body {
        height: 48vh;
        min-height: 320px;
    }
}
