/* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 25px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1010;
        }

        .menu-toggle span {
            width: 100%;
            height: 2px;
            background-color: var(--e-global-color-secondary);
            transition: all 0.3s linear;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
            background-color: var(--e-global-color-secondary);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
            background-color: var(--e-global-color-secondary);
        }

        


/* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -50%;
            width: 40%;
            height: 100vh;
            background-color: var(--e-global-color-abe5686);
            padding: 100px 30px 30px;
            z-index: 1000;
            transition: right 0.4s ease;
            overflow-y: auto;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-nav {
            list-style: none;
        }

        .mobile-nav li {
            margin-bottom: 15px;
        }

        .mobile-nav li a {
            color: var(--e-global-color-f35a660);
            text-decoration: none;
            font-family: 'Jost', sans-serif;
            font-size: 1.2rem;
            display: block;
            padding: 10px 0;
        }

        .mobile-dropdown-content {
            display: none;
            padding-left: 15px;
        }

        .mobile-dropdown-content.active {
            display: block;
        }



/* Genel Responsive Ayarlar */
@media (max-width: 1800px) {
body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Header mobil */
  header {
    padding: 12px 15px;
  }
  
  .logo img {
    width: 80px;
    margin-left: 0;
  }
  
  .nav-container nav {
    margin-right: 100px;
  }
  
  .contact-button {
    margin-right: 50px;
  }
  
    .hero-text {
    font-size: 5rem;
  }
}

@media (max-width: 1600px) {
body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Header mobil */
  header {
    padding: 12px 15px;
  }
  
  .logo img {
    width: 80px;
    margin-left: 0;
  }
  
  .nav-container nav {
    margin-right: 50px;
  }
  
  .contact-button {
    margin-right: 30px;
  }
  
  .hero-text {
    font-size: 5rem;
  }
  
  .service-image-container {
    min-width: 900px;
    margin-left: -100px;
  }
}

@media (max-width: 1440px) {
  .hero {
    height: 120vh;}

body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Header mobil */
  header {
    padding: 12px 15px;
  }
  
  .logo img {
    width: 80px;
    margin-left: 0;
  }
  
  .nav-container nav {
    margin-right: 30px;
  }
  
  .contact-button {
    margin-right: 20px;
  }
  
  .hero-text {
    font-size: 4.5rem;
  }
  
  .service-image-container {
    min-width: 800px;
    margin-left: -80px;
  }
  
  .image-comparison {
    min-width: 1100px;
  }
}

@media (max-width: 1366px) {
  .hero-text {
    font-size: 4rem;
  }
  
  .service-image-container {
    min-width: 750px;
    margin-left: -60px;
  }
  
  .image-comparison {
    min-width: 1000px;
  }
}

@media (max-width: 1280px) {
body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Header mobil */
  header {
    padding: 12px 15px;
  }
  
  .logo img {
    width: 80px;
    margin-left: 0;
  }
  
  .logo span {
    font-size: 1.1rem;
    margin-top: 10px;
  }
  
 
  .nav-container .contact-button {
    display: none;
  }
  
  
  .hero-text {
    font-size: 3.5rem;
  }
  
  .hero-image {
    width: 180px;
    height: 110px;
  }
  
  .service-image-container {
    min-width: 700px;
    margin-left: -50px;
    height: 500px;
  }
  
  .image-comparison {
    min-width: 900px;
    height: 500px;
  }
  
  .references-grid {
    min-width: 800px;
    height: 400px;
  }
}

