/* ===========================================================================
   Senkron Müzik — kurumsal palet & tipografi katmanı
   ---------------------------------------------------------------------------
   Kanonik yöntem: Admin -> Appearance -> Theme Options (Renk + Tipografi).
   Bu dosya, tema seçenekleri ayarlanana kadar makul varsayılanları sağlar ve
   yeni client-logos / project-gallery shortcode'larının stilini taşır.
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #3346e0;
    --primary-color-hover: #2537b8;
    --primary-rgb: 51, 70, 224;
    --color-main: #3346e0;
    --color-hover: #2537b8;

    --heading-font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --primary-font: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Marka tonları (yardımcı) */
    --senkron-cream: #f6f4ef;
    --senkron-dark: #0e0e16;
    --senkron-accent: #3346e0;
}

body {
    background-color: var(--senkron-cream);
}

/* ── client-logos shortcode ─────────────────────────────────────────── */
/* Kart tabanli + carousel: temanin kendi ".out-brand" kart bilesenini
   (beyaz kart, 16px radius, hover'da renkli border + golge) yeniden
   kullaniyor; carousel de temanin hazir ".swiper-outbrand" JS init'ini
   kullaniyor (public/js/swiper.js) - ekstra script gerekmiyor. */
.shortcode-client-logos .title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.shortcode-client-logos .out-brand {
    text-decoration: none;
    position: relative;
    overflow: hidden;
    padding: 0;
    height: 120px;
}

.shortcode-client-logos .out-brand:hover,
.shortcode-client-logos .out-brand.active {
    border-color: var(--senkron-accent);
    box-shadow: 0 10px 25px 0 rgba(51, 70, 224, .12);
}

.shortcode-client-logos .out-brand--img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: filter .25s ease, opacity .25s ease;
}

.shortcode-client-logos.client-logos-grayscale .out-brand--img {
    filter: grayscale(100%);
    opacity: .6;
}

.shortcode-client-logos .out-brand:hover .out-brand--img {
    filter: none;
    opacity: 1;
}

.shortcode-client-logos .pagination-swiper-outbrand {
    margin-top: 32px;
}

.shortcode-client-logos .swiper-outbrand {
    padding: 4px;
}

/* ── equipment-brands shortcode (ALV Yonetimi Brand modelinden) ────────── */
.shortcode-equipment-brands .title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.shortcode-equipment-brands .out-brand--img {
    width: auto;
    max-width: 120px;
    height: 56px;
    object-fit: contain;
}

.shortcode-equipment-brands .swiper-outbrand-3 {
    padding: 4px;
}


/* ── project-gallery shortcode ──────────────────────────────────────────── */
.shortcode-project-gallery .project-gallery-item {
    position: relative;
    display: block;
}

.shortcode-project-gallery .project-gallery-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.shortcode-project-gallery .project-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.shortcode-project-gallery .project-gallery-item:hover .project-gallery-thumb img {
    transform: scale(1.05);
}

.shortcode-project-gallery .project-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 20px 16px;
    background: linear-gradient(to top, rgba(14, 14, 22, .82), rgba(14, 14, 22, 0));
    color: #fff;
}

.shortcode-project-gallery .project-gallery-caption .h6 {
    color: #fff;
    margin: 0;
}

/* ── why-us shortcode, style-4: soldan hizali "katman katman" merdiven ── */
/* Kutular ayni yukseklikte, genislikleri en usttekinden (dar) en alttakine
   (tam sayfa) dogru otomatik orantili buyur; hepsi sol kenara hizali,
   boylece asagi indikce saga dogru genisleyen bir merdiven olusur. Ustte,
   fotografin uzerinde gercekten seffaf (frosted glass) bir rozet + aciklama
   bandi var. */
.shortcode-why-us-layers .why-us-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.shortcode-why-us-layers .why-us-layer {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    max-width: 100%;
}

.shortcode-why-us-layers .why-us-layer__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.shortcode-why-us-layers .why-us-layer:hover .why-us-layer__img {
    transform: scale(1.045);
}

.shortcode-why-us-layers .why-us-layer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 14, 22, .28) 0%, rgba(14, 14, 22, 0) 40%);
    pointer-events: none;
}

.shortcode-why-us-layers .why-us-layer__chip {
    position: absolute;
    top: 24px;
    left: 24px;
    display: inline-block;
    padding: 9px 20px;
    border-radius: 999px;
    background: rgba(14, 14, 22, .2);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .16);
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 19px;
    letter-spacing: .005em;
    color: #fff;
}

.shortcode-why-us-layers .why-us-layer__desc {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 460px;
    margin: 0;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(14, 14, 22, .18);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 14.5px;
    line-height: 1.55;
}

@media (max-width: 560px) {
    .shortcode-why-us-layers .why-us-layer {
        height: 240px;
        width: 100% !important;
    }

    .shortcode-why-us-layers .why-us-layer__chip {
        top: 16px;
        left: 16px;
        font-size: 16px;
        padding: 7px 16px;
    }

    .shortcode-why-us-layers .why-us-layer__desc {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
        font-size: 13.5px;
        padding: 12px 14px;
    }
}

/* ── why-us style-4: dark mode duzeltmesi ───────────────────────────── */
/* Temanin genel dark-mode kurali [data-block-id="why-us"] img { filter:
   brightness(0) invert(1); } - eski ikon tarzi kucuk gorsel stilleri icin
   (beyaza cevirir). Bizim style-4'teki tam kapli fotograflari da beyaza
   cevirip gorunmez yapiyordu; burada sadece bizim resmimiz icin filtreyi
   sifirliyoruz. */
.is_dark [data-block-id="why-us"] .why-us-layer__img {
    filter: none;
}

/* ── site-statistics ve client-logos: sabit acik-krem arka plani iptal ── */
/* Bu iki blok, sayfa icerigindeki [site-statistics ...] ve [client-logos ...]
   shortcode'larina background_color="#f6f4ef" verildigi icin, Shortcode
   compiler'i bunu inline "style" ozniteligine --block-<isim>-background-color
   degiskeni + "background-color: var(...) !important;" olarak yaziyor. Inline
   !important normal bir CSS kuraliyla (ayni ozellik uzerinden) asilamaz; ama
   kullandigi CSS degiskenini disaridan, !important ile yeniden tanimlarsak
   (degiskenin kendisi inline'da !important degil), tarayici o yeni degeri
   kullanir. Boylece sayfa icerigine/DB'ye hic dokunmadan bu iki seritteki
   sabit beyaz/krem arka plani seffaf yapiyoruz - "ana sayfada baska hicbir
   sey degismesin" istegine uygun, tamamen CSS-only, geri alinabilir bir
   duzeltme. */
[data-block-id="site-statistics"] {
    --block-site-statistics-background-color: transparent !important;
}

[data-block-id="client-logos"] {
    --block-client-logos-background-color: transparent !important;
}
