/* --------------------------------------------------
   GLOBAL
-------------------------------------------------- */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #182a40;
  overflow-x: hidden;
}
html, body {
  overflow-x: hidden;
}

/* ----------------------------------
   NAVBAR DÜZELTME
---------------------------------- */
.main-navbar {
  width: 100%;
  background: linear-gradient(90deg, #e9f3fa 0%, #4884bc 22%, #1c3771 60%, #103169 87%, #ffe000 100%);
  border-bottom: 3px solid #FFCC00;
  position: sticky;
  top: 0;
   z-index: 1000;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 22px;
  height: 100px;
}
.logo-link img.main-logo {
  height: 180px;
  transition: height .4s;
  margin-left: -85px;
   margin-right: 38px;
}

/* Menü Düzeni */
.menu-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}
.menu-list li a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  text-decoration: none !important;
}
.menu-list li a:hover,
.menu-list li a.active {
  background: #FFCC00;
  color: #103169 !important;
}
.menu-list > li.dropdown-parent {
  position: relative;
}
.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #17326d;
  border-radius: 10px;
  margin-top: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
  border-top: 3px solid #FFCC00;
  padding: 10px 0;
  z-index: 2000;
  display: none;
}
.menu-list,
.dropdown-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.dropdown-parent:hover .dropdown-list {
  display: block;
}
.dropdown-list li {
  width: 100%;
}
.dropdown-list li a {
  color: #fff;
  padding: 10px 20px;
  display: block;
  font-size: 15px;
  text-decoration: none;
  transition: 0.2s;
}
.dropdown-list li a:hover {
  background: #FFCC00;
  color: #103169;
}

/* ----------------------------------
   POPUP DÜZELTME
---------------------------------- */
.popup-app {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-app-inner {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
}
.popup-app-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  cursor: pointer;
  color: #555;
}
.popup-app-close:hover {
  color: #d72638;
}
.popup-app-inner img {
  max-width: 100%;
  height: auto;
}
.popup-app-header {
  font-size: 18px;
  color: #0d325b;
  margin-bottom: 15px;
}
.popup-app-store a {
  color: #0d325b;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin: 5px;
}
.popup-app-contact {
  font-size: 15px;
  margin-top: 10px;
  color: #182a40;
}

/* ----------------------------------
   VIDEO ALANI (TANITIM)
---------------------------------- */
.intro-video {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  background: #000;
}

.intro-video video {
  width: 100%;
  max-width: 1350px;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: none;
  background-color: rgba(94, 127, 167, 0.2); /* Video için de aynı arka plan */
}
/* Sadece Galeri Sayfasında Ortalanmış Video */
.galeri-page-video {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-bottom: 38px;
  background: transparent;
  box-shadow: none;
}

.youtube-video-centered {
  width: 100vw;
  max-width: 100vh;
  aspect-ratio: 16/9;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 22px rgba(23,50,109,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
}

.youtube-video-centered iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  aspect-ratio: 16/9;
}

/* Responsive - Mobilde daha küçük ve oranlı */
@media (max-width: 600px) {
  .youtube-video-centered {
    max-width: 99vw;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(30,49,115,0.09);
  }
}



.intro-video, .intro-video video {
  z-index: 10 !important;
  position: relative;
}

/* Sadece intro-video'dan sonra gelen sectionlar */
.services-section,
.cards-section,
.statistics-section,
.news-section,
.contact-section {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding-top: 0;
}

/* --------------------------------------------------
   HİZMETLERİMİZ
-------------------------------------------------- */
.services-section {
  background: #0d325b;
  padding: 40px 0;
}
.services-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.service-icon {
  background: #fff;
  border-radius: 16px;
  border-left: 6px solid #ffe000;
  box-shadow: 0 2px 10px rgba(13,50,91,0.15);
  width: 150px;
  padding: 20px 10px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.service-icon i {
  font-size: 36px;
  color: #0d325b;
  margin-bottom: 8px;
}
.service-icon span {
  display: block;
  color: #0d325b;
  font-weight: 600;
  line-height: 1.2;
}
.service-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 18px rgba(255,224,0,0.5);
}

/* --------------------------------------------------
   SARILI AYIRICI ÇİZGİ
-------------------------------------------------- */
.separator {
  width: 80%;
  height: 4px;
  margin: 0 auto;
  background: #ffe000;
  animation: wave 3s ease-in-out infinite;
}
@keyframes wave {
  0%,100% { transform: scaleX(1); }
  50%    { transform: scaleX(0.8); }
}

