/* =========================================================
   TEKTAŞ HUKUK BÜROSU
   YAYINLAR
   PREMIUM RESPONSIVE TASARIM
   ========================================================= */


/* =========================================================
   TEMEL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #0c1424;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

.yayinlar-header {
    position: relative;
    width: 100%;
    background: rgba(10, 17, 31, 0.98);
    border-bottom: 1px solid rgba(198, 162, 74, 0.16);
    z-index: 10;
}

.yayinlar-header-inner {
    width: min(1280px, calc(100% - 70px));
    min-height: 76px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* SOL TARAF */

.yayinlar-logo,
.yayinlar-brand {
    color: #ffffff;
    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 1.4px;

    transition: color 0.3s ease;
}

.yayinlar-logo:hover,
.yayinlar-brand:hover {
    color: #d8b85c;
}


/* =========================================================
   ANA SAYFA BUTONU
   ========================================================= */

.yayinlar-home {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 10px 15px;

    color: #c9a54f;
    text-decoration: none;

    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.6px;

    border: 1px solid rgba(198, 162, 74, 0.22);
    background: rgba(255, 255, 255, 0.015);

    transition:
        color 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.yayinlar-home:hover {
    color: #f0d27b;

    border-color: rgba(229, 197, 107, 0.55);

    background: rgba(198, 162, 74, 0.05);

    box-shadow:
        0 0 18px rgba(198, 162, 74, 0.10);
}


/* TERAZİ */

.yayinlar-home i,
.hukuk-terazi {
    font-size: 0.78rem;
    color: #c9a54f;

    transition:
        transform 0.35s ease,
        color 0.35s ease,
        filter 0.35s ease;
}

.yayinlar-home:hover i,
.yayinlar-home:hover .hukuk-terazi {
    color: #f0d27b;

    transform: translateY(-1px);

    filter:
        drop-shadow(0 0 5px rgba(229, 197, 107, 0.55));
}


/* =========================================================
   ANA ALAN
   ========================================================= */

.yayinlar-main {
    min-height: calc(100vh - 76px);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(198, 162, 74, 0.055),
            transparent 28%
        ),
        #0c1424;

    padding: 0 0 70px;
}

.yayinlar-container {
    width: min(1180px, calc(100% - 70px));
    margin: 0 auto;
}


/* =========================================================
   ÜST BÖLÜM
   ========================================================= */

.yayinlar-intro {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        270px;

    align-items: center;

    gap: 70px;

    padding: 68px 0 55px;
}

.yayinlar-intro-text {
    min-width: 0;
}


/* =========================================================
   KICKER
   ========================================================= */

.yayinlar-kicker {
    display: block;

    margin-bottom: 10px;

    color: #c9a54f;

    font-size: 0.70rem;
    font-weight: 600;

    letter-spacing: 4px;
    text-transform: uppercase;
}


/* =========================================================
   BAŞLIK
   ========================================================= */

.yayinlar-intro-text h1 {
    margin: 0;

    color: #ffffff;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(3rem, 5vw, 4.3rem);

    font-weight: 500;
    line-height: 0.95;

    letter-spacing: 1px;
}


/* =========================================================
   ALTIN ÇİZGİ
   ========================================================= */

.yayinlar-line {
    position: relative;

    width: 410px;
    max-width: 100%;

    height: 2px;

    margin-top: 17px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #b99137,
            #e7c76a,
            #b99137
        );

    box-shadow:
        0 0 10px rgba(198, 162, 74, 0.18);
}


/* KAYAN IŞIK */

.yayinlar-line::after {
    content: "";

    position: absolute;

    top: 0;
    left: -35%;

    width: 30%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.95),
            #fff2b0,
            transparent
        );

    transform: skewX(-20deg);

    animation:
        yayinlarLineShine 3.8s ease-in-out infinite;
}

