html, body {
  overflow-x: hidden;
  max-width: 100%;
}
/* sayfanın tüm yüksekliğini kullan */
html, body{
  height:100%;
}

/* gövdeyi dikey flex-container yap */
body{
  display:flex;
  flex-direction:column;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Giriş animasyonu */
.intro-screen {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.blur-bg {
  position: absolute;
  inset: 0;
  background: url('ChatGPT\ Image\ 7\ Nis\ 2025\ 10_27_32.png') no-repeat center center/cover;
  filter: blur(8px) brightness(0.4);
  z-index: 0;
}

.intro-text {
  color: white;
  font-size: 2.3rem;
  font-weight: 600;
  text-align: center; /* ✅ YAZI ORTALAMA */
  white-space: normal; /* ✅ ALT SATIRA İZİN */
  overflow: hidden;
  border-right: 2px solid #fff;
  padding-right: 10px;
  animation: blink 0.8s step-end infinite;
  opacity: 0;
  transform: scale(0.95);
  transition: all 1s ease;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(255,255,255,0.2), 0 0 20px rgba(255,255,255,0.1);
}

.intro-text.active {
  opacity: 1;
  transform: scale(1.02);
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.shine {
  width: 150px;
  height: 2px;
  background: linear-gradient(to right, #ffffff00, #fff, #ffffff00);
  animation: shineMove 2s infinite;
  z-index: 2;
}

@keyframes shineMove {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { transform: translateX(0%); opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

.top-panel, .bottom-panel {
  position: absolute;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, #ffffff, #f0f0f0);
  z-index: 1;
  transform: scaleY(0);
  transition: transform 1s ease-in-out;
}

.top-panel { top: 0; transform-origin: top; }
.bottom-panel { bottom: 0; transform-origin: bottom; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

/* Giriş animasyonu sonrası*/

.main-content.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

html {
  scroll-behavior: smooth;
}

/* Genel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #111;
  overflow-x: hidden;
}

/* Header */
/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366; /* ✅ yeni renk */
  transition: all 0.4s ease;
  z-index: 1000;
}

header.shrink {
  background-color: #003366; /* ✅ yeni renk */
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 75px;
  transition: all 0.4s ease;
}

header.shrink .logo img {
  height: 65px;
  content: url('logos/beyaz.png');
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #ffffff !important; /* tamamen beyaz */
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

header.shrink nav ul li a {
  color: #ffffff !important; /* shrink'te de beyaz */
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffffff !important; /* hover'da da beyaz */
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffffff, transparent); /* çizgi de beyaz */
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #003366; /* ✅ yeni renk */
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  min-width: 200px;
    overflow-y: visible !important;  /* Scroll'u iptal et */
  max-height: 40vh;
  font-size: 1rem;
  margin-bottom: 1rem;
}

  /* Alt menü okları */
  .arrow {
    margin-left: 6px;
    transition: transform .3s ease;
    font-size: .75em;          /* Ana metne göre biraz küçük */
  }
  /* Alt menü açıkken oku çevir */
  .dropdown.open > a .arrow { transform: rotate(180deg); }

.dropdown-menu li {
  padding: 0.3rem 0;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  color: #ffffff !important; /* beyaz yazılar */
  white-space: nowrap;
    line-height: 0;

}

.dropdown-menu li a:hover {
  background-color: #003366; /* koyu mor hover */
  color: #ffffff !important; /* beyaz yazılar */
}

/* Mobil */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
}

header.shrink .menu-toggle {
  color: white; /* shrink'te de beyaz kalsın */
}

@media (max-width: 1024px) {
  #menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: auto;
      max-height: 80vh;
      margin-top: 80px;
      padding: 1rem;
      background-color: #003366; /* ✅ yeni renk */
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      z-index: 9999;
  }

  #menu.mobile-show {
      display: flex;
  }

  #menu li {
      margin: 1rem 0;
      text-align: center;
  }

  #menu li a {
      font-size: 1.5rem;
      color: #ffffff !important;
      text-decoration: none;
      white-space: nowrap;
  }

  nav {
      flex-direction: column;
  }

  nav ul {
      flex-direction: column;
      width: 100%;
  }

  nav ul li {
      width: 100%;
  }

  .dropdown-menu {
      position: static;
      background-color: #003366; /* ✅ yeni renk */
      box-shadow: none;
      margin-top: 0.3rem;
      max-height: 16vh;
    overflow-y: visible !important;  /* Scroll'u iptal et */
      padding: 0.2rem 0.6rem;
      font-size: 0.75rem;
      text-align: center;
      border-radius: 6px;
  }

  .dropdown-menu li {
    padding: 0.2rem 0; /* Azaltılmış dikey boşluk */
    margin: 0; /* Fazladan boşluk varsa sıfırla */
  }

  .dropdown-menu li a {
      font-size: 0.8rem;
      padding: 0.3rem 0.6rem;
      color: #ffffff !important;
      white-space: nowrap;
  }

  .dropdown-menu li a:hover {
      background-color: #003366; /* koyu mor hover */
      color: #ffffff !important;
  }

  .menu-toggle {
      display: block;
  }
}

@media (min-width: 1024px) {
  #menu {
      display: flex !important;
      position: static;
      flex-direction: row;
      background-color: transparent;
      height: auto;
      padding: 0;
      align-items: center;
      justify-content: flex-end;
  }

  .menu-toggle {
      display: none;
  }

  #menu > li > a {
      color: #ffffff !important;
  }

  header.shrink #menu > li > a {
      color: #ffffff !important; /* shrink'te beyaz */
  }
}

