/*
Theme Name: Dnzraf
Theme URI: https://dnzraf.com/
Author: Dnzraf
Author URI: https://dnzraf.com/
Description: Dnzraf marka renkleri ile özelleştirilmiş WordPress teması.
Version: 1.4.7
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dnzraf
*/

:root {
    --bs-dark: #101820;
    --bs-dark-rgb: 16, 24, 32;
    --bs-warning: #d2001b;
    --bs-warning-rgb: 210, 0, 27;
    --bs-black: #161b22;
    --bs-border-black: #30363d;
    --bs-muted: #8b949e;
    --swiper-theme-color: var(--bs-warning);
}

body {
    font-family: "Plus Jakarta Sans", var(--bs-body-font-family), sans-serif;
    color: #6D6E71;
    background-color: #f5f5f7;
}

/* Sova tarzı: tüm başlıklar varsayılan olarak 700 (black/900 yerine). Açık bir
   ağırlık sınıfı (.fw-bold, .dnzraf-contact-hero-title vb.) bunu geçersiz kılar. */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Page sections use a soft off-white (same tone as dnzraf.com/apple.com)
   instead of pure white; inner content "cards" (divs) stay untouched so
   they keep standing out against this backdrop. */
section.bg-white {
    background-color: #f5f5f7 !important;
}

section.bg-light {
    background-color: #e9eaed !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #414042;
}

a {
    text-decoration: none;
}

ul li {
    list-style: none;
}

/* Tüm sayfalarda tek tip bölüm başlığı (büyük + kalın). Boyut, Bootstrap'ın
   h2 ölçeğini birebir yansıtır; böylece iç sayfalardaki h2.fw-900 başlıklarla
   aynı görünür. Renk vermez: koyu ton global h1..h6 kuralından, kırmızı ise
   .text-warning'den gelir. */
.dnzraf-section-title {
    font-size: calc(1.6rem + 0.9vw);
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .dnzraf-section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 991.98px) {
    .dnzraf-section-title {
        font-size: calc(1.3rem + 0.4vw);
    }

    .lead {
        font-size: 1rem;
        font-weight: 400;
    }
}

.bg-cover {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 260px;
}

@media (min-width: 992px) {
    .bg-cover {
        min-height: 420px;
    }
}

/* Blurs the background photo (not the text on top of it) so overlaid copy stays readable. */
.bg-cover-blurred {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.bg-cover-blurred::before {
    content: "";
    position: absolute;
    inset: -20px;
    background-image: inherit;
    background-size: cover;
    background-position: center center;
    filter: blur(8px);
    z-index: -2;
}

.bg-cover-blurred::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 32, .5);
    z-index: -1;
}

.single-post-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 779 / 600;
    object-fit: cover;
}

.bg-black {
    background: var(--bs-black) !important;
}

.border-black {
    border: 1px solid var(--bs-border-black);
}

/* ------------------------------------------------------------------ */
/* Header / Navbar                                                     */
/* ------------------------------------------------------------------ */

/* Padding is trimmed as the logo grows so the navbar's own height never changes. */
.navbar-brand {
    padding-top: 6px;
    padding-bottom: 6px;
}

.navbar-brand img {
    height: 34px;
}

@media (min-width: 1200px) {
    .navbar-brand {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .navbar-brand img {
        height: 52px;
    }
}

/* White at the top of the page, semi-transparent (frosted glass) once the user scrolls.
   The blur lives on a ::before layer rather than directly on .dnzraf-navbar: a
   `backdrop-filter` on the navbar itself would make it the containing block for
   any `position: fixed` descendant (like the mobile off-canvas menu), breaking
   the off-canvas panel's viewport-relative positioning as soon as the page scrolls. */
.dnzraf-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: var(--bs-white);
    transition: background-color .3s ease;
}

.dnzraf-navbar.is-scrolled {
    background-color: rgba(255, 255, 255, .55);
}