/* --------------------------------------------------
   KARTVİZİT SLIDER
-------------------------------------------------- */
.cards-section {
  background: #0d325b;
  padding: 60px 0 40px;
}
.cards-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-slide {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(23,50,109,0.15);
  padding: 36px;
  width: 100%;
  max-width: 620px;
  transition: all .4s cubic-bezier(.6,1.35,.46,1);
}
.card-slide h3 {
  font-size: 1.6rem;
  color: #0d325b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.card-slide i.card-icon {
  font-size: 1.8rem;
  color: #0d325b;
}
.card-slide p {
  font-size: 1.05rem;
  color: #273259;
  margin-bottom: 18px;
}
.card-slide .btn {
  background: #0d325b;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background .2s;
}
.card-slide .btn:hover {
  background: #ffe000;
  color: #0d325b;
}

/* slider okları */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #ffe000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.slider-arrow.left { left: -50px; }
.slider-arrow.right { right: -50px; }
.slider-arrow:hover {
  background: #ffe000;
  color: #0d325b;
}

/* slider dotları */
.slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #eee;
  border: 2px solid #ffe000;
  cursor: pointer;
  transition: background .2s;
}
.slider-dot.active {
  background: #ffe000;
}

/* --------------------------------------------------
   İSTATİSTİKLER BÖLÜMÜ - YATAY TASARIM
-------------------------------------------------- */
.statistics-section {
  background: #f7f9fc;
  padding: 60px 0;
}
.statistics-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-item {
  background: #fff;
  border-radius: 16px;
  border-left: 6px solid #ffe000;
  box-shadow: 0 2px 10px rgba(13,50,91,0.15);
  width: 170px;
  min-height: 160px;
  padding: 20px 10px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.stat-item i {
  font-size: 36px;
  color: #0d325b;
  margin-bottom: 8px;
}
.stat-item h2 {
  font-size: 1.8rem;
  color: #0d325b;
  font-weight: 700;
  margin: 10px 0 5px;
}
.stat-item p {
  font-size: 1rem;
  color: #555;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 18px rgba(255,224,0,0.5);
}

/* --------------------------------------------------
   NEWS / DUYURULAR
-------------------------------------------------- */
.news-section {
  background-color: #0d325b;
  padding: 60px 0;
}
.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.news-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 40px;
  font-weight: 700;
}
.news-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.news-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 24px;
  max-width: 280px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.news-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
}
.news-date i {
  color: #d72638;
  margin-right: 5px;
}
.news-headline {
  font-size: 1.2rem;
  color: #0d325b;
  margin-bottom: 12px;
  font-weight: 600;
}
.news-text {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 15px;
}
.news-text b {
  font-weight: 700;
  color: #0d325b;
}
.news-more {
  color: #0d325b;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.news-more:hover {
  color: #ffe000;
}

/* --------------------------------------------------
   İLETİŞİM
-------------------------------------------------- */
.contact-section {
  background-color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  border-top: 4px solid #ffe000;
}
.contact-section h2 {
  color: #0d325b;
  font-size: 2rem;
  margin-bottom: 25px;
}
.contact-info p {
  font-size: 1rem;
  margin: 6px 0;
  color: #182a40;
}
.contact-info strong {
  color: #0d325b;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  width: 100%;
  background-color: #2f4170; /* Senin tema rengine uygun */
  padding: 15px 0;
  text-align: center;
  font-size: 14px;
  color: white;
  border-top: 4px solid #ffe000;
  /* Sabitleme KULLANMA, aşağıdaki satırları kaldır! */
  /* position: relative;
  bottom: 0;
  left: 0; */
}
@media (max-width: 600px) {
  footer {
    font-size: 13px;
    padding: 12px 0;
  }
  .navbar-inner {
    padding: 0 10px;   /* Daha dar padding */
    height: 40px;      /* Daha düşük yükseklik */
    max-width: 100vw;  /* Genişlik sınırla */
  }
  .logo-link img.main-logo {
    height: 120px;      /* Logo daha küçük */
    margin-left: -20px; /* Varsa sola çek */
    margin-right: 50px; /* Hamburger ile arası aç */
  }
  .hamburger, .mobile-menu-toggle {
    display: flex !important;
    margin-left: auto;
    margin-right: 6px;
    align-items: center;
    height: 40px;
  }
}
/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 950px) {
  .navbar-inner {
    flex-wrap: wrap;
    height: auto;
  }
  .menu-list {
    flex-direction: column;
    display: none;
    background: #103169;
    width: 100%;
    position: absolute;
    left: 0;
    top: 100px;
  }
  .menu-list li {
    width: 100%;
    text-align: center;
  }
  .menu-list li a {
    width: 100%;
    padding: 10px 0;
  }
  .dropdown-list {
    position: static;
  }
  .dropdown-parent:hover .dropdown-list {
    display: none;
  }
}

@media (max-width: 920px) {
  .service-icon { width: 45%; margin-bottom: 20px; }
  .slider-arrow.left { left: 5px; }
  .slider-arrow.right { right: 5px; }
}

