:root{
    --color-primary: #102344;
    --color-secondary: #0e3b64;
    --color-accent: #97aed5;
    --color-background: #f9fafb;
    --color-text: #374151;
    --color-border: #e5e7eb;
    --color-white: #ffffff;
    --nurdil-navy: #c8cdd9;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    font-family: "Zalando Sans SemiExpanded", sans-serif;
}
body {
    background-color:  #f4f5fd;
    overflow-y: auto;
    overflow-x: hidden;
}
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
body.menu-open{
    overflow: hidden;
}
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}
body.menu-open .footer{
    overflow: hidden;
}
.position-relative{
    position: relative;
}
a {
    text-decoration: none;
    color: inherit;
    display: block;
}
a:focus-visible {
    outline: 0;
    outline-offset: 2px;
}
#app {
    min-height: 100vh;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
button{
    border: none;
}
.container {
    width: 100%;
    max-width: min(1758px, 92vw);
    margin-inline: auto;
}
.smallTitle{
  font-size: 30px;
  color: var(--color-primary);
  line-height: 30px;
  text-align: left;
}
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 41px;
    font-size: 25px;
    font-weight: 200;

    color: transparent;
    background-color: var(--color-primary);
    border-radius: 10px;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    width: fit-content;
}
.btn.btn-white {
    background-color: var(--color-white);
}
.btn span {
    visibility: hidden;
}
.btn::before,
.btn::after {
    content: attr(data-text) " " attr(data-icon);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    color: #fff;
    white-space: nowrap;
    transition: 
        transform .28s ease,
        opacity .28s ease;
}
.btn.btn-white::before,
.btn.btn-white::after {
    color: var(--color-primary);
}
.btn::before {
    opacity: 1;
}
.btn::after {
    opacity: 0;
    transform: translate(-50%, 120%) skewX(5deg);
}
.btn:hover::before {
    opacity: 0;
    transform: translate(-50%, -120%) skewX(5deg);
}
.btn:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%);
}
.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.site-header .logo{
    position: relative;
    z-index: 1001;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar {
    padding: 0;
    display: flex;
    align-items: center;
}
.menu-toggle {
    width: 32px;
    height: 26px;
    position: relative;
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #111;
    border-radius: 4px;
    transition: 
        transform .35s cubic-bezier(.16,1,.3,1),
        opacity .2s ease,
        top .35s cubic-bezier(.16,1,.3,1);
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { top: 100%; transform: translateY(-100%); }
.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg);
}
.menu {
    list-style: none;
    display: flex;
    gap: 45px;
    height: auto;
    align-items: center;
}
.menu > li {
    position: relative;
}
.menu a {
    text-decoration: none;
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 400;
    padding: 52px 0px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.menu a:hover{
    font-weight: 600;
}
.dropdown {
    position: absolute;
    width: 100%;
    min-width: 290px;
    background: #fff;
    border-radius: 5px;
    padding: 0;
    list-style: none;
    box-shadow: 0 25px 50px rgba(0,0,0,.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    transition:
        opacity .25s ease,
        transform .35s cubic-bezier(.16,1,.3,1),
        visibility .25s;
}
.level-1 {
    top: 100%;
    left: 0;
}
.level-2,
.level-3 {
    top: 0;
    left: 100%;
}
.dropdown li {
    position: relative;
}
.dropdown a {
    padding: 12px 18px;
    font-size: 16px;
    color: var(--color-primary);
}
.dropdown a:hover {
    background: #f1f5f9;
    border-radius: 10px;
}
.dropdown.open-left {
    left: auto !important;
    right: 100%;
}
.lang{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 24px;
}
.lang a{
    font-size: 16px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 400;
}
@media (min-width: 992px) {

    .has-dropdown:hover > .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

}
@media (max-width: 992px) {
    .site-header{
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    .navbar {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .offcanvas {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        max-width: 100%;
        background: #fff;
        z-index: 1000;

        transform: translateX(100%);
        transition: transform .45s cubic-bezier(.16,1,.3,1);
        box-shadow: -20px 0 40px rgba(0,0,0,.15);
    }

    .offcanvas.active {
        transform: translateX(0);
    }

    .menu {
        width: 100%;
        flex: 1;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        padding-top: clamp(40px, 12vh, 120px);
        gap: 0;
        overflow-y: auto;
    }

    .menu > li {
        width: 100%;
    }

    .menu a {
        width: 100%;
        padding: 7px 20px;
        justify-content: space-between;
        font-size: 16px;
    }

    /* dropdown base */
    .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        transform: none;
        opacity: 1;
        visibility: visible;

        max-height: 0;
        overflow: hidden;
        transition: max-height .35s cubic-bezier(.16,1,.3,1);
    }

    /* açık state */
    .has-dropdown.active > .dropdown {
        max-height: 800px; /* yeterince büyük */
    }

    /* ok animasyonu */
    .arrow {
        transition: transform .3s ease;
    }

    .has-dropdown.active > a .arrow {
        transform: rotate(90deg);
    }

    /* alt seviye iç içe girsin */
    .dropdown a {
        padding-left: 36px;
    }

    .dropdown .dropdown a {
        padding-left: 52px;
    }

    .dropdown .dropdown .dropdown a {
        padding-left: 68px;
    }

    .lang {
        margin-top: auto; /* 👈 ALTTA TUTAR */
        padding: 16px 20px;
        border-top: 1px solid #e5e7eb;

        display: flex;
        align-items: center;
        gap: 8px;

        background: #fff;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .lang img {
        width: 20px;
        height: auto;
    }

    .lang a {
        font-size: 15px;
    }

}

/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 0px);
    min-height: calc(100svh - 0px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 120px;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4, 42, 77, 0.3)
    );
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
    color: #fff;
}
.hero-content h1 {
    font-size: clamp(2rem, 5.5vw, 5rem);
    font-weight: 400;
    line-height: 1.15;
}
.hero-content p {
    font-size: clamp(1.5rem, 2.5vw, 1.25rem);
    opacity: 0.9;
    font-weight: 100;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
    }
}

