/* Genel Stil Ayarları */
:root {
    --primary-color: #007bff; /* Mavi */
    --secondary-color: #6c757d; /* Gri */
    --dark-blue: #0A1128; /* Koyu Mavi Arka Plan */
    --light-gray: #f8f9fa; /* Açık Gri */
    --text-color: #333;
    --white: #fff;
    --success-green: #28a745;
    --star-yellow: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.bg-dark {
    background-color: var(--dark-blue);
    color: var(--white);
}

/* Header */
.top-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info i {
    margin-right: 5px;
}

.top-bar .social-media a {
    color: var(--white);
    margin-left: 15px;
    font-size: 1.1rem;
}

.navbar {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo img {
    height: 50px; /* Logo boyutunu ayarlayın */
}

.navbar .nav-links {
    display: flex;
}

.navbar .nav-links li {
    margin-left: 30px;
}

.navbar .nav-links a {
    color: var(--dark-blue);
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: var(--primary-color);
}

.navbar .language-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: var(--dark-blue);
}

.navbar .language-selector img {
    height: 20px;
    margin-right: 5px;
}

.navbar .hamburger-menu {
    display: none; /* Mobil için varsayılan olarak gizli */
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-blue);
}

/* Hero Section */
.hero-section {
    background: url('https://i.imgur.com/hero-bg.jpg') no-repeat center center/cover; /* Arkaplan görseli */
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay */
    z-index: -1;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-section .btn-primary {
    padding: 15px 35px;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.hero-section .btn-primary i {
    margin-left: 10px;
}

.hero-section .ratings {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.hero-section .rating-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section .rating-item img {
    height: 30px;
    margin-bottom: 10px;
}

.hero-section .rating-item p {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.hero-section .rating-item span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-section .hero-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.hero-section .hero-card {
    background-color: var(--white);
    color: var(--dark-blue);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 200px;
    text-align: center;
}

.hero-section .hero-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero-section .hero-card p {
    font-weight: bold;
    margin: 0;
}

/* Before & After Section */
.before-after-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
}

.before-after-section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.before-after-slider {
    display: flex;
    justify-content: flex-start; /* center yerine flex-start */
    gap: 20px;
    margin-top: 40px;
    overflow-x: auto; /* JS scrollTo ile uyumlu ve mobilde kaydırılabilir */
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    scroll-snap-type: x mandatory; /* Mobilde snap için */
    -webkit-overflow-scrolling: touch;
}
.slider-item {
    flex: 0 0 400px; /* min-width yerine kesin flex değeri */
    display: flex;
    gap: 10px;
    transition: transform 0.5s ease-in-out;
    scroll-snap-align: start;
}

.slider-item img {
    width: calc(50% - 5px); /* Önceki ve sonraki görselleri yan yana koy */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section.bg-dark h2,
.cta-section.bg-dark p {
    color: var(--white);
}

.cta-section .cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-section .cta-content img {
    width: 250px; /* Doktor görseli boyutu */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.cta-section .cta-content div {
    text-align: left;
}

.cta-section .cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: left;
}

.cta-section .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Team Section (Klinik Güçlü Yönleri) */
.team-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.team-cards-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    overflow-x: hidden; /* JavaScript ile kaydırma yapılacak */
    position: relative;
    max-width: 1000px; /* Genişlik */
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    width: 300px;
    flex-shrink: 0;
    transition: transform 0.5s ease-in-out;
}

.team-card img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.team-card h3 {
    font-size: 1.7rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.team-card p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background-color: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-item {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-item img {
    width: 100%;
    display: block;
    height: 200px;
    object-fit: cover;
}

.video-item .fa-play-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.video-item:hover .fa-play-circle {
    opacity: 1;
    color: var(--primary-color);
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-items: center; /* Ortalar */
    align-items: center;
}

.partners-grid img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%); /* Gri tonlama */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partners-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Footer CTA Section (benzer yapı) */
.footer-cta-section {
    padding: 80px 0;
    text-align: center;
}

/* Footer */
.main-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 30px 0;
    font-size: 0.9rem;
}

.main-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer .footer-links a {
    color: var(--white);
    margin-left: 20px;
    opacity: 0.8;
}

.main-footer .footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}


/* What We Do Section */
.what-we-do-section {
    padding: 100px 0;
    background-color: var(--white); /* Arka plan rengi */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Başlangıca hizalama, içeriğin esnemesine izin verir */
    min-height: 700px; /* Bölümün minimum yüksekliği */
}

.what-we-do-section .container {
    display: flex;
    gap: 50px; /* Sol ve sağ sütunlar arası boşluk */
    align-items: stretch; /* Burası kritik! Alt öğelerin container'ın yüksekliği boyunca esnemesini sağlar */
    max-width: 1400px; /* Konteyner genişliğini artırın */
}

.what-we-do-left {
    background-color: #F8F5EE; /* Açık krem rengi arka plan */
    padding: 50px;
    border-radius: 10px; /* Hafif yuvarlak köşeler */
    flex: 1; /* Sol kısmı esnek yapar */
    min-width: 350px; /* Minimum genişlik */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* İçeriği dikeyde dağıtmak için */
    align-items: flex-start;
    /* height: 100%; Bu, flex öğesi içinde olduğu için doğrudan işe yaramaz,
       yerine parent'taki align-items: stretch kullanılır */
    /* align-self: stretch; Bu da genellikle gerekmez eğer parent'ta align-items: stretch varsa */
}

.what-we-do-left h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--dark-blue);
    text-align: left;
    margin-bottom: 20px; /* İhtiyaca göre ayarlanabilir */
}

