@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700|Raleway:600,700&display=swap");

:root {
    --tx-red: #b71c1c;
    --tx-red-dark: #7f0000;
    --tx-ink: #1f2937;
    --tx-muted: #6b7280;
    --tx-line: #e8e8e8;
    --tx-paper: #f6f5f3;
    --tx-card: #ffffff;
    --tx-dark: #171717;
}

html {
    text-transform: none;
}

body {
    color: var(--tx-ink);
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: none;
}

#header {
    background: var(--tx-dark);
}

.logo-nav img {
    max-width: 260px;
    width: auto;
}

.brand-cluster {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 0;
}

.brand-cluster .logo-nav {
    float: none;
    line-height: 56px;
}

.header-b2b,
a.header-b2b.btn.btn-green {
    display: inline-block;
    margin: 0;
    white-space: nowrap;
    line-height: 1.2;
    vertical-align: middle;
}

@media (min-width: 993px) {
    #header .col-sm-12 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .logo-nav {
        float: none;
        flex: 0 0 auto;
        line-height: 56px;
    }

    .logo-nav img {
        max-width: 176px;
    }

    #main-menu,
    #main-menu.navbar-right {
        float: none !important;
        flex: 1 1 auto;
        margin: 0;
        text-align: right;
    }

    #main-menu ul.nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        margin: 0;
        text-align: right;
    }

    #main-menu ul.nav > li {
        display: block;
        float: none;
        white-space: nowrap;
    }

    #main-menu ul.nav > li > a {
        padding: 0 10px;
        line-height: 56px;
        font-size: 13px;
        letter-spacing: 0.02em;
        text-transform: none;
        font-weight: 600;
    }

    #main-menu ul.nav > li > a:hover,
    #main-menu ul.nav > li.active > a {
        color: #fff;
        background: var(--tx-red);
    }
}

.section {
    padding: 72px 0 64px;
}

.title-box {
    margin-bottom: 36px;
}

.title-box h2.title,
.title-box.text-center h2.title {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: none;
    color: var(--tx-ink);
}

.title-box h2:before,
.title-box.text-center h2:before {
    background: var(--tx-red);
    width: 36px;
    height: 3px;
    margin: -18px auto;
}

.title-box p {
    margin: 18px auto 0;
    max-width: 36rem;
    color: var(--tx-muted);
    font-size: 15px;
    line-height: 1.55;
    text-transform: none;
}

#home {
    position: relative;
    min-height: 70vh;
}

#home video {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: cover;
    background: #111;
}

#home .overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(23, 23, 23, 0.72) 100%);
}

#home .hero-copy {
    position: relative;
    z-index: 2;
    padding: 150px 16px 80px;
    text-align: center;
    color: #fff;
    text-transform: none;
}

#home .hero-kicker {
    margin: 0 0 8px;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #f3d2d2;
}

#header-h1,
#home .hero-copy h1 {
    margin: 0;
    color: #fff !important;
    font-size: 52px;
    letter-spacing: 0.18em;
    font-weight: 800;
    text-transform: none;
}

#home .hero-sub {
    margin: 10px 0 0;
    font-size: 18px;
    font-weight: 500;
    color: #eee;
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.fact-card {
    background: var(--tx-card);
    border: 1px solid var(--tx-line);
    border-radius: 12px;
    padding: 22px 18px 20px;
    min-height: 100%;
}

.fact-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 12px;
}

.fact-card h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
}

.fact-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--tx-muted);
    text-transform: none;
}

.e-strip {
    margin-top: 22px;
    padding: 14px 18px;
    background: #fff5f5;
    border: 1px solid #f0d4d4;
    border-radius: 10px;
    text-align: center;
}

.e-strip p {
    margin: 0;
    color: var(--tx-ink);
    font-size: 14px;
}

#servisler {
    background: var(--tx-paper);
}

.servis-photo {
    display: block;
    max-width: 380px;
    max-height: 160px;
    width: auto;
    margin: 0 auto 32px;
    object-fit: contain;
    border-radius: 10px;
}

.svc-card {
    background: #fff;
    border: 1px solid var(--tx-line);
    border-radius: 12px;
    padding: 28px 22px;
    margin-bottom: 24px;
    min-height: 170px;
}

.svc-card h4 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--tx-red);
    text-transform: none;
}

.svc-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--tx-muted);
    text-transform: none;
}

#urunler {
    background: #fafafa;
}

