
/* ==========================================================================
   PAGE HEADERS (Multi-page support)
   ========================================================================== */
:root {
    --page-section-space: clamp(4rem, 7vw, 5.75rem);
    --page-section-gap: clamp(2.5rem, 4vw, 3rem);
}

.page-header {
    padding: clamp(4.25rem, 9vw, 5.75rem) 0 clamp(3.35rem, 7vw, 4.6rem);
    text-align: center;
    color: #fff;
    background: #080605;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(8, 6, 5, 0.94) 0%, rgba(12, 9, 7, 0.68) 42%, rgba(8, 6, 5, 0.9) 100%),
        radial-gradient(circle at 50% 0%, rgba(198, 151, 63, 0.22) 0%, rgba(198, 151, 63, 0) 48%),
        url('../images/BalPilav_Logo_SolUst.png');
    background-size: auto, auto, cover;
    background-position: center, center, center 24%;
    background-repeat: no-repeat;
    transform: scale(1.02);
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 96px;
    background: linear-gradient(180deg, rgba(8, 6, 5, 0), rgba(8, 6, 5, 0.76));
    z-index: 1;
    pointer-events: none;
}

.page-header .container,
.page-header .kk-products-layout {
    position: relative;
    z-index: 2;
}

.page-header-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(12, 9, 7, 0.68), rgba(12, 9, 7, 0.36));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.page-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(198, 151, 63, 0.16);
    color: #f6ddb2;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(243, 156, 18, 0.24);
    margin-bottom: 1rem;
}

.page-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #fff !important;
    margin-bottom: 0.9rem;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.page-header p {
    font-size: 0.98rem;
    color: rgba(255, 246, 228, 0.82);
    max-width: 30rem;
    margin: 0 auto 1.25rem;
    line-height: 1.7;
}

.page-header-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.page-header-breadcrumb a,
.page-header-breadcrumb span {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 244, 224, 0.82);
    text-decoration: none;
}

.page-header-breadcrumb a:hover {
    color: #fff;
}

.page-header-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4) !important;
}

.about,
.contact,
.menu-section,
.branches-section,
.vision-section {
    padding: var(--page-section-space) 0;
    margin: 0;
}

.map-section {
    margin: 0;
}

.branches-section {
    background: var(--clr-bg-alt);
}

.branches-header {
    text-align: center;
    margin-bottom: var(--page-section-gap);
}

.vision-section {
    background: var(--clr-bg);
}

.vision-section .section-header {
    margin-bottom: var(--page-section-gap);
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.vision-copy {
    margin: 0;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--clr-text-light);
}

.legal-section {
    padding: var(--page-section-space) 0;
    background: var(--clr-bg);
}

.legal-card {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.legal-stack {
    display: grid;
    gap: 1.75rem;
}

.legal-block h2 {
    margin: 0 0 0.8rem;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.legal-block p,
.legal-block li {
    color: var(--clr-text-light);
    line-height: 1.85;
}

.legal-block p {
    margin: 0;
}

.legal-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.6rem;
}

.legal-note {
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

.branches-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.branch-map-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.branch-map-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.branch-map-copy h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.45rem;
    margin: 0 0 0.45rem;
}

.branch-map-copy p {
    margin: 0;
    color: var(--clr-text-light);
    line-height: 1.7;
}

.branch-map-kicker {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--clr-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.branch-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(243, 156, 18, 0.08);
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.branch-map-link:hover {
    background: rgba(243, 156, 18, 0.16);
}

.branch-map-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .page-header {
        padding: 3.4rem 0 2.9rem;
    }

    .page-header-content {
        padding: 1.25rem 1rem 1.35rem;
        border-radius: 22px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 0.92rem;
    }

    .branch-map-header {
        flex-direction: column;
    }

    .branch-map-link {
        width: 100%;
        justify-content: center;
    }
}