.what-we-do-left p {
    font-size: 1.1rem;
    color: #555;
    text-align: left;
    max-width: 300px; /* Metin genişliğini sınırlayın */
    margin-top: auto; /* Yazıyı alta doğru itmek için */
}

.what-we-do-right {
    flex: 2; /* Sağ kısmı daha geniş yapar */
    padding: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    margin-top: -40px; /* biraz yukarı taşı */
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}


/* Bölüm genel ayarları */
.what-we-do-section {
    padding: 120px 0 100px; /* üstten biraz daha fazla boşluk */
    background-color: var(--white);
    display: flex;
    flex-direction: column; /* başlık + içerik dikey sıralansın */
    align-items: center;
}

/* Başlık */
.section-title {
    text-align: center;
    margin-bottom: 80px;
    width: 100%;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* İçerik konteyneri */
.what-we-do-section .container {
    display: flex;
    gap: 50px;
    align-items: stretch;
    max-width: 1400px;
}

/* Sol kutu (mavi alan) */
.what-we-do-left {
    padding: 60px 50px;
    border-radius: 12px;
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Sağ taraf */
.what-we-do-right {
    flex: 2;
    padding: 10px;
}

/* Mobil uyumluluk */
@media (max-width: 992px) {
    .what-we-do-section .container {
        flex-direction: column;
        align-items: center;
    }

    .what-we-do-left,
    .what-we-do-right {
        width: 100%;
    }

    .what-we-do-left {
        text-align: center;
    }

    .what-we-do-left p {
        margin: 0 auto;
    }
}



.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 sütunlu ızgara */
    gap: 30px; /* Izgara öğeleri arası boşluk */
    height: 100%;
}


.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); /* Hafif gölge */
    text-align: left;
    border-top: 5px solid transparent; /* Üst kenarlık için yer tutucu */
    transition: all 0.3s ease;
    display: flex; /* İçeriği düzenlemek için flex kullanın */
    flex-direction: column; /* İçeriği dikey sırala */
}

.service-item:hover {
    border-top-color: var(--primary-color); /* Hover'da üst kenarlık rengi değişir */
    transform: translateY(-5px); /* Hafif yukarı kalkma efekti */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    background-color: #F2F8F8; /* İkon arka plan rengi */
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Daire şeklinde */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-icon img {
    width: 55px; /* İkon boyutunu ayarlayın */
    height: 55px;
    object-fit: contain;
}
.modal-body ul {
  list-style-type: disc; /* • madde işareti */
  padding-left: 20px; /* içe boşluk ekler */
  margin-bottom: 15px;
}

.modal-body li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #333; /* yazı rengini isteğe göre ayarla */
}

.service-item h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Paragrafın esneyerek kalan alanı doldurmasını sağlar */
}

.service-item .read-more {
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px; /* Alt çizgi için boşluk */
    margin-top: auto; /* En alta hizalamak için */
}

.service-item .read-more::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px; /* Çizgi uzunluğu */
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.service-item .read-more:hover::after {
    width: 100%; /* Hover'da çizgi uzar */
}


.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}
/* Açılan görsel */
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-radius: 4px;
}

/* Kapat butonu */
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}



