/* Reset ve temel ayarlar */
/* index - hakkimizda */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

/* Konteyner */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: #222;
  color: #fff;
  padding: 20px 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

nav {
  margin-top: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f0c040;
}

/* Hero Bölümü */
.hero {
  background: linear-gradient(to right, #222, #555);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
}

/* Öne Çıkanlar */
/*
.highlights {
  background-color: #fff;
  padding: 60px 0;
}
*/
/*
.highlight-box {
  text-align: center;
  padding: 20px;
}
*/
.highlight-box h2 {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 10px;
}

.highlight-box p {
  font-size: 1rem;
  color: #555;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .highlight-box {
    margin-bottom: 30px;
  }
}

/* urunler */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 15px;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 0.95rem;
  color: #333;
}

/* makine-parki */

.machine-section {
  margin-bottom: 60px;
}

.machine-title {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 25px;
  border-left: 5px solid #f0c040;
  padding-left: 15px;
}

.machine-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.machine-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.machine-item:hover {
  transform: translateY(-5px);
}

.machine-item img{
  width: 100%;
  aspect-ratio: 4 / 3;   /* isterseniz 16/9 veya 3/2 yapın */
  object-fit: cover;     /* taşmadan doldur, gerekirse ortadan kırp */
  object-position: center;
  display: block;
}

.machine-info {
  padding: 15px;
  text-align: left;
}

.machine-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #333;
}

.machine-info p {
  font-size: 0.95rem;
  color: #666;
}

/* iletisim */

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info,
.contact-form {
  flex: 1 1 300px;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #444;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  background-color: #222;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #f0c040;
  color: #000;
}

.map-container {
  margin-top: 60px;
}

.map-container h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #222;
  text-align: center;
}

/* Responsive harita kapsayıcı */
.responsive-map {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 oran */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.responsive-map iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* index whatsapp */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 60px;
  height: 60px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Aktif sayfanın belirlenmesi */

.nav-links a.active {
  font-weight: bold;
  color: #f0c040;
}

/* urunler aktif sayfa vurgusu */
.nav-links a.active {
  background-color: #f0c040;   /* turuncu arka plan */
  color: #000;                 /* siyah yazı */
  padding: 6px 12px;
  border-radius: 4px;
  transition: 0.3s;
  text-decoration: none;
}

.brief-vmd .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.brief-box:hover {
  transform: translateY(-5px);
}

.brief-box h3 {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 10px;
}

.brief-box p {
  font-size: 1rem;
  color: #555;
}

.brief-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.brief-box ul li {
  font-size: 1rem;
  color: #444;
  margin-bottom: 8px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .brief-box {
    margin-bottom: 20px;
  }
}

/* Hakkımızda - Vizyon, Misyon, Değerler Kartları */
.vmd-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.vmd-card {
  background-color: #fff;
  border-left: 5px solid #f0c040;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 25px 30px;
  margin-bottom: 40px;
  width: 70%;
  transition: transform 0.3s ease;
}

.vmd-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #222;
}

.vmd-card p,
.vmd-card ul {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.vmd-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vmd-card ul li {
  margin-bottom: 10px;
}

.vmd-left {
  margin-left: 0;
  margin-right: auto;
}

.vmd-right {
  margin-left: auto;
  margin-right: 0;
}

.vmd-card:hover {
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .vmd-card {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Hakkımızda - Kimdir Kartı */
.about-overview {
  background-color: #ffffff;
  padding: 60px 0;
}

.about-card {
  background-color: #f2f2f2;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 0 auto;
}

.about-card h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #222;
  text-align: center;
}

.about-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .about-card {
    padding: 25px;
  }
}

/* Ana Sayfa - Kalite/Tecrübe/Çözüm Kartları */
.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.highlight-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #222;
}

.highlight-card p {
  font-size: 1rem;
  color: #555;
}

/* Modern Highlights Bölümü */
.highlights-modern {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  padding: 80px 0;
}

.highlight-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.highlight-block {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  flex: 1 1 300px;
  padding: 30px 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.highlight-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.highlight-icon {
  font-size: 2.8rem;
  background-color: #f0c040;
  color: #000;
  width: 70px;
  height: 70px;
  line-height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.highlight-block h3 {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 15px;
}

.highlight-block p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.highlight-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background-color: #222;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.3s;
}

.highlight-btn:hover {
  background-color: #f0c040;
  color: #000;
}

/* Responsive */
@media (max-width: 992px) {
  .highlight-flex {
    flex-direction: column;
    align-items: center;
  }
}

/* Hero Slider (Görselli + Butonlu) */
/*
.hero-slider {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

*/
/*
.hero-slider::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroSlider 24s linear infinite;
  z-index: 1;
  opacity: 0.6;
  filter: brightness(0.65);
}
*/
/*

.hero-slider::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.01;
  z-index: 1;
}
*/

.hero-text {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #eee;
}

.hero-btn {
  background-color: #f0c040;
  color: #000;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #fff3c2;
}

/* Slider animasyonu 
@keyframes heroSlider {
  0%   { background-image: url('../images/ana_sayfa_slider_5_upscaled.webp'); }
  25%  { background-image: url('../images/GPT_Kopya.webp'); }
  50%  { background-image: url('../images/GPT_Kopya_2.webp'); }
  75%  { background-image: url('../images/ana_sayfa_slider_8_upscaled.webp'); }
  100% { background-image: url('../images/ana_sayfa_slider_5_upscaled.webp'); }
}*/

/* Vizyon-Misyon-Değerler Modern */
.vmd-modern {
  background-color: #fff;
  padding: 80px 0;
}

.vmd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.vmd-card {
  background-color: #f7f7f7;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.vmd-card:hover {
  transform: translateY(-6px);
}

.vmd-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.vmd-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #222;
}

