/* GENEL STİL */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', sans-serif; color: #fff; background-color: #ffffff; scroll-behavior: smooth; } .container { width: 90%; margin: auto; } /* 🔹 TOPBAR */
.topbar {
  background: #222;
  color: #eee;
  font-size: 14px;
  padding: 10px 0;
}

.topbar-flex {
  display: flex;
  justify-content: space-between;  /* solda-ortada-sağda */
  align-items: center;
  text-align: center;
  flex-wrap: wrap; /* mobilde taşmasın */
}

.topbar-left,
.topbar-center,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-center {
  justify-content: center;
  flex: 1;
  text-align: center;
  font-weight: 500;
  color: #ffffff;
}

.topbar-left span,
.topbar-right span {
  font-weight: 400;
}

.phone-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1); /* ikon beyaz görünür */
}


 /* 🔹 NAVBAR */ .navbar { background: #111; border-bottom: 1px solid #333; position: sticky; top: 0; z-index: 10; } 
 .nav-flex { display: flex; justify-content: space-between; 
  align-items: center; padding: 15px 0; } .logo img { height: 60px; width: auto; } 
  nav a { color: #ccc; text-decoration: none; margin-left: 25px; font-weight: 500; transition: color 0.3s; } 
  nav a:hover { color: #f0a500; } /* HERO SLIDER */

.topbar {
  background: #222;
  color: #eee;
  font-size: 14px;
  padding: 10px 0;
}

.topbar-flex {
  display: flex;
  justify-content: space-between;  /* solda-ortada-sağda */
  align-items: center;
  text-align: center;
  flex-wrap: wrap; /* mobilde taşmasın */
}

.topbar-left,
.topbar-center,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-center {
  justify-content: center;
  flex: 1;
  text-align: center;
  font-weight: 500;
  color: #ffffff;
}

.topbar-left span,
.topbar-right span {
  font-weight: 400;
}

.phone-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1); /* ikon beyaz görünür */
}

/* 🔸 Mobil uyum */
@media (max-width: 768px) {
  .topbar-flex {
    flex-direction: column;
    gap: 5px;
  }
  .topbar-left,
  .topbar-center,
  .topbar-right {
    justify-content: center;
  }
}
 /* 🔹 NAVBAR */ .navbar { background: #111; border-bottom: 1px solid #333; position: sticky; top: 0; z-index: 10; } 
 .nav-flex { display: flex; justify-content: space-between; 
  align-items: center; padding: 15px 0; } .logo img { height: 60px; width: auto; } 
  nav a { color: #ccc; text-decoration: none; margin-left: 25px; font-weight: 500; transition: color 0.3s; } 
  nav a:hover { color: #f0a500; } /* HERO SLIDER */

  /* =========================
   🔹 TAM OTOMATİK MOBİL UYUM
   ========================= */
@media (max-width: 768px) {
  .topbar-container,
  .navbar-container {
    width: 95%;
    flex-direction: column;
    text-align: center;
  }

  .topbar-left, .topbar-right {
    margin: 0.2em 0;
  }

  .logo {
    max-width: 45vw;
    margin-bottom: 0.5em;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 3vw;
    width: 100%;
    background: #fff;
    padding: 1em 0;
    border-top: 1px solid #ddd;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.active + .nav-links {
    display: flex;
  }
}
/* HERO SLIDER */
.hero {
  height: 85vh; /* banner yüksekliği yarıya düşürüldü */
  min-height: 400px; /* minimum yükseklik */
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* slider katmanları */
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 30%; /* biraz yukarı kaydırma */
  background-attachment: fixed; /* parallax */
  opacity: 0;
  filter: blur(5px);
  transition: opacity 1.5s ease, filter 1.5s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  filter: blur(0);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 700px;
}

.section-white {
  background-color: #fff;
  color: #111;
 
}

.section-white h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.section-white p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
}
/* Değerlerimiz Bölümü */
.degerlerimiz-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 80px 0;
  flex-wrap: wrap;
}

.degerlerimiz-img {
  flex: 1;
  min-width: 800px;
  margin-top: 50px;
}

.degerlerimiz-img img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 50px;
 
}

.degerlerimiz-content {
  flex: 1;
  min-width: 300px;
}

.degerlerimiz-content h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #111;
}

