/* Genel ayarlar */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: white;
}

html, body {
  overflow-x: hidden; /* yatay kaydırmayı tamamen kapatır */
}


/* Arka plan */
body {
  min-height: 100vh;                 /* ekran yüksekliği kadar minimum */
  background-image: url("kiraybackblur.jpg"); /* kendi fotoğrafını buraya koy */
  background-size: cover;            /* ekranı kaplasın */
  background-position: center;       /* ortalansın */
  background-repeat: no-repeat;      /* tekrar etmesin */
  background-attachment: fixed;      /* sabit kalsın */
}

.logo img {
  height: 80px;          /* logonun boyutu */
  vertical-align: middle;
}

.etahsilat-logo img {
  height: 50px !important;   /* yüksekliği büyütür */
  width: auto !important;    /* orantıyı korur */
}

/* Menü barı */
nav {
  background-color: rgba(0,0,0,0.7); /* şeffaf siyah bar */
  padding: 15px;
  position: fixed;                   /* ekranın üstüne sabitle */
  top: 0;
  left: 0;
  width: 100%;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;   /* dikey ortalama */
}

nav ul li {
  margin: 0 15px;
}

nav ul li.logo {
  margin-right: auto;    /* logoyu sola yapıştırır */
}

nav ul li.etahsilat-logo {
  margin-left: auto;     /* e-Tahsilat’ı sağa yapıştırır */
}

/* Genel menü linkleri */

/* Hover efekti sadece menü sekmelerine */
nav ul li a {
    font-weight: bold;
    font-size: 16px;
  position: relative;
  text-decoration: none;
  color: #fff;
  padding: 5px 10px;
}

/* Alt çizgi (soldan sağa) */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

/* Üst çizgi (sağdan sola) */
nav ul li a::before {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%; /* alt çizgi soldan sağa */
}

nav ul li a:hover::before {
  width: 100%; /* üst çizgi sağdan sola */
}


/* e-Tahsilat logosu için hover efekti kaldır */
.etahsilat-logo a::after,
.etahsilat-logo a::before {
  display: none !important;
  content: none !important;
}

.logo a::after,
.logo a::before {
  display: none !important;
  content: none !important;
}



/* Ana sayfa başlık bölümü */

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Buton */
.btn {
  background-color: darkred;
  padding: 12px 25px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
}

.btn:hover {
  background-color: rgb(255, 0, 0);
  color: white;
}
/* Etahsilat logosu en sağda */
nav ul .etahsilat-logo {
  margin-left: auto; /* diğer menü öğelerinden ayrılıp sağa yaslanır */
}

nav ul .etahsilat-logo img {
  height: 30px;       /* logonun boyutu */
  vertical-align: middle;
}
footer {
  background-color: rgba(0,0,0,0.8);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  position: relative; /* fixed yerine relative */
  bottom: auto;       /* fixed konumlandırmayı kaldır */
  width: 100%;
}



#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("kiraybackblur.jpg"); /* arka plan rengini kurumsal renge göre değiştir */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.logo-anim {
  width: 120px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  50%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

.hero {
  text-align: center;
  margin: 60px 0 30px 0; /* menü barın altında boşluk */
  padding: 20px 0;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}


.content-block {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.content-block h2 {
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.content-block h3 {
  color: #b4693a;
  margin-top: 20px;
}

.content-block p, .content-block ul {
  font-size: 1em;
  line-height: 1.6;
  color: #ddd;
}

.content-block ul {
  list-style-type: disc;
  padding-left: 20px;
}

.founder {
  text-align: center;
  margin: 30px 0 50px 0; /* footer ile arasında boşluk */
  font-size: 1.1em;
  color: #fff;
  font-weight: bold;
}