/* FLOATING BAR */
.stats-floating {
    position: absolute;
    bottom: -103px;
    left: 50%;
    transform: translateX(-50%);
    background: #E5E8FB;
    background: linear-gradient(0deg,rgba(229, 232, 251, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(229, 232, 251, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 110px;
    padding: 40px 48px;
    border-radius: 20px;
    box-shadow: 0px 5px 40px 0px rgba(18, 50, 156, 0.2);
    z-index: 10;
    max-width: 1750px;
    width: calc(100% - 32px);
}
.stat-item {
    display: flex;
    align-items: center;
}
.stat-item div{
    text-align: center;
}
.stat-item h3 {
    margin: 0;
    font-weight: 500;
    color: var(--color-primary);
    text-align: center;
}
.stat-item p {
    margin: 4px 0 0;
    color: var(--color-primary);
    font-weight: 100;
}

/* TRUSTED TEXT */
.trusted-text{
    background: #E5E8FB;
    background: linear-gradient(90deg,rgba(229, 232, 251, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(229, 232, 251, 1) 100%);
    padding-bottom: 50px;
    line-height: 1.633;
    text-align: center;
    font-weight: 200;
}

/* FACTORY */
.factory{
    max-width: 1750px;
    width: calc(100% - 32px);
    margin: 0 auto;
    position: relative;
}
.factory .title{
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-align: center;
}
.factory p{
    font-size: 30px;
    font-weight: 200;
    color: var(--color-primary);
    margin-bottom: 50px;
    text-align: center;
}
.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}
.plyr__video-embed iframe {
  height: 200%;
  top: -50%;
}
.plyr__controls {
    opacity: 1 !important;
    transform: none !important;
}
.plyr__progress {
    opacity: 1 !important;
    pointer-events: auto;
}
.video-poster {
    position: absolute;
    inset: 0;
    z-index: 5;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .25s ease;
}
.video-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.video-play {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.50);
    cursor: pointer;
}
.video-play::before {
    content: "";
    position: absolute;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-primary);
}

/* SOLUTIONS */
.solutions .title{
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-align: center;
}
.solutions p{
    font-weight: 200;
    color: var(--color-primary);
    margin-bottom: 50px;
    text-align: center;
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
    max-width: 1758px;
}
.solution-card {
    background: #E5E8FB;
    background: linear-gradient(0deg,rgba(229, 232, 251, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(229, 232, 251, 1) 100%);
    border-radius: 18px;
    padding: 40px 25px;
    transition: transform .3s ease, box-shadow .3s ease;
    text-align: center;
}
.solution-card h3 {
    font-weight: 200;
    margin-bottom: 25px;
    color: var(--color-primary);
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.solution-card .img{
    height: 240px;
    margin-bottom: 30px;
}
.solution-card img {
    max-width: 100%;
    height: 237px;
    object-fit: contain;
    margin: auto;
    display: block;
    transition: transform 1.3s cubic-bezier(0.38, 0.38, 0.25, 1);
}
.solution-card:hover img{
    transform: scale(1.06);
}
.solutions-footer {
    margin-top: 50px;
    width: 100%;
    text-align: center;
}
@media (max-width: 1440px) {
    .solutions-grid {
        max-width: 100%; /* Kenarlardan biraz boşluk bırakalım */
        gap: 20px;
    }
}

/* 2. Tablet ve Küçük Ekranlar (1024px altı) */
@media (max-width: 1024px) {
    .solutions-grid {
        /* Kartları 3 kolondan 2 kolona düşürüyoruz */
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .solution-card {
        padding: 30px 20px;
    }

    .solution-card h3 {
        font-size: 20px; /* Fontu biraz küçültelim */
        min-height: auto; /* Yüksekliği serbest bırakalım */
        margin-bottom: 30px;
    }

    .solution-card .img {
        height: 200px; /* Görsel alanını daraltalım */
    }
}

/* 3. Büyük Mobil Ekranlar (768px altı) */
@media (max-width: 768px) {
    .solutions-grid {
        /* Tek kolona geçiş yapıyoruz */
        grid-template-columns: 1fr;
        max-width: 480px; /* Mobilde kart çok yayılmasın, derli toplu dursun */
    }

    .solution-card {
        padding: 40px 20px;
    }
}

/* 4. Küçük Mobil Ekranlar (480px altı) */
@media (max-width: 480px) {
    .solutions-grid {
        gap: 20px;
    }

    .solution-card h3 {
        font-size: 18px;
    }

    .solution-card .img {
        height: auto;
    }

    .solutions-footer {
        margin-top: 30px;
    }
}
/* INSIGHTS */
.insights{
    margin-top: 95px;
}
.insights .title{
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-align: center;
}
.insights p{
    font-weight: 200;
    color: var(--color-primary);
    margin-bottom: 50px;
    text-align: center;
}
.newsSwiper {
    padding-bottom: 0px;
}
.newsSwiper .swiper-pagination{
    margin-top: 70px !important;
}
@media (max-width: 768px) {
    .newsSwiper.urunGaleri .swiper-pagination{
        margin-top: 30px !important;
    }
}
.news-card {
    background: transparent;
}
.news-card a{
    text-decoration: none;
    color: inherit;
    border-radius: 0 !important;
}
.news-card .img{
    border-radius: 16px;
    height: 255px;
    overflow: hidden;
    margin-bottom: 34px;
}
.news-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.3s cubic-bezier(0.38, 0.38, 0.25, 1);
}
.news-card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--color-primary);
}
.news-card .date {
    font-size: 16px;
    font-weight: 200;
    color: var(--color-primary);
}
.news-card:hover img {
    transform: scale(1.05);
}
.swiper-pagination-bullet {
    background: #c6cbd8;
    opacity: 1;
    width: 16px !important;
    height: 16px !important;
}
.swiper-pagination-bullet-active {
    background: var(--color-primary);
}
.insights-footer {
    margin-top: 50px;
    width: 100%;
    text-align: center;
}

/* CTA */
.cta{
    margin-top: 90px;
    padding: 57px 20px;
    text-align: center;
}
.cta h2{
    font-weight: 400;
    color: var(--color-white);
}

/* FOOTER */
.footer {
    background: #E5E8FB;
    background: linear-gradient(90deg,rgba(229, 232, 251, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(229, 232, 251, 1) 100%);
    padding-top: 70px;
    font-family: system-ui, sans-serif;
    color: #1f2937;
}
.footer-top {
    margin: 0 auto;
    display: flex;
    gap: 260px;
    align-items: flex-start;
}
.footer-logo img {
    width: 160px;
}
.footer-menus {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    column-gap: 72px;
    align-items: start;
}
.footer-col h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 14px;
    font-family: "Zalando Sans SemiExpanded", sans-serif;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    font-size: 14px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 200;
    font-family: "Zalando Sans SemiExpanded", sans-serif;
}
.footer-col ul li a:hover {
    color: var(--color-primary);
}
.footer-col:last-child {
    justify-self: end;
}
.footer-divider {
    max-width: min(1758px, 92vw);
    margin: 50px auto 0;
    height: 1px;
    background: #c7ccd8;
}
.footer-bottom {
    
    max-width: min(1758px, 92vw);
    margin: 0 auto;
    padding: 18px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--color-primary);
    font-family: "Zalando Sans SemiExpanded", sans-serif;
}
.footer-menus-wrap {
    flex: 1;
    position: relative;
}
.footer-social {
    margin-top: 0px;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    position: absolute;
    right: 0;
    bottom: 10px;
}
.footer-social a {
    font-size: 20px;
    color: var(--color-primary);
    transition: transform .2s ease, opacity .2s ease;
}
.footer-social a:hover {
    transform: translateY(-2px);
    opacity: .8;
}

