.container { width: 100%; max-width: 1100px; margin: 0 auto; position: relative; }

.container > * { min-width: 0; }

button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible, a:focus-visible { outline: 3px solid #738fad; outline-offset: 4px; }

.history svg, .timeline svg, .brand svg, .values svg, .company-media svg, .gallery-zoom svg, .photo-dialog svg { width: 28px; height: 28px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; transition: all ease .4s; fill: none; }
.film-cover svg { fill: #fff; }

.history-info nav button::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.history-info nav button:nth-child(1)::before {
    background-image: url('/d/r/misyon.svg');
}

.history-info nav button:nth-child(2)::before {
    background-image: url('/d/r/vizyon.svg');
}

.history-info nav button:nth-child(3)::before {
    background-image: url('/d/r/hedef.svg');
}

.history {padding: 30px 0 60px;background: linear-gradient(to bottom, #fff 180px, #1e3a60 180px);clip-path: polygon(0 0, 100% 0, 100% 100%, 3% 100%, 0 90%);margin-top: 60px;}

.history .history-content { display: flex; flex-direction: row; flex-wrap: wrap; align-content: space-between; }

.history .inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }

.history h2 {margin: 0;font-size: 36px;line-height: 1.3;font-weight: 500;}

.history-info { margin-bottom: 50px; color: #eef3fc; }
.history-info .icerik[hidden] { display: none; }

.history-info .icerik:not([hidden]) { animation: historyFadeIn 0.6s ease; }

@keyframes historyFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



.history nav { display: flex; gap: 12px; border-bottom: 1px solid #ffffff25; }

.history button { display: flex; align-items: center; gap: 7px; flex: 1; padding: 0 0 13px; border: 0; border-bottom: 2px solid transparent; background: none; color: #ffffff90; text-align: left; font: inherit; font-size: 13px; cursor: pointer; }

.history button svg { width: 20px; height: 20px; flex-shrink: 0; }

.history button.active { border-bottom-color: white; color: white; }

.history .icerik { min-height: 110px; margin: 20px 0 0; font-size: 15px; line-height: 1.7; color: #ddd; }

.history-photo { position: relative; height: 430px; }
.history-photo2 { display: none }

.history-photo img { display: block; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%, 0 13%); }

.history-year { position: absolute; right: 24px; bottom: 16px; display: flex; flex-direction: column; justify-content: space-between; width: 145px; height: 132px; padding: 16px; background: white; color: #1e3a60; clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%, 0 80%); }

.history-year span { font-size: 13px; }

.history-year strong { font-size: 40px; text-align: right; }

.timeline {padding: 120px 0;overflow: hidden;background: repeating-linear-gradient(90deg, #f3f5fc 0, #f3f5fc calc(25% - 1px), #e3e7ef calc(25% - 1px), #e3e7ef 25%);display: flex;gap: 80px;}



.timeline-heading { padding-left: max(20px, calc((100vw - 1100px) / 2)); width: calc(((100vw - 1100px) / 2) + 300px); flex-shrink: 0; }

.timeline h2 {margin: 0 0 24px;font-size: 36px;line-height: 1.3;}

.timeline-arrows { display: flex; gap: 10px; }

.timeline button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #98abc4; background: transparent; color: #1e3a60; cursor: pointer; }

.timeline button:last-child { background: #1e3a60; color: white; border: none; }

.timeline-track { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; flex-shrink: 1; flex-grow: 1; }

.timeline-track::-webkit-scrollbar { display: none; }

.timeline article { flex: 0 0 33%; scroll-snap-align: start; }

.timeline article > span { position: relative; display: block; padding-bottom: 22px; border-bottom: 2px solid #aebbd0; font-size: 13px; }

.timeline article > span::after { position: absolute; bottom: -7px; left: 0; width: 10px; height: 10px; border: 2px solid #1e3a60; border-radius: 50%; background: #f3f5fc; content: ""; }

.timeline article > div { width: 220px; min-height: 190px; margin-top: 21px; padding: 18px 18px 28px; background: white; clip-path: polygon(0 0, 100% 0, 100% 75%, 83% 100%, 0 100%); }

.timeline h3 {margin: 0 0 9px;color: #1e3a60;font-size: 18px;line-height: 1.3;}

.timeline p {margin: 0;color: #53637d;font-size: 14px;line-height: 1.6;}

.values { padding: 0; display: flex; gap: 48px; }

.values .resim { width: 50%; overflow: hidden; height: 566px; }



.values .resim img { display: block; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, 93% 0, 100% 10%, 100% 100%, 0 100%); }

.values-content { width: 50%; padding-right: max(20px, calc((100vw - 1100px) / 2)); display: flex; flex-direction: column; justify-content: space-evenly; }

.values h2 {margin: 0 0 30px;font-size: 36px;line-height: 1.3;font-weight: 500;}

.values-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin-bottom: 28px; }


.values-grid article > span::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.values-grid article:nth-child(1) > span::before {
    background-image: url('/d/r/elektronik-kontrol.svg');
}

.values-grid article:nth-child(2) > span::before {
    background-image: url('/d/r/basinc-kontrol.svg');
}

.values-grid article:nth-child(3) > span::before {
    background-image: url('/d/r/sicaklik-kontrol.svg');
}

.values-grid article:nth-child(4) > span::before {
    background-image: url('/d/r/uygulama-cozumleri.svg');
}

.values article > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 13px; border-radius: 50%; background: #1e3a60; color: white; }

.values svg { width: 22px; height: 22px; }

.values h3 { margin: 0 0 6px; font-size: 14px; line-height: 1.4; }

.values p { margin: 0; color: #53637d; font-size: 13px; line-height: 1.6; }

.brands { overflow: hidden; padding: 40px 0; background: #1e3a60; }
.brands-group p {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    color: #eef3fc;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
}
.brands > .container { overflow: hidden; }

.brands-track { display: flex; flex-wrap: nowrap; width: max-content; animation: brands-scroll 30s linear infinite; }

.brands-group { display: flex; flex-shrink: 0; align-items: center; gap: 40px; padding-right: 40px; }

.brand { display: inline-flex; align-items: center; gap: 7px; color: #eef3fc; white-space: nowrap; font-size: 14px; }

.brand svg { width: 25px; height: 25px; }

@keyframes brands-scroll {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .brands-track { animation: none; }

    .brands > .container { overflow-x: auto; }
}

.expertise { padding: 120px 0 0; }

.expertise > .container { display: flex; background: #1e3a60; color: white; clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%, 0 84%); }

.expertise-content { width: 60%; padding: 38px 36px 48px; display: flex; flex-direction: column; justify-content: space-evenly; }

.expertise h2 {margin: 0 0 26px;font-size: 36px;line-height: 1.3;font-weight: 500;color: #fff;}

.expertise-stats {display: flex;flex-wrap: nowrap;gap: 24px;}

.expertise strong {font-size: 45px;white-space: nowrap;font-weight: 400;}

.expertise .metin {margin: 6px 0 0;color: #ddd;font-size: 16px;line-height: 1.5;}

.expertise .container > img { display: block; width: 40%; object-fit: cover; }

.company-media { padding: 120px 0; }

.company-media .inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

.company-media h2, .company-gallery h2 {
    margin: 0 0 12px;
    font-size: 27px;
    line-height: 41px;
    font-weight: 500;
    color: #000;
    width: min(400px, 100%);
    }

.film-cover { position: relative; height: 300px; overflow: hidden; background: #1e3a60; clip-path: polygon(0 0, 92% 0, 100% 13%, 100% 100%, 0 100%); }

.film-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .75; }

.film-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid white; border-radius: 50%; background: #1e3a60b0; transition: all ease .4s; color: white; }

.film-cover:hover .film-play { background: #fff; }
.film-cover:hover .film-play svg { fill: #1e3a60; }

.presentation-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; height: 300px; background: #1e3a60; color: #fff; text-decoration: none; clip-path: polygon(0 0, 92% 0, 100% 13%, 100% 100%, 0 100%); }

.presentation-link svg {fill: none;stroke: #fff;stroke-linecap: round;stroke-linejoin: round;}

.presentation-link > svg:first-child { width: 65px; height: 65px; stroke-width: 1; }

.presentation-link > span {font-size: 14px;color: #fff;}

.presentation-link .presentation-arrow-wrap { position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .12); overflow: hidden; }

.presentation-link .presentation-arrow { position: static; width: 24px; height: 24px; stroke-width: 1.8; }

.presentation-link:hover {background: #284a73;color: #fff;}

.presentation-link:hover .presentation-arrow,
.presentation-link:focus-visible .presentation-arrow { animation: presentationArrow .55s ease; }

@keyframes presentationArrow {
    0% { transform: translate(0, 0); opacity: 1; }
    45% { transform: translate(35px, -35px); opacity: 0; }
    46% { transform: translate(-35px, 35px); opacity: 0; }
    100% { transform: translate(0, 0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .presentation-link .presentation-arrow { animation: none !important; }
}

.company-gallery { padding: 0 0 56px; }

.gallery-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.gallery-thumbs button { position: relative; overflow: hidden; padding: 0; border: 0; background: none; cursor: zoom-in; }

.gallery-thumbs img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.gallery-zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #1e3a60e6; color: white; pointer-events: none; transition: all ease .4s; }

.gallery-zoom svg { width: 24px; height: 24px; }

.gallery-thumbs button:hover .gallery-zoom { background: #1e3a60; transform: scale(1.2); }
.gallery-thumbs button:hover svg { }

.photo-dialog { max-width: 90vw; max-height: 90vh; padding: 0; border: 0; background: #172638; }

.photo-dialog::backdrop { background: #000c; }

.photo-dialog img { display: block; max-width: 90vw; max-height: 85vh; object-fit: contain; }

.photo-dialog button { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: white; color: #1e3a60; cursor: pointer; }

@media (max-width: 1199px) {
    .container { padding-right: 10px; padding-left: 10px; }
}

@media (min-width: 701px) and (max-width: 991px) {
    .history > .container, .values > .container { gap: 28px; }

    .history h2 { font-size: 30px; }

    .history-info { margin-top: 90px; }

    .history nav { gap: 6px; }

    .history button { flex-direction: column; align-items: flex-start; font-size: 12px; }

    .timeline > .container { gap: 28px; }

    .timeline-heading { flex-basis: 210px; }

    .values h2 { font-size: 26px; }

    .values .container > img { height: 600px; }

    .values-grid { gap: 24px 18px; }

    .expertise-content { padding: 30px 24px 40px; }
}

@media (max-width: 700px) {
    .history { padding: 28px 0 0; background: #f3f5fc; }

    .history > .container, .values > .container, .company-media > .container { grid-template-columns: 1fr; gap: 28px; }

    .history h2 { font-size: 30px; }

    .history-info { margin-top: 20px; padding: 22px 16px; background: #1e3a60; margin-bottom: 0; }

    .history nav { gap: 8px; }

    .history button { flex-wrap: wrap; font-size: 12px; }

    .history .icerik { min-height: 0; }

    .history-photo { height: 300px; }

    .timeline { padding: 36px 0; flex-direction: column; gap: 20px; }

    .timeline > .container { flex-direction: column; align-items: stretch; gap: 28px; }

    .timeline-heading, .timeline-track { flex: auto; width: 100%; margin: 10px; padding-left: 0; }

    .timeline h2, .values h2, .expertise h2, .company-media h2, .company-gallery h2 { font-size: 27px; width: 85%; font-weight: 500; }
    .company-media h2 { font-size: 20px; width: 100%; }
    .expertise h2 { font-size: 23px; width: 100%; }
    .values { padding-bottom: 36px; flex-direction: column; gap: 14px; }

    .values .container > img { min-height: 0; height: 300px; }

    .values-content { padding: 10px; width: 100%; }

    .brands { padding: 30px 0; }

    .expertise { padding: 36px 0 0; }

    .expertise > .container { flex-direction: column; padding: 0; width: 100%; clip-path: none; }

    .expertise-content { width: 100%; padding: 36px 18px; }

    .expertise .container > img { width: 100%; height: 220px; }

    .company-media { padding: 36px 0; }

    .film-cover, .presentation-link { height: 207px; }

    .company-gallery { padding-bottom: 36px; }

    .gallery-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

@media (max-width: 400px) {
    .values-grid, .gallery-thumbs { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
    .gallery-thumbs { gap: 10px; }
    .history button { }
}

.expertise-stats .project-stat__number { display: flex; align-items: flex-end; line-height: 1; }
.expertise-stats .project-stat__digit { position: relative; display: inline-block; width: .62em; height: 1em; overflow: hidden; }
.expertise-stats .project-stat__digit-track { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; will-change: transform; }
.expertise-stats .project-stat__digit-track span { display: block; flex-shrink: 0; width: .62em; height: 1em; line-height: 1em; }
.expertise-stats .project-stat__number small { font-size: .42em; margin-left: 5px; margin-bottom: 3px; }


@media (min-width: 768px) and (max-width: 1024px) {
    .history {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%, 0 90%);
}
.timeline article > div{        margin-right: 20px;}
}

@media (max-width:767px) {

    .history .inner { grid-template-columns: 1fr; }
    .timeline article > div { margin-right: 20px; }
    .values .resim { width: 100%; height: 337px; }
    .presentation-link .presentation-arrow-wrap { right: 12px; bottom: 12px; width: 32px; height: 32px; }
    .presentation-link .presentation-arrow { width: 18px; height: 18px; }
    .film-play { width: 42px; height: 42px; }
    .film-cover svg { width: 18px; height: 18px; }
    .expertise-stats { justify-content: space-around; text-align: center; }
    .company-media .inner { gap: 10px; }
    .presentation-link > svg:first-child { width: 48px; height: 48px; }
    .gallery-zoom { width: 32px; height: 32px; right: 6px; bottom: 6px; }
    .gallery-zoom svg { width: 18px; height: 18px; }
    .history-year { width: 105px; height: 92px; padding: 10px; }
    .history-year strong { font-size: 24px; }
    .history-photo { display: none }
    .history-photo2 { display: block; margin: 20px 0 0 0; }
}
