/* ============================================================
   Tema eklentileri — ospa-components.css'i tamamlar
   (referansta sayfa içi <style> bloklarında duran kurallar +
    CMS zengin metni için .prose tipografisi)
   ============================================================ */

/* ---------- Hakkımızda: alt CTA bandı ---------- */
.about-cta {
    position: relative;
    overflow: hidden;
    padding-block: clamp(6rem, 14vw, 12rem);
    border-top: 1px solid var(--gold-border);
}
.about-cta__bg { position: absolute; inset: 0; z-index: 0; }
.about-cta__bg img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.3) grayscale(30%) saturate(120%);
    transform: scale(1.05);
    transition: transform 15s ease;
}
.about-cta:hover .about-cta__bg img { transform: scale(1); }
.about-cta__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,7,5,.6) 0%, rgba(10,7,5,.3) 40%, rgba(10,7,5,.7) 100%),
        radial-gradient(ellipse at center bottom, rgba(201,169,110,.08) 0%, transparent 60%);
}
.about-cta__inner {
    position: relative; z-index: 1;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
}
.about-cta__badge {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(201,169,110,.1);
    border: 1px solid rgba(201,169,110,.2);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.75rem;
}
.about-cta__badge .material-symbols-outlined {
    font-size: 1.75rem; color: var(--gold);
    font-variation-settings: 'FILL' 0, 'wght' 200;
}
.about-cta__eyebrow { margin-bottom: 1.25rem; color: var(--gold-light); }
.about-cta__title {
    margin-bottom: 1.5rem; color: #fff;
    text-shadow: 0 4px 30px rgba(0,0,0,.6);
    max-width: 700px;
}
.about-cta__title em { font-style: italic; color: var(--gold-light); }
.about-cta__desc {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 300; color: rgba(245,240,232,.7);
    line-height: 1.8; max-width: 520px; margin-bottom: 2.5rem;
}
.about-cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
@media (max-width: 600px) {
    .about-cta__actions { flex-direction: column; width: 100%; }
    .about-cta__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- İletişim: harita bandı ---------- */
.custom-map-section { position: relative; width: 100%; }
.custom-map-container {
    position: relative; width: 100%;
    border-block: 1px solid var(--gold-border);
    overflow: hidden;
    filter: grayscale(30%) brightness(.9);
}
.custom-map-container iframe,
.custom-map-container > * { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CMS zengin metni (.prose) ---------- */
.prose { color: var(--text-2); font-size: 1.0625rem; line-height: 1.85; font-weight: 400; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child  { margin-bottom: 0; }
.prose p { margin: 0 0 1.25rem; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    font-family: var(--font-serif);
    color: var(--text);
    font-weight: 500;
    line-height: 1.25;
    margin: 2.5rem 0 1rem;
}
.prose h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.prose h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.prose h4 { font-size: 1.2rem; }
.prose a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-border); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.prose a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose em, .prose i { font-style: italic; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li {
    position: relative; padding-left: 1.5rem; margin-bottom: .625rem;
}
.prose ul > li::before {
    content: ""; position: absolute; left: 0; top: .75em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.prose ol { list-style: decimal; }
.prose ol > li { margin-bottom: .625rem; padding-left: .25rem; }
.prose ol > li::marker { color: var(--gold); font-weight: 600; }
.prose img {
    max-width: 100%; height: auto;
    border-radius: var(--radius); margin: 1.75rem 0;
    border: 1px solid var(--glass-border);
}
.prose blockquote {
    margin: 1.75rem 0; padding: 1.25rem 1.5rem;
    border-left: 2px solid var(--gold);
    background: var(--bg-2);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-2); font-style: italic;
}
.prose hr { border: 0; border-top: 1px solid var(--gold-border); margin: 2.5rem 0; }
.prose code {
    background: var(--bg-3); color: var(--gold-light);
    padding: .15em .4em; border-radius: var(--radius-sm); font-size: .9em;
}
.prose pre {
    background: var(--bg-3); border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 1.25rem; overflow-x: auto; margin: 1.75rem 0;
}
.prose pre code { background: none; padding: 0; }
.prose table {
    width: 100%; border-collapse: collapse; margin: 1.75rem 0;
    font-size: .95rem; display: block; overflow-x: auto;
}
.prose th, .prose td { padding: .75rem 1rem; border: 1px solid var(--gold-border); text-align: left; }
.prose th { background: var(--bg-3); color: var(--text); font-weight: 600; }
.prose iframe, .prose video { max-width: 100%; border-radius: var(--radius); margin: 1.75rem 0; }

/* ---------- Logo ölçüleri (dikey logo taşmasın) ---------- */
.nav__logo img {
    height: 52px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    display: block;
    filter: none;
    transition: height var(--dur) var(--ease);
}
.nav.scrolled .nav__logo img { height: 44px; }
@media (max-width: 900px) { .nav__logo img { height: 42px; max-width: 190px; } }
@media (max-width: 480px) { .nav__logo img { height: 36px; max-width: 160px; } }

.footer__brand-name img {
    height: 62px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    filter: none;
}
.drawer__logo img { height: 40px; width: auto; }

/* ============================================================
   CMS içeriğindeki eski Bootstrap sınıfları (btn, hr-apply…)
   koyu temada da düzgün görünsün
   ============================================================ */
.prose .btn,
.prose a.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .95rem 2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
}
.prose .btn-primary,
.prose .btn-success,
.prose a.btn:not(.btn-outline-primary):not(.btn-outline-light):not(.btn-link) {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: #17100a;
    border-color: transparent;
    box-shadow: 0 14px 34px rgba(201,169,110,.18);
}
.prose .btn-primary:hover,
.prose .btn-success:hover,
.prose a.btn:hover {
    color: #17100a;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(201,169,110,.28);
    filter: brightness(1.05);
    border-bottom-color: transparent;
}
.prose .btn-outline-primary,
.prose .btn-outline-light,
.prose .btn-outline-secondary {
    background: rgba(255,255,255,.04);
    border-color: var(--gold-border);
    color: var(--text);
}
.prose .btn-outline-primary:hover,
.prose .btn-outline-light:hover,
.prose .btn-outline-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(201,169,110,.1);
}
.prose .btn-lg { padding: 1.05rem 2.4rem; font-size: .875rem; }
.prose .btn-sm { padding: .7rem 1.4rem; font-size: .75rem; }
.prose .btn i.bi { display: none; } /* Bootstrap Icons yüklü değil */
.prose .mt-3 { margin-top: 1rem; }
.prose .mt-4 { margin-top: 1.5rem; }
.prose .text-center { text-align: center; }

/* Açık pozisyon kutusu (hr-apply) */
.prose .hr-apply {
    margin: 2.5rem 0;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background: var(--bg-2);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-gold);
}
.prose .hr-apply__eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    padding: .35rem .8rem;
    border: 1px solid var(--gold-border);
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.prose .hr-apply__title {
    font-family: var(--font-serif);
    color: var(--text);
    margin: 0 0 .5rem;
}
.prose .hr-apply__meta {
    color: var(--gold-light);
    font-size: .9rem;
    letter-spacing: .04em;
    margin-bottom: 1.25rem;
}

