/* ============================================================
   CSS Custom Properties — tüm marka renkleri tek yerden
   ============================================================ */
:root {
    --brand-darkest:   #071840;
    --brand-dark:      #0f338e;
    --brand-mid:       #1947ba;
    --brand-primary:   #2051cc;
    --brand-light-bg:  #f0f4ff;

    --text-heading:    #0f1f4b;
    --text-heading-h4: #1a2f6b;
    --text-body-dark:  #1a1a2e;
    --text-body:       #2d3748;
    --text-lead:       #374151;

    --font-base: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   Base
   ============================================================ */
html {
    font-size: 14px;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--text-body-dark);
}

/* ============================================================
   Focus styles
   ============================================================ */
.btn:focus-visible,
.btn:active:focus-visible,
.form-control:focus-visible,
.form-check-input:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible {
    outline: 2px solid rgba(32, 81, 204, 0.7);
    outline-offset: 3px;
    box-shadow: none;
}

.navbar .btn:focus-visible,
.navbar .form-control:focus-visible,
.navbar .nav-link:focus-visible,
.top-utility-bar .btn:focus-visible,
footer.footer a:focus-visible {
    outline-color: rgba(255, 255, 255, 0.8);
    box-shadow: none;
}

/* ============================================================
   Form floating
   ============================================================ */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ============================================================
   CMS Content
   ============================================================ */
.cms-content {
    line-height: 1.6;
}

.cms-content img {
    max-width: 100%;
    height: auto;
}