/* Animasyon */
@keyframes slideDown {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

  /* ---------------- Değerlerimiz ---------------- */
  .values-section{
    padding:120px 20px 60px;
    background:linear-gradient(to right,#f9fafc,#eef1f5);
    text-align:center;position:relative;overflow:hidden;z-index:0
  }
  .values-section h2{
    font-size:2.8rem;color:#003366;margin-bottom:2.2rem;position:relative;z-index:1;
    animation:slideIn 1s both
  }
  .values-section h2::after{
    content:"";display:block;width:80px;height:4px;background:#003366;margin:1rem auto 0;border-radius:2px
  }

  /* 6 kutuluk sabit ızgara:  ≥992 px → 3 sütun  */
  .values-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem;
    max-width:1140px;margin:0 auto;position:relative;z-index:1
  }
  /* 768-991 px → 2 sütun  */
  @media(max-width:991.98px){
    .values-grid{grid-template-columns:repeat(2,1fr)}
  }
  /*  <768 px → tek sütun  */
  @media(max-width:767.98px){
    .values-grid{grid-template-columns:1fr;gap:1.75rem}
  }

  .value-box{
    background:#fff;border-radius:16px;padding:2rem;
    box-shadow:0 8px 24px rgba(0,0,0,.05);
    transition:.4s;position:relative;overflow:hidden;
    animation:fadeUp 1s both
  }
  .value-box:hover{transform:translateY(-10px) scale(1.02);box-shadow:0 16px 32px rgba(0,0,0,.12)}
  .value-box h3{font-size:1.25rem;color:#003366;margin-bottom:.8rem;padding-left:2rem;position:relative}
  .value-box h3::before{
    content:"\f00c";font-family:'Font Awesome 5 Free';font-weight:900;
    position:absolute;left:0;top:1px;color:#003366;font-size:1.1rem
  }
  .value-box p{font-size:1rem;color:#444;line-height:1.65}

  /* Animasyonlar */
  @keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
  @keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}100%{opacity:1;transform:translateY(0)}}



 /* Footer */
 .final-footer {
  background-color: #12181f;
  color: #fff;
  padding: 2rem 1rem;
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 10;
  overflow: hidden;
  margin-top: auto;
  padding-bottom: 1rem;
}
.final-footer::after { display: none; }
.final-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1.5rem;
}
.footer-social a {
  color: #ccc;
  margin-right: 12px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.footer-social a:hover {
  color: #ffcc00;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: #bbb;
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
}
.footer-links a::after {
  content: "|";
  margin-left: 1rem;
  color: #555;
}
.footer-links a:last-child::after {
  content: "";
}
.footer-logos img {
  height: 48px;
  margin-left: 12px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.footer-logos img:hover {
  filter: grayscale(0%);
}
.final-footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #999;
}
.scrollTopBtn.roof-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: none;
  border: none;
  z-index: 9999;
}
.scrollTopBtn.roof-btn img {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}
.scrollTopBtn.roof-btn:hover img {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .final-footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .footer-links {
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: rgba(0, 34, 68, 0.95);
    position: absolute;
    top: 70px;
    right: 2rem;
    padding: 1rem;
    display: none;
    border-radius: 8px;
  }

  nav ul.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}