  html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  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);
  }
}


        /* Footer */
  .final-footer {
    background-color: #12181f;
    color: #fff;
    padding: 2rem 1rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 10;
    overflow: hidden;
  }
  .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;
    }
  }
  

  /* İÇERİKLER */

  .contact-section {
    padding: 120px 0 100px;
    background-color: #f5f5f5;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  background: #fff;
  padding: 50px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  align-items: start;
}

.contact-info {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}


  .contact-title {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 1rem;
  }

  .contact-description {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.8rem;
  }

  .contact-details li {
    list-style: none;
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 1rem;
  }

  .contact-details li i {
    margin-right: 10px;
    color: #003366;
  }
  
/* Grid pozisyonları */
.contact-visual {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.map-frame {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
  .map-frame iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 8px;
    margin-top: 1.2rem;
  }

  .contact-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    grid-column: 2 / 3;
  grid-row: 2 / 3;
}

  .contact-form {
    display: flex;
    flex-direction: column;
  }

  .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }

  .form-group input,
  .form-group textarea {
    flex: 1;
    padding: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
  }

  .form-group.full-width textarea {
    width: 100%;
  }

  .form-submit {
    text-align: right;
  }

  .form-submit button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .form-submit button:hover {
    background-color: #002244;
  }

  .contact-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  @media(max-width: 992px) {
    .contact-layout {
      grid-template-columns: 1fr;
    }
  }
  /* Harita & görsel – varsayılan gri ton, hover’da renkli  */
.map-frame iframe,
.contact-visual img{
  filter: grayscale(100%) brightness(0.92);   /* siyah-beyaz */
  transition: filter .4s ease, transform .4s ease;
}

/* Hover efekti */
.map-frame iframe:hover,
.contact-visual img:hover{
  filter: none;                               /* tam renkli  */
  transform: scale(1.03);                     /* hafif zoom  */
}