/*
 * Özel tasarım katmanı (tema dosyalarından ayrı).
 * combined_min.css'ten SONRA yüklenir: layouts/front.blade.php
 */

/* ==========================================================
 * Kategori ızgarası (partials/front/category-grid.blade.php)
 * ========================================================== */

.category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.category-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.category-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card__placeholder {
    width: 100%;
    height: 100%;
    /* Temanın --color-gray değeri (#f6f6f6) beyaz kartta seçilmiyor; nötr gri */
    background: #e5e7eb;
}

.category-card__title {
    display: block;
    padding: 14px 18px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

.category-card:hover,
.category-card:focus-visible {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.category-card:hover .category-card__media img,
.category-card:focus-visible .category-card__media img {
    transform: scale(1.05);
}

.category-card:hover .category-card__title,
.category-card:focus-visible .category-card__title {
    color: #fff;
}

.category-card:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

/* ==========================================================
 * Alt sayfa başlık bandı (partials/front/page-header.blade.php)
 * Fotoğraf yok: düz koyu zemin + üstte marka rengi şerit
 * ========================================================== */

.page-header {
    background: var(--color-heading-1, #1C2539);
    border-top: 3px solid var(--color-primary);
}

.page-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    min-height: 72px;
    padding: 12px 0;
}

.page-header__title {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.page-header__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.page-header__breadcrumb li {
    margin: 0;
}

.page-header__breadcrumb li + li::before {
    content: "\203A";
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.5);
}

.page-header__breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.page-header__breadcrumb a:hover,
.page-header__breadcrumb a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

/* Mobil: breadcrumb başlığın altında, küçük puntoyla */
@media (max-width: 767px) {
    .page-header__inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 2px;
        min-height: 56px;
        padding: 10px 0;
    }

    .page-header__title {
        font-size: 20px;
    }

    .page-header__breadcrumb ol {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-card,
    .category-card__media img {
        transition: none;
    }

    .category-card:hover .category-card__media img,
    .category-card:focus-visible .category-card__media img {
        transform: none;
    }
}