/* Kutucuklar her zaman açık */
.deger-kutu {
  background-color: #f0f0f0; /* açık gri */
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
}

.deger-kutu h3 {
  margin-bottom: 10px;
  color:#f0a500;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px); /* hafif yukarı kaydırma */
  transition: opacity 1.8s ease, transform 1.8s ease; /* süreyi 1.8s yaptık */
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   🔹 TAM OTOMATİK MOBİL UYUM
   ========================= */
@media (max-width: 768px) {
  .degerlerimiz-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 95%;
  }

  .degerlerimiz-img {
    min-width: auto;
    width: 100%;
    margin-top: 3vh;
  }

  .degerlerimiz-content {
    min-width: auto;
    width: 100%;
    margin-top: 4vh;
  }

  .degerlerimiz-content h2 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .deger-kutu {
    width: 100%;
    padding: 4vw;
  }

  .deger-kutu h3 {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }

  .deger-kutu p {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }
}
/* Bölüm genel */
.calisma-container {
  padding: 80px 0;
}

.calisma-header {
  text-align: left;
  margin-bottom: 40px;
  max-width: 65%;
}

.calisma-header h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #111;
}

.calisma-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Grid yapı */
.timeline-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

/* Sol kutular alanı */
.timeline-left {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Her kutu sırası */
.timeline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Kutular */
.timeline-box {
  background-color: #000;
  color: #fff;
  width: 220px;
  height: 220px;
  padding: 20px;
  border-radius: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.4s ease;
}
.timeline-box h3 {
  color: #f0a500;
  font-size: 1rem;
  margin-bottom: 10px;
}
.timeline-box p {
  font-size: 0.85rem;
  line-height: 1.3;
}
.timeline-box:hover {
  transform: translateY(-5px);
}

/* Ok işaretleri */
.timeline-arrow, .timeline-arrow-vertical {
  font-size: 2rem;
  color: #f0a500;
  text-align: center;
}
.timeline-arrow-vertical {
  text-align: right;
  
  margin: 10px 300px;
}
/* =========================
   🔹 TAM OTOMATİK MOBİL UYUM
   ========================= */
@media (max-width: 768px) {
  .calisma-header {
    text-align: center;
    max-width: 100%;
  }

  .timeline-grid {
    flex-direction: column;
    align-items: center;
    gap: 6vh;
  }

  .timeline-left {
    width: 100%;
    align-items: center;
  }

  .timeline-row {
    flex-direction: column;
    gap: 4vh;
  }

  .timeline-box {
    width: 70vw;
    height: auto;
    text-align: center;
    padding: 5vw;
  }

  .timeline-box h3 {
    font-size: clamp(1rem, 4.5vw, 1.4rem);
  }

  .timeline-box p {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .timeline-arrow,
  .timeline-arrow-vertical {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    margin: 2vh 0;
    text-align: center;
  }
}

.makine-section {
  padding: 60px 20px;
  background: #ffffff;
  text-align: center;
}

.makine-baslik {
  font-size: 3rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
}

/* 4 kolonlu grid ama 4. eleman alt satırdan başlayacak */
.makine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: auto;
}

/* Alt satırda başlamasını istediğimiz elemana özel */
.alt-satir {
  grid-column-start: 1; /* Yeni satırı buradan başlatır */
}

.makine-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #ddd;
  aspect-ratio: 1 / 1;
}

.makine-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.makine-item:hover img {
  transform: scale(1.05);
}

.makine-info {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  transition: bottom 0.3s ease;
}

.makine-item:hover .makine-info {
  bottom: 0;
}

/* Üst satırdaki 3 kutuyu sağa kaydır */
.makine-item:nth-child(-n+3) {
  transform: translateX(175px ); /* değeri artırarak daha fazla kaydırabilirsin */
}
/* =========================
   🔹 TAM OTOMATİK MOBİL UYUM
   ========================= */
@media (max-width: 1024px) {
  /* Tablet için 2 kolon */
  .makine-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
  }

  .makine-item:nth-child(-n+3) {
    transform: none;
  }
}

