/* === GENEL === */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fdfdfd;
  color: #000;
  line-height: 1.5;
}

/* Sticky header altında çakışma/bozulma önlemek için global boşluk */
body > header + * {
  margin-top: 24px;
}

img { max-width: 100%; display: block; height: auto; }

/* === HEADER === */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 5px 35px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-bottom: 24px;
}

.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.logo-area {
  flex: 0 0 auto;
}

.logo-area img { height: 60px; }

nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
nav a {
  color: #003366;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 4px 2px;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ff6600;
  transition: width 0.25s ease;
}
nav a:hover::after,
nav a.active::after { width: 100%; }

.lang-switch {
  cursor: pointer;
  font-size: 14px;
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.menu-toggle { display: none; cursor: pointer; font-size: 24px; color: #003366; }

/* === SAYFA BAŞLIĞI === */
.page-header {
  background: linear-gradient(135deg, #003366, #ff6600);
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.page-header h1 { font-size: 34px; margin: 0; font-weight: 800; }
.page-header p { margin: 10px 0 0; font-size: 17px; opacity: 0.95; }


/* Mobil menü */
@media (max-width: 768px) {
  nav { position: relative; }

  #menu {
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    width: 240px;
    display: none;
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  }

  #menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}


/* === SLIDER === */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 36px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  max-height: 593px;
}

.slider-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;           /* Kırılmayı engelle, yan yana tut */
  align-items: stretch;
  transition: transform 0.5s ease;
  width: 100%;
}

.slide { 
  flex: 0 0 100%;              /* Her slide tam genişlik */
  max-width: 100%; 
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* Ok tuşları */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  z-index: 10;
  transition: background 0.3s ease, transform 0.2s ease;
}
.slider-arrow:hover { background: rgba(0,0,0,0.7); transform: translateY(-50%) scale(1.1); }
.slider-arrow.left { left: 12px; }
.slider-arrow.right { right: 12px; }

/* Noktalar */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: background 0.25s ease;
}
.slider-dots button.active { background: #ff6600; }

@media (max-width: 768px) {
  .hero-slider { max-height: 280px; }
}
/* === SERVİS BLOĞU === */
.service-row {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.service-row.normal {
  flex-direction: row;
}
.service-row.reverse {
  flex-direction: row-reverse;
}
.service-row .service-image {
  width: 50%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-row .service-image img {
  width: 100%;
  height: auto;
  max-height: 360px;              /* Görsel yüksekliğini sınırladık */
  object-fit: cover;              /* Görsel kırpılmadan dengeli görünür */
  border-radius: 16px;            /* Köşeleri yumuşattık */
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); /* Derinlik efekti */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-row .service-image img:hover {
  transform: scale(1.05);         /* Hover’da hafif büyüme */
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.service-row .service-text {
  width: 50%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-row .service-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: #003366;
  margin-bottom: 16px;
  position: relative;
}
.service-row .service-text h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #ff6600;
  border-radius: 2px;
}

.service-row .service-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #333;
}
.about-page .service-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 40px auto;
  max-width: 1000px;
}

.about-page .service {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.about-page .service:hover {
  transform: translateY(-5px);
}

/* Alternatif hizalama */
.about-page .service:nth-child(even) {
  align-self: flex-end;
  text-align: right;
  background: #eef6ff;
}

.about-page .service:nth-child(odd) {
  align-self: flex-start;
  text-align: left;
  background: #fff;
}




/* === MOBİL UYUM === */
@media (max-width: 768px) {
  .service-row,
  .service-row.reverse {
    flex-direction: column !important;
  }

  .service-row .service-image,
  .service-row .service-text {
    width: 100%;
    padding: 12px;
  }

  .service-row .service-image img {
    max-height: 240px;
  }

  .service-row .service-text {
    text-align: center;
  }
}


/* === İLETİŞİM BLOKLARI (Bize Ulaşın) === */
.contact-two {
  display: flex;
  flex-direction: row;
  gap: 28px;
  max-width: 1200px;
  margin: 34px auto;
  padding: 20px;
  align-items: flex-start;
}

.contact-left { flex: 1; min-width: 0; }
.contact-info-row {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.contact-form form { display: flex; flex-direction: column; gap: 12px; }

.contact-form input, 
.contact-form textarea {
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-form button {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
}

.contact-form button:hover { background: #e05500; }

/* Mobil uyum: Bize Ulaşın */
@media (max-width: 992px) {
  .contact-two { flex-direction: column; }
  .contact-form { margin-top: 20px; }
}

/* Ek mobil iyileştirme */
@media (max-width: 768px) {
  .contact-two { padding: 16px; gap: 20px; }
  .contact-form button { width: 100%; }
}

/* === FOOTER === */
footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 36px 20px;
  margin-top: 36px;
}

.footer-logo img { max-width: 80px; margin: 0 auto 8px; }
.footer-logo p { margin: 6px 0 16px; font-size: 14px; font-weight: 600; color: #eee; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ff6600;
  transition: width 0.25s ease;
}

.footer-links a:hover::after { width: 100%; }

.contact-info { 
  margin: 8px 0 0; 
  font-size: 14px; 
  color: #f0f0f0; 
}

.copy { 
  margin-top: 16px; 
  font-size: 12px; 
  color: #ccc; 
}

/* === FADE-IN / GÖRÜNÜRLÜK === */
.fade-in,
.service-section {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fade-in.visible,
.service-section.visible { opacity: 1; }

/* === YARDIMCI === */
.container { max-width: 1200px; margin: 0 auto; }
.hidden   { display: none !important; }



.extra-buttons {
  display: flex;
  gap: 10px;
  margin-left: 12px;
}

.extra-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.extra-btn svg {
  transition: transform 0.2s ease;
}

.extra-btn:hover svg {
  transform: scale(1.15);
}

/* Hover efektleri */
.extra-btn.whatsapp img { filter: drop-shadow(0 0 2px #25D366); }
.extra-btn.instagram img { filter: drop-shadow(0 0 2px #E1306C); }
.extra-btn.linkedin img { filter: drop-shadow(0 0 2px #0077B5); }
.extra-btn.pdf img { filter: drop-shadow(0 0 2px #d32f2f); }

.extra-btn:hover img {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}





/* === TRANSPORT SECTION (Slider altı iki sütun) === */
.transport-section {
  max-width: 1200px;  /* slider ile aynı genişlik */
  margin: 40px auto;
  padding: 20px;
}

.transport-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 sütun */
  gap: 32px;
  align-items: stretch; /* tüm kutular aynı yükseklikte */
}

.transport-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%; /* grid hücresini tamamen doldurur */
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.transport-block h2 {
  font-size: 24px;
  font-weight: 800;
  color: #003366;
  margin-bottom: 16px;
}

.transport-block img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.transport-block p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

/* Tablet ve mobil: tek sütun */
@media (max-width: 992px) {
  .transport-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .transport-section {
    padding: 16px;
  }
}

/* Menü ortada */
.main-nav {
  flex: 1;  
  display: flex;
  justify-content: center;  
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}


.gallery-carousel {
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track img {
  max-height: 200px;   
  flex: 0 0 calc(100% / 3);  
  object-fit: cover;
  border-radius: 8px;
  margin-right: 8px;
}

/* Mobilde tek görsel */
@media (max-width: 768px) {
  .carousel-track img {
    flex: 0 0 100%;
    max-height: 180px;
  }
}
