body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  background: #f8f9fa;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 16px 32px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo a {
  font-size: 1.6rem;
  font-weight: bold;
  color: #c20000;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  /* Span'e özel stil gerekirse buraya eklenir */
}

.nav-links a {
  margin: 0 16px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.btn-giris {
  background-color: #c20000;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.slider-container {
  flex: 1 1 600px;
  max-width: 900px;
  max-height: 540px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .report-contact {
    flex-direction: column;
    align-items: center;
  }

  .slider-container,
  .contact-form {
    max-width: 100%;
  }
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  height: auto;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.slider-btn:hover {
  background-color: rgba(0,0,0,0.8);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #002244;
  color: white;
  padding: 60px 10%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/rapor-tablet.png');
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  opacity: 0.7;
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 24px;
}

.fade-in-text {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  min-height: 60px;
}

.btn-primary {
  background: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
}

.hero-image {
  display: none;
}

.report-contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 5%;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
}

.report-img {
  max-width: 100%;
  border-radius: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
  flex: 1 1 300px;
}

.btn-form {
  background: #c20000;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  font-size: 16px;
}

.services {
  display: flex;
  justify-content: space-around;
  background: #f1f1f1;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 10px 20px;
  overflow-x: auto;
}

.card {
  background: white;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  width: 220px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  margin: 5px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 10px 25px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.card h3 {
  color: #c20000;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
  background: #002244;
}

.btn-footer {
  background: #007bff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Giriş Pop-up Stilleri */
.modal-login {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal-content-login {
  width: 90vw;
  max-width: 450px;
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 2px solid #007bff;
  position: relative;
  box-sizing: border-box;
}

.modal-content-login h3 {
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px;
}

.modal-content-login input,
.modal-content-login textarea,
.modal-content-login button {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  margin-top: 10px;
  font-size: 16px;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

.modal-content-login input,
.modal-content-login textarea {
  border: 2px solid #ddd;
}

.modal-content-login input:focus,
.modal-content-login textarea:focus {
  border-color: #007bff;
  box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.3);
}

.modal-content-login button {
  background-color: #007bff;
  color: white;
  font-size: 18px;
  border: none;
  margin-top: 15px;
  cursor: pointer;
}

.modal-content-login button:hover {
  background-color: #0056b3;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #777;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #000;
}

/* Kart Pop-up Stilleri */
.modal-card {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content-card {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
  text-align: center;
  position: relative;
  animation: modal-grow 0.3s forwards;
}

.modal-content-card-inner {
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-content-card-inner img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

@keyframes modal-grow {
  to {
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 30px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.modal-close:hover {
  color: #000;
}

/* 900px ve altındaki ekranlarda mobil uyumluluğu korumak için */
@media (max-width: 900px) {
  .services {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .service-card {
    width: 45%;
    margin-bottom: 30px;
  }
}

/* Mobil Navigasyon için Güncellenmiş CSS Kodları */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column; /* Öğeleri dikeyde sırala */
    align-items: center;
    padding: 10px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap; /* Gerekirse linkleri alt satıra at */
    justify-content: center; /* Linkleri ortala */
    width: 100%;
    margin-top: 10px;
  }

  .nav-links a {
    text-align: center;
    font-size: 1rem; /* Okunabilirliği artırmak için yazı boyutunu büyüt */
    padding: 8px 10px; /* Kenar boşluklarını artır */
    margin: 5px; /* Linkler arasına boşluk ekle */
    text-decoration: none;
    border-bottom: 2px solid #c20000; /* Linklerin altına kırmızı çizgi ekle */
    border-radius: 0; /* Köşe yuvarlatmasını kaldır */
  }

  .btn-giris {
    width: 100%;
    margin-top: 10px;
  }

  .logo {
    margin-bottom: 10px;
  }
}

/* 600px ve altındaki ekranlarda */
@media (max-width: 600px) {
  .service-card {
    width: 90%;
  }

  .modal-content-card {
    width: 90%;
    max-width: none;
  }

  .modal-close {
    top: 5px;
    right: 10px;
  }
}