/* PAGE HERO */
.pagehero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagehero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}
.pagehero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6,37,91,.70);
    z-index: 2;
}
.pagehero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
    color: #fff;
}
.pagehero-content h1 {
    font-weight: 400;
    line-height: 1.15;
}

/* PAGE TOP */
.pagetop {
    padding: 70px 0px;
    text-align: center;
    max-width: 1250px;
    margin: auto;
}
.pagetop h2 {
    font-size: 40px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.pagetop strong {
    font-size: 25px;
    font-weight: 300;
    color: var(--color-primary);
    line-height: 35px;
    margin-bottom: 20px;
    display: block;
}
.pagetop p {
    font-size: 18px;
    font-weight: 200;
    color: var(--color-primary);
    line-height: 28px;
    margin-bottom: 20px;
}

/* ABOUT US */
.experience-section {
    margin: 0 auto;
    padding: 0px 20px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}
.experience-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}
.experience-row{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.experience-text {
    background: #E5E8FB;
    background: linear-gradient(90deg,rgba(229, 232, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 60px 100px;
    border-radius: 20px;
    width: 50%;
    z-index: 2;
}
.experience-text h3 {
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 40px;
    color: var(--color-primary);
}
.experience-text h4 {
    font-size: 30px;
    font-weight: 200;
    margin-bottom: 40px;
    color: var(--color-primary);
}
.experience-text p {
    font-size: 20px;
    line-height: 30px;
     font-weight: 200;
    color: var(--color-primary);
}
.experience-image {
    position: relative;
}
.experience-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
}
.experience-floating {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
    border-radius: 20px;
    z-index: 10;
    max-width: 1600px;
    width: calc(100% - 32px);
    margin: 80px auto 0;
}
.experience-floating .stat-item {
    display: flex;
    align-items: center;
}
.experience-floating .stat-item div{
    text-align: center;
}
.experience-floating .stat-item h3 {
    margin: 0;
    font-weight: 500;
    color: var(--color-primary);
    text-align: center;
}
.experience-floating .stat-item p {
    margin: 4px 0 0;
    color: var(--color-primary);
    font-weight: 100;
}
.worldwide{
    max-width: 1375px;
    margin: 90px auto;
}
.worldwide .worldwide-title{
    font-size: 40px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 25px;
    text-align: center;
}
.worldwide p{
    font-size: 18px;
    line-height: 30px;
    font-weight: 200;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 50px;
}
.worldwide p strong{
    font-weight: 500;
}
.worldwide .img{
    margin: auto;
    text-align: center;
}


/* TIMELINE */
.timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 80px 0;
    overflow: hidden;
}
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: #d0d9ed;
    transform: translateX(-50%);
}
.timeline-track {
    position: relative;
    transition: transform .5s ease;
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 40px 0;
    display: flex;
    align-items: center;
}
.timeline-item::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    background: var(--color-accent);
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 2;
}
.timeline-item::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 55px;
    height: 5px;
    background: var(--color-accent);
    transform: translateY(-50%);
}
.timeline-item.left {
    left: 0;
    justify-content: flex-end;
    padding-right:55px;
}
.timeline-item.left::before {
    right: -13px;
}
.timeline-item.left::after {
    right: 0px;
}
.timeline-item.right {
    left: 50%;
    padding-left: 55px;
}
.timeline-item.right::before {
    left: -7px;
}
.timeline-item.right::after {
    left: 0px;
}
.timeline-item .card {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 530px;
}
.timeline-item.right .card {
    flex-direction: row-reverse;
}
.timeline-item .card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 5px solid var(--color-accent);
}
.timeline-item .card-content h3 {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 5px;
    font-weight: 500;
    text-align: right;
}
.timeline-item.right .card-content h3 {
    text-align: left;
}
.timeline-item .card-content p {
    font-size: 20px;
    line-height: 35px;
    color: var(--color-secondary);
    text-align: right;
    font-weight: 200;
}
.timeline-item.right .card-content p {
    text-align: left;
}
.timeline-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all .5s ease;
}
.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}
.timeline-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: #cfd8ee;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    z-index: 10;
}
.timeline-arrow span {
    position: absolute;
    width: 10px;
    height: 10px;
    border-right: 2px solid #4b5fa3;
    border-bottom: 2px solid #4b5fa3;
    top: 50%;
    left: 50%;
}
.timeline-arrow.up { top: 0px; }
.timeline-arrow.up span { transform: translate(-50%, -50%) rotate(-135deg); }
.timeline-arrow.down { bottom: 0px; }
.timeline-arrow.down span { transform: translate(-50%, -50%) rotate(45deg); }
.timeline-item.enter-from-bottom {
    opacity: 0;
    transform: translateY(80px);
}
.timeline-item.enter-from-top {
    opacity: 0;
    transform: translateY(-80px);
}
.timeline-item.exit-to-top {
    opacity: 0;
    transform: translateY(-80px);
}
.timeline-item.exit-to-bottom {
    opacity: 0;
    transform: translateY(80px);
}
@media (max-width: 1024px) {
    .timeline-wrapper {
        padding: 60px 20px;
    }

    .card {
        gap: 30px;
        max-width: 100%;
    }

    .card img {
        width: 160px;
        height: 160px;
    }

    .card-content h3 {
        font-size: 32px;
    }

    .card-content p {
        font-size: 18px;
        line-height: 30px;
    }
}
@media (max-width: 768px) {
    .timeline-line {
        left: 24px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 70px;
        padding-right: 0;
        justify-content: flex-start;
        padding-bottom: 60px;
        padding-top: 60px;
    }

    .timeline-item::before {
        left: -7px;
        right: auto;
    }

    .timeline-item::after {
        left: 0;
        right: auto;
        width: 55px;
    }

    .card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        /*margin-top: -60px;*/
    }
    .card img {
        width: 100%;
        height: auto;
    }
    .timeline-item.right .card {
        flex-direction: row;
        flex-direction: column;
    }

    .card-content h3,
    .card-content p {
        text-align: left !important;
    }

    .timeline-arrow {
        left: 6px;
        transform: none;
    }
    .timeline-item.left {
        left: 0;
        justify-content: flex-start;
        padding-right: 0px;
        padding-left: 55px;
    }
    .card-content h3 {
        font-size: 26px;
    }

    .card-content p {
        font-size: 16px;
        line-height: 26px;
    }
}

