/* ==========================================================================
   ÜRÜN DETAY SAYFALARI ORTAK STİLLERİ (urun-detay.css)
   ========================================================================== */

/* 1. ÜRÜN TANITIM (HERO) BÖLÜMÜ */
.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.product-hero__subtitle {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--color-red);
  font-weight: 600;
  margin-bottom: 24px;
}

/* 2. İKİLİ GÖRSEL GALERİSİ */
.product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-gallery img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.3s ease;
}

.product-gallery img:hover {
  transform: translateY(-4px);
}

/* 3. TEKNİK ÖZELLİK TABLOLARI */
.product-tables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.spec-table-card {
  background: #ffffff;
  border: 1px solid rgba(16, 17, 20, 0.06);
  border-radius: 24px;
  padding: 32px 40px;
  box-shadow: 0 10px 40px rgba(16, 17, 20, 0.03);
}

.spec-table-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  color: var(--color-blue-dark);
  margin-bottom: 24px;
  font-weight: 700;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 16px 0;
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  text-align: left;
  line-height: 1.6;
}

.spec-table th {
  width: 43%;
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
  vertical-align: top;
}

.spec-table td {
  font-weight: 500;
  color: var(--color-black);
  font-size: 0.95rem;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
  padding-bottom: 0;
}

/* 4. KULLANIM ALANLARI BÖLÜMÜ */
.usage-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.usage-card {
  background: #ffffff;
  border: 1px solid rgba(16, 17, 20, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 17, 20, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(16, 17, 20, 0.08);
}

.usage-card__img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.usage-card__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.usage-card:hover .usage-card__img-wrapper img {
  transform: scale(1.05);
}

.usage-card__content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.usage-card__content h3 {
  font-size: 1.15rem;
  color: var(--color-blue-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.usage-card__content p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.usage-card__tag {
  display: inline-block;
  align-self: flex-start;
  background: #f1f5f9;
  color: #475569;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 5. İHRACAT VE TEKLİF FORMU BÖLÜMÜ */
.export-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.export-form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(16, 17, 20, 0.05);
  border: 1px solid rgba(16, 17, 20, 0.04);
}

.custom-quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.custom-quote-form .form-group {
  margin-bottom: 20px;
}

.custom-quote-form label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Zorunlu Kırmızı Etiketler */
.required-badge {
  background: var(--color-red);
  color: white;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  text-transform: none;
}

.custom-quote-form .form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--color-black);
  background: transparent;
  transition: all 0.2s ease;
}

.custom-quote-form .form-control:focus {
  outline: none;
  border: 1px solid var(--color-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 58, 138, 0.05);
}

/* Select (Açılır Menü) Ok Tasarımı */
.custom-quote-form .select-css {
  appearance: none;
  border-style: solid; /* Select alanları kesikli değil düz çizgi olsun */
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23475569%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px auto;
  padding-right: 40px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.form-checkbox input {
  margin-top: 4px;
  accent-color: var(--color-red);
}

.form-checkbox label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: none;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 0;
  letter-spacing: 0;
}

.form-actions {
  display: flex;
  gap: 12px;
}

#teklif-formu {
  scroll-margin-top: 50px; 
}

/* ==========================================================================
   MOBİL UYUMLULUK (RESPONSIVE) AYARLARI
   ========================================================================== */
@media (max-width: 900px) {
  .product-hero,
  .product-gallery,
  .product-tables-grid,
  .export-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .usage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-hero__image-wrapper {
    min-height: 430px !important;
  }
  
  .spec-table-card {
    padding: 24px;
  }
  
  .export-form-card {
    padding: 24px;
  }
  
  .custom-quote-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 600px) {
  .usage-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
  }
}

/* --- MODÜLER TEKLİF FORMU IFRAME YÜKSEKLİĞİ (Kesin Çözüm) --- */
.teklif-iframe { 
  height: 1200px !important; 
  width: 100%;
  display: block;
  margin-bottom: 80px !important; /* Footer ile form arasına zorunlu geniş boşluk */
}

@media (max-width: 900px) {
  .teklif-iframe { 
    height: 1650px !important; 
    margin-bottom: 60px !important;
  }
}

@media (max-width: 600px) {
  .teklif-iframe { 
    height: 1800px !important; 
    margin-bottom: 60px !important;
  }
}


/* ==========================================================================
   ÜRÜN DETAY - TEKLİF FORMU İFRAME MOBİL YÜKSEKLİK AYARI
   ========================================================================== */

/* Masaüstü standart yükseklik */
iframe[src*="urun-teklif-formu.html"],
.urun-teklif-iframe {
  width: 100% !important;
  max-width: 1200px !important;
  height: 1350px !important;
  border: none !important;
  background: transparent !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Mobil cihazlarda formun alt alta uzayacak tüm içeriği (harita, form alanları, butonlar) 
   eksiksiz gösterebilmesi için iframe yüksekliği 1600px'e çıkarılmıştır */
@media (max-width: 900px) {
  iframe[src*="urun-teklif-formu.html"],
  .urun-teklif-iframe {
    height: 2550px !important;
  }
}

/* Üst Başlık Bloğu (Tam Ortalı) */
.export-header-block {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px auto;
  padding: 0;
}

.export-header-block .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(215, 24, 42, 0.12); /* Pembe oval zemin */
  color: #d7182a;                       /* Kırmızı metin */
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.export-header-block h2 {
  color: #0f172a;
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px 0;
  letter-spacing: -0.025em;
  text-align: center;
}

.export-header-block p {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
}