/* Hero video rotation */
.hero {
    background: var(--color-ink-deep) !important;
    isolation: isolate;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.hero::before {
    display: none !important
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--color-ink-deep);
    contain: paint;
    transform: translateZ(0);
    -webkit-transform: translateZ(0)
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    min-width: 110%;
    min-height: 110%;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    object-position: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: opacity, transform;
    transition: opacity 1.2s ease, transform 9s linear, visibility 1.2s ease;
    filter: saturate(.78) contrast(1.05);
    z-index: 0
}

.hero-video.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    z-index: 1
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: -3px;
    z-index: 2;
    background: linear-gradient(90deg, rgba(27, 29, 32, .97) 0%, rgba(40, 26, 28, .84) 45%, rgba(116, 13, 19, .3) 100%), linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .3));
    pointer-events: none
}

.hero .wrap {
    z-index: 2
}

.hero-scene {
    position: absolute;
    left: max(20px, calc((100% - 1180px)/2));
    bottom: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--color-white);
    font: 500 .68rem var(--font-body, Poppins, Arial, sans-serif);
    letter-spacing: .08em;
    text-transform: uppercase
}

.hero-scene::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--color-brand-accent)
}

.hero-video-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 5px;
}

.hero-video-dots i {
    display: inline-block;
    box-sizing: content-box;
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.45);
    transition: background-color .35s, width .35s, transform .2s ease;
    cursor: pointer;
    position: relative;
    padding: 10px 0;
    margin: -10px 0;
    background-clip: content-box;
}

.hero-video-dots i:hover {
    background-color: rgba(255, 255, 255, 0.85);
}

.hero-video-dots i.is-active {
    width: 42px;
    background-color: var(--color-brand-accent, #d71920);
}




/* Wind-energy story and partner reel */
.wind-story {
    position: relative;
    min-height: 640px;
    padding: 0 !important;
    overflow: hidden;
    background: var(--color-surface-neutral);
    color: var(--color-ink);
    isolation: isolate
}

.wind-story-media {
    position: absolute;
    inset: 0 0 0 42%;
    z-index: 0;
    overflow: hidden;
    background-color: var(--color-surface-neutral);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.wind-story-media .turbine-lines {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    opacity: .82;
}

.wind-turbine-scene {
    display: block;
    width: 100%;
    height: 100%;
    color: var(--color-brand-primary);
}

.wind-turbine--front { opacity: .56; }
.wind-turbine--far-left { opacity: .3; }
.wind-turbine--far-right { opacity: .38; }
.wind-turbine--back-left { opacity: .22; }
.wind-turbine--back-right { opacity: .24; }

.wind-rotor {
    transform-box: view-box;
    transform-origin: 0 0;
    animation: wind-rotor-turn 24s linear infinite;
}

.wind-turbine--far-left .wind-rotor {
    animation-duration: 32s;
    animation-delay: -11s;
}

.wind-turbine--far-right .wind-rotor {
    animation-duration: 28s;
    animation-delay: -19s;
}

.wind-turbine--back-left .wind-rotor {
    animation-duration: 36s;
    animation-delay: -7s;
}

.wind-turbine--back-right .wind-rotor {
    animation-duration: 34s;
    animation-delay: -23s;
}

.wind-story.is-wind-paused .wind-rotor { animation-play-state: paused; }

@keyframes wind-rotor-turn {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .wind-rotor { animation: none; transform: rotate(18deg); }
}

.wind-story::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, var(--color-surface-neutral) 0%, var(--color-surface-neutral) 39%, rgba(244, 244, 245, .93) 50%, rgba(244, 244, 245, .18) 78%), linear-gradient(0deg, var(--color-overlay-brand-12), transparent 62%);
    pointer-events: none
}

.wind-story-grid {
    position: relative;
    z-index: 2;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 560px) 1fr;
    align-items: center
}

.wind-story-copy {
    padding: var(--section-space) 0
}

.wind-story-copy h2 {
    font-size: clamp(2.7rem, 5.2vw, 5.35rem);
    line-height: .96;
    letter-spacing: -.06em;
    margin: 12px 0 28px;
    max-width: 720px
}