/* Hero section mobil */
@media (max-width: 1200px) {

  
  .hero-text-container {
    margin-top: 30px;
    gap: 15px;
  }
  
  .text-with-image {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-text {
    font-size: 2.2rem;
    text-align: center;
    line-height: 1.2;
    order: 1; /* Yazılar üstte */
  }
  
  .hero-image {
    width: 100px;
    height: 70px;
    order: 2; /* Görseller altta */
  }
  
  /* İkinci satırda da aynı düzeni uygula */
  .hero-line:nth-child(2) .text-with-image {
    flex-direction: column;
  }
  
  .hero-line:nth-child(2) .hero-text {
    order: 1;
  }
  
  .hero-line:nth-child(2) .hero-image {
    order: 2;
  }
}

/* Daha küçük ekranlar için ek ayarlamalar */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    background-image: url('../img/şirket1.png');
  }
  
  .hero-text {
    font-size: 1.8rem;
  }
  
  .hero-image {
    width: 80px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .hero-text {
    font-size: 1.5rem;
  }
  
  .hero-image {
    width: 70px;
    height: 50px;
  }
}

@media (max-width: 1152px) {
  .hero-text {
    font-size: 3rem;
  }
  
  .hero-image {
    width: 160px;
    height: 100px;
  }
  
  .service-image-container {
    min-width: 600px;
    height: 450px;
  }
  
  .image-comparison {
    min-width: 800px;
    height: 450px;
  }
  
  .references-grid {
    min-width: 700px;
    height: 350px;
  }
  
  .footer-section {
    padding: 150px 100px 120px;
  }
}

/* Tablet ve Küçük Ekranlar için */
@media (max-width: 1024px) {

    
  .nav-container .contact-info, 
  .nav-container .contact-button {
    display: none;
  }
  
  .hero {
    height: 90vh;
    padding-top: 70px;
  }
  
  .hero-text {
    font-size: 2.8rem;
  }
  
  .hero-image {
    width: 140px;
    height: 90px;
  }
  
  .scrolling-service-item .service-text {
    font-size: 3.5rem;
  }
  
  .scrolling-service-item .star-icon {
    font-size: 2rem;
  }
  
  .about-section {
    padding: 80px 50px;
  }
  
  .about-text h1 {
    font-size: 2.5rem;
  }
  
  .about-image img {
    height: 500px;
  }
  
  .services-section {
    padding: 100px 20px;
  }
  
  .services-grid {
    grid-template-columns: 60% 40%;
  }
  
  .service-image-container {
    min-width: 500px;
    height: 400px;
    margin-left: -30px;
  }
  
  .services-list {
    padding-left: 40px;
  }
  
  .service-name {
    font-size: 1.8rem;
  }
  
  .dragging-section {
    padding: 120px 0;
  }
  
  .image-comparison {
    min-width: 700px;
    height: 400px;
  }
  
  .drag-arrow {
    width: 50px;
    height: 50px;
    margin: 0 30px;
    font-size: 1.3rem;
  }
  
  .references-section {
    padding: 100px 30px;
  }
  
  .references-grid {
    min-width: 600px;
    height: 300px;
  }
  
  .reference-item img {
    max-height: 120px;
  }
  
  .contact-section {
    padding: 80px 50px 50px;
    margin: 0 20px 30px;
  }
  
  .contact-header {
    flex-direction: column;
    gap: 30px;
  }
  
  .service-options {
    justify-content: flex-start;
  }
  
  .form-row {
    gap: 25px;
  }
  
  .footer-section {
    padding: 120px 60px 90px;
  }
  
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .newsletter-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
}

/* Tablet için */
@media (max-width: 900px) {

      .hero {
    height: 100vh;
    padding-top: 60px;
    background-image: url('../img/şirket1.png'); /* Yeni mobil arkaplan */
    background-position: center;
    background-size: cover;
  }
      .menu-toggle {
    display: flex;
    margin-right: 10px;
  }

      .nav-container nav, 
  .nav-container .contact-info, 
  .nav-container .contact-button {
    display: none;
  }
  .hero-text {
    font-size: 2.5rem;
  }

  .hero-text-container{
    margin-bottom: -8.5rem;
  }
  
  .hero-image {
    width: 120px;
    height: 80px;
  }
  
  .scrolling-service-item .service-text {
    font-size: 3rem;
  }
  
  .scrolling-service-item .star-icon {
    font-size: 1.8rem;
  }
  
  .service-image-container {
    min-width: 450px;
    height: 350px;
  }
  
  .image-comparison {
    min-width: 600px;
    height: 350px;
  }
  
  .references-grid {
    min-width: 550px;
  }
}

