/* Genel Sıfırlama ve Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #333;
}

/* Navbar */
.navbar {
  background-color: #0a3d62;
  color: white;
  padding: 20px 0;
}

/* Ortalamak ve hizalamak için container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo ve metin birlikte solda */
.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Logo görseli */
.logo-img {
  height: 50px;
}

/* Logo metni */
.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

/* Menü linkleri */
.menu a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

.menu a:hover {
  text-decoration: underline;
}


/* Hero Alanı */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(to right, #74b9ff, #a29bfe);
  color: white;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
}

/* Hizmetler */
.hizmetler {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.hizmetler h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #0a3d62;
}

.hizmet-kutulari {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: #f1f1f1;
  padding: 30px 20px;
  width: 280px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-size: 18px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: perspective(1000px);
}

.card:hover {
  transform: scale(1.05) rotateX(4deg) rotateY(2deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background-color: #eaf0ff;
}


/* Harita Bölümü */
.harita {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.harita h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0a3d62;
}

.apple-link a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #0a3d62;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.apple-link a:hover {
  background-color: #145da0;
}

/* Mobil Menü */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: #0a3d62;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    z-index: 999;
  }

  .menu.aktif {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer */
.wrapper {
  min-height: calc(100vh - 80px); /* Footer yüksekliğini çıkar */
}

.footer {
  height: 80px;
  background-color: #0a3d62;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

/* İletişim Formu */
.iletisim {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.iletisim h2 {
  color: #0a3d62;
  margin-bottom: 30px;
  font-size: 26px;
}

.iletisim-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.iletisim-form input,
.iletisim-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
}

.iletisim-form button {
  background-color: #0a3d62;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.iletisim-form button:hover {
  background-color: #145da0;
}

/* Hakkımızda */
.hakkimizda {
  padding: 60px 20px;
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
}

.hakkimizda h2 {
  color: #0a3d62;
  font-size: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.hakkimizda p {
  margin-bottom: 20px;
  text-align: justify;
}

/* Hizmetler Sayfası */
.hizmet-detay {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.hizmet-detay h2 {
  text-align: center;
  color: #0a3d62;
  font-size: 30px;
  margin-bottom: 40px;
}

.hizmet-blok {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f7f9fc;
  border-left: 6px solid #0a3d62;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.hizmet-blok h3 {
  color: #145da0;
  margin-bottom: 10px;
}

.hizmet-blok p {
  font-size: 16px;
  line-height: 1.6;
}

.swiper-container {
  padding: 40px 0;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
}

.modern-kart {
  background: linear-gradient(to right, #f9f9f9, #fff);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 20px;
  height: 100%;
  width: 100%; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}


.modern-kart:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.modern-kart h4 {
  font-size: 17px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4em;
  max-height: 4.2em;
  overflow: hidden;
}

.modern-kart .tarih {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}

.modern-kart .buton {
  display: inline-block;
  text-align: center;
  padding: 10px 20px;
  background-color: #0056b3;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.modern-kart .buton:hover {
  background-color: #003f88;
}

/* Tüm kartlara başlangıç efekti */
.swiper-slide .modern-kart {
  opacity: 0.4;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

/* Aktif (ortadaki) karta özel */
.swiper-slide-active .modern-kart {
  opacity: 1;
  transform: scale(1.05);
  z-index: 2;
}

.swiper-slide {
  flex-shrink: 0;
  width: 33.3333% !important;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0 !important;
  margin: 0 !important;
}
