#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: hidden;
}

.split {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #D0D0D0;
    z-index: 5;
    transition: transform 2s ease;
}

.split.left { left: 0; }

.split.right { right: 0; }

#logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    transition: opacity 2s ease;
}

#logo {
    width: 250px;
    margin: 0 auto;
}

#welcome-text {
    color: #2C5C84;
    font-size: 48px;
    margin-top: 20px;
}

.hero-banner {
  position: relative;
  width: 92%;           /* sayfa genişliğine göre */
  max-width: 1600px;    /* çok büyük ekranlarda taşmasın */
  margin: 40px auto;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3000 / 1627;  /* 🔥 orijinal görsel oranı */
  box-shadow: 0 2px 12px rgba(0,0,0,0.11);
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* taşmadan dolacak */
  background-color: #f2f3f4; /* Boş alan olursa bu renkle doldur */
  object-position: center;
  display: block;
}

.hero-slogan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Sloganın telefonlarda taşmasını engeller */
    color: #2C5C84;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.hero-slogan h2 {
    font-size: clamp(2em, 5vw, 4em); /* Esnek yazı boyutu, harika! */
    font-weight: 700;
    letter-spacing: 2px;
    color: #2C5C84;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-slogan p {
    font-size: clamp(1.2em, 2.5vw, 2em);
    font-weight: 700;
    margin-top: 10px;
    color: #2C5C84;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.split-home {
    display: flex;
    gap: 44px;
    width: 92%;
    max-width: 1600px;
    margin: 40px auto 0 auto;
    background: linear-gradient(75deg, #e0e7ed, #dde1e6);
    border-radius: 28px;
    box-sizing: border-box;
    box-shadow: 0 2px 16px rgba(0,0,0,0.09);
    padding: 44px;
    align-items: center;
    flex-wrap: wrap; /* Bu kural mobil için önemli */
}

.split-left {
    flex: 1 1 400px; /* Büyüyebilir, küçülebilir, temel genişliği 400px */
}

.split-left h3 {
    color: #2e658a;
    font-size: 1.35em;
    margin-bottom: 16px;
    font-weight: 700;
}

.split-left p {
    font-size: 1.12em;
    color: #222;
    margin-bottom: 28px;
    line-height: 1.7;
}

.btn-main {
    background: #2e658a;
    color: #fff;
    border-radius: 9px;
    padding: 11px 30px;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn-main:hover {
    background: #17405e;
}

.split-right {
    flex: 1 1 400px; /* Sol bölümle aynı esneklik değerleri */
    display: flex;
    align-items: center;
    justify-content: center;
}


#preloader {
    position: fixed;
    inset: 0;
    background: #f2f3f4;
    z-index: 9999;
    overflow: hidden;
  }
  
  #main-content {
    animation: fadeIn 0.8s ease forwards;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