.dnzraf-navbar.is-scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dnzraf-navbar .navbar-brand,
.dnzraf-navbar .nav-link,
.dnzraf-navbar .navbar-toggler i,
.dnzraf-navbar > .container > a i {
    color: var(--bs-dark);
}

/* Mobil/tablet: menü (hamburger) ve katalog (PDF) ikonları logodaki kırmızıyla eşleşsin. */
.dnzraf-navbar .navbar-toggler i,
.dnzraf-navbar .dnzraf-navbar-icon-link i {
    color: var(--bs-warning);
}

/* Mobile off-canvas menu: floating frosted-glass panel (inset from the
   viewport edges, blurred translucent background, rounded corners). Scoped to
   below the lg breakpoint only — at lg+, .offcanvas-lg becomes the normal
   inline desktop nav row, and this styling must not bleed into it. */
@media (max-width: 991.98px) {
    .dnzraf-mobile-offcanvas {
        background-color: rgba(255, 255, 255, .8);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
        top: 16px;
        right: 13px;
        bottom: 16px;
        left: auto;
        width: calc(100% - 26px);
        max-width: 360px;
        border-radius: 24px;
        border: none;
    }
}

.dnzraf-offcanvas-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.dnzraf-offcanvas-footer .social {
    margin-bottom: 1.25rem;
}

.dnzraf-offcanvas-logo {
    max-width: 140px;
    margin-bottom: .75rem;
}

.dnzraf-offcanvas-logo img {
    max-width: 100%;
    height: auto;
}

.dnzraf-offcanvas-legal-link {
    color: var(--bs-dark);
    opacity: .7;
}

.dnzraf-offcanvas-legal-link:hover {
    color: var(--bs-warning);
}

.dnzraf-offcanvas-copyright {
    color: var(--bs-dark);
    opacity: .7;
}

.offcanvas-backdrop {
    background-color: rgb(200, 190, 175);
}

.offcanvas-backdrop.show {
    opacity: .1;
}

.dropdown-menu {
    background: var(--bs-black);
    margin: 0 !important;
    border-radius: 0 !important;
}

.dropdown-item {
    color: var(--bs-white);
}

.dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item:active,
.navbar li.page_item a:focus,
.navbar li.page_item a:hover,
.navbar li.page_item a:active {
    background-color: var(--bs-warning);
    color: var(--bs-white);
}

.navbar li.page_item a {
    color: var(--bs-white);
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
}

.top-info-bar a {
    color: var(--bs-white);
}

.top-info-bar a:hover {
    color: var(--bs-dark);
}

/* Language switcher modal (mobile globe icon + desktop top-info-bar) */
.modal-body ul li {
    padding: 8px 0;
}

.modal-body ul li a {
    color: var(--bs-dark);
    font-weight: bold;
}

.modal-body ul li a img {
    border-radius: 100% !important;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .3) !important;
    width: 32px !important;
    height: 32px !important;
    margin-right: 8px;
}

@media (min-width: 1200px) {
    .modal-dialog {
        max-width: 640px;
        padding: 0 !important;
    }

    .modal-body {
        padding: 0 !important;
    }

    .modal-body ul li {
        text-align: center;
        width: 200px;
        font-size: 14px;
        padding: 16px 0;
    }

    .modal-body ul li a {
        display: block;
    }

    .modal-body ul li a img {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 16px auto;
        text-align: center;
    }
}

.hero-video-section {
    position: relative;
    overflow: hidden;
    height: 52vh;
    min-height: 300px;
    max-height: 600px;
}

.hero-video-section video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Shorter static-image hero used on category pages (Depolama Rafları etc.) --
   kept separate from .hero-video-section so it doesn't affect the homepage video hero. */
.category-hero-section {
    position: relative;
    overflow: hidden;
    height: 24vh;
    min-height: 150px;
    max-height: 280px;
}

/* Bluish-gray tint so the white hero heading stays readable over the video. */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(71, 85, 105, .45);
    display: flex;
    align-items: center;
}

