/* Portal genel — Skyrich tarzı siyah üst/alt, beyaz gövde */

.portal-govde {
    margin: 0;
    background: #0b0b0b;
}

html body.portal-govde {
    margin-bottom: 0;
}

.portal-ust {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #000;
    border-bottom: 1px solid #222;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.portal-ust__ic {
    max-width: 1200px;
    margin: 0 auto;
}

.portal-logo__mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(145deg, #f5c400 0%, #e85a00 45%, #c41e1e 100%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.portal-logo__img {
    display: block;
    height: 40px;
    width: auto;
    max-width: min(300px, 58vw);
    object-fit: contain;
    object-position: left center;
}

@media (min-width: 768px) {
    .portal-logo__img {
        height: 46px;
        max-width: min(380px, 45vw);
    }
}

.portal-logo__baslik {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.portal-nav-ikon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.5rem !important;
    line-height: 1;
    opacity: 0.9;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.portal-nav-ikon:hover,
.portal-nav-ikon:focus-visible {
    opacity: 1;
    color: #f5c400;
}

.portal-nav-ikon__svg {
    display: block;
}

.portal-orta {
    background: #fff;
    color: #1a1a1a;
}

.portal-alt {
    background: #000;
    border-top: 1px solid #222;
}

.portal-alt a {
    color: #e9ecef;
}

/* Hero — header altı tam genişlik */
.portal-hero {
    position: relative;
    min-height: clamp(220px, 42vw, 420px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: #050505;
}

.portal-hero__gorsel {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 35%;
}

.portal-hero__katman {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.2) 100%);
}

.portal-hero__metin {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-bottom: 2rem;
    padding-top: 3rem;
}

.portal-hero__etiket {
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
}