.wind-story-copy p {
    max-width: 570px;
    margin: 0 0 32px;
    color: #585c61;
    font-size: 1.05rem;
    line-height: 1.75
}

.wind-story-copy .button {
    background: var(--color-brand-primary);
    color: var(--color-white);
    transition: opacity .8s var(--motion-ease), translate .8s var(--motion-ease), background-color .25s ease, color .25s ease, filter .25s ease, box-shadow .25s ease;
    transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms, 0ms, 0ms;
}

.wind-story-copy .button:hover {
    background: var(--color-ink);
    transform: none;
}

.home-page .partners {
    padding: 78px 0 88px !important;
    background: #fff;
    overflow: hidden;
    border-bottom: 1px solid #e4e4e6;
}

@media (max-width: 850px) {
    .home-page .partners { padding: 64px 0 72px !important; }
}

.home-page .partners-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 38px;
}

.home-page .partners-head .eyebrow {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    color: var(--color-brand-accent);
}

.home-page .partners-head h2 {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(1.65rem, 3.8vw, 3.75rem);
    line-height: 1;
    letter-spacing: -.055em;
    margin: 0;
    color: var(--color-ink);
    text-transform: capitalize;
    white-space: nowrap;
}

.home-page .partners-head p {
    grid-column: 2;
    grid-row: 2;
    color: var(--color-text-muted);
    margin: 0 auto;
    max-width: 430px;
}

.home-page .partner-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid #e4e4e6;
    border-bottom: 1px solid #e4e4e6;
}

.home-page .partner-marquee::before,
.home-page .partner-marquee::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: min(10vw, 130px);
    pointer-events: none;
}

.home-page .partner-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #fff, transparent);
}

.home-page .partner-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, #fff, transparent);
}

.home-page .partner-track {
    display: flex;
    width: max-content;
    animation: partner-reel 50s linear infinite;
    will-change: transform;
}

.home-page .partner-set {
    display: flex;
    align-items: stretch;
}

/* ==========================================================================
   İş Ortakları Logo Kartları (Hoversız & Hover Stilleri)
   ========================================================================== */
.partner-logo {
    width: 250px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.35);
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.partner-logo::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-brand-accent, #d71920);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.partner-logo img {
    display: block;
    max-width: 100%;
    width: auto;
    max-height: 58px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.8);
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
    background: #ffffff;
    border-color: rgba(215, 25, 32, 0.4);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(215, 25, 32, 0.2);
}

.partner-logo:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.04);
}

.partner-logo.hospital-logo small {
    max-width: 130px;
    color: #334155;
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: normal;
}

.partner-marquee:hover .partner-track {
    animation-play-state: paused
}

.home-page .archive-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
}

.home-page .archive-grid--single .archive-copy {
    max-width: 760px;
}

@keyframes partner-reel {
    to {
        transform: translateX(-50%)
    }
}

/* Expandable project index */
.project-index {
    margin-top: 56px;
    padding-top: 10px;
    border-top: none;
}

.project-index-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    padding: 0 0 22px
}

.project-index-head h3 {
    font-size: clamp(1.9rem, 3.4vw, 3.25rem);
    line-height: 1.03;
    letter-spacing: -.05em;
    margin: 0
}

.project-index-head p {
    max-width: 480px;
    color: var(--color-text-muted);
    margin: 0
}

.project-row {
    border-bottom: 1px solid var(--color-border-project);
    background: var(--color-white);
    border-left: 3px solid transparent;
    transition: border-color .3s ease, background-color .3s ease
}

.project-row.is-open {
    border-left-color: var(--color-brand-accent);
    background: #fafbfc
}

.project-row.filter-hidden {
    display: none
}

.project-row-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: 64px 1.15fr .85fr 120px 46px;
    align-items: center;
    gap: 22px;
    padding: 25px 22px;
    border: 0;
    background: transparent;
    color: var(--color-ink);
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: background .25s
}

.project-row-toggle:hover,
.project-row-toggle:focus-visible {
    background: var(--color-surface-hover);
    outline: 0
}

.project-no {
    font: 700 .75rem var(--font-body, Poppins, Arial, sans-serif);
    color: var(--color-brand-accent)
}