.hero-video-overlay h1 {
    font-size: 2.5rem;
}

@media (min-width: 992px) {
    .hero-video-overlay h1 {
        font-size: 3.5rem;
    }
}

/* Shared framed-card look (capacity video, İSG raf kontrolü, etc.) -- white card,
   rounded corners, dark accent on the left edge. */
.dnzraf-framed-card {
    background: var(--bs-white);
    border: 1px solid rgba(var(--bs-dark-rgb), .1);
    border-left: 4px solid var(--bs-dark);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 .5rem 1.5rem rgba(var(--bs-dark-rgb), .08);
}

/* "Depo Rafını Yakından Tanıyın" kartlarının dış çerçevesini aynı yükseklikte tutar.
   min-height JS ile (dnzraf-equalize-know-cards) dinamik olarak set edilir, çünkü
   metin satır sayısı ekran genişliğine göre değiştiği için sabit bir px değeri
   tüm viewport'larda doğru eşitlik sağlamıyor. Burada sadece dikey ortalama tanımlanır. */
@media (min-width: 992px) {
    .dnzraf-know-card {
        display: flex;
        align-items: center;
    }
}

/* Red accent border on this specific card, matching the red heading text above it. */
.dnzraf-framed-card.dnzraf-capacity-video-frame {
    border-left-color: var(--bs-warning);
}

.dnzraf-capacity-video-frame video {
    max-height: 480px;
    object-fit: cover;
}

.hero-icon-dark {
    transform: translateZ(0);
    margin: auto;
}

.hero-icon-dark i {
    color: var(--bs-white);
    display: inline-block;
    overflow: visible !important;
    vertical-align: text-bottom;
    font-size: 24px;
}

.hero-icon-dark-light {
    background-color: var(--bs-warning);
    filter: blur(18px);
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    z-index: -1 !important;
    margin: auto;
    transform: translate(-50%, -50%) !important;
    left: 50% !important;
    top: 50% !important;
}

.hero-line-dark {
    background: linear-gradient(var(--bs-white), var(--bs-warning), var(--bs-dark));
    width: 3px;
    height: 100% !important;
    border-radius: var(--bs-border-radius) !important;
    margin: auto;
}

/* Light-background variant of the icon+line "hero" marker, used on the
   homepage content sections (products / sectors / news / SEO text). */
.hero-icon-light {
    transform: translateZ(0);
    margin: auto;
}

.hero-icon-light i {
    color: var(--bs-warning);
    display: inline-block;
    overflow: visible !important;
    vertical-align: text-bottom;
    font-size: 24px;
}

.hero-icon-light-glow {
    background-color: var(--bs-warning);
    filter: blur(18px);
    opacity: .15;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    z-index: -1 !important;
    margin: auto;
    transform: translate(-50%, -50%) !important;
    left: 50% !important;
    top: 50% !important;
}

.hero-line-light {
    background: var(--bs-warning);
    width: 3px;
    height: 100% !important;
    border-radius: var(--bs-border-radius) !important;
    margin: auto;
}

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */

.footer-cta-section {
    background: var(--bs-white);
    border-top: .5rem solid var(--bs-warning);
    padding: 4rem 0;
}

.footer-cta-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.45;
    color: #414042;
}

@media (max-width: 767.98px) {
    .footer-cta-section {
        padding: 2.5rem 0;
    }

    .footer-cta-text {
        font-size: 1.15rem;
    }
}

.footer-cta-text .text-accent {
    color: var(--bs-warning);
}

.footer-cta-text a.text-accent:hover {
    text-decoration: underline;
}

footer {
    background: var(--bs-white);
}

footer a {
    color: var(--bs-dark);
}

footer a:hover {
    color: var(--bs-warning);
}

footer span.footer-title,
.dnzraf-offcanvas-footer span.footer-title {
    font-weight: bold;
    color: var(--bs-warning);
    border-bottom: 3px solid var(--bs-warning);
    display: inline-block;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}