/*Core Values*/
.values {
    padding: 0px 20px 80px;
}
.values-container {
    max-width: min(1758px, 92vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}
.values-item {
  text-align: center;
  padding: 10px 20px;
}
.values-item .icon {
  margin-bottom: 20px;
}
.values-item h3 {
  font-size: 28px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.values-item p {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-primary);
  margin: 0 auto;
  font-weight: 200;
}

/* GALLERY */
.gallery {
    max-width: 1400px;
    margin: 10px auto;
    padding: 0 20px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.gallery-card {
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-card .img {
    border-radius: 18px;
    height: 220px;
    overflow: hidden;
}
.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    overflow: hidden;
    transition: transform 1.3s cubic-bezier(0.38, 0.38, 0.25, 1);
}
.gallery-card:hover img{
    transform: scale(1.05);
}
.gallery-card h3 {
    padding: 18px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .gallery-card .img {
        height: auto;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card img {
        height: 200px;
    }
}
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 9999;
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lb-zoom-wrapper {
    overflow: hidden;
    touch-action: none;
}
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    transform-origin: center;
    transition: transform .15s ease;
}
.lb-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}
.lb-close:focus-visible {
    outline: 0;
}
.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}
.lb-nav.prev { left: 30px; }
.lb-nav.next { right: 30px; }
@media (max-width: 768px) {
    .lb-nav {
        font-size: 36px;
    }
}

