/* ==========================================================================
   İç sayfalar — ortak başlık bandı (_MarketingHero) ve sayfa bileşenleri
   ========================================================================== */

/* Koyu başlık bandı yüzen menünün altından başlar */
body:has(.ak-page-hero) main[role="main"] { margin-top: calc(-1 * var(--navbar-height)); }

.ak-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: var(--ak-plum-950);
    padding-top: calc(var(--navbar-height) + clamp(24px, 3vw, 40px));
    padding-bottom: clamp(56px, 6vw, 96px);
}
.ak-page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(800px 480px at 85% 0%, rgba(var(--akt-p500-rgb, 154, 68, 121), .5), transparent 62%),
        radial-gradient(600px 400px at 0% 110%, rgba(var(--akt-s-rgb, 238, 215, 21), .08), transparent 60%),
        linear-gradient(180deg, var(--akt-p54, #4a193d) 0%, var(--ak-plum-950, #3d1533) 100%);
}
.ak-page-hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--ak-mashrabiya);
    background-size: 48px 48px;
    opacity: .55;
    -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 20%, #000, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 90% at 85% 20%, #000, transparent 70%);
}
.ak-page-hero__bg::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--akt-s-rgb, 238, 215, 21), .4), transparent);
}
.ak-page-hero__word {
    position: absolute;
    inset-inline-start: -1%;
    bottom: -.3em;
    font-size: clamp(8rem, 20vw, 19rem);
    line-height: 1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .06);
    pointer-events: none;
    user-select: none;
}

.ak-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(24px, 3vw, 40px);
    font-size: .8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
}
.ak-crumbs a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.ak-crumbs a:hover { color: var(--ak-sun); }
.ak-crumbs i { font-size: .625rem; opacity: .6; }
.ak-crumbs span { color: rgba(255, 255, 255, .55); }

.ak-page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}
.ak-page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: var(--ak-radius-pill);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .92);
    font-size: .8125rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.ak-page-hero__badge i { color: var(--ak-sun); }
.ak-page-hero__title {
    margin: 0 0 18px;
    max-width: 18ch;
    color: #fff !important;
    font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
}
html[dir="rtl"] .ak-page-hero__title { letter-spacing: 0; line-height: 1.2; }
.ak-page-hero__lead {
    margin: 0;
    max-width: 44rem;
    color: rgba(255, 255, 255, .8) !important;
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
    line-height: 1.6;
}
.ak-page-hero__desc { margin: 12px 0 0; max-width: 44rem; color: rgba(255, 255, 255, .62) !important; line-height: 1.65; }
.ak-page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Kemer amblem */
.ak-page-hero__emblem {
    position: relative;
    width: 230px;
    height: 290px;
    border-radius: 50% 50% 26px 26px / 42% 42% 26px 26px;
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(var(--akt-s-rgb, 238, 215, 21), .18), transparent 60%),
        linear-gradient(180deg, var(--akt-p88, #7a2d63) 0%, var(--akt-p49, #43163a) 100%);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8);
    display: grid;
    place-items: center;
    isolation: isolate;
}
.ak-page-hero__emblem::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background-image: var(--ak-mashrabiya);
    background-size: 40px 40px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
    mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.ak-page-hero__emblem::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: inherit;
    border: 1px solid rgba(var(--akt-s-rgb, 238, 215, 21), .25);
}
.ak-page-hero__icon {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: var(--ak-sun);
    color: var(--ak-plum-950);
    font-size: 2.25rem;
    transform: rotate(45deg);
    box-shadow: 0 20px 40px -16px rgba(var(--akt-s-rgb, 238, 215, 21), .5);
}
.ak-page-hero__icon i { transform: rotate(-45deg); }
.ak-page-hero__ring { display: none; }
.ak-page-hero__chip {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--ak-plum-700);
    box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6);
    font-size: 1rem;
}
.ak-page-hero__chip--1 { top: 18%; inset-inline-start: -22px; }
.ak-page-hero__chip--2 { bottom: 18%; inset-inline-end: -22px; }
.ak-page-hero__chip--3 { top: -10px; inset-inline-end: 22px; background: var(--ak-sand); color: #fff; font-size: 1.375rem; }
@media (prefers-reduced-motion: no-preference) {
    .ak-page-hero__chip { animation: ak-bob 6s ease-in-out infinite !important; }
    .ak-page-hero__chip--2 { animation-delay: -2s !important; }
    .ak-page-hero__chip--3 { animation-delay: -4s !important; }
}
@keyframes ak-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 991.98px) {
    .ak-page-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .ak-page-hero__emblem { display: none; }
}
@media (max-width: 767.98px) {
    .ak-page-hero { padding-bottom: 48px; }
    .ak-crumbs { margin-bottom: 20px; }
    .ak-page-hero__actions { flex-direction: column; }
    .ak-page-hero__actions .ak-btn { width: 100%; min-height: 52px; }
}

/* ==========================================================================
   Eski iç sayfa bileşenlerini yeni dile çekme (markup değişmeden)
   ========================================================================== */

/* Bölüm başlıkları */
.marketing-section,
.about-page section,
.corporate-section { scroll-margin-top: calc(var(--navbar-height) + var(--top-banner-height, 0px)); }

.section-title,
.marketing-section h2,
.page-content h2 {
    font-family: var(--ak-font);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ak-ink);
}

/* Bootstrap kartları ve akordeonlar: yumuşak, sıcak, ferah */
main .card {
    border: 1px solid var(--ak-line);
    border-radius: var(--ak-radius-lg);
    box-shadow: none;
    background: #fff;
}
main .card-header { background: transparent; border-bottom-color: var(--ak-line); font-weight: 700; }

main .accordion { --bs-accordion-border-color: var(--ak-line); --bs-accordion-border-radius: 16px; --bs-accordion-inner-border-radius: 15px; --bs-accordion-active-bg: var(--ak-plum-25); --bs-accordion-active-color: var(--ak-plum-800); --bs-accordion-btn-focus-box-shadow: var(--ak-ring); }
main .accordion-item { border-radius: 16px !important; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--ak-line) !important; }
main .accordion-button { font-weight: 700; padding: 18px 20px; color: var(--ak-ink); }
main .accordion-button:not(.collapsed) { box-shadow: none; }
main .accordion-body { color: var(--ak-ink-2); line-height: 1.7; }

main .badge.bg-primary { background: var(--ak-plum-600) !important; }
main .text-primary { color: var(--ak-plum-600) !important; }
main .bg-primary { background-color: var(--ak-plum-600) !important; }

/* Dokunma alanları: telefonda tüm butonlar en az 44px */
@media (max-width: 767.98px) {
    main .btn { min-height: 44px; }
    main .form-control, main .form-select { min-height: 48px; font-size: 16px; } /* iOS yakınlaştırmasını önler */
}

/* Telefonda breadcrumb bağlantıları da en az 44px dokunma alanı */
@media (max-width: 767.98px) {
    .ak-crumbs { gap: 4px 8px; margin-bottom: 12px; }
    .ak-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Bant kelimesi kesilmeden, amblemin arkasında ve tamamen görünür */
.ak-page-hero__word {
    inset-inline-start: auto;
    inset-inline-end: 3%;
    bottom: 18px;
    font-size: clamp(5rem, 9vw, 9rem);
    line-height: 1.4;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .07);
}
@media (max-width: 991.98px) { .ak-page-hero__word { display: none; } }