footer ul,
.dnzraf-offcanvas-footer ul {
    margin: 0;
    padding: 0;
}

footer ul.social li,
.dnzraf-offcanvas-footer ul.social li {
    margin-right: 1rem !important;
}

footer ul.social li a,
.dnzraf-offcanvas-footer ul.social li a {
    border: 1px solid var(--bs-warning);
    display: inline-block;
    height: 2rem;
    width: 2rem;
    line-height: 2rem;
    text-align: center;
    color: var(--bs-warning);
}

footer ul.social li a:hover,
.dnzraf-offcanvas-footer ul.social li a:hover {
    background: var(--bs-warning);
    color: var(--bs-white);
}

footer .border-top {
    border-color: var(--bs-warning) !important;
}

/* ------------------------------------------------------------------ */
/* Homepage: product / sector / news carousels                         */
/* ------------------------------------------------------------------ */

.carousel-placeholder {
    aspect-ratio: 1 / 1;
}

/* Red brand background is too dark for the default heading gray -- force white */
.bg-warning h1, .bg-warning .h1,
.bg-warning h2, .bg-warning .h2,
.bg-warning h3, .bg-warning .h3,
.bg-warning h4, .bg-warning .h4,
.bg-warning h5, .bg-warning .h5,
.bg-warning h6, .bg-warning .h6 {
    color: #fff;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--bs-warning);
}

.swiper-pagination-bullet-active {
    background: var(--bs-warning);
}

/* Bootstrap's compiled .btn-warning bakes in its own yellow, ignoring our
   --bs-warning override -- force the brand red here instead. */
.btn-warning {
    background-color: var(--bs-warning);
    border-color: var(--bs-warning);
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: #a80016;
    border-color: #a80016;
}

/* Ürünlerimiz homepage slider: Apple/dnzraf.com-style filter tabs + cards */
.product-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .25rem;
    background: #fff;
    border-radius: 50px;
    padding: .35rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.product-tab-btn {
    border: 0;
    background: transparent;
    color: var(--bs-dark);
    font-weight: 600;
    padding: .5rem 1.25rem;
    border-radius: 50px;
    transition: background-color .2s ease, color .2s ease;
}

.product-tab-btn.active {
    background: var(--bs-dark);
    color: #fff;
}

.product-tab-btn:hover:not(.active) {
    color: var(--bs-warning);
}

@media (max-width: 767.98px) {
    .product-tabs {
        flex-wrap: nowrap;
        width: 100%;
    }

    .product-tab-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: .5rem .35rem;
        font-size: .78rem;
        white-space: nowrap;
    }
}

.product-swiper {
    padding: .5rem 0 2rem;
}