/* Responsive Tasarım İçin Medya Sorguları */
@media (max-width: 1200px) {
    .what-we-do-section .container {
        flex-direction: column; /* Küçük ekranlarda dikey sıralama */
        gap: 40px;
        align-items: center; /* Ortaya hizalama */
    }

    .what-we-do-left {
        width: 100%;
        max-width: 700px; /* Maksimum genişlik verin */
        text-align: center;
        align-items: center;
        padding: 40px;
        min-height: auto; /* Yüksekliği esnek bırakın */
        justify-content: center; /* İçeriği ortala */
    }

    .what-we-do-left h2 {
        font-size: 3rem;
        text-align: center;
    }

    .what-we-do-left p {
        max-width: 500px;
        text-align: center;
        margin-top: 20px; /* Normal boşluk */
    }

    .what-we-do-right {
        width: 100%;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sütunlu ızgara */
        height: auto; /* Esnekliği kaldırın */
    }

    .service-item {
        text-align: center;
    }

    .service-icon {
        margin: 0 auto 20px auto; /* İkonu ortaya hizala */
    }

    .service-item .read-more {
        margin-top: 20px; /* Normal boşluk */
    }

    .service-item .read-more::after {
        left: 50%;
        transform: translateX(-50%); /* Ortadan uzayacak şekilde ayarlayın */
    }
}

/* Hero Section - Yeni Stil (Sadece İmge Arka Plan) */
.hero-section.hero-image-bg {
    position: relative;
    width: 100%;
    height: 600px; /* Bölümün yüksekliğini ayarlayın */
    overflow: hidden;
    display: flex;
    align-items: center; /* İçeriği dikeyde ortalar */
    justify-content: flex-start; /* İçeriği yatayda sola hizalar */
    background-color: var(--dark-blue); /* Görsel yüklenmezse yedek renk */
    color: var(--white);
    z-index: 0; /* İçerik ve overlay'in üstte kalması için */
}

.hero-background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli kapsayıcıya sığdırır */
    transform: translate(-50%, -50%);
    z-index: 0; /* Overlay'den daha düşük olmalı */
}

.image-overlay { /* Sınıf adını güncelledim */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 40, 0.7); /* Koyu mavi renkli overlay, opasite ile ayarlayın */
    z-index: 1; /* Görselin üzerinde ama metinlerin altında kalır */
}

.hero-content-left {
    position: relative; /* Overlay'in üstünde kalması için */
    z-index: 2; /* Overlay'den daha yüksek olmalı */
    text-align: left;
    max-width: 600px; /* Metin kutusunun genişliğini sınırlayın */
    padding-left: 50px; /* Soldan boşluk */
}

.hero-content-left h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif; /* Başlık fontu */
}

.hero-features {
    list-style: none; /* Varsayılan liste stilini kaldır */
    margin-bottom: 30px;
    padding-left: 0;
}

.hero-features li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--white);
    opacity: 0.9;
}

.hero-features li i {
    color: var(--primary-color); /* Onay işareti rengi */
    margin-right: 10px;
    font-size: 1.4rem;
}

.hero-section .btn-primary {
    padding: 15px 35px;
    font-size: 1.1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #0056b3;
}

.hero-section .btn-primary i {
    margin-left: 10px;
}

.before-after-section {
    overflow: hidden; /* gereksiz kaydırmayı engeller */
    position: relative;
    width: 100%;
    max-width: 100%;
}

.before-after-slider {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}

.before-after-slider .slider-item {
    flex: 0 0 100%; /* her fotoğraf tam genişlik kaplasın */
    max-width: 100%;
}

.before-after-slider .slider-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* görüntü oranını korur */
}

/* .before-after-section .slider-dots {
    display: none !important;
} */

.before-after-section {
    overflow: hidden;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* tam ekran yükseklik */
    display: flex;
    align-items: center;
}

.hero-content-left {
    position: relative;
    z-index: 2;
    text-align: left;
    margin-left: 5%; /* biraz boşluk bırak, çok sola yapışmasın */
    max-width: 600px;
}


.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('./images/Detay\ çekim.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax etkisi */
    display: flex;
    align-items: center;
}

/* INTERAKTİF BEFORE/AFTER SLIDER - Yeni Eklenen Stiller */
.interactive-before-after-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--dark-blue);
    color: var(--white);
}
.after {
    z-index: 1;
    filter: none;
}

.compare {
    --w: 700px; /* Genişlik */
    --h: 870px; /* Yükseklik */
    width: var(--w);
    height: var(--h);
    max-width: 95vw;
    max-height: 100vh;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    background: #000;
    margin: 0 auto; /* Ortalamak için */
}

