

/* =========================
   <!-- Hero Video Starts -->
========================= */

.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #000;
}

.hero-video-section .cf-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video-section .cf-video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

/* =========================
   <!-- Hero Video Ends -->
========================= */








/* =========================
   Step Image Section
========================= */

.step-image-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    background: #000;
    overflow: hidden;
    touch-action: pan-y;
}

.step-image-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Her slide başta gizli */
.step-image-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* Sadece aktif slide görünür */
.step-image-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.step-image-item {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    padding: 20px;
    box-sizing: border-box;
}

.step-image-overlay {
    position: absolute;
    z-index: 5;
    max-width: 430px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.overlay-top-right {
    top: 8%;
    right: 6%;
    text-align: right;
}

.overlay-bottom-left {
    left: 6%;
    bottom: 8%;
    text-align: left;
}

.step-image-title {
    margin: 0 0 12px 0;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
}

.step-image-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.step-image-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 26px;
    background: #c24a00;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 6px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.step-image-btn:hover,
.step-image-btn:focus {
    background: #e25a00;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .step-image-title {
        font-size: 30px;
    }

    .step-image-text {
        font-size: 15px;
    }

    .step-image-overlay {
        max-width: 340px;
    }
}

@media (max-width: 767px) {
    .step-image-item {
        padding: 10px;
    }

    .overlay-top-right {
        top: 6%;
        right: 5%;
        max-width: 230px;
    }

    .overlay-bottom-left {
        left: 5%;
        bottom: 6%;
        max-width: 240px;
    }

    .step-image-title {
        font-size: 22px;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .step-image-text {
        font-size: 13px;
        line-height: 1.45;
    }

    .step-image-btn {
        margin-top: 12px;
        padding: 11px 18px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .step-image-slide,
    .step-image-btn {
        transition: none;
    }
}




/* Blog detail heading hierarchy */
body.blog-post-page .content article > .post-title {
    color: #ffffff !important;
    font-size: 42px;
    line-height: 1.18;
    font-weight: 800;
    margin: 0 0 18px;
}

body.blog-post-page .post-content h2 {
    color: #ffffff !important;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 800;
    margin: 46px 0 18px;
}

body.blog-post-page .post-content h3 {
    color: #ffffff !important;
    font-size: 26px;
    line-height: 1.32;
    font-weight: 700;
    margin: 34px 0 14px;
}

body.blog-post-page .post-content h4 {
    color: #ffffff !important;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
    margin: 28px 0 12px;
}





/* Blog category tree */
.blog-category-tree-wrap {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px;
}
.blog-category-tree,
.blog-category-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.blog-category-tree.level-0 {
    margin-top: 8px;
}
.blog-category-tree__item {
    margin: 4px 0;
}
.blog-category-tree__item > .blog-category-tree {
    margin-left: 18px;
    padding-left: 12px;
    border-left: 1px dashed rgba(255,255,255,0.12);
}
.blog-category-tree__link,
.blog-category-tree-top-link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.blog-category-tree__link:hover,
.blog-category-tree-top-link a:hover {
    background: rgba(255,255,255,0.06);
    text-decoration: none;
}
.blog-category-tree__name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.blog-category-tree__count {
    min-width: 28px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    text-align: center;
    font-size: 12px;
}
.blog-category-tree__item.is-active > .blog-category-tree__link,
.blog-category-tree-top-link.is-active a {
    background: rgba(242, 144, 48, 0.18);
    color: #f29030;
    font-weight: 700;
}
.blog-category-tree__item.is-ancestor-active > .blog-category-tree__link {
    background: rgba(255,255,255,0.05);
}
.blog-filter-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
}
.blog-filter-summary em {
    opacity: .8;
    font-style: normal;
}
.blog-filter-reset {
    margin-left: auto;
}
.blog-category-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    opacity: .9;
}
.blog-category-breadcrumb a {
    color: #f29030;
}
@media (max-width: 767px) {
    .blog-filter-reset {
        width: 100%;
        margin-left: 0;
    }
}