@media (max-width: 800px) {
  .navbar-inner { flex-wrap: wrap; height: auto; }
  .main-logo { height: 64px; margin-left: 0; }
  .cards-section { padding: 40px 0 20px; }
  .card-slide { padding: 18px 4vw; min-height: 120px; }
  .slider-arrow.left { left: 2vw; }
  .slider-arrow.right { right: 2vw; }
  .statistics-section {
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
  }
  .stat-item { width: 80%; }
  .statistics-icons { flex-direction: column; align-items: center; gap: 20px; }
  .news-cards { flex-direction: column; align-items: center; }
  .news-card { max-width: 90%; margin-bottom: 20px; }
}
@media (max-width: 768px) {
  .news-container { flex-direction: column; align-items: center; }
  .news-card { width: 90%; }
}
.galeri-section {
  max-width: 960px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  background: #fff;
}

.galeri-title-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.galeri-title-vertical-logo {
  width: 4px;
  height: 48px;
  background: #ffe000;
  border-radius: 2px;
}

.galeri-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #183a7a;
  margin: 0;
  letter-spacing: 0.5px;
}

.galeri-description {
  font-size: 1.05rem;
  color: #222f46;
  line-height: 1.6;
  margin-bottom: 32px;
}

.galeri-description .lead {
  font-size: 1.2rem;
  color: #153060;
  font-weight: 500;
  margin-bottom: 16px;
}

.galeri-description .galeri-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1.8;
}

.galeri-description .galeri-list li {
  margin-bottom: 6px;
}

.galeri-bold {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0c2e5a;
  margin-top: 24px;
}

/* Galeri Grid */
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
  padding: 10px;
}

.galeri-item {
  width: 100%;
  max-width: 220px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.galeri-item:hover img {
  transform: scale(1.05);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 38px;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width: 900px) {
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .galeri-grid {
    grid-template-columns: 1fr;
  }
  .galeri-item {
    height: 100px;
  }
  .galeri-title {
    font-size: 1.6rem;
  }
}
.galeri-video-container {
  width: 100%;
  margin: 0 auto 40px;
  display: flex;
  justify-content: center;
}

/* Galeri Videosu */
.gallery-video-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 30px;
  margin-bottom: 40px;
}

.galeri-video {
  width: 100%;
  max-width: 940px; /* Galeri grid ile hizalı */
  aspect-ratio: 16/9; /* Yatay görünüm için */
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  background: #000;
  object-fit: cover;
}


.galeri-video:hover {
  transform: scale(1.02);
}

@media (max-width: 480px) {
  .intro-video video {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}
/* HAMBURGER TOGGLE */
.mobile-menu-toggle {
  display: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  padding: 10px 20px;
}

@media (max-width: 950px) {
  .mobile-menu-toggle {
    display: block;
  }
  .hamburger {
    display: flex;
    margin-left: auto;
    margin-right: 20px; /* sağa daha çok yanaşır */
    align-items: flex-end; /* dikey hizada sağa kaydırır */
  }
  .menu-list {
    display: none;
    flex-direction: column;
    background: #0d325b;
    width: 100%;
    padding: 10px 0;
    position: absolute;
    top: 100px;
    left: 0;
    z-index: 999;
  }
  .menu-list li {
    text-align: left;
    padding: 10px 20px;
  }
  .menu-list li a {
    color: #fff;
    text-decoration: none;
    display: block;
    font-size: 16px;
  }
  .dropdown-list {
    display: none;
    background: #122c5c;
    margin-top: 5px;
    padding-left: 15px;
  }
  .dropdown-parent.active .dropdown-list {
    display: block;
  }
  .iletisim-button {
    background: #ffe000;
    color: #0d325b;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    text-align: center;
  }
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  margin-left: auto;
  margin-right: 15px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.intro-video-full {
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  padding: 0;
}

.youtube-video-full {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #000;
}

.youtube-video-full iframe {
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  border: none;
  display: block;
  aspect-ratio: 16/9;
  background: #000;
}

/* Responsive: Mobilde de tam ekran olur */
@media (max-width: 700px) {
  .youtube-video-full, .youtube-video-full iframe, .intro-video-full {
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
  }
}
.youtube-video-wrapper {
  width: 100vw;           /* Tüm ekranı kapla */
  height: 800px;          /* Banner yüksekliği: 420px, ihtiyaca göre 400-480 yapabilirsin */
  max-width: 100vw;
  min-width: 100vw;
  margin: 0;
  padding: 0;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  position: relative;
}

.youtube-video-wrapper iframe {
  width: 100vw;
  height: 800px;          /* Banner yüksekliği ile aynı olmalı */
  min-width: 100vw;
  max-width: 100vw;
  min-height: 420px;
  max-height: 800px;
  border: 0;
  display: block;
  background: #000;
  object-fit: cover;
}
@media (max-width: 600px) {
  .youtube-video-wrapper,
  .youtube-video-wrapper iframe {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }
}