/* Mobil için genel ayarlar */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Header mobil */
  header {
    padding: 12px 15px;
  }
  
  .logo img {
    width: 80px;
    margin-left: 0;
  }
  
  .logo span {
    font-size: 1.1rem;
    margin-top: 10px;
  }
  
  .nav-container nav, 
  .nav-container .contact-info, 
  .nav-container .contact-button {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
    margin-right: 10px;
  }
  
  /* Hero section mobil */
  .hero {
    height: 100vh;
    padding-top: 60px;
    background-position: center;
  }
  
  .scrolling-text-container {
    top: 15%;
  }
  
  .scrolling-text {
    max-width: 150px;
  }
  
  .scrolling-text span {
    font-size: 16px;
  }
  
  .hero-text-container {
    margin-top: 30px;
    gap: 20px;
  }
  
  .text-with-image {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-text {
    font-size: 2.2rem;
    text-align: center;
    line-height: 1.2;
  }
  
  .hero-image {
    width: 100px;
    height: 70px;
  }
  
  .hero-line:nth-child(2) .text-with-image {
    flex-direction: column;
  }
  
  /* Scrolling services mobil */
  .scrolling-services {
    bottom: 20px;
  }
  
  .scrolling-service-item .service-text {
    font-size: 2.2rem;
    -webkit-text-stroke: 1px rgba(211, 210, 208, 0.877);
  }
  
  .scrolling-service-item .star-icon {
    font-size: 1.5rem;
    margin-right: 20px;
  }
  
  /* About section mobil */
  .about-section {
    padding: 60px 20px;
  }
  
  .scrolling-about-container {
    top: 30px;
    left: 20px;
  }
  
  .scrolling-about span {
    font-size: 13px;
    padding: 0 15px;
  }
  
  .about-content {
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
  }
  
  .about-text h1 {
    font-size: 2rem;
  }
  
  .about-text p {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .stats-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .stat-item {
    width: 48%;
    margin-bottom: 25px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .divider-line {
    width: 100%;
  }
  
  .about-image img {
    height: 400px;
  }
  
  /* Services section mobil */
  .services-section {
    padding: 80px 15px;
  }
  
  .scrolling-services-title-container {
    top: 40px;
  }
  
  .services-heading {
    font-size: 1.8rem;
    margin-bottom: 50px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-image-container {
    order: -1;
    min-width: 100%;
    height: 300px;
    margin-left: 0;
  }
  
  .services-list {
    padding-left: 0;
  }
  
  .service-item {
    margin-bottom: 20px;
  }
  
  .service-name {
    font-size: 1.5rem;
  }
  

  
  .dragging-bg {
    top: 50px;
    left: 15px;
    width: calc(100% - 30px);
    height: 30%;
  }
  
  .scrolling-drag-title-container {
    top: 60px;
  }
  
  .dragging-container {
    padding: 0 15px;
  }

  
  .dragging-title {
    font-size: 2rem;
  }
  
  .dragging-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .dragging-content {
    flex-direction: column;
    margin-bottom: 30px;
  }
  
  .drag-arrow {
    margin: 15px 0;
    order: 2;
    flex-direction: row;
  }
  
  .image-comparison {
    min-width: 100%;
    height: 300px;
    order: 1;
  }
  
  /* References section mobil */
  .references-section {
    padding: 80px 15px;
  }
  
  .scrolling-references-container {
    top: 40px;
  }
  
  .references-heading {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
  
  .references-grid {
    min-width: 100%;
    height: auto;
    padding: 20px;
    border-width: 1px;
  }
  
  .references-row {
    flex-wrap: wrap;
  }
  
  .reference-item {
    flex: 0 0 50%;
    padding: 15px;
  }
  
  .reference-divider.vertical {
    display: none;
  }
  
  .reference-divider.horizontal {
    width: 100%;
    margin: 10px 0;
  }
  
  .reference-item img {
    max-height: 100px;
  }
  
  /* Contact section mobil */
  .contact-section {
    padding: 60px 20px 40px;
    margin: 0 15px 25px;
  }
  
  .scrolling-contact-container {
    left: 0;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .contact-header {
    flex-direction: column;
    gap: 25px;
  }
  
  .contact-header h1 {
    font-size: 2rem;
    text-align: center;
    min-width: 100%;
  }
  
  .service-options {
    justify-content: center;
    width: 100%;
  }
  
  .service-option {
    min-width: 90px;
    padding: 15px;
  }
  
  .service-option i {
    font-size: 1.8rem;
  }
  
  .service-option span {
    font-size: 0.9rem;
  }
  
  .divider-line2 {
    width: 100%;
  }
  
  .contact-form {
    flex-direction: column;
    gap: 20px;
  }
  
  .form-row {
    width: 100%;
    gap: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 16px 18px;
  }
  
  .submit-button {
    width: 100%;
    padding: 16px;
  }
  
  /* Footer mobil */
  .footer-section {
    padding: 80px 30px 60px;
  }
  
  .newsletter-section {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
  }
  
  .newsletter-text h3 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .newsletter-form {
    width: 100%;
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
  }
  
  .newsletter-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  .newsletter-button {
    width: 100%;
    justify-content: center;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }
  
  .footer-column h4 {
    font-size: 1.3rem;
  }
  
  .footer-column p {
    font-size: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .hero-text {
    font-size: 2rem;
    text-align: center;
    line-height: 1.2;
  }
}



/* Küçük mobil cihazlar */
@media (max-width: 480px) {
    .logo span{
        display: none;
    }

  .hero {
    height: 90vh;
  }
  
  .scrolling-text-container {
    top: 12%;
  }
  
  .hero-text {
    font-size: 1.5rem;
  }
  
  .hero-image {
    width: 80px;
    height: 60px;
  }
  
  .scrolling-service-item .service-text {
    font-size: 1.8rem;
  }
  
  .scrolling-service-item .star-icon {
    font-size: 1.2rem;
    margin-right: 15px;
  }
  
  .about-text h1 {
    font-size: 1.8rem;
  }
  
  .stat-item h2 {
    font-size: 2.5rem;
  }
  
  .about-image img {
    height: 300px;
  }
  
  .services-heading {
    font-size: 1.6rem;
  }
  
  .service-name {
    font-size: 1.3rem;
  }
  
  .service-image-container {
    height: 250px;
  }
  
  .dragging-title {
    font-size: 1.8rem;
  }
  
  .image-comparison {
    height: 250px;
  }
  
  .drag-circle {
    width: 60px;
    height: 60px;
    font-size: 0.7rem;
  }
  
  .drag-circle i {
    font-size: 1.2rem;
  }
  
  .reference-item {
    flex: 0 0 100%;
  }
  
  .contact-header h1 {
    font-size: 1.8rem;
  }
  
  .service-option {
    min-width: 70px;
    padding: 12px;
  }
  
  .service-option i {
    font-size: 1.5rem;
  }
  
  .service-option span {
    font-size: 0.8rem;
  }
  
  .footer-section {
    padding: 60px 20px 40px;
  }
  
  .newsletter-text h3 {
    font-size: 1.3rem;
  }
}

/* Çok küçük ekranlar */
@media (max-width: 360px) {

            .mobile-menu {
            position: fixed;
            top: 0;
            right: -50%;
            width: 50%;
            height: 100vh;
            background-color: var(--e-global-color-abe5686);
            padding: 100px 30px 30px;
            z-index: 1000;
            transition: right 0.4s ease;
            overflow-y: auto;
        }

  .hero-text {
    font-size: 1.2rem;
  }
  
    .hero {
    height: 110vh;
  }


  .hero-image {
    width: 70px;
    height: 50px;
  }
  
  .scrolling-service-item .service-text {
    font-size: 1.5rem;
  }
  
  .about-text h1 {
    font-size: 1.6rem;
  }
  
  .stat-item {
    width: 100%;
  }
  
  .services-heading {
    font-size: 1.4rem;
  }
  
  .service-name {
    font-size: 1.2rem;
  }
  
  .dragging-title {
    font-size: 1.6rem;
  }
  
  .contact-header h1 {
    font-size: 1.6rem;
  }
  
  .service-options {
    flex-wrap: wrap;
  }
  
  .service-option {
    min-width: 60px;
    padding: 10px;
  }
}

/* Yatay mod için */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 80px 0 40px;
  }
  
  .scrolling-text-container {
    top: 15%;
  }
  
  .hero-text-container {
    margin-top: 20px;
    gap: 15px;
  }
  
  .hero-text {
    font-size: 2rem;
  }
  
  .hero-image {
    width: 80px;
    height: 60px;
  }
  
  .scrolling-services {
    bottom: 15px;
  }
}

/* Yüksek çözünürlük (Retina) ekranlar */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo img {
    transform: translateZ(0);
  }
  
  .hero-image img {
    transform: translateZ(0);
  }
}

/* Koyu mod desteği */
@media (prefers-color-scheme: dark) {
  .references-grid {
    border-color: #444;
  }
  
  .reference-divider.vertical,
  .reference-divider.horizontal {
    background-color: #444;
  }
}

/* Mobilde yatay kaymayı önleme */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}



/* Tablet ve mobil için before/after label küçültme */
@media (max-width: 768px) {
  .before-label,
  .after-label {
    padding: 6px 11px !important;
    font-size: 0.7rem !important;
  }
  
  .before-label {
    top: 15px !important;
    left: 15px !important;
  }
  
  .after-label {
    bottom: 15px !important;
    right: 15px !important;
  }
}

/* Küçük mobil cihazlar için daha da küçültme */
@media (max-width: 480px) {
  .before-label,
  .after-label {
    padding: 5px 9px !important;
    font-size: 0.6rem !important;
  }
  
  .before-label {
    top: 10px !important;
    left: 10px !important;
  }
  
  .after-label {
    bottom: 10px !important;
    right: 10px !important;
  }
}

/* Çok küçük ekranlar için */
@media (max-width: 360px) {
  .before-label,
  .after-label {
    padding: 5px 10px !important;
    font-size: 0.7rem !important;
  }
  
  .before-label {
    top: 8px !important;
    left: 8px !important;
  }
  
  .after-label {
    bottom: 8px !important;
    right: 8px !important;
  }
}









/* Referanslar Section için Responsive Düzenlemeler */
@media (min-width: 1281px) {
    .references-slider.mobile-version {
        display: none;
    }
    .references-grid.desktop-version {
        display: block;
    }
}

@media (max-width: 1280px) {
    .references-grid.desktop-version {
        display: none;
    }
    .references-slider.mobile-version {
        display: block;
        position: relative;
        overflow: hidden;
        width: 100%;
        margin: 0 auto;
        cursor: grab;
    }
    
    .references-slider.mobile-version:active {
        cursor: grabbing;
    }
    
    .references-slider .slider-track {
        display: flex;
        transition: transform 0.5s ease;
        will-change: transform;
        user-select: none;
    }
    
    .references-slider .reference-item {
        flex: 0 0 25%;
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 200px;
    }
    
    .references-slider .reference-item img {
        max-height: 100px;
        width: auto;
        filter: grayscale(100%);
        transition: all 0.3s ease;
    }
    
    .references-slider .reference-item:hover img {
        filter: grayscale(0%);
        transform: scale(1.05);
    }
    
    /* Butonları kaldırdık */
    .references-slider .slider-controls {
        display: none;
    }
}

/* Daha küçük ekranlar için ek ayarlamalar */
@media (max-width: 768px) {
    .references-slider .reference-item {
        flex: 0 0 33.333%;
        min-width: 150px;
    }
    
    .references-slider .reference-item img {
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .references-slider .reference-item {
        flex: 0 0 50%;
        min-width: 120px;
    }
    
    .references-slider .reference-item img {
        max-height: 70px;
    }
}