/* Header blog mega menu */
.navigation .dropdown-mega {
    position: static;
}
.navigation .dropdown-mega .mega-menu {
    left: 15px;
    right: 15px;
    width: auto;
    padding: 22px 26px;
    background: #111111;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 3px solid #f29030;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    display: none;
}
.navigation .dropdown-mega.open .mega-menu {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.mega-menu-column {
    flex: 1 1 0;
    min-width: 0;
}
.mega-menu-column--links {
    max-width: 260px;
}
.mega-menu-title {
    display: inline-block;
    margin-bottom: 14px;
    color: #f29030;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.mega-menu-links li + li {
    margin-top: 8px;
}
.mega-menu-links a,
.mega-menu-empty {
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    line-height: 1.5;
}
.mega-menu-links a:hover {
    color: #f29030;
    text-decoration: none;
}
.mega-menu-search-box {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.mega-menu-search-box input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    color: #fff;
}
.mega-menu-search-box input:focus {
    outline: none;
    border-color: rgba(242,144,48,0.5);
}
.header-blog-category-tree,
.header-blog-category-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-blog-category-tree__item + .header-blog-category-tree__item {
    margin-top: 8px;
}
.header-blog-category-tree__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(255,255,255,0.88);
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}
.header-blog-category-tree__link:hover {
    color: #f29030;
    text-decoration: none;
}
.header-blog-category-tree__count {
    min-width: 24px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-size: 11px;
    text-align: center;
}
.header-blog-category-tree .header-blog-category-tree {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px dashed rgba(255,255,255,0.08);
}
.header-blog-category-tree__item.is-active > .header-blog-category-tree__link {
    color: #f29030;
    font-weight: 700;
}
.header-blog-category-tree__item.is-ancestor-active > .header-blog-category-tree__link {
    color: #ffffff;
}

/* Header breadcrumb bar */
.header-breadcrumb-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}
.header-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
    margin: 0;
    padding: 12px 0;
}
.header-breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
}
.header-breadcrumb-list li:not(:last-child)::after {
    content: '\203A';
    margin: 0 10px;
    color: rgba(255,255,255,0.25);
}
.header-breadcrumb-list a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
}
.header-breadcrumb-list a:hover {
    color: #f29030;
}
.header-breadcrumb-list .is-current span {
    color: #f29030;
}

/* Blog filter and sidebar polish */
.blog-filter-reset {
    white-space: nowrap;
}