.cms-content img.page-header-image {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.cms-content h2,
.cms-content h3,
.cms-content h4 {
    margin-top: 2rem;
}

.cms-content p {
    max-width: 85ch;
}

/* ============================================================
   Layout
   ============================================================ */
.container.main-page {
    max-width: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.container:not(.main-page) {
    max-width: 1200px;
}

.container:not(.main-page) > main {
    padding-top: 2.5rem !important;
    padding-bottom: 3rem !important;
    animation: pageEnter 0.3s ease both;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel.slide {
    max-width: none !important;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    border-radius: 4px !important;
    font-family: var(--font-base);
    font-weight: 500;
}

/* ============================================================
   Top Utility Bar
   ============================================================ */
.top-utility-bar {
    background-color: var(--brand-darkest);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-family: var(--font-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-bar .container {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}

.top-utility-bar .btn {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    padding: 0.1rem 0.55rem;
}

.top-utility-bar .btn:hover,
.top-utility-bar .btn:focus {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.top-utility-bar .dropdown-menu {
    font-size: 0.82rem;
}

/* ============================================================
   Tenant Flag
   ============================================================ */
.tenant-flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    vertical-align: -0.15em;
    flex-shrink: 0;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
    background: linear-gradient(105deg, var(--brand-primary) 0%, var(--brand-mid) 50%, var(--brand-dark) 100%) !important;
}

.navbar-nav .nav-link {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
    text-transform: none !important;
    font-size: 1.05rem;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease;
    font-family: var(--font-base);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:focus::before {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 0.85) !important;
}

.nav-item a[b-ym308pkkck] {
    color: #fff !important;
}

/* Dropdown menu */
.navbar .dropdown-menu {
    border: none;
    border-top: 3px solid var(--brand-mid);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 20px rgba(15, 51, 142, 0.18);
    padding: 0.4rem 0;
    margin-top: 2px !important;
    font-family: var(--font-base);
}

.navbar .dropdown-menu .dropdown-item {
    color: #212529 !important;
    padding: 0.55rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 400;
    transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    color: var(--brand-mid) !important;
    background-color: var(--brand-light-bg);
    padding-left: 1.6rem;
}

/* Navbar search */
.navbar .form-control {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    font-family: var(--font-base);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.navbar .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.navbar .form-control:focus {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    box-shadow: none;
}

/* ============================================================
   Carousel
   ============================================================ */
.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    position: relative;
}

.carousel-caption {
    position: absolute;
    top: 20%;
}

/* Carousel caption — tipografi override'larından korunur */
    .carousel-caption,
    .carousel-caption h1,
    .carousel-caption h2,
    .carousel-caption h3,
    .carousel-caption h4,
    .carousel-caption p {
        /*color: #fff !important;*/
        color: #fff;
    }

/* ============================================================
   Misc helpers
   ============================================================ */
.featurette-divider {
    margin: 2rem 0 !important;
}

.no-border-top {
    border-top: none !important;
}

.no-border-bottom {
    border-bottom: none !important;
}

.ml-3 {
    margin-left: 1rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.text-align-justify {
    text-align: justify;
}

/* ============================================================
   Footer
   ============================================================ */
footer.footer {
    background: linear-gradient(160deg, var(--brand-darkest) 0%, var(--brand-dark) 100%);
    border-top: none !important;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-base);
    margin-top: auto;
    /* _Layout.cshtml.css kalıntılarını sıfırla */
    position: static !important;
    bottom: auto !important;
    width: 100% !important;
    white-space: normal !important;
    line-height: normal !important;
}

.footer__logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer__logo {
    height: 40px;
    width: auto;
}

.footer__desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.footer__heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.footer__links li + li {
    margin-top: 0.55rem;
}

footer.footer .footer__links a {
    color: #fff !important;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s, padding-left 0.15s;
    display: inline-block;
}

footer.footer .footer__links a:hover {
    color: rgba(255, 255, 255, 0.7) !important;
    padding-left: 4px;
}

.footer__social .footer__heading {
    margin-bottom: 0.75rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.footer__social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

/* ============================================================
   Typography hierarchy
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-base);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-heading);
    margin-bottom: 0.65em;
}

h1 { letter-spacing: -0.03em; }
h2 { letter-spacing: -0.02em; }
h3 { letter-spacing: -0.01em; }

h4 {
    font-weight: 600;
    color: var(--text-heading-h4);
}

p {
    margin-bottom: 1.1rem;
    color: var(--text-body);
}

.lead {
    font-size: 1.15rem !important;
    line-height: 1.75 !important;
    color: var(--text-lead) !important;
    font-weight: 400 !important;
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
    background: linear-gradient(105deg, var(--brand-primary) 0%, var(--brand-mid) 60%, var(--brand-dark) 100%);
    padding: 3.5rem 1rem;
    text-align: center;
}

.cta-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .cta-banner__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 2rem;
    }
}

.cta-banner__text {
    flex: 1;
}

.cta-banner__title {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.cta-banner__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82) !important;
    margin-bottom: 0;
    max-width: 60ch;
}

.cta-banner__btn {
    flex-shrink: 0;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    color: var(--brand-dark) !important;
    background-color: #fff;
    border-color: #fff;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-banner__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    border-color: #fff;
    color: var(--brand-primary) !important;
}

/* ============================================================
   Popup / Notice Modal
   ============================================================ */
.notice-modal .modal-dialog {
    animation: modalZoomIn 0.25s ease both;
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.93) translateY(-12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.notice-modal__content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(9, 31, 90, 0.3), 0 4px 16px rgba(0, 0, 0, 0.15);
}

.notice-modal__header {
    background: linear-gradient(105deg, var(--brand-primary) 0%, var(--brand-mid) 100%);
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

.notice-modal__title {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.15rem;
    font-family: var(--font-base);
}

.notice-modal__body {
    padding: 1.75rem 1.5rem;
    font-family: var(--font-base);
    color: var(--text-body);
    line-height: 1.7;
}

.notice-modal__footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.85rem 1.5rem;
    justify-content: flex-end;
}

/* Backdrop blur */
.modal-backdrop.show {
    opacity: 0.55;
    backdrop-filter: blur(3px);
}

/* ============================================================
   Reading Progress Bar
   ============================================================ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-mid));
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    pointer-events: none;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb-nav {
    background-color: #f7f8fc;
    border-bottom: 1px solid rgba(25, 71, 186, 0.1);
    padding: 0.6rem 0;
}

.breadcrumb-nav .breadcrumb {
    margin: 0;
    font-size: 0.82rem;
    font-family: var(--font-base);
}

.breadcrumb-nav .breadcrumb-item a {
    color: var(--brand-mid);
    text-decoration: none;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: var(--text-body);
    font-weight: 500;
}

.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    color: #adb5bd;
}

/* ============================================================
   Stats Band
   ============================================================ */
.stats-band {
    background: linear-gradient(105deg, var(--brand-primary) 0%, var(--brand-mid) 60%, var(--brand-dark) 100%);
    padding: 2.5rem 0;
}

.stats-band__grid {
    text-align: center;
}

.stats-band__item {
    padding: 1.25rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stats-band__item:last-child {
    border-right: none;
}

@media (max-width: 767px) {
    .stats-band__item:nth-child(2) { border-right: none; }
    .stats-band__item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.15); }
    .stats-band__item:nth-child(3),
    .stats-band__item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.15); }
}

.stats-band__number {
    font-family: var(--font-base);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stats-band__plus {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    vertical-align: super;
    margin-left: 2px;
}

.stats-band__label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0.35rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

/* ============================================================
   Marketing Card Depth (Tier 2 - #6)
   ============================================================ */
.marketing-column {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 8px;
    padding: 1rem;
}

.marketing-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(25, 71, 186, 0.13);
}

/* ============================================================
   Cookie Consent
   ============================================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(7, 24, 64, 0.97);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.88);
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    font-size: 0.88rem;
    font-family: var(--font-base);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-consent.is-visible {
    transform: translateY(0);
}

.cookie-consent a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
}

.cookie-consent a:hover {
    color: #fff;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.cookie-consent__accept {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    white-space: nowrap;
}

.cookie-consent__accept:hover {
    background: var(--brand-mid);
    border-color: var(--brand-mid);
    color: #fff;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   Navbar Scroll Shrink
   ============================================================ */
.navbar {
    transition: padding-top 0.3s ease, padding-bottom 0.3s ease, box-shadow 0.3s ease;
}

.navbar.is-scrolled {
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
    box-shadow: 0 2px 16px rgba(9, 31, 90, 0.25) !important;
}

/* ============================================================
   Back to Top
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    background: var(--brand-mid);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
    pointer-events: none;
    z-index: 1040;
    box-shadow: 0 4px 14px rgba(25, 71, 186, 0.35);
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--brand-primary);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
}

/* ============================================================
   Floating Mobile CTA
   ============================================================ */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1039;
    padding: 0.75rem 1rem;
    background: rgba(7, 24, 64, 0.97);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.floating-cta.is-visible {
    transform: translateY(0);
}

.floating-cta__btn {
    width: 100%;
    max-width: 400px;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff !important;
}

.floating-cta__btn:hover {
    background: var(--brand-mid);
    border-color: var(--brand-mid);
}

@media (min-width: 768px) {
    .floating-cta {
        display: none;
    }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


.list-group {
    --bs-list-group-item-padding-y: 1.5rem !important;
}