.project-name {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35
}

.project-location,
.project-kind {
    font-size: .78rem;
    color: var(--color-text-muted)
}

.project-toggle-icon {
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-border-subtle);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    transition: transform .38s var(--motion-ease), background .25s, color .25s
}

.project-row.is-open .project-toggle-icon {
    transform: rotate(45deg);
    background: var(--color-brand-accent);
    color: var(--color-white);
    border-color: var(--color-brand-accent)
}

.project-row-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .55s var(--motion-ease)
}

.project-row.is-open .project-row-body {
    grid-template-rows: 1fr
}

.project-row-body-inner {
    overflow: hidden
}

.project-row-detail {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 42px;
    padding: 4px 22px 38px 108px
}

.project-row-media {
    min-height: 240px;
    position: relative;
    overflow: hidden;
    background: var(--color-ink);
    border-radius: 6px
}

.project-row-media img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    filter: grayscale(.78);
    transition: transform .8s var(--motion-ease)
}

.project-row.is-open .project-row-media img {
    transform: scale(1.04)
}

.project-row-copy {
    padding: 10px 0
}

.project-row-copy p {
    color: var(--color-text-medium);
    line-height: 1.75;
    margin: 0 0 20px
}

.project-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0
}

.project-facts li {
    background: #f1f5f9;
    color: #334155;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: -.01em;
    border: 1px solid #e2e8f0
}

/* Click cue for the service overview page */
#hizmetler .service[href] {
    color: inherit;
    text-decoration: none;
    cursor: pointer
}

#hizmetler .service[href]:focus-visible {
    outline: 3px solid var(--color-overlay-brand-28);
    outline-offset: 3px
}

#hizmetler .service[href] .service-read {
    position: absolute;
    left: 28px;
    bottom: 19px;
    color: var(--color-brand-primary);
    font: 500 .72rem var(--font-body, Poppins, Arial, sans-serif);
    opacity: 0;
    translate: 0 7px;
    transition: opacity .3s, translate .3s
}

#hizmetler .service[href]:hover .service-read,
#hizmetler .service[href]:focus-visible .service-read {
    opacity: 1;
    translate: 0 0
}

#hizmetler .service[href] p {
    padding-bottom: 25px
}

@media(max-width:850px) {
    .hero-scene {
        left: 20px
    }

    .wind-story-media {
        inset: 0 0 0 30%;
    }

    .wind-story::after {
        background: linear-gradient(90deg, var(--color-surface-neutral) 0%, rgba(244, 244, 245, .9) 48%, rgba(244, 244, 245, .35) 100%), linear-gradient(0deg, var(--color-overlay-brand-12), transparent 62%);
    }

    .wind-story-media .wind-turbine--front { opacity: .85; }
    .wind-story-media .wind-turbine--far-left { opacity: .55; }
    .wind-story-media .wind-turbine--far-right { opacity: .65; }
    .wind-story-media .wind-turbine--back-left,
    .wind-story-media .wind-turbine--back-right { opacity: .4; }

    .wind-story-grid {
        grid-template-columns: minmax(0, 620px);
        min-height: 590px;
    }



    .partner-logo {
        width: 230px
    }

    .project-row-toggle {
        grid-template-columns: 45px 1fr 100px 40px
    }

    .project-location {
        display: none
    }

    .project-row-detail {
        padding-left: 67px;
        grid-template-columns: 1fr
    }

    .project-row-media {
        min-height: 300px
    }
}