/* SERTİFİKALAR */
.certificates {
    max-width: 1758px;
    width: 92%;
    margin: 80px auto;
    padding: 0 24px;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    gap: 48px;
    justify-items: center;
}
.cert-card {
    width: 100%;
    max-width: 410px;
    text-align: center;
}
.cert-box {
    width: 100%;
    aspect-ratio: 410 / 254;
    height: auto;
    background: #E5E8FB;
    background: linear-gradient(-90deg,rgba(229, 232, 251, 1) 0%, rgba(255, 255, 255, 1) 100%); 
    border-radius: 18px;
    padding: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.cert-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 1.3s cubic-bezier(0.38, 0.38, 0.25, 1);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.cert-card:hover img {
    transform: scale(1.05);
}
.cert-card h3 {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
}
@media (max-width: 1200px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}
@media (max-width: 600px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
@media (max-width: 480px) {
    .cert-box {
        width: 100%;
        height: auto;
        aspect-ratio: 410 / 254;
    }
}

/* NEWS */
.news-section {
    max-width: 1758px;
    width: 92%;
    margin: 10px auto;
    padding: 0 24px;
    text-align: center;
}
.news-grid {
    display: grid;
    /* Ekran genişliğine göre otomatik sığdırma yapar */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 50px;
}
.news-card {
    text-align: left;
    display: flex;
    flex-direction: column;
}
.news-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: #e2e8f0;
    margin-bottom: 16px;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-image img {
    transform: scale(1.08);
}
.news-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-date {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 200;
}
@media (max-width: 768px) {
    .news-grid {
        gap: 20px;
    }
    .news-text {
        font-size: 14px;
    }
}

.swiper-slide a {
  display: block;
  overflow: hidden;
  border-radius: 20px;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.swiper-slide:hover img {
  transform: scale(1.05);
}
.swiper-pagination {
  position: relative !important;
  margin-top: 30px !important;
}
.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: #c6cbd8 !important;
  opacity: 1 !important;
  margin: 0 6px !important;
}
.swiper-pagination-bullet-active {
  background: var(--color-primary) !important;
}
.action-footer {
  margin-top: 40px;
  text-align: center;
}

.cizgi{
    border-bottom: 2px solid #c6cbd8;
    margin-bottom: 50px;
}
/* Galeri Stilleri */
.main-swiper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.main-swiper .swiper-slide {
    max-width: 1400px !important;
    height: 683px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}
.main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
}
.thumbs-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  max-width: 600px; /* Merkeze toplamak için */
  margin-left: auto;
  margin-right: auto;
}
.thumb-swiper {
  width: 100%;
  height: 80px;
  overflow: hidden;
}
.thumb-swiper .swiper-slide {
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
}
.thumb-swiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumb-prev::after, 
.thumb-next::after {
    content: "" !important;
    display: none !important;
}
.thumb-prev, 
.thumb-next {
    color: #11223f !important;
    font-size: 20px;
    transition: all 0.3s ease;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}