@media (max-width: 768px) {
  /* Mobil için tek kolon, ortalanmış */
  .makine-grid {
    grid-template-columns: 1fr;
    gap: 5vw;
    max-width: 95%;
  }

  .makine-item {
    width: 100%;
    border-radius: 2vw;
  }

  .makine-item:nth-child(-n+3) {
    transform: none; /* mobilde kaydırmayı kapat */
  }

  .makine-info {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    padding: 2vh 4vw;
  }

  .makine-baslik {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }
}



.parca-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.parca-title {
  font-size: 3rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
}

.parca-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Tablet (orta boy ekranlar) */
@media (max-width: 992px) {
  .parca-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Küçük tablet */
@media (max-width: 768px) {
  .parca-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobil */
@media (max-width: 480px) {
  .parca-grid {
    grid-template-columns: 1fr;
  }
}

.parca-card {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 10px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* 📸 TÜM GÖRSELLER EŞİT BOYDA */
.parca-card img {
  width: 100%;
  height: 220px; /* sabit yükseklik */
  object-fit: cover; /* orantıyı koru, fazla kısmı kırp */
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.parca-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.parca-card:hover img {
  transform: scale(1.1);
}

/* Mevcut .parca-card hover efektleri korunur */

/* Özel hover sadece son iki görsel için */
.parca-card.special-hover {
  position: relative; /* overlay için gerekli */
  overflow: hidden;
}

/* Overlay yazı gizli, ortalanmış */
.parca-card.special-hover .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 4px;
}

.parca-card.special-hover {
  position: relative;
  overflow: hidden;
}

.parca-card.special-hover .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 4px;
}

.parca-card.special-hover:hover .overlay-text {
  opacity: 1;
}

.parca-card.special-hover:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}


.site-footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  max-width: 500px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 35px;
  height: 35px;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  
}

.social-icon:hover {
  background-color: #555;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-person h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.contact-person p {
  margin: 2px 0;
  font-size: 14px;
}

.contact-person i {
  margin-right: 8px;
  color: #fff;
}

.site-footer {
  background-color: #111;
  color: #fff;
 
 padding: 10px 20px 15px; /* üst 10px, yan 20px, alt 15px */

  font-family: Arial, sans-serif;
  font-size: 16px;
}

.footer-top {
  display: flex;
  justify-content: space-between; /* Sol ve sağ eşit boşluk */
  align-items: flex-start; /* Dikeyde hizalama */
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px; /* Maksimum genişlik */
  margin: 0 auto; /* Ortalamak için */
  padding: 10px 20px; /* üst-alt 10px */
}


.footer-left {
  max-width: 500px;
}

.footer-logo {
  width: 200px;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 16px; /* Büyütüldü */
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
 
}

.social-icon:hover {
  background-color: #555;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 300px;  padding-top: 100px; /* Üstten boşluk ekledik */
}

.contact-person h4 {
  margin: 0 0 5px 0;
  font-size: 18px; /* Büyütüldü */
}

.contact-person p {
  margin: 4px 0;
  font-size: 16px; /* Büyütüldü */
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-person svg {
  fill: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 15px; /* Büyütüldü */
}


.contact-address {
  margin-top: 10px;
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  text-align: center; /* Metni ortaladı */
}


.whatsapp-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 40px;      /* buton boyutu */
  height: 40px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 24px;      /* PNG ikon boyutu */
  height: 24px;
}

























/* Fotoğraf */
.timeline-right {
  flex: 2.0;
}
.timeline-right img {
  width: 100%;
  height: 300%;
  border-radius: 15px;
  object-fit: cover;
}

/* Fade efekti */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobil */
@media (max-width: 992px) {
  .timeline-grid {
    flex-direction: column;
    align-items: center;
  }
  .calisma-header {
    max-width: 100%;
  }
  .timeline-row {
    flex-direction: column;
  }
  .timeline-arrow, .timeline-arrow-vertical {
    display: none;
  }
  .timeline-right {
    order: -1;
  }
}


   /* 🔹 Banner */
