/* Genel ayarlar */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f9fa;
}

/* 🔹 Üst dil çubuğu */
.top-bar {
    background-color: #f1f1f1;
    height: 35px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    position: fixed; /* 🔹 sabit hale getirdik */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100; /* header'dan biraz yüksek */
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.language-selector a {
    color: #333;
    text-decoration: none;
    margin-left: 10px;
    transition: color 0.3s;
}

.language-selector a:hover {
    color: #0d6efd;
}

.language-selector a.active {
    font-weight: bold;
    color: #0d6efd;
}


/* 🔹 HEADER (küçülme + şeffaflık efekti) */
header {
    background-color: rgba(9, 27, 52, 1); /* tam opak */
    color: white;
    position: fixed;
    top: 35px; /* 🔹 dil çubuğunun hemen altına */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.4s ease; /* daha yumuşak geçiş */
    backdrop-filter: none; /* scroll sonrası için hazırlık */
    
}

header.scrolled {
    padding: 9px 0; /* %55 küçülme */
    background-color: rgba(9, 27, 52, 0.85); /* 🔹 %85 opak (şeffaf görünüm) */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px); /* 🔹 arka plan hafif bulanır */
}

/* Header içi düzen */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo (görsel versiyonu) */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    height: 100px; /* normal boyut */
    transition: height 0.35s ease, transform 0.35s ease;
}
header.scrolled .logo img {
    height: 30px; /* küçülmüş boyut */
    transform: scale(0.95);
}

/* Menü */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    display: inline-block;
    margin-left: 20px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: font-size 0.35s ease, color 0.3s ease;
}
nav ul li a:hover {
    text-decoration: underline;
}
header.scrolled nav ul li a {
    font-size: 14px;
}

/* Kahraman bölümü */
.hero {
    background: 
        linear-gradient(rgba(60, 60, 60, 0.6), rgba(60, 60, 60, 0.6)),  /* 🔹 hafif gri filtre */
        url('../images/002.png') center/cover no-repeat; /* 🔹 görsel yolu */
    color: white;
    text-align: center;
    padding: 75px 20px 20px;
    margin-top: 105px; /* 🔹 üstteki sabit alan kadar boşluk */
    position: relative;
   
}
.hero .btn {
    display: inline-block;
    margin-top: 20px;
    background: white;
    color: #0d6efd;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.hero .btn:hover {
    background: #e9ecef;
}

.hero li {
    text-align: center;
    text-shadow: 2px 2px 5px #222;
}

/* Ürünler */



.products {
    padding: 80px 20px;
    text-align: center;
}
.product-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}
.product {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 20px;
    width: 280px;
}
.product img {
    width: 100%;
    border-radius: 10px;
}
.product h3 {
    margin-top: 15px;
}

/* Hakkımızda */
.about {
    background: #e9ecef;
    padding: 60px 20px;
    text-align: center;
    
}

/* Footer */
.footer {
  background-color: #0e1a2b;
  color: #f1f1f1;
  padding: 40px 0;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* sol ve sağa dağıtır */
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-contact {
  flex: 1;
  min-width: 280px;
}

.footer-contact h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 14px;
  color: #c8c8c8;
  margin-bottom: 20px;
  max-width: 400px;
  line-height: 1.6;
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.contact-icon {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.contact-icon:hover {
  opacity: 1;
}

/* Sağ kısım - marka alanı */
.footer-brand {
  flex: 1;
  min-width: 250px;
  
}

.footer-brand .brand-logo {
  width: 130px;
  margin-bottom: 12px;
  opacity: 0.9;
  float: left;
}

.footer-brand p {
  font-size: 14px;
  color: #c8c8c8;
  line-height: 1.5;
}

.footer-brand strong {
  color: #ffffff;
}

.brand-sublogo {
  width: 250px;
  vertical-align: middle;
  margin: 0 5px;
  opacity: 0.9;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-brand {
    text-align: left;
    margin-top: 30px;
  }

  .footer-brand .brand-logo {
    width: 110px;
  }

  .brand-sublogo {
    width: 70px;
  }
}



/* 🔹 Bölüm başlıklarını sol üst köşeye yerleştir */
section {
    position: relative;
    padding: 180px 20px 100px; /* üst boşluğu biraz arttırdık */
    
    margin: 0 auto;
    margin-bottom: 20px;
    
}

section h2 {
    position: absolute;
    top: 0px;
    /*left: 30px; */
    font-size: 28px;
    font-weight: 600;
    color: #222;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    padding: 1px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    
}

/* 🔹 Hero hariç tüm bölümler için geçerli */
.hero h1, .hero h2 {
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    width: 50%;
    backdrop-filter: none;
    color: #f1f1f1;
    font-size: 20px;
    text-shadow: 2px 2px 2px #222;
}

/* 🔹 Alternatif olarak her bölümün rengini farklı yapabiliriz */
.about h2 { background: rgba(173, 216, 230, 0.4); }     /* Açık mavi ton */
.gallery h2 { background: rgba(211, 211, 211, 0.4); }   /* Gri ton */
footer h2 { background: rgba(255, 255, 255, 0.3); color: #fff; } /* Beyaz yarı saydam */

/* Mobil uyum */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    nav ul {
        padding-top: 10px;
    }
    .product-list {
        flex-direction: column;
        align-items: center;
    }
}

/* 🔹 Foto Galeri Bölümü */
/* 🔹 Galeri alanı */
.gallery {
    background-color: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
}

.gallery h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    object-fit: cover;
    height: 220px;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 🔹 Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    animation: fadeIn 0.3s ease;
    user-select: none;
    touch-action: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* 🔹 Kapatma butonu */
.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.close:hover { color: #0d6efd; }

/* 🔹 Ok butonları */
.prev, .next {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    transition: color 0.3s, transform 0.2s;
}

.prev:hover, .next:hover {
    color: #0d6efd;
    transform: translateY(-50%) scale(1.1);
}

.prev { left: 50px; }
.next { right: 50px; }

/* 🔹 Mobilde okları biraz küçültelim */
@media (max-width: 600px) {
    .prev, .next { font-size: 40px; left: 20px; right: 20px; }
    .close { top: 20px; right: 25px; font-size: 30px; }
}