.portal-hero__baslik,
.portal-hero__aciklama {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

.portal-hero__aciklama {
    max-width: 36rem;
    font-size: 0.95rem;
    opacity: 0.92;
}

/* CTA — araç uyumluluğu (açık tema) */
.portal-cta {
    background: linear-gradient(180deg, #faf7f5 0%, #f2ebe7 100%);
    border-top: 1px solid #e5dcd6;
    border-bottom: 1px solid #e5dcd6;
}

.portal-cta__etiket {
    color: #c41e1e;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.portal-cta__baslik {
    font-size: clamp(1.35rem, 4.2vw, 2rem);
    font-weight: 800;
    line-height: 1.18;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #141414;
    margin-bottom: 1rem;
}

.portal-cta__alt {
    color: #495057;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    font-size: 0.95rem;
}

.portal-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1.25rem;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0.15rem;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

@media (min-width: 576px) {
    .portal-cta__btn {
        min-width: 13rem;
    }
}

.portal-cta__btn--birincil {
    background: #e02020;
    color: #fff;
    border: 2px solid #e02020;
}

.portal-cta__btn--birincil:hover {
    background: #c41e1e;
    border-color: #c41e1e;
    color: #fff;
}

.portal-cta__btn--ikincil {
    background: transparent;
    color: #c41e1e;
    border: 2px solid #c41e1e;
}

.portal-cta__btn--ikincil:hover {
    background: rgba(196, 30, 30, 0.08);
    color: #a01818;
    border-color: #a01818;
}

.portal-urun-bolumu {
    background: #f4f4f5;
}

.portal-urun-kart {
    border-radius: 0.5rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.portal-urun-kartlink:hover .portal-urun-kart,
.portal-urun-kartlink:focus-visible .portal-urun-kart {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12) !important;
}

.portal-urun-kartlink:focus-visible {
    outline: 2px solid #c41e1e;
    outline-offset: 4px;
    border-radius: 0.5rem;
}

/* Ürün fotoğrafı kırpılmadan kutuya sığar */
.portal-urun-kart__resim-wrap {
    aspect-ratio: 4 / 3;
    background: #f8f9fa;
    display: grid;
    place-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ececec;
}

.portal-urun-kart__resim {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}

.portal-urun-kart__thumb {
    height: 6px;
    border-radius: 0.5rem 0.5rem 0 0;
    background: linear-gradient(90deg, #1a0505 0%, #c41e1e 40%, #f5c400 100%);
}

.portal-urun-detay__resim {
    max-height: 320px;
    object-fit: contain;
    background: #f8f9fa;
}

.portal-urun-kart__cta {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 0.65rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background: #c41e1e;
    border-radius: 0.35rem;
    transition: background 0.15s ease;
}

.portal-urun-kartlink:hover .portal-urun-kart__cta,
.portal-urun-kartlink:focus-visible .portal-urun-kart__cta {
    background: #a01818;
    color: #fff;
}

.portal-alt__tas-yazilim {
    font-size: 0.85rem;
}

/* Ürün detay — açık tema (portal ana gövde ile uyumlu) */
.portal-urun-detay {
    color: #1a1a1a;
}

.portal-urun-detay__breadcrumb .breadcrumb-item a {
    color: #c41e1e;
    text-decoration: none;
}

.portal-urun-detay__breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.portal-urun-detay__gorsel-kutu {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.portal-urun-detay__rozet {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    background: #0a0a0a;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.55rem;
    border-radius: 0.25rem;
}

.portal-urun-detay__gorsel-ic {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: #fafafa;
}

.portal-urun-detay__gorsel-ic img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.portal-urun-detay__gorsel-yer-tutucu {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.portal-urun-detay__slider {
    position: relative;
}

.portal-urun-detay__slider-ic {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: #fafafa;
    min-height: 12rem;
}

.portal-urun-detay__slider-ic img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.portal-urun-detay__slider-indicators {
    margin-bottom: 0.35rem;
    z-index: 3;
}

.portal-urun-detay__slider-indicators [data-bs-target] {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
}

.portal-urun-detay__slider-ok {
    width: 2.25rem;
    opacity: 0.9;
}

.portal-urun-detay__slider-ok .carousel-control-prev-icon,
.portal-urun-detay__slider-ok .carousel-control-next-icon {
    filter: invert(1) drop-shadow(0 0 1px rgba(0, 0, 0, 0.35));
}

.portal-urun-detay__uzun-not {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #333;
}

.portal-urun-detay__uzun-not img {
    max-width: 100%;
    height: auto;
}

.portal-urun-detay__badge-resmi {
    display: inline-block;
    background: #198754;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.portal-urun-detay__baslik {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #111;
    margin-bottom: 0.75rem;
}

.portal-urun-detay__kategori {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 1.25rem;
}

.portal-urun-detay__kategori-nokta {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 2px;
    background: #dc3545;
    flex-shrink: 0;
}

.portal-urun-detay__aciklama {
    color: #495057;
    line-height: 1.65;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.portal-urun-detay__kaynak-kutu {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.65rem;
    padding: 1rem 1.15rem;
    color: #212529;
}

.portal-urun-detay__tik {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    border: 2px solid #dc3545;
    flex-shrink: 0;
    position: relative;
    margin-top: 0.1rem;
}

.portal-urun-detay__tik::after {
    content: "";
    position: absolute;
    left: 0.32rem;
    top: 0.12rem;
    width: 0.35rem;
    height: 0.65rem;
    border: solid #dc3545;
    border-width: 0 2px 2px 0;
    transform: rotate(40deg);
}

.portal-urun-detay__kaynak-link {
    color: #c41e1e;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.portal-urun-detay__kaynak-link:hover {
    color: #a01818;
    text-decoration: underline;
}

.portal-urun-detay__dis-link {
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg) translate(-0.05rem, 0.05rem);
    opacity: 0.9;
}

.portal-urun-detay__btn {
    display: inline-block;
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0.4rem;
    border: 2px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.portal-urun-detay__btn--birincil {
    background: #c41e1e;
    border-color: #c41e1e;
    color: #fff;
}

.portal-urun-detay__btn--birincil:hover {
    background: #a01818;
    border-color: #a01818;
    color: #fff;
}

.portal-urun-detay__btn--ikincil {
    background: #fff;
    border-color: #c41e1e;
    color: #c41e1e;
}

.portal-urun-detay__btn--ikincil:hover {
    background: rgba(196, 30, 30, 0.08);
    color: #a01818;
}

.tracking-wide {
    letter-spacing: 0.12em;
}
