/* Public theme palette, sampled from the supplied Yenikale identity. */
:root {
    --yk-navy: #011930;
    --yk-navy-light: #17364d;
    --yk-gold: #c59a32;
    --yk-dark-gold: #846315;
    --primary: var(--yk-gold);
    --secondary: var(--yk-navy);
    --color-text-title: var(--yk-navy);
    --color-text-title-2: var(--yk-navy);
    --color-bg-1: #18364c;
    --color-bg-3: #19384f;
    --color-bg-4: #f2f4f5;
    --color-bg-21: var(--yk-gold);
    --line-10: #d4b873;
}

.header.h-6 .logo-header.bg-color-primary {
    padding: 12px clamp(16px,2vw,36px);
    background: white !important;
}
.header.h-6 .logo-header a, .logo-mobile a,
.footer.style-3 .logo-footer .logo, .offcanvas-search > .logo {
    display: inline-flex;
    align-items: center;
    background: white;
}
.header.h-6 .logo-header img, .logo-mobile img, .offcanvas-search > .logo img {
    width: clamp(148px,14vw,210px);
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.header.h-6 .header-left { gap: clamp(18px,3.4vw,68px); }
.tf-btn:not(.style-border) > span.text-uppercase { color: var(--yk-navy); }
.tf-btn.hover-bg-secondary:hover > span.text-uppercase { color: white; }
.tf-btn.hover-bg-primary:hover > span.text-uppercase { color: var(--yk-navy) !important; }
.tf-socials .social-item .icon :is(i,svg) { color: var(--yk-navy); }
.header .canvas-btn.bg-color-primary { color: var(--yk-navy); }
.quick-contact__whatsapp { background: #25d366; }
.quick-contact__whatsapp:is(:hover,:focus-visible) { background: #087b3c; }
.quick-contact__instagram, .post-social [aria-label="Instagram"].icon-socila {
    background: linear-gradient(35deg,#bd4d25,#c32769 48%,#6934af);
}
.quick-contact__facebook, .post-social [aria-label="Facebook"].icon-socila { background: #0866ff; }
.post-social [aria-label="WhatsApp"].icon-socila { background: #25d366; }
.quick-contact__phone { background: var(--yk-navy); }
.post-social .yk-social-linkedin { background: #0a66c2; color:white; }
.post-social .yk-social-youtube { background: #f00; color:white; }
.post-social .yk-social-twitter { background: #151515; color:white; }
.preload-container .yk-loading-mark { content:url(../image/logo/yenikale-amblem.png); object-fit:contain; width:78px; height:78px; }
.quick-contact__link, .quick-contact__link :is(span,svg),
.post-social [aria-label].icon-socila i { color: white; }
.quick-contact__link[aria-disabled="true"] { opacity: 1; }
.quick-contact__options { display: contents; }
.quick-contact__toggle { display: none; }

@media (max-width: 767px) {
    .quick-contact {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        left: calc(12px + env(safe-area-inset-left, 0px));
    }
    .quick-contact--mobile-empty { display: none; }
    .quick-contact--ready .quick-contact__toggle {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 44px;
        padding: 0 16px;
        border-radius: 24px;
        background: var(--yk-navy);
        border: 1px solid #d2b369;
        color: white;
        line-height: 1.25;
        font-family: inherit;
        font-size: 15px;
        font-weight: 600;
        box-shadow: 0 2px 9px #00162733;
    }
    .quick-contact__toggle svg { color: #eed794; }
    .quick-contact--ready .quick-contact__options {
        display: none;
        position: absolute;
        left: 0;
        bottom: calc(100% + 7px);
        width: 160px;
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        padding: 5px;
        border: 1px solid #d6dfe5;
        border-radius: 14px;
        background: white;
        box-shadow: 0 4px 16px #00162733;
    }
    .quick-contact__toggle[aria-expanded="true"] + .quick-contact__options { display: grid; }
    .quick-contact--ready .quick-contact__link {
        position: relative;
        width: 100%;
        padding: 0 10px;
        border: 0;
        border-radius: 8px;
        background: white;
        box-shadow: none;
        filter: none;
    }
    .quick-contact--ready .quick-contact__link[aria-disabled="true"],
    .quick-contact--ready .quick-contact__desktop-only { display: none; }
    .quick-contact--ready .quick-contact__link > span { opacity: 1; color: var(--yk-navy); padding-left: 13px; }
    .quick-contact--ready .quick-contact__link::before {
        content: "";
        position: absolute;
        left: 6px;
        width: 30px;
        height: 30px;
        border-radius: 9px;
        background: var(--contact-color,var(--yk-navy));
    }
    .quick-contact--ready .quick-contact__link :is(img,svg) { position: relative; width: 20px; height: 20px; flex-basis: 20px; margin-left: 1px; }
    .quick-contact__whatsapp { --contact-color: #25d366; }
    .quick-contact__instagram { --contact-color: linear-gradient(35deg,#e7782f,#c32769 48%,#6934af); }
    .quick-contact__facebook { --contact-color: #0866ff; }
    .quick-contact :is(button,a):focus-visible { outline: 2px solid #a97e24; outline-offset: -2px; }
}

/* Paint the opening copy even while the theme is waiting for images and window.load. */
@media (max-width: 991px) {
    .page-title-home.h-6 { background-color: var(--yk-navy); }
    .page-title-home.h-6 .tf-sw-slideshow:not(.swiper-initialized) .swiper-slide:first-child .slide-in-right,
    .page-title-home.h-6 .swiper-slide-active .slide-in-right {
        animation: none;
        opacity: 1;
        visibility: visible;
        clip-path: none;
    }
    .page-title-home.h-6 .tf-sw-slideshow:not(.swiper-initialized) .swiper-slide:first-child .tf-fade-top,
    .page-title-home.h-6 .swiper-slide-active .tf-fade-top {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        animation: yk-mobile-entry .5s ease-out both;
    }
    .section-about.h-6 .left .section-content .tf-animate-2 {
        clip-path: none;
        transition: none;
        animation: yk-mobile-entry .55s ease-out both;
    }
}
@keyframes yk-mobile-entry {
    from { opacity: .72; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
    .page-title-home.h-6 .tf-sw-slideshow .swiper-slide .tf-fade-top,
    .section-about.h-6 .left .section-content .tf-animate-2 { animation: none !important; }
}

/* Make the first panel readable during initialisation, then hand its motion to Swiper. */
.page-title-home .tf-sw-slideshow:not(.swiper-initialized) .swiper-slide:first-child .tf-fade-top {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.page-title-home.h-6 .page-title-home-inner .page-title-home-content {
    max-width: min(62%,720px);
    padding-block: clamp(105px,11vw,175px);
}
.page-title-home.h-6 .page-title-home-inner .page-title-home-content .title {
    color: #fff;
    font-size: clamp(36px,4.25vw,68px);
    line-height: 1.04;
    text-wrap: balance;
}
.page-title-home.h-6 .page-title-home-content .desc {
    color: #f3f6f8;
    max-width: 49ch;
    line-height: 1.6;
}
.page-title-home.h-6 .page-title-home-content .sub-title { color: #eed794 !important; }
.page-title-home.h-6 .image-item {
    left: auto;
    right: 51%;
    max-width: clamp(42px,4.5vw,80px);
    pointer-events: none;
}
.page-title-home.h-6 .page-title-home-inner .image {
    display: block !important;
    width: 51%;
    max-width: 51% !important;
}
.page-title-home.h-6 .page-title-home-inner .image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,var(--yk-navy),transparent 40%);
    pointer-events: none;
}
.page-title-home.h-6 .page-title-home-content .bottom-btn { flex-wrap: wrap; }
.section-services.h-6 .img-item.img-1 img,
.page-title-home.h-6 .image-item img,
.section-banner.h-6 .tf-banner.style-5 .img-item img { filter: saturate(.78) hue-rotate(19deg); }
.tf-banner.style-5 { background-color: var(--yk-navy-light); }
.tf-banner.style-5 .banner-content { position: relative; }
.tf-banner.style-5 .banner-content .desc { color: #edf2f6; }
.section-why2.h-6 .left .image.item-2 { margin: 0 0 0 7%; }
.section-why2.h-6 .left .image.item-2 img { display: block; width: 100%; }
.section-project.h-6 .list-project {
    width: calc(100% - 30px);
    max-width: 1170px;
    margin-inline: auto;
}
.section-project.h-6 .project-item .project-content {
    width: calc(100% - 48px);
    left: 24px;
}
.section-project.h-6 .project-content .sub-title { color: var(--yk-dark-gold); }
@media (min-width: 768px) {
    .section-project.h-6 .list-project .swiper-slide-next .project-content,
    .section-project.h-6 .list-project .project-item:focus-within .project-content {
        opacity: 1;
        visibility: visible;
        left: 28px;
    }
}
.image-home-6 {
    height: clamp(150px,19vw,320px);
    overflow: hidden;
    background: var(--yk-navy-light);
}
.image-home-6 .simpleParallax, .image-home-6 > div,
.image-home-6 .parallax-img {
    width: 100%;
    height: 100%;
}
.image-home-6 .parallax-img { display: block; object-fit: cover; object-position: center 50%; }

.yk-page-heading {
    --yk-heading-fallback: url("../image/yenikale/masthead-kurumsal.jpg");
    background-color: var(--yk-navy) !important;
    background-image: linear-gradient(100deg,rgba(1,20,38,.96),rgba(1,22,40,.83) 53%,rgba(1,22,38,.36)),
                      var(--yk-heading-photo,var(--yk-heading-fallback));
    background-position: center;
    background-size: cover;
    color: #fff;
}
.yk-page-heading h1, .yk-page-heading h1.tf-animate-2 {
    color: white;
    visibility: visible;
    opacity: 1;
    transform: none;
    text-wrap: balance;
}
.yk-page-heading nav, .yk-page-heading p { color: #edf2f5; }
.yk-page-heading nav a { color: #f2d48e; }
.yk-page-heading nav a:hover { color: #fff; text-decoration: underline; }
.yk-page-body .yk-side a[aria-current] { color: var(--yk-dark-gold); }
.yk-page-body .yk-product-list a, .yk-source a { color: #72550e; }

.footer.style-3.style-3-2 {
    background: var(--yk-navy);
    --color-text-2: #dae5ec;
    --color-text-3: #bfced9;
}
.footer.style-3.style-3-2 .list-positions-item {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: clamp(12px,1.45vw,24px);
}
.footer .list-positions-item .positions-item { width: 100%; min-width: 0; }
.footer .positions-item .image { height: clamp(240px,23vw,330px); }
.footer .positions-item .image::before {
    background: linear-gradient(180deg,rgba(1,16,28,.52),rgba(1,16,28,.82));
    opacity: 1;
}
.footer .positions-item .title {
    font-size: clamp(21px,2.1vw,35px);
    color: #fff;
    line-height: 1.17;
    text-wrap: balance;
    padding-inline: 16px;
    pointer-events: none;
}
.footer .positions-item .item-content { padding-inline: clamp(16px,2vw,34px); }
.footer .positions-item .item-content .desc { color: #fff; margin-bottom: 18px; line-height: 1.5 !important; }
.footer .positions-item:focus-within .title { top: 0; visibility: hidden; opacity: 0; }
.footer .positions-item:focus-within .item-content { top: 50%; opacity: 1; visibility: visible; }
.footer.style-3.style-3-2 .socials-footer {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 22px;
    padding: clamp(22px,3vw,40px);
    background: var(--yk-navy-light);
}
.footer.style-3.style-3-2 .socials-footer .social-item { gap: 13px; min-width: 0; }
.footer.style-3.style-3-2 .socials-footer .social-item .icon { flex: 0 0 42px; }
.footer.style-3.style-3-2 .socials-footer .item-content { min-width: 0; overflow-wrap: anywhere; }
.footer.style-3.style-3-2 .footer-middle {
    display: grid;
    grid-template-columns: minmax(170px,.8fr) minmax(250px,1.05fr) minmax(240px,1fr);
    gap: clamp(24px,5vw,70px);
}
.footer.style-3.style-3-2 .footer-middle > * { width: 100%; max-width: none; padding: 0; }
.footer.style-3 .logo-footer .logo {
    padding: 14px 18px;
    max-width: 100%;
    margin-bottom: 16px;
}
.footer.style-3 .logo-footer .logo img { display: block; width: 190px; max-width: 100%; }
.footer.style-3 .footer-middle .post-social { background: transparent; }
.footer.style-3 .footer-content .tf-collapse-content > .flex { gap: 12px 24px !important; }
.footer.style-3 .footer-middle .support-item-footer a { display: inline-block; line-height: 1.5; }
.footer.style-3 :is(.footer-list .title,.footer-content .title-mobile) { color: #fff; }
.footer.style-3 :is(.support-item-footer a,.subscribe p,.footer-bottom,.footer-bottom a) { color: #dce6ed; }
.footer.style-3 .support-item-footer a:hover, .footer.style-3 .footer-bottom a:hover { color: #f3d692; }

/* Keep the photograph, tint and page content on independent layers. */
#footer .footer-top { padding-bottom: 0; }
#footer .footer-top .list-positions-item { margin-bottom: 0; }
#footer .yk-footer-details {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: clamp(32px, 4.5vw, 72px);
    background: #071f32;
    color: #f4f7fa;
}
#footer .yk-footer-photo {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    pointer-events: none;
}
#footer .yk-footer-details::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(105deg, rgba(4,24,41,.90), rgba(4,24,41,.78) 54%, rgba(4,24,41,.71));
    pointer-events: none;
}
#footer .yk-footer-details .socials-footer {
    background: rgba(12,39,58,.87);
    border: 1px solid #536979;
    border-top: 2px solid #cda64b;
    padding: clamp(20px,2.5vw,34px);
    align-items: start;
}
#footer .socials-footer .social-item { align-items: flex-start; }
#footer .socials-footer .item-content,
#footer .socials-footer .item-content :is(p,a) { color: #f3f7fa; line-height: 1.55; }
#footer .socials-footer .yk-contact-label {
    display: block;
    color: #f2d794;
    font-weight: 600;
    margin-bottom: 4px;
}
#footer .yk-footer-details .footer-middle {
    padding-block: clamp(30px,4vw,56px);
    border-bottom-color: rgba(222,235,244,.38);
}
#footer .footer-middle .logo-footer { display:flex; flex-direction: column; align-items:flex-start; gap:18px; }
#footer .logo-footer .logo { width: fit-content; margin:0; padding:13px 20px; }
#footer .logo-footer .post-social { margin:0; }
#footer .footer-content .title-mobile,
#footer .footer-list .title { color:#fff; margin:0 0 16px; line-height:1.35; }
#footer .footer-content .tf-collapse-content { display:block !important; }
#footer .footer-content .tf-collapse-content > div {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px !important;
}
#footer .footer-content .tf-collapse-content ul { margin:0; padding:0; list-style:none; }
#footer .footer-content .tf-collapse-content a {
    display: inline-block;
    padding: 5px 0;
    color: #f3f7fa;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
#footer .subscribe .text, #footer .footer-bottom, #footer .footer-bottom :is(span,a) { color:#f3f7fa; }
#footer .form-newsletter input { background:#fff; color:#112d42; }
#footer .form-newsletter input::placeholder { color:#425363; }
#footer .yk-footer-details a:is(:hover,:focus-visible) { color:#ffe29c; text-decoration: underline; }
#footer .yk-footer-details :is(a,button,input):focus-visible { outline:2px solid #f4d48b; outline-offset:3px; }
@media (max-width:767px) {
    #footer .yk-footer-details .socials-footer { gap:16px; }
    #footer .socials-footer .social-item + .social-item { padding-top:16px; border-top:1px solid #536979; }
    #footer .yk-footer-details .footer-middle { gap:30px; }
    #footer .yk-footer-photo { object-position:61% center; }
}

@media (min-width: 1200px) {
    .section-about.h-6 .section-about-inner .left .section-content {
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(0,30%);
        column-gap: 18px;
        padding-inline: clamp(24px,3.4vw,68px) 0;
    }
    .section-about.h-6 .left .section-content > :not(.img-item) { grid-column: 1; }
    .section-about.h-6 .section-about-inner .left .section-content .img-item {
        position: static;
        align-self: end;
        grid-column: 2;
        grid-row: 1 / span 3;
    }
}
@media (max-width: 1199px) {
    .header.h-6 .logo-header.bg-color-primary { padding: 11px 16px; }
    .section-about.h-6 .section-about-inner .left .section-content .img-item {
        position: static;
        margin: 20px 0 0 auto;
        width: min(100%,330px);
    }
    .section-about.h-6 .section-about-inner .left .section-content { padding-bottom: 0; }
}
@media (max-width: 991px) {
    .preload.preload-container { display: none !important; }
    .page-title-home.h-6 .page-title-home-inner .page-title-home-content {
        max-width: min(100%,620px);
        padding: clamp(52px,10vw,88px) 5px !important;
    }
    .page-title-home.h-6 .page-title-home-inner .image {
        display: block !important;
        width: 100%;
        max-width: 100% !important;
        pointer-events: none;
    }
    .page-title-home.h-6 .page-title-home-inner .image::after {
        background: linear-gradient(90deg,rgba(1,19,34,.94),rgba(1,22,41,.73) 65%,rgba(1,22,41,.51));
    }
    .page-title-home.h-6 .page-title-home-content .desc br { display: none; }
    .page-title-home.h-6 .page-title-home-inner .page-title-home-content .bottom-btn {
        gap: 10px !important;
        margin-top: 25px;
    }
    .footer.style-3.style-3-2 .footer-middle { grid-template-columns: 1fr 1fr; }
    .footer.style-3.style-3-2 .footer-middle > .subscribe { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 767px) {
    .header.h-6 .logo-header img { width: clamp(148px,43vw,185px); }
    .page-title-home.h-6 .page-title-home-inner .page-title-home-content .title {
        font-size: clamp(31px,8vw,48px);
        letter-spacing: .4px;
    }
    .page-title-home.h-6 .page-title-home-inner .page-title-home-content .sub-title {
        font-size: 12px;
        letter-spacing: 1.7px;
    }
    .page-title-home.h-6 .page-title-home-content .tf-btn { padding-left: 12px; gap: 10px; }
    .page-title-home.h-6 .page-title-home-content .tf-btn .icon { width: 32px; height: 36px; }
    .section-about.h-6 .section-about-inner .left .section-content .img-item { max-width: 74vw; }
    .section-project.h-6 .project-item .project-content { max-width: calc(100% - 32px); left: 16px; }
    .footer.style-3.style-3-2 .list-positions-item,
    .footer.style-3.style-3-2 .socials-footer,
    .footer.style-3.style-3-2 .footer-middle { grid-template-columns: 1fr; }
    .footer.style-3.style-3-2 .list-positions-item { margin-bottom: 32px; }
    .footer .positions-item .image { height: 222px; }
    .footer.style-3.style-3-2 .footer-middle > .subscribe { grid-column: auto; }
    .footer.style-3 .footer-content .tf-collapse-content { display: block !important; }
    .footer.style-3 .footer-content .title-mobile i { display: none; }
    .footer.style-3 .footer-content .tf-collapse-content > .flex { display: grid; grid-template-columns: 1fr 1fr; }
    .footer.style-3 .footer-bottom { padding-bottom: 55px; }
}
@media (hover: none) {
    .footer .positions-item .title, .footer .positions-item:hover .title,
    .footer .positions-item:focus-within .title {
        top: 18%;
        padding-bottom: 12px;
        visibility: visible;
        opacity: 1;
    }
    .footer .positions-item .title::before { bottom: 0; height: 2px; width: 42px; }
    .footer .positions-item .item-content, .footer .positions-item:hover .item-content,
    .footer .positions-item:focus-within .item-content { top: 64%; opacity: 1; visibility: visible; }
}
