/* Genel Yapı ve Reset */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Font değişikliği */
  margin: 0;
  background-color: #ecf0f1; /* Arkaplan rengi değişti (Daha soğuk gri) */
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Header Alanı */
.site-header {
  background-color: #1a252f; /* Koyu Lacivert (Midnight Blue) */
  color: #ecf0f1;
  padding: 20px 0; /* Padding artırıldı */
  border-bottom: 4px solid #d35400; /* Turuncu alt çizgi eklendi */
}

.header-inner {
  display: flex;
  justify-content: space-between; /* Yapı değişikliği: Space-between */
  align-items: center;
  max-width: 1200px; /* Genişlik artırıldı */
  margin: 0 auto;
  padding: 0 30px;
}

.site-title {
  margin: 0;
  font-size: 2.2rem; /* Font büyütüldü */
  font-weight: 700;
  letter-spacing: 1px;
}

.header-contact {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

.header-contact a {
  color: #ecf0f1;
  font-weight: 600;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.header-contact a:hover {
  border-color: #d35400; /* Hover efekti değişti */
  color: #d35400;
  text-decoration: none;
}

.header-subtitle {
  text-align: center;
  background-color: #2c3e50; /* Alt başlık için ayrı şerit */
  color: #bdc3c7;
  padding: 8px 0;
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
}

/* Container & Grid Sistemi */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Auto-fill kullanımı */
  gap: 35px; /* Boşluk artırıldı */
}

/* Kart Tasarımı (Daha endüstriyel) */
.card {
  background: #ffffff;
  border-radius: 4px; /* Köşeler keskinleştirildi */
  box-shadow: 0 2px 5px rgba(0,0,0,0.08); /* Gölge hafifletildi */
  border: 1px solid #e0e0e0; /* İnce çerçeve */
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  border-color: #d35400; /* Hover'da kenar rengi */
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 3px solid #f1f1f1;
}

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin: 0 0 10px 0;
  color: #2c3e50;
  font-size: 1.4rem;
}

.card p {
  color: #7f8c8d;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Buton Stilleri */
.btn {
  display: inline-block;
  background-color: #d35400; /* Turuncu (Pumpkin) */
  color: white;
  padding: 12px 25px;
  border-radius: 3px; /* Keskin buton */
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.85rem;
  align-self: flex-start;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: #e67e22; /* Açık turuncu */
}

/* Ürün Detay Sayfası */
.product-wrapper {
  background: white;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.product-images {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-images img {
  width: 100%;
  border-radius: 4px;
  cursor: zoom-in;
  border: 1px solid #eee;
  transition: opacity 0.2s;
}

.product-images img:hover {
  opacity: 0.9;
}

.product-info h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin-top: 0;
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
}

.short-desc {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 4px;
}

.specs-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e1e1e1;
  color: #444;
}

.specs-list li:last-child {
  border-bottom: none;
}

.tags {
  margin-top: 25px;
}

.tag {
  display: inline-block;
  background: #ecf0f1;
  color: #7f8c8d;
  padding: 6px 12px;
  border-radius: 20px; /* Yuvarlak etiketler */
  margin-right: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Modal Galeri */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 37, 47, 0.95); /* Koyu lacivert opak */
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #ecf0f1;
  font-size: 40px;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #d35400;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 50px;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  transition: color 0.2s;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-nav:hover { color: #d35400; }

/* Responsive */
@media(max-width: 900px) {
  .product-wrapper {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 768px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .header-contact {
    margin-top: 15px;
    flex-direction: column;
    gap: 10px;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp Butonu */
.wa-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.3s;
}

.wa-float:hover {
  transform: scale(1.1) rotate(10deg);
}

.wa-float img {
  width: 32px;
  height: 32px;
}

.links-section {
  background: #ffffff;
  padding: 30px 0;
  border-top: 1px solid #e0e0e0;
}

.links-section h2 {
  margin: 0 0 15px 0;
  font-size: 1.4rem;
  color: #2c3e50;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px 20px;
}

.link-list a {
  color: #1a252f;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.link-list a:hover {
  color: #d35400;
  border-color: #d35400;
}