.product-card-image {
    display: block;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.product-card-image img,
.product-card-image .carousel-placeholder {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.product-card-info h3 {
    color: var(--bs-dark);
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-info p {
    min-height: 2.625rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Kategori sayfalarında ürünler birden fazla ayrı .row grubuna (ör. "Otomatik"
   / "Endüstriyel") bölünüyor; flex ile yükseklik eşitleme yalnızca AYNI satır
   içinde çalışır. Başlık/açıklamaya sabit yükseklik vermek, hangi gruba/satıra
   ait olursa olsun "İncele" butonunun sayfa genelinde hep aynı hizada
   durmasını garanti eder. */
.dnzraf-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dnzraf-product-card .product-card-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 9rem;
}

.dnzraf-product-card .product-card-info .btn {
    align-self: center;
    margin-top: auto;
}

.product-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.product-nav-buttons > div {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--bs-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    transition: background-color .2s ease, color .2s ease;
}

.product-nav-buttons > div:hover {
    background: var(--bs-warning);
    color: #fff;
}

.product-nav-buttons .swiper-button-disabled {
    opacity: .35;
    cursor: default;
}

/* ------------------------------------------------------------------ */
/* Süreç bölümü (homepage) — Ürünlerimiz ile İSG arasında, 4 adımlı     */
/* mühendislik süreci zaman çizelgesi.                                  */
/* ------------------------------------------------------------------ */

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 1rem;
    position: relative;
}

@media (min-width: 992px) {
    .process-steps {
        flex-wrap: nowrap;
    }

    .process-steps::before {
        content: '';
        position: absolute;
        top: 60px;
        left: calc(12.5% - 1rem);
        right: calc(12.5% - 1rem);
        height: 1px;
        background: #e5e5e5;
        z-index: 0;
    }
}

.process-step {
    flex: 1 1 220px;
    min-width: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .process-step {
        flex: 1 1 calc(50% - .5rem);
    }
}

.process-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto .75rem;
    border-radius: 50%;
    border: 1px solid #f0dde0;
    background: var(--bs-white);
    box-shadow: 0 .5rem 1.25rem rgba(16, 24, 32, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .5s ease;
}

/* Sovaretail.com'daki gibi: ikonun etrafında sabit, ikinci (iç) halka. */
.process-icon-inner {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #f0dde0;
    background: var(--bs-white);
    box-shadow: inset 0 1px 3px rgba(16, 24, 32, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--bs-warning);
}

/* Sovaretail.com'daki gibi: hover'da 180° dönen kısmi (üst+sağ) kırmızı halka. */
.process-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(var(--bs-warning-rgb), .35);
    border-right-color: rgba(var(--bs-warning-rgb), .35);
    transition: transform 1s ease-in-out;
}

.process-step:hover .process-icon {
    transform: translateY(-4px);
}

.process-step:hover .process-icon::before {
    transform: rotate(180deg);
}

.process-number {
    display: block;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: .75rem;
}

.process-step-title {
    font-size: 1.05rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: .5rem;
}

.process-step-title strong {
    font-weight: 800;
    transition: color .3s ease;
}

/* Sovaretail.com'daki gibi: hover'da başlığın ilk kelimesi kırmızıya döner. */
.process-step:hover .process-step-title strong {
    color: var(--bs-warning);
}

.process-step p {
    font-size: .9rem;
    color: var(--bs-muted);
    margin-bottom: 0;
}

/* Sovaretail.com'daki gibi: hover'da altta beliren küçük yön oku. */
.process-arrow {
    display: flex;
    justify-content: center;
    margin-top: .75rem;
    font-size: .85rem;
    color: var(--bs-warning);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .4s ease, transform .4s ease;
}

.process-step:hover .process-arrow {
    opacity: 1;
    transform: translateY(0);
}

.footer-seo h1,
.footer-seo h2 {
    color: var(--bs-warning) !important;
}

.raysan-single-post h1,
.raysan-single-post h2,
.raysan-single-post h3 {
    font-weight: bold !important;
}

/* ------------------------------------------------------------------ */
/* Referanslarımız homepage logo marquee (nedcon.com/us tarzı,          */
/* sütunlar sonsuz döngüyle dikey kayar, biri yukarı biri aşağı)        */
/* ------------------------------------------------------------------ */

.references-marquee {
    --ref-h: 420px;
    display: flex;
    gap: 1rem;
    height: var(--ref-h);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.references-column {
    flex: 1 0 0;
    min-width: 0;
    overflow: hidden;
}

.references-track {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    animation: dnzraf-scroll-up 34s linear infinite;
}

.references-column.scroll-down .references-track {
    animation-name: dnzraf-scroll-down;
}

.references-column:nth-child(1) .references-track { animation-duration: 30s; }
.references-column:nth-child(2) .references-track { animation-duration: 38s; }
.references-column:nth-child(3) .references-track { animation-duration: 26s; }
.references-column:nth-child(4) .references-track { animation-duration: 42s; }
.references-column:nth-child(5) .references-track { animation-duration: 34s; }
.references-column:nth-child(6) .references-track { animation-duration: 28s; }

@keyframes dnzraf-scroll-up {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

@keyframes dnzraf-scroll-down {
    from { transform: translateY(-50%); }
    to   { transform: translateY(0); }
}

.reference-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    height: 110px;
    padding: 1.25rem;
}

.reference-logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .55;
    transition: opacity .25s ease, filter .25s ease;
}

.reference-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 991.98px) {
    .references-marquee {
        --ref-h: 340px;
    }
    .references-column:nth-child(n+5) {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .references-marquee {
        --ref-h: 300px;
        gap: .5rem;
    }
    .references-column:nth-child(n+4) {
        display: none;
    }
    .reference-logo-card {
        height: 84px;
        padding: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .references-track {
        animation: none;
    }
}

/* ------------------------------------------------------------------ */
/* Iletisim (contact) page                                              */
/* ------------------------------------------------------------------ */

.dnzraf-contact-hero-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #2d3a53;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.3;
}

.dnzraf-contact-hero-text {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #5b6b85;
}

@media (min-width: 992px) {
    .dnzraf-contact-info {
        border-left: 1px solid #e5e5e5;
    }
}

.dnzraf-contact-info h4 {
    font-weight: bold;
    font-size: 1.05rem;
}

.dnzraf-contact-form input.form-control-custom,
.dnzraf-contact-form textarea.form-control-custom {
    padding: 8px 14px;
    font-size: .95rem;
    margin-bottom: 12px;
}

.dnzraf-contact-form input.wpcf7-submit {
    padding: 9px 28px;
    font-size: .95rem;
}

input.form-control-custom,
textarea.form-control-custom {
    border: 2px solid var(--bs-warning);
    border-radius: 0;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: transparent;
    color: var(--bs-dark);
    width: 100%;
}

input.form-control-custom::placeholder,
textarea.form-control-custom::placeholder {
    color: var(--bs-dark);
    opacity: .55;
}

input.form-control-custom:focus,
textarea.form-control-custom:focus {
    background: transparent;
    color: var(--bs-dark);
    outline: none;
    box-shadow: none;
    border-color: var(--bs-dark);
}

input.wpcf7-submit {
    padding: 11px 32px;
    font-weight: 700;
    background: var(--bs-warning);
    color: var(--bs-white);
    border: 0;
}

input.wpcf7-submit:hover {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.wpcf7-not-valid-tip {
    color: #ff8a8a;
    font-size: .85rem;
    margin-top: -12px;
    margin-bottom: 12px;
    display: block;
}

.wpcf7-response-output {
    border-radius: 0 !important;
    padding: 10px 16px !important;
    font-size: .9rem;
}

.wpcf7-mail-sent-ok {
    color: #155724;
    background: #d4edda;
    border-color: #c3e6cb !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
    color: #721c24;
    background: #f8d7da;
    border-color: #f5c6cb !important;
}

/* Yasal Bilgiler sayfasına özel: Bootstrap'ın varsayılan h1/h2/h3 boyutları (40/32/28px)
   bu uzun başlıklarla düzensiz görünüyordu -- daha küçük, tutarlı bir ölçek. */
.dnzraf-legal-content h1 {
    font-size: 1.5rem;
}

.dnzraf-legal-content h2 {
    font-size: 1.25rem;
}

.dnzraf-legal-content h3 {
    font-size: 1.1rem;
}

@media (min-width: 992px) {
    .dnzraf-legal-content h1 {
        font-size: 1.75rem;
    }

    .dnzraf-legal-content h2 {
        font-size: 1.4rem;
    }

    .dnzraf-legal-content h3 {
        font-size: 1.2rem;
    }
}

/* Ok + nokta göstergesi görselin ÜSTÜNDE değil, ALTINDA ayrı bir satırda
   (ürün sayfası galerileri için -- ör. Palet Raf Sistemi). */
.dnzraf-swiper-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.dnzraf-swiper-controls > [class*="swiper-button-prev-custom"],
.dnzraf-swiper-controls > [class*="swiper-button-next-custom"] {
    position: static;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--bs-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    transition: background-color .2s ease, color .2s ease;
    margin: 0;
}

.dnzraf-swiper-controls > [class*="swiper-button-prev-custom"]:hover,
.dnzraf-swiper-controls > [class*="swiper-button-next-custom"]:hover {
    background: var(--bs-warning);
    color: #fff;
}

.dnzraf-swiper-controls > [class*="swiper-pagination"] {
    position: static;
    width: auto;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.dnzraf-swiper-controls > [class*="swiper-pagination"] .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    flex: none;
}

/* Ürün sayfası özellik kartları (ör. Palet Raf Sistemi "Temel Özellikler") --
   sovaretail.com/dynamic-moduler-raf-sistemi "Temel Özellikler" kartlarıyla
   aynı orantıda, biraz küçültülmüş ölçek. */
.dnzraf-feature-card {
    background: var(--bs-white);
    border: 1px solid rgb(224, 230, 235);
    border-radius: .875rem;
    padding: 1.25rem;
    height: 100%;
}

.dnzraf-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: .75rem;
    background: rgba(var(--bs-warning-rgb), .12);
    color: var(--bs-warning);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
}

.dnzraf-feature-card h3 {
    font-size: 1.05rem;
}

.dnzraf-feature-card p {
    color: var(--bs-muted);
    font-size: .875rem;
}

/* "Hemen Aksiyon Alın!" CTA kartları (ör. Palet Raf Sistemi sayfası) --
   üstte renkli aksan çizgisi, ikon kutusu, başlık, metin, buton. */
.dnzraf-cta-card {
    background: var(--bs-white);
    border: 1px solid rgb(224, 230, 235);
    border-top-width: 4px;
    border-top-style: solid;
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
}

.dnzraf-cta-card-warning {
    border-top-color: var(--bs-warning);
}

.dnzraf-cta-card-dark {
    border-top-color: var(--bs-dark);
}

.dnzraf-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.dnzraf-cta-icon-warning {
    background: rgba(var(--bs-warning-rgb), .1);
    color: var(--bs-warning);
}

.dnzraf-cta-icon-dark {
    background: rgba(var(--bs-dark-rgb), .08);
    color: var(--bs-dark);
}

.dnzraf-cta-card p {
    color: var(--bs-muted);
    font-size: .95rem;
}

/* Market Rafları sayfası "Modüler Uyumluluk" mağaza tipi kartları --
   sol üstte ikon rozeti, altında etiket, sade çerçeveli kart. */
.dnzraf-store-type-card {
    display: flex;
    flex-direction: column;
    background: var(--bs-white);
    border: 1px solid rgb(224, 230, 235);
    border-radius: .875rem;
    padding: 1.5rem 1.25rem;
    height: 100%;
}

.dnzraf-store-type-icon {
    width: 46px;
    height: 46px;
    border-radius: .75rem;
    background: rgba(var(--bs-warning-rgb), .1);
    color: var(--bs-warning);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.dnzraf-store-type-card span {
    font-weight: 600;
    color: var(--bs-dark);
    font-size: .95rem;
    line-height: 1.3;
}

/* Ürün sayfası galeri çerçeveleri (Palet, Giydirme, Drive-in vb.) hepsi aynı
   4:3 çerçeve boyutunda kalsın diye -- kaynak görsellerin oranı ne olursa olsun. */
.dnzraf-product-swiper img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Projelerimiz sayfası: nedcon.com/us/projects/ tarzı referans kartları --
   kayan galeri + sol altta müşteri logosu rozeti. */
.dnzraf-project-logo-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    max-width: 70%;
    background: #fff;
    border-radius: .5rem;
    padding: .75rem 1.25rem;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .18);
}

.dnzraf-project-logo-badge img {
    display: block;
    height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 992px) {
    .dnzraf-project-logo-badge img {
        height: 85px;
    }
}