/* ============================================================
   Kampanya şeridi (hizmet kartlarının üstü)
   ============================================================ */
.promo-band {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
    padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.5rem, 4vw, 2.75rem);
    background:
        radial-gradient(120% 180% at 0% 0%, rgba(201,169,110,.10) 0%, transparent 60%),
        var(--bg-2);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}
.promo-band::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
}
.promo-band__eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    padding: .35rem .85rem;
    border: 1px solid var(--gold-border);
    border-radius: 999px;
    margin-bottom: .9rem;
}
.promo-band__lead {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    line-height: 1.35;
    color: var(--text);
    margin: 0;
    max-width: 34ch;
}
.promo-band__offers {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 2.5vw, 2rem);
}
.promo-band__offer {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .9rem 1.4rem;
    background: rgba(201,169,110,.06);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.promo-band__offer:hover { border-color: var(--gold); transform: translateY(-2px); }
.promo-band__num {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 500;
    color: var(--gold-light);
}
.promo-band__text { display: flex; flex-direction: column; line-height: 1.3; }
.promo-band__text strong {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .01em;
}
.promo-band__text em {
    font-style: normal;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: .25rem;
}
@media (max-width: 900px) {
    .promo-band { grid-template-columns: 1fr; }
    .promo-band__lead { max-width: none; }
}
@media (max-width: 520px) {
    .promo-band__offers { flex-direction: column; }
    .promo-band__offer { width: 100%; }
}

/* ---------- Footer geliştirici kredisi ---------- */
.footer__credit {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    letter-spacing: .05em;
    color: var(--text-3);
    white-space: nowrap;
}
.footer__credit-link {
    font-weight: 600;
    color: var(--gold);
    border-bottom: 1px solid transparent;
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__credit-link:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

/* ============================================================
   Üst şerit e-posta menüsü (hazır mesaj şablonları)
   ============================================================ */
.mailmenu { position: relative; display: inline-flex; }
.mailmenu__btn { border: 0; background: none; cursor: pointer; }
.mailmenu.is-open .mailmenu__btn { color: var(--gold); }

.mailmenu__panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 200;
    width: 296px;
    padding: .85rem;
    background: var(--bg-3);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
}
.mailmenu.is-open .mailmenu__panel { opacity: 1; visibility: visible; transform: none; }
.mailmenu__panel::before {
    content: "";
    position: absolute;
    top: -5px; right: 14px;
    width: 9px; height: 9px;
    background: var(--bg-3);
    border-left: 1px solid var(--gold-border);
    border-top: 1px solid var(--gold-border);
    transform: rotate(45deg);
}
.mailmenu__title {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: .15rem .35rem .7rem;
}
.mailmenu__item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem .6rem;
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-size: .85rem;
    line-height: 1.35;
    text-decoration: none;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mailmenu__item:hover,
.mailmenu__item:focus-visible { background: rgba(201, 169, 110, .1); color: var(--text); }
.mailmenu__item .material-symbols-outlined { font-size: 1.15rem; color: var(--gold); flex: 0 0 auto; }
.mailmenu__label { flex: 1; }
.mailmenu__arrow { opacity: 0; transform: translateX(-4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); font-size: 1rem !important; }
.mailmenu__item:hover .mailmenu__arrow { opacity: .8; transform: none; }
.mailmenu__foot {
    display: block;
    margin: .6rem .35rem .15rem;
    padding-top: .6rem;
    border-top: 1px solid var(--gold-border);
    font-size: .72rem;
    color: var(--text-3);
    word-break: break-all;
}
@media (max-width: 520px) {
    .mailmenu__panel { width: min(280px, calc(100vw - 32px)); right: -8px; }
}