#urunler .product-row {
    display: flex;
    flex-wrap: wrap;
}

#urunler .product-row > [class*="col-"] {
    display: flex;
    float: none;
}

@media (min-width: 768px) {
    #urunler .product-row-three {
        flex-wrap: nowrap;
    }

    #urunler .product-row-three > [class*="col-"] {
        width: 33.33333333%;
        max-width: 33.33333333%;
        flex: 0 0 33.33333333%;
    }
}

@media (min-width: 992px) {
    #urunler .product-row {
        flex-wrap: nowrap;
    }

    #urunler .product-row > [class*="col-"] {
        width: 33.33333333%;
        max-width: 33.33333333%;
        flex: 0 0 33.33333333%;
    }
}

.product-card {
    background: var(--tx-card);
    border: 1px solid var(--tx-line);
    border-radius: 14px;
    padding: 18px 16px 20px;
    margin-bottom: 28px;
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: #d7d7d7;
}

.product-card h4 {
    margin: 0 0 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
}

.product-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top center;
    margin: 0 0 14px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

.product-card p {
    margin: 0;
    text-align: left;
    text-transform: none;
    font-size: 14px;
    line-height: 22px;
    color: #555;
}

.product-compat {
    margin-top: auto !important;
    padding-top: 12px;
    text-align: center !important;
    font-weight: 700;
    font-size: 12px !important;
    letter-spacing: 0.04em;
    color: var(--tx-red) !important;
    text-transform: none;
}

.product-action {
    margin-top: 12px !important;
    text-align: center !important;
}

.btn-green,
.btn.btn-green {
    background: var(--tx-red) !important;
    border-color: var(--tx-red) !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 700;
    text-transform: none;
}

.btn-green:hover,
.btn.btn-green:hover {
    background: var(--tx-red-dark) !important;
    border-color: var(--tx-red-dark) !important;
}

.btn-ghost {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--tx-line);
    color: var(--tx-ink);
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 700;
}

.btn-ghost:hover {
    border-color: var(--tx-red);
    color: var(--tx-red);
    text-decoration: none;
}

.contact-light {
    background: var(--tx-paper);
}

.contact-light .title-box.white h2.title,
.contact-light h2.title {
    color: var(--tx-ink);
}

.contact-panel {
    background: #fff;
    border: 1px solid var(--tx-line);
    border-radius: 14px;
    padding: 24px 22px;
    margin-bottom: 20px;
}

.contact-panel .form-control {
    margin-bottom: 12px;
    height: auto;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: none;
}

.contact-panel textarea.form-control {
    min-height: 140px;
}

.contact-label {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tx-muted);
}

.contact-panel a {
    color: var(--tx-ink);
}

.contact-panel a:hover {
    color: var(--tx-red);
}

.contact-actions {
    margin: 16px 0 0;
}

.contact-actions .btn,
.contact-actions .btn-ghost {
    margin: 0 8px 8px 0;
}

.map-embed {
    margin: 0 0 24px;
    max-width: 100%;
    border: 0;
    overflow: hidden;
    border-radius: 14px;
}

.map-embed iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

.form-status {
    padding: 10px 12px;
    margin-bottom: 16px;
    background: var(--tx-red);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

.form-status.is-error {
    background: #F5514B;
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

footer {
    background: var(--tx-dark);
    color: #ddd;
}

footer .copyright p,
footer .copyright a {
    color: #ddd;
}

.scrollup {
    background: var(--tx-red) !important;
}

.subnav-content {
    height: auto;
    max-height: 70vh;
    width: 260px;
    right: 0;
    left: auto;
    background: #111;
}

.subnav-content a {
    float: none;
    display: block;
    color: #fff;
    padding: 8px 14px;
}

.subnav-content a:hover {
    background: #2c2c2c;
    color: #fff;
}

@media (max-width: 1100px) {
    .fact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .brand-cluster {
        float: left;
        padding: 8px 0;
        max-width: calc(100% - 56px);
    }
}

@media (max-width: 768px) {
    .logo-nav img {
        max-width: 140px;
    }

    #home {
        min-height: 0;
    }

    #home video {
        max-height: 46vh;
    }

    #header-h1,
    #home .hero-copy h1 {
        font-size: 34px;
        letter-spacing: 0.1em;
    }

    .fact-grid {
        grid-template-columns: 1fr;
    }

    .map-embed iframe {
        height: 180px;
    }

    .section {
        padding: 48px 0 40px;
    }
}