/* 🔹 Banner (Parallax + Karartma) */
/* 🔹 BANNER GENEL YAPI */
/* Banner container */
/* Genel boşlukları sıfırla */

/* 🔹 Banner */
.banner {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
}

/* Fotoğraf fade-in animasyonu */
.banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(65%); /* biraz daha koyulaştırdık */
  opacity: 0;
  animation: bannerFade 2s ease forwards;
  transform: scale(1.05); /* hafif zoom-out efekti */
}

/* Overlay (ek karartma katmanı) */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45); /* karartma yoğunluğu artırıldı */
  z-index: 1;
}

/* Yazı fade-in */
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  opacity: 0;
  animation: textFade 2s ease forwards 0.5s;
  z-index: 2;
}

.banner-text h1 {
  font-size: 3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Animasyon keyframes */
@keyframes bannerFade {
  0% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes textFade {
  0% { opacity: 0; transform: translate(-50%, -60%); }
  100% { opacity: 1; transform: translate(-50%, -50%); }
}



/* About grid */
.about-grid {
  display: flex;
  gap: 50px;
  align-items: center;
  padding: 50px 0;
  flex-wrap: wrap; /* mobil uyum */
}

/* Sol metin */
.about-text {
  flex: 1;
  min-width: 300px;
  color: #111;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #111;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #111;
}

/* Sağ fotoğraf */
.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 800px;
  height: 600px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
/* Mobilde tam genişlikte, taşmasız */
@media (max-width: 768px) {
  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 2vw;
  }
}

/* Scroll fade-in */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobil uyum */
@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
  }
  .about-image, .about-text {
    width: 100%;
  }
}


/* Ana alan */
.info-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 100px;
  flex-wrap: wrap;
  padding: 100px 90px;
}

/* Kutu */
.info-box {
  background: #f0f0f0; /* açık gri */
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  width: 240px;
  min-height: 260px; /* sabit yükseklik */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* sayısal değer üstte, açıklama altta */
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.info-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Fade animasyonu */
.fade.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}

/* İkon */
.icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Sayaç başlık */
.info-box h3 {
  margin: 10px 0 8px;
  font-size: 2rem;
  color: #f0a500; /* turuncu */
  font-weight: 700;
}

/* Açıklama */
.info-box p {
  font-size: 1rem;
  line-height: 1.4;
  color: #111; /* siyah */
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .info-box {
    width: 45%;
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .info-box {
    width: 100%;
  }
}



/* 🔹 Vizyon Banner */
.vizyon-banner {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
}

/* Görsel (sabit durur, içten fade ve zoom efektiyle açılır) */
.vizyon-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(65%);
  opacity: 0;
  transform: scale(1.05); /* hafif zoom-out */
  animation: bannerFade 2s ease forwards;
}

/* Karartma overlay */
.vizyon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Yazı */
.vizyon-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  opacity: 0;
  animation: textFade 2s ease forwards 0.6s;
  z-index: 2;
}

.vizyon-text h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

/* 🔹 Animasyonlar (YALNIZCA FADE + ZOOM) */
@keyframes bannerFade {
  0% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes textFade {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Fade scroll efekti (banner hariç diğer içerikler için) */
.fade {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade.show {
  opacity: 1;
}



@media (max-width: 768px) {
  .vizyon-banner { height: 50vh; }
  .vizyon-text h1 { font-size: 1.8rem; }
}

/* 🔹 Vizyon & Misyon Kutuları */
.vizyon-misyon-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; /* 🔹 kutular arası boşluk artırıldı (önceden 2rem) */
  max-width: 1300px; /* 🔹 genel genişlik büyütüldü (önceden 1100px) */
  margin: 5rem auto;
  padding: 0 2rem; /* kenarlardan biraz daha boşluk */
}

.vizyon-kutu {
  background-color: #f2f2f2;
  color: #111;
  padding: 3rem 2.5rem; /* 🔹 iç boşluk artırıldı */
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vizyon-kutu:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.vizyon-kutu h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: #000;
}

.vizyon-kutu p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #222;
}

/* 🔹 Responsive */
@media (max-width: 900px) {
  .vizyon-misyon-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 90%;
  }
}