@keyframes yayinlarLineShine {

    0% {
        left: -35%;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    55% {
        left: 110%;
        opacity: 1;
    }

    70% {
        left: 125%;
        opacity: 0;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}


/* =========================================================
   AÇIKLAMA
   ========================================================= */

.yayinlar-intro-text > p {
    max-width: 680px;

    margin: 23px 0 0;

    color: rgba(255,255,255,0.63);

    font-size: 0.88rem;
    font-weight: 300;

    line-height: 1.75;
}


/* =========================================================
   /* =========================================================
   AVUKAT FOTOĞRAFI
   ========================================================= */

.yayinlar-logo-mark {
    display: flex;

    justify-content: center;
    align-items: center;
}

.yayinlar-logo-mark img {
    display: block;

    width: 245px;
    height: 300px;

    object-fit: cover;

    object-position: center top;

    border-radius: 3px;

    border: 1px solid rgba(198,162,74,0.28);

    box-shadow:
        0 25px 55px rgba(0,0,0,0.42),
        0 0 35px rgba(198,162,74,0.12);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

.yayinlar-logo-mark img:hover {
    transform: translateY(-5px);

    border-color:
        rgba(229,197,107,0.55);

    box-shadow:
        0 30px 65px rgba(0,0,0,0.48),
        0 0 45px rgba(198,162,74,0.22);
}

/* =========================================================
   MAKALE GRID
   ========================================================= */

.yayinlar-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-top: 8px;

    counter-reset: yayin-sira;
}


/* =========================================================
   MAKALE KARTI
   ========================================================= */

.yayin-card {
    position: relative;

    min-height: 275px;

    padding: 29px 27px 26px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        );

    border:
        1px solid rgba(198,162,74,0.18);

    border-radius: 3px;

    box-shadow:
        0 12px 35px rgba(0,0,0,0.16);

    counter-increment: yayin-sira;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


/* =========================================================
   KART ÜST ALTIN ÇİZGİ
   ========================================================= */

.yayin-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 32px;

    width: 65px;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #b99137,
            #efd47d
        );

    box-shadow:
        0 0 12px rgba(198,162,74,0.35);

    transition:
        width 0.4s ease,
        box-shadow 0.4s ease;
}


/* =========================================================
   KART IŞIK EFEKTİ
   ========================================================= */

.yayin-card .kart-isik {
    position: absolute;

    top: -100%;
    left: -90%;

    width: 55%;
    height: 300%;

    background:
        linear-gradient(
            115deg,
            transparent,
            rgba(255,255,255,0.06),
            transparent
        );

    transform: rotate(18deg);

    opacity: 0;

    pointer-events: none;

    transition:
        left 0.75s ease,
        opacity 0.4s ease;
}


/* =========================================================
   KART HOVER
   ========================================================= */

.yayin-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(198,162,74,0.48);

    box-shadow:
        0 25px 50px rgba(0,0,0,0.30),
        0 0 28px rgba(198,162,74,0.08);
}

.yayin-card:hover::before {
    width: 105px;

    box-shadow:
        0 0 18px rgba(198,162,74,0.55);
}

.yayin-card:hover .kart-isik {
    left: 135%;
    opacity: 1;
}


/* =========================================================
   OTOMATİK KART NUMARASI
   ========================================================= */

.yayin-card::after {
    content:
        counter(yayin-sira, decimal-leading-zero);

    position: absolute;

    top: 25px;
    right: 25px;

    color:
        rgba(198,162,74,0.42);

    font-family:
        "Cormorant Garamond", serif;

    font-size: 1.15rem;
    font-weight: 500;

    letter-spacing: 2px;

    pointer-events: none;
}


/* =========================================================
   KART BAŞLIK
   ========================================================= */

.yayin-card h2 {
    position: relative;
    z-index: 2;

    margin: 15px 38px 17px 0;

    color: #ffffff;

    font-size: 1.05rem;
    font-weight: 600;

    line-height: 1.45;

    letter-spacing: 0.15px;
}


/* =========================================================
   KART AÇIKLAMA
   ========================================================= */

.yayin-card p {
    position: relative;
    z-index: 2;

    margin: 0;

    color:
        rgba(255,255,255,0.61);

    font-size: 0.84rem;
    font-weight: 300;

    line-height: 1.75;
}


/* =========================================================
   DEVAMINI OKU
   ========================================================= */

