/* --- CSS RESET & DEĞİŞKENLER --- */
      :root {
          --color-bg: #ffffff;
          --color-text-main: #1a1b1f; /* Koyu gri/siyah */
          --color-text-light: #5e6d7a; /* Açık gri metin */
          --color-primary: #0d2ea0; /* Horizon Mavisi */
          --color-primary-dark: #0a1d61;
          --color-bg-light: #f4f6f9;
          --color-border: #e2e8f0;
          --container-width: 1200px;
          --font-heading: 'Manrope', sans-serif;
          --font-body: 'Inter', sans-serif;
          --transition: all 0.3s ease;
          --orbit-size: 750px;       /* Masaüstü ana boyut */
          --img-box-size: 400px;     /* Makinelerin daire boyutu */
          --origin-distance: 650px;  /* Merkezden uzaklık */
      }

      * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
      }

      body {
          font-family: var(--font-body);
          color: var(--color-text-main);
          background-color: var(--color-bg);
          line-height: 1.6;
          -webkit-font-smoothing: antialiased;
      }

      a { text-decoration: none; color: inherit; transition: var(--transition); }
      ul { list-style: none; }
      img { max-width: 100%; display: block; }

      /* --- ORTAK SINIFLAR --- */
      .container {
          max-width: var(--container-width);
          margin: 0 auto;
          padding: 0 24px;
      }

      .btn {
          display: inline-block;
          padding: 10px 25px;
          border-radius: 8px;
          font-weight: 600;
          font-size: 15px;
          cursor: pointer;
          transition: var(--transition);
      }

      .btn-primary {
          background-color: var(--color-primary); /* Siyah buton */
          color: #fff;
          border: 1px solid var(--color-primary);
      }

      .btn-primary:hover {
          background-color: var(--color-text-main);
          border-color: var(--color-text-main);
          transform: translateY(-2px);
      }

      .btn-outline {
          background: transparent;
          color: var(--color-primary);
          border: 1px solid var(--color-primary);
          margin-left: 10px;
      }

      .btn-outline:hover {
          border-color: var(--color-text-main);
      }

      .section-padding {
          padding: 100px 0;
      }

      h1, h2, h3, h4 {
          font-family: var(--font-heading);
          color: var(--color-text-main);
          line-height: 1.2;
      }

      /* --- HEADER / NAVBAR --- */
      header {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          background-color: rgba(255, 255, 255, 0.95);
          backdrop-filter: blur(10px);
          z-index: 1000;
          border-bottom: 1px solid var(--color-border);
      }

      .nav-container {
          display: flex;
          justify-content: space-between;
          align-items: center;
          height: 80px;
      }

      .logo {
          font-size: 22px;
          font-weight: 800;
          letter-spacing: -0.5px;
          color: var(--color-text-main);
      }
      
      .logo span { color: var(--color-primary); }

      .nav-links {
          display: flex;
          gap: 32px;
      }

      .nav-links a {
          font-size: 15px;
          font-weight: 500;
          color: var(--color-text-light);
      }

      .nav-links a:hover {
          color: var(--color-primary);
      }

      /* --- HERO SECTION --- */
      .hero {
          padding-top: 180px;
          padding-bottom: 100px;
          background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
          overflow: hidden;
      }

      .hero-grid {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 60px;
          align-items: center;
      }

      .hero-content h1 {
          font-size: 56px;
          font-weight: 800;
          margin-bottom: 24px;
          letter-spacing: -1.5px;
      }

      .hero-content p {
          font-size: 18px;
          color: var(--color-text-light);
          margin-bottom: 40px;
          max-width: 480px;
      }

      .hero-image {
          position: relative;
      }

      .hero-image img {
          border-radius: 16px;
          box-shadow: 0 20px 40px rgba(0,0,0,0.08);
          width: 100%;
          height: auto;
          object-fit: cover;
      }

      /* Dekoratif Daire */
      .hero-circle {
          position: absolute;
          top: -30px;
          right: -30px;
          width: 120px;
          height: 120px;
          background: var(--color-bg-light);
          border-radius: 50%;
          z-index: -1;
      }

      /* --- LOGO STRIP (REFERANSLAR) --- */
      .logo-strip {
        width: 100%;
        overflow: hidden; /* Dışarı taşan logoları gizler */
        padding: 20px 0;
        background: #fff;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        display: flex;
    }
    
    .logo-track {
        display: flex;
        width: calc(250px * 10); /* Logo genişliği x toplam logo sayısı */
        animation: scrollLogos 30s linear infinite; /* 30s hızı belirler */
    }
    
    .logo-item {
        width: 250px; /* Her bir logo alanının genişliği */
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
    }
    
    .logo-item img {
        height: 90px; /* Logoların yüksekliğini buradan sabitleyebilirsin */
        width: auto;
        filter: grayscale(100%); /* Logoları siyah beyaz yapar (opsiyonel) */
        opacity: 0.6;
        transition: all 0.3s ease;
    }
    
    /* Üzerine gelince renkli ve net olsun */
    .logo-item:hover img {
        filter: grayscale(0%);
        opacity: 1;
    }
    
    /* Kayma Animasyonu */
    @keyframes scrollLogos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 5)); /* İlk grup bittiğinde başa döner */
        }
    }

      /* --- products / ÖZELLİKLER --- */
      .products {
          background-color: #fff;
      }

      .section-header {
          text-align: center;
          max-width: 600px;
          margin: 0 auto 60px auto;
      }

      .section-tag {
          display: inline-block;
          padding: 6px 12px;
          background-color: #EFF6FF;
          color: var(--color-primary);
          border-radius: 20px;
          font-size: 13px;
          font-weight: 600;
          margin-bottom: 16px;
          text-transform: uppercase;
          letter-spacing: 1px;
      }

      .section-header h2 {
          font-size: 40px;
          font-weight: 700;
          margin-bottom: 16px;
          letter-spacing: -1px;
      }

      .products-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 32px;
      }

      .products-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px;
        border: 1px solid var(--color-border);
        border-radius: 12px;
        transition: var(--transition);
        background: #fff;
      }

      .products-card:hover {
          transform: translateY(-5px);
          box-shadow: 0 15px 30px rgba(0,0,0,0.05);
          border-color: transparent;
      }

      .icon-box {
          width: auto;
          height: 150px;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-bottom: 24px;
          font-size: 24px;
      }
      .icon-box img{
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .products-card h3 {
          font-size: 22px;
          margin-bottom: 12px;
      }

      .products-card p {
          color: var(--color-text-light);
          font-size: 13px;
          line-height: 1.5;
      }

      .about-section {
        background: linear-gradient(180deg, #f8f8f8 0%, #F8FAFC 100%);
        padding: 120px 0;
    }
    
    .about-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 80px;
        align-items: center;
    }
    
    /* Görsel Alanı */
    .about-image-wrapper {
        position: relative;
    }
    
    .about-image {
        height: 550px; /* Görselin dikeyde doygun durması için */
        border-radius: 40px;
        overflow: hidden;
        box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    }
    
    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Görselin sünmesini engeller, kutuya tam oturtur */
        transition: transform 0.6s ease;
    }
    
    .about-image:hover img {
        transform: scale(1.05); /* Üzerine gelince hafif bir zoom efekti */
    }
    
    /* Tecrübe Rozeti */
    .experience-badge {
        position: absolute;
        bottom: -30px;
        right: -30px;
        background: #0033a0;
        color: white;
        padding: 30px;
        border-radius: 30px;
        box-shadow: 0 20px 40px rgba(0, 51, 160, 0.3);
        text-align: center;
    }
    
    .exp-year {
        display: block;
        font-size: 36px;
        font-weight: 800;
        line-height: 1;
    }
    
    .exp-text {
        font-size: 13px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    /* İçerik Alanı */
    .about-lead {
        font-size: 18px;
        color: var(--color-text-light);
        margin-bottom: 35px;
        line-height: 1.7;
    }
    
    .about-features-list {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .about-feature-item {
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }
    
    .feat-icon {
        font-size: 24px;
        background: #f0f4ff;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        flex-shrink: 0;
    }
    
    .feat-text {
        font-size: 15px;
        color: var(--color-text-light);
        line-height: 1.5;
    }
    
    .feat-text strong {
        color: var(--color-text-main);
        display: block;
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    /* CTA ve İletişim */
    .about-cta {
        display: flex;
        align-items: center;
        gap: 30px;
    }
    
    .contact-hint {
        display: flex;
        flex-direction: column;
    }
    
    .hint-title {
        font-size: 12px;
        color: #94a3b8;
        text-transform: uppercase;
        font-weight: 700;
    }
    
    .hint-phone {
        font-weight: 700;
        color: #0033a0;
    }
    
    /* Mobil Uyumluluk */
    @media (max-width: 992px) {
        .about-grid {
            grid-template-columns: 1fr;
            gap: 50px;
        }
        .about-image-wrapper {
            max-width: 500px;
            margin: 0 auto;
        }
        .experience-badge {
            right: 0;
            bottom: -20px;
            padding: 20px;
        }
        .about-cta {
            flex-direction: column;
            align-items: flex-start;
        }
    }

      /* --- FOOTER --- */
      .footer-area {
        background-color: var(--color-primary-dark); /* Derin siyah/lacivert */
        color: #ffffff;
        padding: 80px 0 30px;
        font-family: 'Inter', sans-serif;
    }
    
    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 50px;
    }
    
    .footer-logo {
        font-size: 28px;
        font-weight: 800;
        color: #fff;
        text-decoration: none;
        display: block;
        margin-bottom: 20px;
    }
    
    .footer-logo span {
        color: #0033a0; /* Brother Mavisi */
    }
    
    .footer-desc {
        color: #94a3b8;
        line-height: 1.6;
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .footer-col h4 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 25px;
        color: #fff;
    }
    
    .footer-col ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-col ul li {
        margin-bottom: 12px;
    }
    
    .footer-col ul li a {
        color: #94a3b8;
        text-decoration: none;
        transition: 0.3s;
        font-size: 14px;
    }
    
    .footer-col ul li a:hover {
        color: #fff;
        padding-left: 5px;
    }
    
    .footer-contact-info p {
        font-size: 14px;
        color: #94a3b8;
        margin-bottom: 10px;
    }
    
    .footer-contact-info strong {
        color: #fff;
    }
    
    /* Sosyal Medya İkonları */
    .social-links {
        display: flex;
        gap: 15px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        background: rgba(255,255,255,0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
        text-decoration: none;
        font-size: 12px;
        transition: 0.3s;
    }
    
    .social-links a:hover {
        background: #0033a0;
    }
    
    /* Footer Alt Kısmı */
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 30px;
        font-size: 13px;
        color: #475569;
    }
    
    /* Mobil Uyumluluk */
    @media (max-width: 992px) {
        .footer-grid {
            grid-template-columns: 1fr 1fr;
        }
    }
    
    @media (max-width: 576px) {
        .footer-grid {
            grid-template-columns: 1fr;
        }
        .footer-bottom {
            flex-direction: column;
            gap: 10px;
            text-align: center;
        }
    }

      /* --- RESPONSIVE --- */
      @media (max-width: 991px) {
          .hero-grid, .products-grid, .about-grid, .footer-grid {
              grid-template-columns: 1fr;
              gap: 40px;
          }
          .hero-content { text-align: center; }
          .hero-content p { margin: 0 auto 30px auto; }
          .hero-image { order: -1; margin-bottom: 30px; }
          .hero-content h1 { font-size: 42px; }
          .nav-links { display: none; /* Mobilde hamburger menü gerekir */ }
      }




.img{
  position: relative;
  left: -50%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.img .imgBox img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(calc(-360deg/6 * var(--i)));
  animation: animateImgBx 20s linear infinite;
}

@keyframes animateImgBx {
  0%{
    rotate: 0deg;
  }
  100%{
    rotate: -360deg;
  }
}

.orbit-wrapper {
    position: relative;
    width: 100%;
    height: 610px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.box {
    position: relative;
    width: var(--orbit-size);
    height: var(--orbit-size);
    animation: animate 20s linear infinite;
    /* Masaüstünde sağa yaslamak için eski değerin */
    right: -400px; 
    top: -30px;
}

@keyframes animate {
    0%{
      rotate: 0deg;
    }
    100%{
      rotate: 360deg;
    }
    
  }

.img .imgBox {
    position: absolute;
    width: var(--img-box-size);
    height: var(--img-box-size);
    background: linear-gradient(0deg, #f2f2f2 0%, #F8FAFC 100%);
    border-radius: 50%;
    transform: rotate(calc(360deg/6 * var(--i)));
    transform-origin: var(--origin-distance); 
    border:1px solid #f2f2f2;
}

/* --- TABLET VE MOBİL İÇİN ÖLÇEKLENDİRME --- */

@media (max-width: 1200px) {
    :root {
        --orbit-size: 610px;
        --img-box-size: 300px;
        --origin-distance: 500px;
    }
    .box { right: -250px; }
}

@media (max-width: 991px) {
    .rapunzel {
        position: relative!important;
        width: 100%;
        height: 250px; /* Mobilde dikey alanı daralt */
        top: 0px!important;
        right: 0;
    }

    .orbit-wrapper {
        align-items: flex-start; /* Mobilde üstten başlatıp aşağı iteceğiz */
    }

    .box {
        bottom: auto;
        top: 170px; /* Çarkın merkezini mobilde de aşağı göm */
        right: 0;
        left: 0;
        margin: 0 auto;
        /* Mobil boyut değişkenleri */
        --orbit-size: 500px;
        --img-box-size: 180px;
        --origin-distance: 350px;
    }
    .text-moving{
        font-size:19vw!important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px; /* Başlığı küçük ekranlar için küçült */
    }
    
    .orbit-wrapper {
        height: 400px;
    }

    .box {
        --orbit-size: 400px;
        --img-box-size: 160px;
        --origin-distance: 300px;
    }
}

.rapunzel{
    position: absolute;
    top: 0;
    right: 0;
}

.move-text-dark-wrap {
    background-color: var(--color-primary); /* Koyu tema */
    padding: 100px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.text-moving-line {
    display: flex;
    white-space: nowrap;
    will-change: transform; /* Ekran kartını devreye sokar, takılmayı önler */
}

.text-moving {
    font-family: 'Inter', sans-serif; /* Google Fonts'tan 800 weight yüklü olmalı */
    font-size: 9vw;
    font-weight: 800;
    line-height: 1.1;
    padding-right: 60px;
    
    /* --- ÇİZGİ EFEKTİ BURADA --- */
    color: transparent; 
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.6); /* Çizgi kalınlığı ve rengi */
    letter-spacing: -2px; /* Harfleri birbirine yaklaştırarak modern durmasını sağlar */
}

/* Eğer bir satırın içi dolu olsun istersen HTML'e 'filled' classı ekleyip bunu kullan: */
.first .text-moving {
    color: #ffffff; /* Birinci satır beyaz dolu olsun */
    -webkit-text-stroke: 0px;
}

.second .text-moving {
    color: transparent; /* İkinci satır sadece çizgi olsun */
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.6);
}


.tech-specs-area {
    background-color: #ffffff;
    padding: 100px 0;
}

.tech-comparison-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.tech-column {
    flex: 1;
    background: #f8fafc;
    border-radius: 30px;
    padding: 40px 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
}

.tech-column.featured {
    background: #ffffff;
    border: 2px solid #0033a0;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 51, 160, 0.1);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #0033a0;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.tech-product-hero {
    text-align: center;
    margin-bottom: 30px;
}

.tech-product-hero img {
    height: 180px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.tech-product-hero h3 {
    font-size: 22px;
    font-weight: 800;
}

.tech-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.stat-item {
    background: white;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.featured .stat-item {
    background: #f8fafc;
}

.stat-item label {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-item .stat-value {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
}

.tech-features {
    list-style: none;
    padding-top: 20px;
    border-top: 1px dashed #cbd5e1;
}

.tech-features li {
    font-size: 14px;
    margin-bottom: 10px;
    color: #475569;
}

.tech-features .check { color: #10b981; margin-right: 8px; font-weight: bold; }
.tech-features .cross { color: #ef4444; margin-right: 8px; font-weight: bold; }

/* Responsive */
@media (max-width: 991px) {
    .tech-comparison-wrapper { flex-direction: column; }
    .tech-column.featured { transform: scale(1); margin: 20px 0; }
}

/* Masaüstü Mozaik Yapısı */
.features-mosaic {
    display: flex;
    gap: 24px;
    margin-top: 50px;
    height: 650px; /* Masaüstü sabit yükseklik */
}

/* Kart Genel Ayarları */
.feature-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
}

/* Sol taraftaki büyük kart */
.feature-card.large {
    flex: 2;
}

/* Sağ taraftaki iki küçük kartın kolonu */
.features-right-column {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Sağ taraftaki küçük kartlar */
.feature-card.small {
    flex: 1;
}

/* Görsel Ayarları */
.feature-img {
    width: 100%;
    height: 100%;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Karartma ve Yazı Alanı (Overlay) */
.feature-overlay {
    position: absolute;
    inset: 0;
    /* Alttan üste doğru yumuşak karartma */
    background: linear-gradient(to top, rgba(0, 51, 160, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 35px;
    transition: all 0.4s ease;
}

/* Yazı İçeriği */
.feature-content {
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.feature-content h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: 'Manrope', sans-serif;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

/* Etiket (Hassas Kontrol vb.) */
.feat-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 15px;
    backdrop-filter: blur(4px);
    font-weight: 600;
}

/* HOVER EFEKTLERİ */
@media (min-width: 993px) {
    .feature-card:hover .feature-overlay {
        background: linear-gradient(to top, rgba(0, 51, 160, 0.95) 0%, rgba(0, 51, 160, 0.2) 100%);
    }

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

    .feature-card:hover .feature-content {
        transform: translateY(0);
    }
}

/* ==========================================================================
   MOBİL UYUMLULUK (RESPONSIVE)
   ========================================================================== */

@media (max-width: 992px) {
    .features-mosaic {
        flex-direction: column; /* Alt alta diz */
        height: auto; /* Sabit yüksekliği kaldır */
        min-height: auto;
    }

    .feature-card.large, 
    .features-right-column {
        flex: none;
        width: 100%;
    }

    .feature-card {
        height: 400px; /* Mobil kart yüksekliği */
    }

    /* Mobilde yazıların her zaman okunabilir olması için overlay'i sabitle */
    .feature-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 51, 160, 0.9) 0%, transparent 70%);
    }

    .feature-content {
        transform: translateY(0);
    }

    .feature-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .feature-card {
        height: 350px; /* Daha küçük ekranlar için */
    }

    .feature-overlay {
        padding: 20px;
    }
}

/* MODAL OVERLAY - Arka Plan */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 15, 50, 0.7); /* Daha derin ve şık bir karartma */
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px; /* Mobilde kenarlardan boşluk */
}

.modal-overlay.active { 
    display: flex; 
    animation: fadeInOverlay 0.4s ease forwards; 
}

/* MODAL CONTAINER */
.modal-container {
    background: #fff;
    width: 100%;
    max-width: 950px;
    max-height: 90vh; /* Mobilde ekrandan taşmaması için */
    border-radius: 30px;
    overflow-y: auto; /* İçerik uzarsa kaydırılabilir olsun */
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    opacity: 0;
}

.modal-overlay.active .modal-container {
    animation: slideUpModal 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* GRID YAPISI */
.modal-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.3fr; 
    min-height: 550px;
}

/* SOL BİLGİ ALANI */
.modal-info { 
    background: var(--color-primary-dark); 
    color: #fff; 
    padding: 50px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 { font-size: 32px; font-weight: 800; margin: 15px 0; line-height: 1.2; }
.modal-info p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 30px; }

.modal-contact-details span {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.9;
}

/* SAĞ FORM ALANI */
.modal-form-wrap { 
    padding: 50px; 
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group { margin-bottom: 15px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
}

/* KAPATMA BUTONU */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ANIMASYONLAR */
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUpModal {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   MODAL RESPONSIVE AYARLARI
   ========================================================================== */

@media (max-width: 850px) {
    .modal-grid {
        grid-template-columns: 1fr; /* Yan yana yapıyı alt alta getir */
    }

    .modal-info {
        padding: 40px;
        text-align: center;
    }

    .modal-info h2 { font-size: 24px; }
    .modal-info p { margin-bottom: 15px; }

    .modal-form-wrap {
        padding: 30px;
    }

    .modal-container {
        max-height: 85vh; /* Mobilde biraz daha pay bırak */
    }
}

@media (max-width: 480px) {
    .modal-info { padding: 30px 20px; }
    .modal-form-wrap { padding: 25px 15px; }
    .modal-container { border-radius: 20px; }
}