/* Fotoğraf fade-in animasyonu */
.contact-banner img {
  display: block;

  object-fit: cover;
  filter: brightness(65%);
  opacity: 0;
  animation: bannerFade 2s ease forwards;
  transform: scale(1.05);
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
}

/* ✅ Overlay sabit, animasyonsuz */
.contact-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 79vh;
  background: rgba(0,0,0,0.45);
  z-index: 1;
  opacity: 0;
  animation: overlayFade 2s ease forwards; /* Hakkımızkadakiyle aynı fade */
}
.contact-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  opacity: 0;
  animation: textFade 2s ease forwards 0.5s;
  z-index: 2;
}

.contact-banner-text h1 {
  font-size: 3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding: 80px;
  background-color: #1c283f; /* Lacivert arka plan */
  color: #fff;
}

.contact-left {
  flex: 1;
}

.contact-left h5 {
  letter-spacing: 2px;
  font-weight: 400;
  margin-bottom: 10px;
}

.contact-left h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.contact-left p {
  margin-bottom: 20px;
  color: #d0d4db;
}

.contact-left hr {
  border: none;
  height: 1px;
  background-color: #3a455b;
  margin: 20px 0;
}

.contact-left .person {
  margin-bottom: 15px;
  font-size: 15px;
}

.contact-right {
  flex: 1;
  background-color: #1160ab;
  padding: 30px;
  border-radius: 8px;
}

.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-right input,
.contact-right textarea {
  padding: 10px;
  border: none;
  outline: none;
}

.contact-right button {
  background-color: #000;
  color: #fff;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  margin-top: 5px;
}
/* =========================
   📱 KÜÇÜK TELEFONLAR (max 480px)
   ========================= */
@media (max-width: 480px) {
  .banner-text h1,
  .vizyon-text h1,
  .contact-banner-text h1 {
    font-size: 1.5rem;
  }

  .makine-grid,
  .parca-grid {
    grid-template-columns: 1fr; /* Tek sütun */
  }

  .info-section {
    gap: 40px;
    padding: 60px 20px;
  }
  .info-box {
    width: 100%;
  }

  .footer-logo {
    width: 140px;
  }
}

/* =============================
   ⚡ HERO / BANNER – GENEL MOBİL UYUM
   ============================= */

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* sadece yatay scroll kapalı */
  overflow-y: auto;   /* dikey scroll açık */
}

.hero, .banner, .vizyon-banner {
  position: relative;
  width: 100%;
  height: 100dvh; /* tam ekran */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 📩 İletişim sayfası banner'ı — form yapısı bozulmadan */
.contact-banner {
  position: relative;
  width: 100%;
  min-height: 60vh; /* sabit değil, içeriğe göre açılır */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* İçerik hizalama */
.hero-content, .banner-text {
  text-align: center;
  width: min(90%, 1000px);
  z-index: 2;
  padding: 0 5vw;
}

/* =============================
   📱 MOBİL GÖRÜNÜM
   ============================= */
@media (max-width: 600px) {
  .hero, .banner, .vizyon-banner {
    height: 100dvh;
    background-position: center top;
  }

  .contact-banner {
    min-height: 70vh; /* form sığsın */
    background-position: center top;
  }

  .hero-content, .banner-text {
    padding: 0 6vw;
    text-align: center;
  }

  /* Yazılar otomatik ölçeklenir */
  h1 { font-size: clamp(1.3rem, 6vw, 2.4rem); }
  h2 { font-size: clamp(1.1rem, 4.5vw, 1.8rem); }
  p { font-size: clamp(0.9rem, 3.5vw, 1.1rem); }
}
/* =============================
   📱 MOBİL GÖRÜNÜM
   ============================= */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column; /* alt alta gelsin */
    padding: 20px 4vw;
  }

  .contact-banner,
  .contact-form {
    min-width: 100%;
    width: 100%;
  }

  .contact-banner {
    min-height: 50vh; /* banner kısalır ama orantılı kalır */
    background-position: center top;
  }

  .contact-form {
    margin-top: 20px; /* banner ile araya boşluk */
  }
}