@media (max-width: 991px) {
    .navigation .dropdown-mega .mega-menu,
    .navigation .dropdown-mega.open .mega-menu {
        position: static;
        left: auto;
        right: auto;
        width: 100%;
        display: block;
        padding: 16px 18px;
        border-radius: 0;
        box-shadow: none;
    }
    .mega-menu-column + .mega-menu-column {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .mega-menu-column--links {
        max-width: none;
    }
    .header-breadcrumb-list {
        padding: 10px 0;
    }
}

/* Admin category style preview */
#id_menu_color { min-width: 120px; height: 42px; padding: 8px 12px; font-family: monospace; }

/* Category tree icon/color support */
.blog-category-tree__name-wrap,
.header-blog-category-tree__name-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.blog-category-tree__icon,
.header-blog-category-tree__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--category-accent, #f29030) 16%, transparent);
    color: var(--category-accent, #f29030);
    flex: 0 0 28px;
}
.blog-category-tree__item > .blog-category-tree__link,
.blog-category-tree-top-link a {
    border-left: 3px solid transparent;
}
.blog-category-tree__item.is-active > .blog-category-tree__link,
.blog-category-tree-top-link.is-active a {
    border-left-color: var(--category-accent, #f29030);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--category-accent, #f29030) 22%, transparent);
}
.blog-category-tree__item.is-ancestor-active > .blog-category-tree__link {
    border-left-color: color-mix(in srgb, var(--category-accent, #f29030) 45%, #ffffff);
}

/* Blog mega menu */
.dropdown-mega {
    position: relative;
}
.mega-menu--blog {
    min-width: 980px;
    padding: 22px 24px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    background: #ffffff;
}
.mega-menu--blog > li {
    float: left;
    width: 25%;
    padding: 0 14px;
    list-style: none;
}
.mega-menu-title {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #18212f;
}
.mega-menu-intro {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.65;
    color: #607086;
}
.mega-menu-links li + li {
    margin-top: 8px;
}
.mega-menu-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #253548;
    font-weight: 600;
}
.mega-menu-links a:hover {
    color: #f29030;
    text-decoration: none;
}
.mega-menu-search-box {
    margin-top: 18px;
}
.mega-menu-search-box input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d6dde6;
    border-radius: 12px;
    padding: 10px 14px;
}
.mega-menu-empty {
    margin: 0;
    color: #6f7c8b;
}
.header .nav.navbar-nav > li.dropdown-mega > .dropdown-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}
.header-blog-category-tree,
.header-blog-category-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-blog-category-tree__item + .header-blog-category-tree__item {
    margin-top: 8px;
}
.header-blog-category-tree__item > .header-blog-category-tree {
    margin: 8px 0 0 18px;
    padding-left: 12px;
    border-left: 1px dashed #d8dee8;
}
.header-blog-category-tree__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 12px;
    border-left: 3px solid transparent;
    color: #1f2e3d;
    transition: background-color .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
}
.header-blog-category-tree__link:hover {
    text-decoration: none;
    color: var(--category-accent, #f29030);
    background: #f8fafc;
    transform: translateX(2px);
}
.header-blog-category-tree__count {
    min-width: 30px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f3f5f8;
    color: #4b5a6a;
    font-size: 12px;
    text-align: center;
}
.header-blog-category-tree__item.is-active > .header-blog-category-tree__link {
    color: var(--category-accent, #f29030);
    background: color-mix(in srgb, var(--category-accent, #f29030) 12%, #ffffff);
    border-left-color: var(--category-accent, #f29030);
    font-weight: 700;
}
.header-blog-category-tree__item.is-ancestor-active > .header-blog-category-tree__link {
    border-left-color: color-mix(in srgb, var(--category-accent, #f29030) 45%, #ffffff);
    background: #fbfcfe;
}
@media (min-width: 992px) {
    .dropdown-mega:hover > .dropdown-menu,
    .dropdown-mega.open > .dropdown-menu {
        display: block;
    }
    .dropdown-mega > .dropdown-toggle .fa-angle-down {
        transition: transform .2s ease;
    }
    .dropdown-mega:hover > .dropdown-toggle .fa-angle-down,
    .dropdown-mega.open > .dropdown-toggle .fa-angle-down {
        transform: rotate(180deg);
    }
}
@media (max-width: 1199px) {
    .mega-menu--blog {
        min-width: 860px;
    }
}
@media (max-width: 991px) {
    .mega-menu--blog {
        min-width: 100%;
        padding: 12px 14px;
        border-radius: 0;
        box-shadow: none;
    }
    .mega-menu--blog > li {
        float: none;
        width: 100%;
        padding: 0;
        margin-bottom: 16px;
    }
    .header .nav.navbar-nav > li.dropdown-mega > .dropdown-menu {
        left: 0;
        transform: none;
    }
}


.navigation .dropdown-mega .mega-menu .mega-menu-title {
    color: #ffffff;
}
/* Header mega menu category toggles */
.header-blog-category-tree__row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.header-blog-category-tree__row > .header-blog-category-tree__link {
    flex: 1 1 auto;
    min-width: 0;
}
.header-blog-category-tree__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}
.header-blog-category-tree__toggle {
    width: 34px;
    height: 34px;
    border: 1px solid #d6dde6;
    border-radius: 10px;
    background: #ffffff;
    color: #415161;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.header-blog-category-tree__toggle:hover {
    color: var(--category-accent, #f29030);
    border-color: color-mix(in srgb, var(--category-accent, #f29030) 35%, #d6dde6);
    background: #f8fafc;
}
.header-blog-category-tree__children-wrap {
    display: none;
}
.header-blog-category-tree__item.is-expanded > .header-blog-category-tree__children-wrap {
    display: block;
}
.header-blog-category-tree__item.has-children > .header-blog-category-tree__row .header-blog-category-tree__link {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.header-blog-category-tree__item.has-children.is-expanded > .header-blog-category-tree__row .header-blog-category-tree__toggle {
    color: var(--category-accent, #f29030);
    border-color: color-mix(in srgb, var(--category-accent, #f29030) 30%, #d6dde6);
    background: color-mix(in srgb, var(--category-accent, #f29030) 10%, #ffffff);
}
.header-blog-category-tree__item.has-children.is-expanded > .header-blog-category-tree__row .header-blog-category-tree__toggle i {
    transform: rotate(180deg);
}
.header-blog-category-tree__toggle i {
    transition: transform .2s ease;
}
.header-blog-category-tree__item > .header-blog-category-tree__children-wrap > .header-blog-category-tree {
    margin: 8px 0 0 18px;
    padding-left: 12px;
    border-left: 1px dashed #d8dee8;
}
@media (max-width: 991px) {
    .header-blog-category-tree__toggle {
        width: 36px;
        height: 36px;
    }
}


/* Mobile mega menu refinements */
@media (max-width: 991px) {
    .site-navigation .navbar-collapse {
        background: #060606;
    }

    .header .nav.navbar-nav > li.dropdown-mega,
    .header .nav.navbar-nav > li.dropdown {
        position: relative;
    }

    .header .nav.navbar-nav > li.dropdown-mega > a,
    .header .nav.navbar-nav > li.dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header .nav.navbar-nav > li.dropdown-mega > .dropdown-menu,
    .header .nav.navbar-nav > li.dropdown > .dropdown-menu {
        float: none;
        position: static;
        width: 100%;
        margin: 0;
        border: 0;
        border-top: 1px solid rgba(255,255,255,0.08);
        border-radius: 0;
        box-shadow: none;
        background: #0f0f10;
    }

    .header .nav.navbar-nav > li.dropdown-mega > .dropdown-menu {
        padding: 14px 14px 18px;
    }

    .mega-menu--blog > li {
        margin-bottom: 0;
    }

    .mega-menu-column + .mega-menu-column,
    .mega-menu--blog > li + li {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .mega-menu-intro,
    .mega-menu-empty,
    .mega-menu-links a,
    .header-blog-category-tree__link,
    .header-blog-category-tree__count {
        color: rgba(255,255,255,0.9);
    }

    .mega-menu-search-box input {
        background: rgba(255,255,255,0.04);
        border-color: rgba(255,255,255,0.14);
        color: #ffffff;
    }

    .header-blog-category-tree__link {
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(255,255,255,0.03);
    }

    .header-blog-category-tree__link:hover,
    .header-blog-category-tree__item.is-ancestor-active > .header-blog-category-tree__link,
    .header-blog-category-tree__item.is-active > .header-blog-category-tree__link {
        background: rgba(255,255,255,0.06);
    }

    .header-blog-category-tree__count {
        background: rgba(255,255,255,0.12);
    }

    .header-blog-category-tree__toggle {
        width: 44px;
        height: 44px;
        border-color: rgba(255,255,255,0.14);
        background: rgba(255,255,255,0.04);
        color: #ffffff;
        flex: 0 0 44px;
    }

    .header-blog-category-tree__item > .header-blog-category-tree__children-wrap > .header-blog-category-tree,
    .header-blog-category-tree .header-blog-category-tree {
        margin: 8px 0 0 12px;
        padding-left: 10px;
        border-left: 1px dashed rgba(255,255,255,0.16);
    }

    .header-blog-category-tree__name {
        word-break: break-word;
    }
}