.compare img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

.before-wrapper {
    position: absolute;
    inset: 0;
    z-index: 2;
    --pos: 50; /* yüzde */
    clip-path: polygon(0 0, calc(var(--pos) * 1%) 0, calc(var(--pos) * 1%) 100%, 0 100%);
    transition: clip-path 0s;
    background: transparent;
}

.divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: white;;
    z-index: 3;
    pointer-events: none;
}

.handle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: white;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    font-weight: bold;
    color: #0A1128;
    font-size: 16px;
}

.label-left, .label-right{
    position: absolute;
    top: 18px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.45);
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    z-index: 5;
}
.label-left{ left: 16px; }
.label-right{ right: 16px; }

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* koyu overlay efekti */
    z-index: 1;
}

.hero-content-left {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    margin-left: 5%;
    max-width: 600px;
}
.before-after-slider {
    display: flex;          /* slider öğelerini yan yana dizer */
    gap: 20px;              /* öğeler arasındaki boşluk */
    overflow-x: hidden;     /* yatay scrollbarı gizler */
    scroll-behavior: smooth;
}

.before-after-slider .slider-item {
    flex: 0 0 auto;         /* öğeler sabit genişlikte olsun */
    width: 100%;            /* veya istediğin genişlik */
}



.team-card {
    flex: 0 0 calc((100% - 90px)/4); /* 4 kart göster, gap toplamını çıkar */
    box-sizing: border-box;
}

/* Dikey Fotoğraflar için Galeri Ayarları */
.gallery-section {
    padding: 50px 0;
    background: var(--dark-blue); /* Arka plan rengini dark blue olarak güncelledim */
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--white); /* Başlık rengini beyaz yaptım */
}

.gallery-grid {
    display: grid;
    /* Dikey fotoğraflar için daha esnek bir grid yapısı */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Her zaman en az 250px, sığana kadar */
    grid-auto-rows: auto; /* Otomatik satır yüksekliği */
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px; /* Köşeleri yumuşat */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Hafif gölge */
}

/* Büyük görsel için özel stil, burada dikey görsellerin oranına uygun olması için */
.gallery-item.big {
    grid-column: span 2; /* İki sütun kaplamaya devam */
    grid-row: span 2;   /* İki satır kaplamaya devam */
    /* Dikey fotoğrafın boyutuna uygun bir min-height ekleyebilirsiniz */
    min-height: 500px; /* Büyük görsel için minimum yükseklik */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Önemli! Görselin kutuyu doldurmasını sağlar, kırpabilir */
    display: block; /* Görselin altında boşluk bırakmaz */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    color: white;
    font-size: 20px;
    text-align: center;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05); /* Hover'da hafif büyütme */
    filter: brightness(0.8); /* Hover'da hafif karartma */
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Slider Kontrolleri için Stil */
.before-after-section .slider-controls {
    display: flex;
    justify-content: center; /* Ortaya hizala */
    align-items: center;
    margin-top: 30px; /* Topçuklar ve butonlar için boşluk */
    gap: 15px; /* Butonlar ve topçuklar arasına boşluk */
}

.before-after-section .slider-controls button {
    background-color: #1d1a45; /* Buton arka plan rengi */
    color: white; /* Buton yazı rengi */
    border: none;
    padding: 10px 15px;
    margin-top: 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    display: flex; /* İkonu ortalamak için */
    align-items: center;
    justify-content: center;
}

.before-after-section .slider-controls button:hover {
    background-color: #0a58ca; /* Hover arka plan rengi */
}

/* Slider Topçukları (dots) için mevcut stilinize ek olarak veya onu düzenleyerek */
.before-after-section .slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px; /* Topçuklar arasına boşluk */
}

.before-after-section .slider-dots .dot {
    display: block;
    width: 12px;
    height: 12px;
    background-color: #bbb; /* Pasif topçuk rengi */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.before-after-section .slider-dots .dot.active {
    background-color: #0d6efd; /* Aktif topçuk rengi */
}


.team-card {
    flex: 0 0 calc(25% - 22.5px); /* 4 kart için hesap */
}


.social-buttons {
  position: fixed;
  bottom: 20px; /* sayfanın altından boşluk */
  right: 20px;  /* sağdan boşluk */
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn img {
  width: 60%;
  height: 60%;
}

.social-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Marka renkleri */
.whatsapp {
  background-color: #25D366;
}

.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}


