/* ═══════════════════════════════════════════════════════════════
   BRANDS — Genel sayfa stilleri
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   HERO SLIDER
───────────────────────────────────────── */
.brand-hero {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    min-height: 560px;
}

.brand-slider-track-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.brand-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Her slide tam genişlikte, shrink etmemeli */
.brand-slide {
    flex: 0 0 100%;
    min-width: 0;
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.brand-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.brand-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.70) 0%,
        rgba(0, 0, 0, 0.35) 60%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.brand-slide-content {
    position: relative;
    z-index: 10;
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    color: #fff;
}

.brand-slide-tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
}

.brand-slide-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    max-width: 700px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.brand-slide-sub {
    margin-top: 1rem;
    font-size: 1.125rem;
    max-width: 520px;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
}

.brand-slide-cta {
    margin-top: 2rem;
}

.brand-btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.brand-btn-primary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Ok butonları */
.brand-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.2s, transform 0.15s;
}

.brand-slider-arrow:hover {
    background: rgba(255,255,255,0.28);
    transform: translateY(-50%) scale(1.08);
}

.brand-slider-prev { left: 1rem; }
.brand-slider-next { right: 1rem; }

.brand-slider-arrow .material-symbols-outlined {
    font-size: 1.5rem;
}

/* Dot'lar */
.brand-slider-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.40);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.2s;
}

.brand-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ─────────────────────────────────────────
   BREADCRUMB ŞERİDİ (show sayfası)
───────────────────────────────────────── */
.brand-breadcrumb {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.6rem 0;
}

.brand-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.brand-breadcrumb-link:hover {
    color: #1e293b;
}

.brand-breadcrumb-home-icon {
    font-size: 1.1rem;
    vertical-align: middle;
}

.brand-breadcrumb-sep {
    color: #cbd5e1;
    font-size: 1rem;
    user-select: none;
}

.brand-breadcrumb-active {
    color: #1e293b;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

/* ─────────────────────────────────────────
   BRANDS INDEX — kurumsal grid + pill CTA
───────────────────────────────────────── */
.brands-index-section {
    background: #f6fdf7;
}

.brand-index-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.35rem;
    background: #22823a;
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    align-self: flex-start;
    box-shadow: 0 4px 16px rgba(34, 130, 58, 0.18);
}

.brand-index-btn:hover {
    background: #1a6a2d;
    transform: translateY(-1px);
}

.brands-index-card-logo {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    margin-bottom: 12px;
}

.brands-index-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, #e8f5ec 0%, #d4edda 100%);
}

.brands-index-fallback-logo {
    max-height: 64px;
    max-width: 70%;
    object-fit: contain;
}

.brands-index-fallback-icon {
    font-size: 3rem;
    color: #22823a;
    opacity: 0.45;
}

.brands-index-page .corp-tech-card {
    border-color: #e4ede6;
}

.brands-index-page .corp-tech-card:hover {
    border-color: #22823a;
    box-shadow: 0 12px 40px rgba(34, 130, 58, 0.12);
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 768px) {
    .brand-hero {
        min-height: unset;
    }
    .brand-slide {
        min-height: unset;
        aspect-ratio: 4 / 3;
        align-items: flex-end;
    }
    .brand-slide-bg {
        object-fit: cover;
        object-position: center top;
    }
    .brand-slide-content {
        padding: 2rem 1.25rem;
    }
    .brand-slider-arrow {
        width: 36px;
        height: 36px;
    }
    .brand-slider-prev { left: 0.5rem; }
    .brand-slider-next { right: 0.5rem; }
}