.vmd-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.vmd-card ul {
  list-style: none;
  padding: 0;
  color: #444;
}

.vmd-card ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Footer Modern */
.footer-modern {
  background-color: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  align-items: start;
}

.footer-brand h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #f0c040;
}

.footer-brand p {
  color: #ccc;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #f0c040;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-contact p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 20px;
}

/* Faaliyet alanı */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin: 60px 0 30px;
  color: #333;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 0 auto 60px;
  max-width: 1200px;
  padding: 0 20px;
}

.card {
  background-color: #f8f8f8;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-top: 10px;
  font-size: 1.3rem;
  color: #222;
}

.card p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.emphasis {
  background-color: #f0f0f0;
  padding: 30px 20px;
  border-left: 5px solid #999;
  font-style: italic;
  max-width: 960px;
  margin: 60px auto;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* urunler */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.product-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.product-card p {
  font-size: 0.95rem;
  color: #555;
}

.tag {
  display: inline-block;
  background: #dedede;
  color: #333;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.emphasis {
  background-color: #f0f0f0;
  padding: 30px 20px;
  border-left: 5px solid #999;
  font-style: italic;
  max-width: 960px;
  margin: 60px auto;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Hamburger Menü */

/* ✨ Masaüstünde × (close-btn) gizli */
.close-btn {
  display: none;
}

/* Varsayılan menü görünümü */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Mobil görünüm */
@media (max-width: 768px) {
  nav.active ~ .hamburger {
    display: none;
  }

  .hamburger.hidden {
    display: none;
  }

  header .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hamburger {
    display: block;
    align-self: flex-end;
  }

  nav {
    display: none;
    position: relative;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: max-height 0.3s ease;
  }

  nav.active {
    display: block;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    border-bottom: 1px solid #eee;
    padding: 15px;
    text-align: center;
  }

  /* 💡 Menü bağlantılarına görünürlük ve etkileşim stilleri */
  .nav-links a {
    color: #000; /* Bağlantıları siyah yapar */
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 10px 0;
  }

  .nav-links a:hover {
    background-color: #f4f4f4; /* Üzerine gelince hafif gri arka plan */
  }

  /* ✅ Sadece mobilde × görünür */
  .close-btn {
    display: block;
    font-size: 28px;
    text-align: right;
    padding: 15px 20px 0 0;
    cursor: pointer;
    font-weight: bold;
    color: #000;
  }

  .close-btn:hover {
    color: #d9534f;
  }
}

#phone-btn {
    position: fixed;
    bottom: 100px; /* WhatsApp ve arama ikonunun üstüne */
    right: 25px;
    z-index: 999;
    background-color: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

#phone-btn img {
    width: 40px;
    height: 40px;
}


/* Header yerleşimi korunur */
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo: genişliği en geniş çocuğun (üst satır) genişliğine shrink eder */
.logo{
  display:inline-grid;
  grid-auto-rows:auto;
  align-items:start;
  inline-size:max-content;  /* shrink-wrap: üst satır kadar genişlik */
  line-height:1.05;
  margin:0;
}

/* Üst satır tek satır kalsın, genişliği referans olsun */
.brand-strong{
  white-space:nowrap;
  font-weight:800;
  letter-spacing:.3px;
  font-size:clamp(31px,1.2vw + 18px,28px);
}

/* Alt satır: tek satır, konteyner genişliğine ger ve justify et */
.brand-sub{
  margin-top:2px;
  font-weight:500;
  opacity:.85;
  text-transform:uppercase;
  letter-spacing:.08em;
  white-space:nowrap;         /* tek satır */
  justify-self:stretch;       /* grid genişliğini (üst satırla aynı) al */
  text-align:justify;         /* satırın iki ucunu hizala */
  text-justify:inter-word;    /* kelimeler arası boşlukları kullan */
  font-size:clamp(11px,.35vw + 10px,13px);
}
/* Tek satırda justify çalışsın diye klasik pseudo-element hilesi */
.brand-sub::after{
  content:"";
  display:inline-block;
  inline-size:100%;
}

/* Menü hizası için */
#navbar{ margin-left:auto; }

/* Dar ekran: alt hattı gizle (tasarım korunur) */
@media (max-width:480px){
  .logo{ 
    grid-auto-flow: row; 
    align-items: center; 
  }
  .brand-strong{ 
    font-size: clamp(30px, 4vw + 10px, 24px);
    line-height: 1.1; 
  }
  .brand-sub{ 
    display: block;            /* artık gizlenmiyor */
    white-space: normal;       /* satır kaydırma serbest */
    text-align: center;        /* mobilde ortala */
    text-justify: auto;
    letter-spacing: .06em;
    font-size: 12px;
    opacity: .9;
  }
}


/* Mail butonu ayarları */
#email-btn {
  position: fixed;
  bottom: 175px; /* Telefon butonuyla aynı oranda hizalı */
  right: 25px;
  z-index: 999;
}