.main-footer {
  background-color: #0A1128; /* Koyu mavi */
  color: #fff;
  padding: 25px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Mobilde alta geçer */
  gap: 15px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-links a {
  color: #ccc;
  margin: 0 10px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #007bff;
}

/* 🔗 Sosyal Medya */
.social-links a {
  color: #fff;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #007bff;
}

/* 📱 Mobil uyumu */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    margin: 10px 0;
  }
}



@media (max-width: 1200px) {
    .team-card { flex: 0 0 calc(50% - 15px); } /* 2 kart tablet */
}

@media (max-width: 768px) {
    .team-card { flex: 0 0 100%; } /* 1 kart mobil */
}

@media (max-width: 1200px) {
    .team-card { flex: 0 0 calc(50% - 15px); } /* 2 kart tablet */
}

@media (max-width: 768px) {
    .team-card { flex: 0 0 100%; } /* 1 kart mobil */
}


/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .hero-section.hero-image-bg {
        height: 500px;
    }

    .hero-content-left {
        padding-left: 30px;
        max-width: 90%; /* Küçük ekranlarda daha geniş */
    }

    .hero-content-left h1 {
        font-size: 3rem;
    }

    .hero-features li {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section.hero-image-bg {
        height: 450px;
    }

    .hero-content-left {
        padding-left: 20px;
        text-align: center; /* Mobil'de ortala */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content-left h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-features {
        align-items: flex-start; /* Listeyi sola hizala */
        max-width: 300px; /* Liste genişliğini sınırlayabiliriz */
    }

    .hero-features li {
        justify-content: flex-start; /* Listeyi sola hizala */
        text-align: left;
    }

    .hero-section .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section.hero-image-bg {
        height: 400px;
    }

    .hero-content-left h1 {
        font-size: 2rem;
    }

    .hero-features li {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .what-we-do-section {
        padding: 60px 0;
    }

    .what-we-do-left {
        padding: 30px;
    }

    .what-we-do-left h2 {
        font-size: 2.5rem;
    }

    .what-we-do-left p {
        font-size: 1rem;
    }

    .service-grid {
        grid-template-columns: 1fr; /* Tek sütunlu ızgara */
        gap: 25px;
    }

    .service-item {
        padding: 25px;
    }

    .service-item h3 {
        font-size: 1.3rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }
}

/* Responsive Tasarım İçin Medya Sorguları */
@media (max-width: 992px) {
    .navbar .nav-links {
        display: none; /* Menüleri gizle */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px; /* Navbar yüksekliğine göre ayarla */
        left: 0;
        background-color: var(--white);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .navbar .nav-links li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .navbar .nav-links a {
        display: block;
        padding: 15px 20px;
        text-align: left;
    }

    .navbar .hamburger-menu {
        display: block; /* Hamburger menüyü göster */
    }

    .navbar .language-selector {
        margin-right: 20px; /* Hamburger ile çakışmaması için */
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section .hero-cards {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-section .hero-card {
        width: 45%; /* İkişerli hizalama */
    }

    .hero-section .ratings {
        flex-direction: column;
        gap: 20px;
    }

    .cta-section .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .cta-section .cta-content img {
        width: 200px;
    }

    .cta-section .cta-content div {
        text-align: center;
    }
    .cta-section .cta-content h2 {
        text-align: center;
    }

    .before-after-slider, .team-cards-wrapper {
        height: 45vh;
        justify-content: flex-start; /* Sola hizala, kaydırılabilir */
        overflow-x: scroll; /* Yatay kaydırma çubuğu */
        scroll-snap-type: x mandatory; /* Slider öğelerine yapışma efekti */
        -webkit-overflow-scrolling: touch; /* Mobil için yumuşak kaydırma */
    }

    .team-cards-wrapper{
        height: 20vh;
    }

    .slider-item, .team-card {
        scroll-snap-align: start; /* Her öğenin başlangıcına yapış */
    }

    .slider-dots {
        display: none; /* Küçük ekranlarda nokta navigasyonunu gizle */
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .main-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .main-footer .footer-bottom p {
        margin-bottom: 15px;
    }

    .main-footer .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Üst çubuğu mobil cihazlarda gizle */
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }
}

/* MOBILE / TABLET */
@media (max-width: 768px) {
    .compare {
        max-width: 100%;
        max-height: 100%;
    }

    .handle {
        width: 25px;
        height: 25px;
        border-width: 1.5px;
    }

    .divider {
        width: 1.5px;
    }
}

@media (max-width: 480px) {
    .handle {
        width: 20px;
        height: 20px;
        border-width: 1px;
    }

    .divider {
        width: 1px;
    }
}

/* Mobil görünüm için düzeltme */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* Tek sütun */
  }

  .gallery-item.big {
    grid-column: span 1; /* Artık sadece 1 sütun kaplasın */
    grid-row: span 1;    /* Satır yüksekliğini de varsayılana çevir */
    min-height: auto;    /* Mobilde gereksiz yüksekliği kaldır */
  }

  .gallery-item img {
    height: auto; /* Mobilde orantılı yükseklik */
    object-fit: contain; /* Görselin tamamı görünsün */
  }
}

.what-we-do-section .container {
    display: flex;
    gap: 30px; /* Boşluğu biraz azaltalım */
    align-items: stretch;
    max-width: 1400px;
    padding: 0 20px; /* Kenarlardan boşluk bırakalım */
}

/* Sol kutu (mavi alan) */
.what-we-do-left {
    padding: 60px 50px;
    border-radius: 12px;
    flex: 0 0 350px; /* Sabit bir genişlik verelim, ezilmesin */
    /* Veya esnek kalmasını istiyorsanız, daha akıllıca bir flex değeri */
    /* flex: 1; min-width: 300px; max-width: 400px; gibi */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start; /* İçeriği sola hizalı tutalım */
}

.what-we-do-left h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: white; /* Başlık rengini beyaz yapın */
    text-align: left;
    margin-bottom: 20px;
}

.what-we-do-left p {
    font-size: 1.1rem;
    color: white; /* Paragraf rengini beyaz yapın */
    text-align: left;
    max-width: 300px;
    margin-top: auto;
}

/* Sağ taraf */
.what-we-do-right {
    flex: 1; /* Kalan alanı doldurmasını sağla */
    padding: 10px 0; /* İç boşluğu yatayda sıfırlayalım */
}

/* Servis Izgarası */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 sütun */
    gap: 20px; /* Boşluğu 20px'e düşürelim */
    height: 100%;
}

/* SERVICE ITEM - GEREKLİ İNCE AYAR */
.service-item {
    background-color: var(--white);
    padding: 25px; /* İç boşluğu azaltalım */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    border-top: 5px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Tüm kartların eşit yükseklikte olmasını sağlar */
}

.service-icon {
    margin-bottom: 15px; /* İkon ile başlık arası boşluğu azaltalım */
}

/* Responsive Düzenlemeler - TEKRAR KONTROL EDELİM VE GÜNCELLEYELİM */

/* Tablet ve Küçük Masaüstü (1200px altı) */
@media (max-width: 1200px) {
    .what-we-do-section .container {
        flex-direction: column; /* Dikey sıralama */
        gap: 40px;
        align-items: center;
        padding: 0 30px;
    }

    .what-we-do-left {
        width: 100%;
        max-width: 700px;
        flex: 0 0 auto; /* Sabit genişlikten esnekliğe geçebiliriz veya max-width ile kontrol ederiz */
        text-align: center;
        align-items: center; /* İçeriği ortala */
        padding: 40px;
        min-height: auto;
    }

    .what-we-do-left h2,
    .what-we-do-left p {
        text-align: center; /* İçeriği ortala */
        max-width: 100%; /* Metin genişliğini serbest bırak */
    }

    .what-we-do-left p {
        margin-top: 20px;
    }

    .what-we-do-right {
        width: 100%;
        padding: 0; /* İç boşluğu kaldırın */
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 sütun */
        gap: 20px;
    }
}

/* Küçük Tablet ve Mobil (992px altı) */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sütun */
        gap: 15px;
    }
}

/* Çok Küçük Ekranlar (768px altı) */
@media (max-width: 768px) {
    .what-we-do-section {
        padding: 60px 0;
    }

    .what-we-do-left {
        padding: 30px;
    }

    .what-we-do-left h2 {
        font-size: 2.5rem;
    }

    .what-we-do-left p {
        font-size: 1rem;
    }

    .service-grid {
        grid-template-columns: 1fr; /* Tek sütun */
        gap: 20px;
    }

    .service-item {
        padding: 20px;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto 15px auto; /* İkonu ortala */
    }

    .service-item h3 {
        font-size: 1.3rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }

    .service-item .read-more::after {
        left: 50%;
        transform: translateX(-50%);
    }
}