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

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  color: #0d2d4b;
}

/* HEADER */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.logo-text {
  line-height: 1.2;
  font-size: 14px;
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  font-weight: bold;
  padding: 8px 12px;
  color: #0d2d4b;
}

.submenu {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  list-style: none;
  padding: 10px 0;
  z-index: 10;
}

.submenu li a {
  display: block;
  padding: 8px 20px;
}

.dropdown:hover .submenu {
  display: block;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-navigation { display: none; width: 100%; }
  .main-navigation.active { display: block; }
  .main-menu {
    flex-direction: column;
    width: 100%;
    background: white;
  }
  .main-menu li {
    border-bottom: 1px solid #eee;
  }
  .main-menu a {
    padding: 12px 20px;
  }
}

/* SLIDER */
.slider-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  font-size: 18px;
  background-color: rgba(0,0,0,0.4);
  transform: translateY(-50%);
}

.prev { left: 0; border-radius: 0 3px 3px 0; }
.next { right: 0; border-radius: 3px 0 0 3px; }

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.fade {
  animation: fade 1s;
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* HİZMETLER */
.services {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.service-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 20px;
  flex: 1 1 280px;
  text-align: center;
  transition: all 0.3s ease;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.box img {
  height: 60px;
  margin-bottom: 15px;
}

/* BLOG KARTLARI */
.blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.blog-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  width: 300px;
  cursor: pointer;
  transition: 0.3s;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.blog-content {
  padding: 15px;
}

.blog-card h3 {
  font-size: 20px;
  color: #0d2d4b;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 16px;
  color: #666;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* MODAL (POPUP) */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  text-align: left;
}
/* Modal görünüm efektleri */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  opacity: 0; /* Başlangıçta şeffaf */
  transition: opacity 0.4s ease; /* Geçiş animasyonu */
}

/* Açıldığında bu sınıf eklenecek */
.modal.show {
  display: block;
  opacity: 1;
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
}

/* YORUMLAR */
.google-reviews {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}
.google-reviews h2 {
   color: #0d2d4b;
}

/* İLETİŞİM */
.contact-map {
  background-color: #f9f9f9;
  padding: 40px 20px;
}
.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.contact-flex form {
  flex: 1 1 45%;
}
.contact-flex input,
.contact-flex textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}
.contact-flex button {
  background-color: #0d2d4b;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}
.contact-flex button:hover {
  background-color: #1a3d5b;
}
.map-area {
  flex: 1 1 45%;
}

/* FOOTER */
.site-footer {
  background-color: #0d2d4b;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
.footer-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .header-flex,
  .service-boxes,
  .blog-cards,
  .contact-flex {
    flex-direction: column;
    align-items: center;
  }
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.accordion-header {
  padding: 15px 20px;
  background-color: #0d2d4b;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
}

.accordion-header:hover {
  background-color: #1a3d5b;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  background: #f9f9f9;
  font-size: 15px;
  color: #333;
}

.accordion-item.active .accordion-body {
  padding: 15px 20px;
  max-height: 500px; /* İçeriğe göre genişletilebilir */
}