@media(max-width:560px) {
    .hero-scene {
        bottom: 15px;
        font-size: .58rem
    }

    .hero-video-dots i {
        width: 18px;
        height: 4px;
        padding: 8px 0;
        margin: -8px 0;
    }

    .hero-video-dots i.is-active {
        width: 32px;
    }

    .wind-story {
        min-height: 580px;
    }

    .wind-story-media {
        inset: 0;
    }

    .wind-story-media .turbine-lines {
        opacity: .72;
        object-position: 65% center;
    }

    .wind-story::after {
        background: linear-gradient(180deg, rgba(244, 244, 245, .68) 0%, rgba(244, 244, 245, .82) 61%, rgba(244, 244, 245, .36) 100%);
    }

    .wind-story-grid {
        min-height: 580px;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .wind-story-copy {
        padding: var(--section-space) 0;
    }

    .wind-story-copy p {
        font-size: 1rem
    }

    .partners {
        padding: var(--section-space) 0 !important
    }

    .partners-head {
        display: block
    }

    .partners-head h2 {
        margin: 10px 0 15px
    }

    .partner-set {
        gap: 10px;
        padding-right: 10px;
    }

    .partner-logo {
        flex: 0 0 auto;
        width: calc((100vw - 30px) / 3);
        min-height: 76px;
        padding: 12px 10px;
        gap: 6px;
        flex-direction: column;
        font-size: .75rem;
    }

    .partner-logo img {
        max-height: 42px;
    }

    .partner-logo small {
        max-width: 100%;
        font-size: .6rem;
        line-height: 1.2;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .project-index-head {
        align-items: start;
        flex-direction: column
    }

    .project-row-toggle {
        grid-template-columns: 35px 1fr 36px;
        gap: 11px;
        padding: 20px 10px
    }

    .project-kind {
        grid-column: 2
    }

    .project-location {
        display: none
    }

    .project-toggle-icon {
        grid-column: 3;
        grid-row: 1 / span 2;
        width: 34px;
        height: 34px
    }

    .project-row-detail {
        padding: 0 10px 30px;
        gap: 23px
    }

    .project-row-media {
        min-height: 220px
    }

    .project-facts {
        grid-template-columns: 1fr
    }

    #hizmetler .service[href] .service-read {
        opacity: 1;
        translate: none
    }
}

@media(prefers-reduced-motion:reduce) {

    .hero-video {
        display: none
    }

    .wind-story-custom-artwork { animation: none; }

    .partner-track {
        animation: none
    }

    .project-row-body,
    .project-toggle-icon,
    .project-row-media img {
        transition: none !important
    }
}

/* Flat partner logo band used on the homepage reference layout. */
.home-page .partner-logo {
    width: 270px;
    min-height: 126px;
    padding: 25px 34px;
    background: transparent;
    border: 0;
    border-right: 1px solid #e4e4e6;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    filter: grayscale(1);
    opacity: .64;
    transition: filter .28s ease, opacity .28s ease, transform .28s ease;
}

.home-page .partner-logo::before { content: none; }

.home-page .partner-logo img {
    max-height: 72px;
    filter: none;
    transition: none;
}

.home-page .partner-logo.fixcharge-logo img { max-height: 70px; }
.home-page .partner-logo.hospital-logo img { max-width: 64px; }

.home-page .partner-logo.hospital-logo small {
    max-width: 130px;
    color: #222;
    font-size: .66rem;
    font-weight: 750;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: normal;
}

.home-page .partner-logo:hover {
    background: transparent;
    border-color: transparent;
    border-right-color: #e4e4e6;
    box-shadow: none;
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.035);
}

.home-page .partner-logo:hover img { transform: none; }

@media (max-width: 850px) {
    .home-page .partners-head { display: block; }
    .home-page .partners-head h2 {
        margin: 10px 0 15px;
        font-size: clamp(1.5rem, 7vw, 2.3rem);
    }
    .home-page .partner-set { gap: 10px; padding-right: 10px; }
    .home-page .partner-logo {
        flex: 0 0 auto;
        width: calc((100vw - 30px) / 3);
        min-height: 108px;
        padding: 22px;
        font-size: 1.15rem;
    }
    .home-page .partner-logo img { max-height: 58px; }
    .home-page .partner-logo.hospital-logo small {
        max-width: 100%;
        font-size: .6rem;
        line-height: 1.2;
        text-align: center;
        overflow-wrap: anywhere;
    }
}

/* Managed hero scenes from WPanel Slider. */
.hero-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-layer.is-active,
.hero-layer .hero-video {
    opacity: 1;
}

.hero-layer .hero-video {
    visibility: visible;
}

.hero-layer [hidden] {
    display: none;
}

.hero [hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero-layer {
        transition: none;
    }
}