#email-btn img {
  width: 60px;   /* Daha büyük boyut */
  height: 60px;  /* Daha büyük boyut */
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

#email-btn img:hover {
  transform: scale(1.1);
}

/* Ana Sayfa Slider */
/* Ana slider kap: sadece yerleşim 
.hero-slider {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}*/

/* Görsellerin değiştiği TEK katman 
.has-slider .hero-slider::before {
   content: "";
   position: absolute;
   inset: 0;
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   animation: heroSlider 24s linear infinite;
   z-index: 1;
   opacity: 1;
   filter: none;
}*/

/* Yazı kontrastı için sabit, bağımsız overlay */
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);  /* ihtiyaca göre 0.15–0.35 */
  z-index: 2;
}

/* Metinler üstte 
.hero-text { 
  position: relative; 
  z-index: 3; 
  padding: 0 20px; 
}*/

/* --- Hero: Video entegrasyonu (slider yerine) --- 
.hero-bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;    
  z-index: 1;           
  display: block;
}*/

/* Eski slider görsel animasyonunu tamamen kapat 
.hero-slider::before{
  content: none;
  animation: none;
  background: none;
}
*/

/* Tek keyframes 
@keyframes heroSlider {
  0%   { background-image: url('../images/ana_sayfa_slider_5_upscaled.webp'); }
  25%  { background-image: url('../images/GPT_Kopya.webp'); }
  50%  { background-image: url('../images/GPT_Kopya_2.webp'); }
  75%  { background-image: url('../images/ana_sayfa_slider_8_upscaled.webp'); }
  100% { background-image: url('../images/ana_sayfa_slider_5_upscaled.webp'); }
}*/

/* Menü açıldığında sabit iletişim butonlarını menünün arkasına it ve tıklanamaz yap */
@media (max-width: 768px) {
  body.menu-open .whatsapp-float,
  body.menu-open #phone-btn,
  body.menu-open #email-btn {
    z-index: 0 !important;       /* menünün altında kalsın */
    pointer-events: none;        /* yanlışlıkla tıklanmasın */
    filter: opacity(.75);        /* (ops.) hafif soluk görünüm */
  }

  /* Menü katmanı yüzen butonlardan daima yüksek olsun */
  nav { z-index: 1500; }
}

/* ✅ Bozulmayan mobil header hizası (menü eski sağlam haliyle kalır) */
@media (max-width: 768px) {
  /* Header container akışı yine column kalsın (menünün düzgün açılması için) */
  header .container {
    position: relative;          /* hamburger'i absolute konumlamak için */
    flex-direction: column;      /* menü düzenini bozmamak için */
    align-items: flex-start;
    padding-left: 10px;          /* logoyu biraz daha sola yaklaştır */
    padding-right: 16px;         /* hamburger için sağ boşluk */
    gap: 6px;                    /* logo–hamburger arası nefes */
  }

  /* Logo: sol hizayı koru, ek itme yok */
  .logo {
    margin-left: 0;
  }

  /* Hamburger: aynı satırdaymış gibi sağ-üstte konumlanır */
  .hamburger {
    position: absolute;
    top: 18px;                   /* gerekirse 16–22px arası ince ayar */
    right: 16px;
    align-self: auto;            /* önceki align-self değerlerini geçersiz kılar */
    padding: 6px 8px;            /* rahat dokunma alanı */
    line-height: 1;
  }
}

/* Instagram butonu ayarları (Mail ile aynı stil ve boyut) */
#instagram-btn {
  position: fixed;
  bottom: 240px;   /* Mail (175px) üstünde kalsın */
  right: 25px;
  z-index: 999;
}

#instagram-btn img {
  width: 60px;     /* Mail ile aynı */
  height: 60px;    /* Mail ile aynı */
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

#instagram-btn img:hover {
  transform: scale(1.1);
}

.hero-slider {
  position: relative;
  height: 600px;         /* isterseniz 100vh */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 2;
}

.hero-text { 
  position: relative; 
  z-index: 3; 
  padding: 0 20px; 
}

.hero-bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
