/* ===== TEMEL AYARLAR ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
}

.logo h1 a {
  color: white;
}

.manufacturer-badge {
  background: rgba(39, 174, 96, 0.2);
  color: #2ecc71;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 5px;
}

nav a {
  color: white;
  margin-left: 20px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s;
}

nav a:hover,
nav a.active {
  background: rgba(255, 255, 255, 0.15);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(rgba(26, 58, 92, 0.9), rgba(26, 58, 92, 0.9)), url('../images/hero-bg.jpg') center/cover;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero .highlight {
  color: #e67e22;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #e67e22;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #d35400;
}

.btn-secondary {
  background: #27ae60;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: #219a52;
}

.hero .seo-text {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== ÜRETICI INFO BOX ===== */
.manufacturer-info {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
}

.info-box .icon {
  font-size: 2rem;
}

.info-box h3 {
  color: #1a3a5c;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-box p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* ===== ÜRÜN KARTLARI ===== */
.section-title {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 1.8rem;
  color: #1a3a5c;
}

.section-intro {
  background: #f8fafc;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  border-left: 4px solid #27ae60;
  font-size: 0.95rem;
  color: #444;
}

.section-intro strong {
  color: #1a3a5c;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-image {
  height: 220px;
  background: #f0f4f8;
  overflow: hidden;
  position: relative;
}

.product-image a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(26, 58, 92, 0.9) 0%, rgba(26, 58, 92, 0.4) 70%, transparent 100%);
  color: #ffffff !important;
  margin: 0 !important;
  padding: 40px 15px 12px !important;
  font-size: 1.15rem !important;
  text-align: center;
  z-index: 5;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-info {
  padding: 15px 20px 20px;
}

.product-info h3 {
  display: none;
  /* Overlay kullandığımız için buradaki başlığı gizliyoruz */
}

.product-desc {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.specs {
  list-style: none;
  margin: 15px 0;
  font-size: 0.9rem;
}

.specs li {
  padding: 4px 0;
  color: #555;
}

.btn-detail,
.btn-price {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}

.btn-detail {
  background: #f1f5f9;
  color: #1a3a5c;
  border: 1px solid #cbd5e1;
}

.btn-detail:hover {
  background: #e2e8f0;
}

.btn-price {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: white;
}

.btn-price:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

/* ===== AVANTAJLAR ===== */
.features {
  background: white;
  padding: 50px 0;
  text-align: center;
}

.features h2 {
  margin-bottom: 30px;
  color: #1a3a5c;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.feature-item {
  padding: 20px;
}

.feature-item .icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.feature-item h4 {
  color: #1a3a5c;
  margin-bottom: 8px;
}

.feature-item p {
  color: #666;
  font-size: 0.95rem;
}

/* ===== SEO İÇERİK ===== */
.seo-content {
  background: white;
  padding: 40px 0;
  margin: 30px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.seo-content article {
  max-width: 800px;
  margin: 0 auto;
}

.seo-content h2 {
  color: #1a3a5c;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.seo-content h3 {
  color: #2c5282;
  margin: 25px 0 12px;
  font-size: 1.2rem;
}

.seo-content p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.7;
}

/* ===== KATEGORİ SAYFASI ===== */
.category-main-image {
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.featured-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.category-page {
  padding: 30px 20px;
}

.breadcrumb {
  margin-bottom: 20px;
  color: #666;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: #2c5282;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.category-page h1 {
  color: #1a3a5c;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.category-intro {
  background: #f1f5f9;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  border-left: 4px solid #2c5282;
}

.product-variants {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.production-notes {
  background: white;
  border: 1px dashed #2c5282;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: #1a3a5c;
}

.production-notes p {
  margin: 5px 0;
}

.variant-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.variant-card.premium {
  border: 2px solid #e67e22;
  background: linear-gradient(to bottom right, #fffaf0, white);
}

.variant-card h3 {
  color: #1a3a5c;
  margin-bottom: 12px;
}

.variant-specs {
  margin: 15px 0;
  font-size: 0.95rem;
}

.variant-specs p {
  margin: 6px 0;
  color: #555;
}

/* Teknik Bilgiler Tablosu */
.tech-info {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.tech-info h2 {
  color: #1a3a5c;
  margin-bottom: 15px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}

.specs-table td:first-child {
  font-weight: 600;
  color: #1a3a5c;
  width: 40%;
}

/* CTA Kutusu */
.cta-box {
  background: linear-gradient(135deg, #1a3a5c, #2c5282);
  color: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.cta-box h3 {
  margin-bottom: 10px;
}

.cta-box p {
  margin-bottom: 20px;
  opacity: 0.95;
}

.btn-large {
  padding: 14px 35px;
  font-size: 1.05rem;
  max-width: 350px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
footer {
  background: #1a202c;
  color: #cbd5e1;
  padding: 40px 0 20px;
  margin-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 25px;
}

.footer-brand h3 {
  color: white;
  margin-bottom: 10px;
}

.manufacturer-note {
  background: rgba(39, 174, 96, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #27ae60;
  margin-top: 10px;
  display: inline-block;
}

.footer-contact h4 {
  color: white;
  margin-bottom: 12px;
}

.footer-contact p {
  margin: 8px 0;
}

.footer-contact a {
  color: #63b3ed;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #90cdf4;
}

.footer-seo h4 {
  color: white;
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-seo p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-seo a {
  color: #94a3b8;
  transition: color 0.3s;
}

.footer-seo a:hover {
  color: #63b3ed;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #2d3748;
  font-size: 0.9rem;
}

.seo-tagline {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 8px;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  margin: 10% auto;
  padding: 25px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  position: relative;
  animation: slideDown 0.3s;
}

@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}

.close:hover {
  color: #e53e3e;
}

.modal h3 {
  color: #1a3a5c;
  margin-bottom: 15px;
}

.modal-product {
  background: #f1f5f9;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.modal-product strong {
  color: #e67e22;
}

#priceForm input {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

#priceForm input:focus {
  outline: none;
  border-color: #2c5282;
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #27ae60, #219a52);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

/* Teşekkür Mesajı */
.thank-you {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  animation: fadeIn 0.4s ease-out;
}

.thank-you p {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

/* ===== MOBİL UYUM ===== */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    margin: 0 8px;
    font-size: 0.95rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-image {
    height: 250px;
    /* Mobilde biraz daha geniş alan */
  }

  .product-overlay-title {
    font-size: 1.1rem !important;
    padding: 35px 10px 10px !important;
  }

  .info-box {
    flex-direction: column;
    text-align: center;
  }

  .modal-content {
    margin: 20% auto;
    padding: 20px 25px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-seo {
    margin-top: 20px;
  }
}

/* Hero Background Fix */
.hero {
  background: linear-gradient(rgba(26, 58, 92, 0.85), rgba(26, 58, 92, 0.85)), url('../images/hero-bg.jpg') center/cover no-repeat;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ===== ERİŞİLEBİLİRLİK ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.btn-price:focus,
.btn-submit:focus,
input:focus {
  outline: 2px solid #2c5282;
  outline-offset: 2px;
}