.yayin-card a {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    width: fit-content;

    margin-top: auto;
    padding-top: 22px;

    color: #c9a54f;

    text-decoration: none;

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.yayin-card a:hover {
    color: #f0d27b;

    gap: 12px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.yayinlar-footer {
    margin-top: 70px;

    padding: 34px 7% 20px;

    background: #090f1b;

    border-top:
        1px solid rgba(198,162,74,0.16);
}


/* FOOTER İÇERİK */

.yayinlar-footer-inner {
    width: min(1180px, 100%);

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* SOL MARKA */

.yayinlar-footer-brand {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.yayinlar-footer-brand span {
    color: #d4ad52;

    font-family: "Poppins", sans-serif;

    font-size: 0.78rem;
    font-weight: 600;

    letter-spacing: 2px;
}

.yayinlar-footer-brand small {
    color:
        rgba(255,255,255,0.42);

    font-size: 0.70rem;

    letter-spacing: 0.4px;
}


/* FOOTER LİNKLER */

.yayinlar-footer-links {
    display: flex;

    align-items: center;

    gap: 14px;
}

.yayinlar-footer-links a {
    color:
        rgba(255,255,255,0.58);

    text-decoration: none;

    font-size: 0.72rem;

    letter-spacing: 0.5px;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}

.yayinlar-footer-links a:hover {
    color: #d4ad52;

    text-shadow:
        0 0 10px rgba(212,173,82,0.35);
}

.footer-separator {
    color:
        rgba(201,165,79,0.25);

    font-size: 0.65rem;
}


/* ALT FOOTER */

.yayinlar-footer-bottom {
    width: min(1180px, 100%);

    margin: 26px auto 0;

    padding-top: 15px;

    border-top:
        1px solid rgba(255,255,255,0.05);

    color:
        rgba(255,255,255,0.27);

    font-size: 0.64rem;

    letter-spacing: 0.4px;

    text-align: center;
}


/* BASİT FOOTER HTML KULLANILIRSA */

.yayinlar-footer > p {
    margin: 5px 0;

    color:
        rgba(255,255,255,0.42);

    font-size: 0.72rem;

    text-align: center;
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media screen and (max-width: 1050px) {

    .yayinlar-container {
        width:
            min(900px, calc(100% - 50px));
    }

    .yayinlar-intro {
        grid-template-columns:
            minmax(0, 1fr) 220px;

        gap: 50px;

        padding: 60px 0 50px;
    }

    .yayinlar-logo-mark img {
        width: 200px;
        height: 200px;
    }

    .yayinlar-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 760px) {

    .yayinlar-header-inner {
        width: calc(100% - 35px);

        min-height: 68px;
    }

    .yayinlar-logo,
    .yayinlar-brand {
        font-size: 0.78rem;
    }

    .yayinlar-home {
        padding: 9px 12px;

        font-size: 0.72rem;
    }

    .yayinlar-container {
        width: calc(100% - 36px);
    }

    .yayinlar-intro {
        grid-template-columns: 1fr;

        gap: 32px;

        padding: 48px 0 48px;
    }

    .yayinlar-intro-text {
        text-align: center;
    }

    .yayinlar-logo-mark {
        order: -1;
    }

    .yayinlar-logo-mark img {
        width: 185px;
        height: 185px;
    }

    .yayinlar-intro-text h1 {
        font-size:
            clamp(2.8rem, 10vw, 3.8rem);
    }

    .yayinlar-line {
        width: min(410px, 100%);

        margin-left: auto;
        margin-right: auto;
    }

    .yayinlar-intro-text > p {
        max-width: 560px;

        margin-left: auto;
        margin-right: auto;

        font-size: 0.84rem;
    }

    .yayinlar-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .yayin-card {
        min-height: 250px;
    }

    .yayinlar-footer {
        margin-top: 60px;

        padding: 35px 22px 20px;
    }

    .yayinlar-footer-inner {
        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 22px;
    }

    .yayinlar-footer-brand {
        align-items: center;
    }
}


/* =========================================================
   TELEFON
   ========================================================= */

@media screen and (max-width: 480px) {

    .yayinlar-header-inner {
        width: calc(100% - 24px);

        min-height: 62px;
    }

    .yayinlar-logo,
    .yayinlar-brand {
        font-size: 0.68rem;

        letter-spacing: 1px;
    }

    .yayinlar-home {
        gap: 6px;

        padding: 8px 9px;

        font-size: 0.68rem;
    }

    .yayinlar-container {
        width: calc(100% - 28px);
    }

    .yayinlar-intro {
        padding: 38px 0 40px;

        gap: 25px;
    }

    .yayinlar-logo-mark img {
        width: 145px;
        height: 145px;
    }

    .yayinlar-kicker {
        font-size: 0.60rem;

        letter-spacing: 2.5px;
    }

    .yayinlar-intro-text h1 {
        font-size:
            clamp(2.5rem, 14vw, 3.4rem);
    }

    .yayinlar-line {
        margin-top: 14px;

        height: 2px;
    }

    .yayinlar-intro-text > p {
        margin-top: 18px;

        font-size: 0.78rem;

        line-height: 1.7;
    }

    .yayin-card {
        min-height: 0;

        padding: 27px 22px 24px;
    }

    .yayin-card::after {
        top: 20px;
        right: 20px;

        font-size: 1rem;
    }

    .yayin-card h2 {
        font-size: 0.98rem;

        margin-right: 30px;
    }

    .yayin-card p {
        font-size: 0.79rem;

        line-height: 1.7;
    }

    .yayin-card a {
        padding-top: 20px;

        font-size: 0.68rem;
    }

    .yayinlar-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .yayinlar-footer-links {
        gap: 10px;
    }
}


/* =========================================================
   ÇOK KÜÇÜK TELEFON
   ========================================================= */

@media screen and (max-width: 360px) {

    .yayinlar-logo,
    .yayinlar-brand {
        font-size: 0.61rem;
    }

    .yayinlar-logo-mark img {
        width: 130px;
        height: 130px;
    }

    .yayinlar-intro-text h1 {
        font-size: 2.5rem;
    }

    .yayinlar-home {
        padding: 7px 8px;
    }
}


/* =========================================================
   HAREKET AZALTMA
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;
    }
}
/* =========================================================
   SON DÜZELTMELER
   ========================================================= */

/* ANA SAYFA — ÇERÇEVESİZ PREMIUM GÖRÜNÜM */

.yayinlar-home {
    border: none !important;
    background: transparent !important;
    padding: 8px 0 !important;

    color: #c9a54f !important;

    box-shadow: none !important;

    display: inline-flex;
    align-items: center;
    gap: 9px;
}


/* Ana Sayfa altın ince çizgi */

.yayinlar-home::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: #e5c56b;

    box-shadow:
        0 0 8px rgba(229,197,107,0.6);

    transition: width 0.35s ease;
}

.yayinlar-home:hover::after {
    width: 100%;
}


/* TERAZİ — FONT AWESOME */

.yayinlar-home i {
    display: inline-block;

    font-size: 0.9rem !important;

    color: #c9a54f !important;

    background: transparent !important;

    border: none !important;

    filter: none;

    transform: none;
}

.yayinlar-home:hover i {
    color: #f0d27b !important;

    transform: translateY(-1px);

    filter:
        drop-shadow(0 0 5px rgba(229,197,107,0.55));
}


/* TERAZİ — SVG KULLANILIYORSA */

.yayinlar-home svg,
.yayinlar-home .hukuk-terazi {
    width: 18px !important;
    height: 18px !important;

    display: inline-block;

    fill: none !important;

    stroke: #c9a54f !important;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;

    background: transparent !important;

    border: none !important;

    filter: none;

    transform: none;
}

.yayinlar-home:hover svg,
.yayinlar-home:hover .hukuk-terazi {
    stroke: #f0d27b !important;

    transform: translateY(-1px);

    filter:
        drop-shadow(0 0 5px rgba(229,197,107,0.55));
}


/* =========================================================
   KART NUMARASI
   HTML'DEKİ ESKİ NUMARAYI GİZLE
   CSS OTOMATİK NUMARAYI KULLANSIN
   ========================================================= */

.yayin-card-number {
    display: none !important;
}


/* Otomatik numara */

.yayin-card::after {
    content:
        counter(yayin-sira, decimal-leading-zero) !important;

    position: absolute;

    top: 25px;
    right: 25px;

    color:
        rgba(198,162,74,0.42);

    font-family:
        "Cormorant Garamond", serif;

    font-size: 1.15rem;

    font-weight: 500;

    letter-spacing: 2px;

    pointer-events: none;
}


/* =========================================================
   FOOTER — DAHA ELİT VE SAKİN
   ========================================================= */

.yayinlar-footer {
    margin-top: 70px;

    padding: 38px 7% 20px;

    background: #080e1b;

    border-top:
        1px solid rgba(198,162,74,0.16);
}

.yayinlar-footer-inner {
    width: min(1180px, 100%);

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* Footer marka */

.yayinlar-footer-brand span {
    color: #d4ad52;

    font-size: 0.78rem;

    font-weight: 600;

    letter-spacing: 2px;
}

.yayinlar-footer-brand small {
    display: block;

    margin-top: 5px;

    color: rgba(255,255,255,0.40);

    font-size: 0.70rem;
}


/* Footer linkleri */

.yayinlar-footer-links {
    display: flex;

    align-items: center;

    gap: 14px;
}

.yayinlar-footer-links a {
    color: rgba(255,255,255,0.55);

    text-decoration: none;

    font-size: 0.72rem;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}

.yayinlar-footer-links a:hover {
    color: #d4ad52;

    text-shadow:
        0 0 10px rgba(212,173,82,0.35);
}


/* Alt telif */

.yayinlar-footer-bottom {
    width: min(1180px, 100%);

    margin: 25px auto 0;

    padding-top: 14px;

    border-top:
        1px solid rgba(255,255,255,0.05);

    text-align: center;

    color:
        rgba(255,255,255,0.25);

    font-size: 0.63rem;
}


/* =========================================================
   MOBİL FOOTER
   ========================================================= */

@media screen and (max-width: 700px) {

    .yayinlar-footer {
        padding:
            32px 22px 18px;
    }

    .yayinlar-footer-inner {
        flex-direction: column;

        gap: 20px;

        text-align: center;
    }

    .yayinlar-footer-brand {
        align-items: center;
    }

    .yayinlar-footer-links {
        justify-content: center;
    }
}