.thumb-prev:hover, 
.thumb-next:hover {
  transform: scale(1.2);
  color: #000 !important;
}
.thumb-prev:after, .thumb-next:after {
  font-size: 18px !important;
}
.swiper-button-next svg, .swiper-button-prev svg{
    display: none;
}
/* Detaylar ve Teknik Çizim Grid */
.product-details {
    background: #E5E8FB;
    background: linear-gradient(-90deg,rgba(229, 232, 251, 1) 0%, rgba(255, 255, 255, 1) 100%); 
    padding: 75px;
    display: flex;
    gap: 60px;
    align-items: stretch;
    height: 100%;
    border-radius: 20px;
    margin-top: 85px;
    margin-bottom: 85px;
}
.details-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}
.details-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom:29px;
    color: var(--color-primary);
    font-family: "Zalando Sans SemiExpanded", sans-serif;
}
.details-content p {
    font-size: 18px;
    font-weight: 200;
    line-height: 30px;
    color: var(--color-primary);
    margin-bottom: 32px;
}
.tech-list {
    list-style: none;
    padding: 0;
    margin: 0 0 29px;
}
.tech-list li {
    font-size: 18px;
    font-weight: 200;
    line-height: normal;
    color: var(--color-primary);
    margin-bottom: 15px;
}
.energy-row {
    margin: 0 0 30px;
}
.energy-row img {
    max-width: 120px;
}
.details-media {
    position: relative;
    background: #E5E8FB;
    background: linear-gradient(90deg,rgba(229, 232, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
    max-width: 638px;
    width: 100%;
    padding: 30px;
    border-radius: 20px;
}
.details-wrap{
    background: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 20px;
}
.technical-swiper {
    position: relative;
    width: 100%;
    height: 100%;
    
}
.media-frame {
    padding: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.media-frame img {
    height: auto;
    display: block;
}
.technical-swiper .swiper-button-prev,
.technical-swiper .swiper-button-next {
    color: #11223f !important;
    font-size: 20px;
    transition: all 0.3s ease;
    position: static !important;
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
    position: absolute !important
}
.details-media{
    max-width: 37%;
}
.details-content {
    max-width: 63%;
}
.urunGaleri{
    margin-top: 50px;
}
@media (max-width: 1200px) {
    .product-details {
        gap: 40px;
        padding: 60px 0;
    }

    .details-media,
    .details-content {
        max-width: 50%;
    }
}
@media (max-width: 991px) {
    .main-swiper .swiper-slide {
        width: 100% !important;
        height: 100% !important;
    }
    .product-details {
        flex-direction: column;
        gap: 40px;
        padding: 50px 0;
    }

    .details-content,
    .details-media {
        width: 100%;
        max-width: 100%;
    }

    .media-frame {
        padding: 30px;
    }

    .media-frame img {
        max-width: 260px;
    }
}
@media (max-width: 576px) {
    .product-details {
        padding: 40px;
        gap: 30px;
    }

    .details-content h3 {
        font-size: 16px;
        margin: 24px 0 10px;
    }

    .details-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .tech-list li {
        font-size: 13px;
    }

    .media-frame {
        padding: 20px;
    }

    .media-frame img {
        max-width: 220px;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    /* Swiper okları */
    .technical-swiper .swiper-button-prev,
    .technical-swiper .swiper-button-next {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px;
    }
}

/* References */
/* --- GRID SİSTEMİ (1300px Üzerinde Sabit 3 Kolon) --- */
.gallery-gridx {
    display: grid;
    /* 1300px ve laptoplarda 3 sütun çakılı kalsın diye auto-fill yerine repeat(3) */
    grid-template-columns: repeat(3, 1fr); 
    grid-auto-flow: dense;
    gap: 30px;
}

/* --- KART YAPISI --- */
.gallery-gridx .card { 
    display: flex; 
    flex-direction: column; 
    width: 100%; 
    animation: fadeIn 0.5s ease forwards;
}

/* RESİM KAPSAYICISI (ORANLARI KORUYAN ALAN) */
.card-image-link {
    width: 100%;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1px;
    background-color: #eee;
    position: relative;
    cursor: zoom-in;
}

/* Küçük Kart: Sabit 4:3 Oranı (Resmin bozulmasını engeller) */
.is-small .card-image-link {
    aspect-ratio: 3 / 2;
}

/* Büyük Kart (Dikey): İki küçük kart ve gap toplamı kadar yer kaplar */
.is-large { 
    grid-row: span 2; 
}

.is-large .card-image-link {
    /* (2 küçük resim + gap) - metin boşluğu payı */
    height: calc(100% - 0px); 
    aspect-ratio: auto;
}

/* RESMİN KENDİSİ (ESNETMEYİ ENGELLER) */
.card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya göre kırpar, basıklaştırmaz */
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-image-link:hover img {
    transform: scale(1.08);
}

/* Metin Alanları */
.card-content h3 { font-size: 20px; font-weight: 500; color: var(--color-primary); margin-bottom: 4px; }
.card-content p { font-size: 16px; color: var(--color-primary); font-weight: 300; }

/* --- RESPONSIVE (KADEMELİ GEÇİŞ) --- */

/* 1100px Altı (Büyük Tablet / Küçük Laptop) */
@media (max-width: 1100px) {
    .gallery-gridx {
        grid-template-columns: repeat(2, 1fr); /* 2 Sütuna düşer */
    }
}

/* 768px Altı (Mobil) */
@media (max-width: 768px) {
    .gallery-gridx {
        grid-template-columns: 1fr; /* Tek Sütun */
        gap: 30px;
    }
    .is-large {
        grid-row: auto; /* Mobilde dikey uzama iptal */
    }
    .is-large .card-image-link, .is-small .card-image-link {
        aspect-ratio: 16 / 9; /* Mobilde yatay format daha iyi görünür */
        height: auto;
    }
}

/* Animasyon */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- YÜKLEME BUTONU --- */
.load-more-container { 
    display: flex; 
    justify-content: center; 
    margin-top: 60px; 
    padding-bottom: 30px;
}

.load-more-btn {
    background-color: #1a2b49; 
    color: white; 
    border: none;
    padding: 18px 50px; 
    font-size: 16px; 
    font-weight: 600;
    border-radius: 12px; 
    cursor: pointer; 
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(26, 43, 73, 0.15);
}

.load-more-btn:hover {
    background-color: #243b61;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 43, 73, 0.25);
}