/* Ürün Detay Sayfası Stil Kodları */

/* ------- GENEL TASARIM PRENSİPLERİ (PRD dokümanı) ------- */
/* 
   RENK PALETİ:
   Ana Renk (Turuncu): #f37021
   Başlık/Metin Rengi: #444444
   Açık Gri (Arkaplan): #f9f9f9
   
   TİPOGRAFİ:
   Başlıklar: 22-24px, bold
   Alt başlıklar: 18-20px, medium
   Normal metin: 14-16px, regular
   Form etiketleri: 15px, semi-bold
*/

.product-detail-section {
  padding: 0;
}

/* Ürün Başlık Stillemeleri */
.product-h1 {
  text-align: left;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.product-h1 h1 {
  text-align: left;
  margin: 0;
  font-family: sans-serif;
}

.product-h1 h1 .product-code {
  font-size: 24px;
  font-weight: 700;
  color: #444;
  display: block;
  margin-bottom: 8px;
}

.product-h1 h1 .product-title {
  font-size: 20px;
  color: #777;
  font-weight: 500;
  display: block;
}

/* Ana İçerik Bölümü */
.product-main-content {
  margin-bottom: 30px;
}

/* Ürün Görseli - Geliştirilmiş Tasarım */
.productCover {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  padding: 0;
  background-color: #fff;
}

.productCover a {
  display: block;
  position: relative;
  overflow: hidden;
}

.productCover img.img-responsive {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 500px;
  transition: all 0.4s ease;
  display: block;
}

.productCover:hover img.img-responsive {
  transform: scale(1.03);
}

/* Büyüteç ikonu - geliştirilmiş tasarım */
.productCover .zoom-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(243, 112, 33, 0.85);
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.productCover:hover .zoom-icon {
  opacity: 1;
  transform: translateY(0);
}

.productCover .zoom-icon:hover {
  background-color: #f37021;
  transform: scale(1.1);
}

.productCover .zoom-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(10);
}

/* Overlay efekti */
.productCover a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.productCover:hover a:before {
  opacity: 1;
}

/* Form düzenlemeleri - Geliştirilmiş Modern Tasarım */
.form-container {
  border: none;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12), 0 1px 5px rgba(0,0,0,0.05);
  background-color: #fff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 500px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-container:hover {
  box-shadow: 0 15px 35px rgba(243, 112, 33, 0.18), 0 5px 15px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

.form-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #f37021, #ff9a56);
}

#callme-form {
  padding: 30px 25px;
  background-color: #fff;
  width: 100%;
  margin: 0;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

#callme-form:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#f37021 0.5px, transparent 0.5px);
  background-size: 12px 12px;
  opacity: 0.03;
  z-index: -1;
}

.form-title-container {
  position: relative;
  text-align: center;
  background: linear-gradient(145deg, #fff, #f9f9f9);
  padding: 25px 0 30px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  margin-bottom: 0;
}

.form-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1.5px;
  color: #f37021;
  text-transform: uppercase;
  position: relative;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.7);
}

.form-title:after {
  content: '';
  position: absolute;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #f37021, #ff9a56);
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.form-group:last-child {
  margin-bottom: 10px;
}

.form-group label {
  margin-bottom: 10px;
  font-weight: 600;
  display: block;
  font-size: 15px;
  color: #444;
  transition: all 0.3s ease;
  transform-origin: left;
}

.form-group:focus-within label {
  color: #f37021;
  transform: scale(1.03);
}

.form-group label small {
  color: #888;
  font-weight: 400;
  font-size: 12px;
  margin-left: 5px;
  opacity: 0.7;
}

.form-control {
  border-radius: 8px;
  height: 50px;
  background: #f5f7fa;
  border: 2px solid #e5e9f2;
  padding: 12px 16px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.form-control:focus {
  border-color: #f37021;
  box-shadow: 0 0 0 4px rgba(243, 112, 33, 0.15);
  outline: none;
  background-color: #fff;
}

.form-control::placeholder {
  color: #aab3c3;
  font-weight: 400;
}

.submit-button {
  background: linear-gradient(135deg, #f37021, #ff8f41);
  border: none;
  color: #fff;
  padding: 14px 35px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 180px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(243, 112, 33, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.submit-button:hover {
  background: linear-gradient(135deg, #e05e10, #f37021);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 7px 15px rgba(243, 112, 33, 0.4);
}

.submit-button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 3px 6px rgba(243, 112, 33, 0.2);
}

.submit-button:before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #f37021, transparent, #f37021);
  z-index: -1;
  transform: scale(1.05) translateX(-100%);
  filter: blur(20px);
  transition: all 0.8s ease;
}

.submit-button:hover:before {
  transform: scale(1.1) translateX(100%);
}

/* Form alanlarının hover efektleri */
.form-group {
  position: relative;
  overflow: hidden;
}

.form-group:after {
  content: '';
  position: absolute;
  left: 15px;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f37021, #ff8f41);
  transition: width 0.3s ease;
}

.form-group:hover:after {
  width: 85%;
}

/* Input alanları için vurgu efekti */
.form-group .highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.3;
}

.form-control:focus ~ .highlight {
  animation: input-highlight 1s ease;
}

@keyframes input-highlight {
  0% {
    left: -100px;
    opacity: 0.1;
    background: linear-gradient(90deg, transparent, rgba(243, 112, 33, 0.2), transparent);
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Placeholder metin animasyonu */
.form-control::placeholder {
  transition: all 0.3s ease;
}

.form-control:focus::placeholder {
  transform: translateX(10px);
  opacity: 0.5;
}

/* Sertifika başlığı */
.certificate-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #444;
  margin: 35px 0 25px;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 0.5px;
}

.certificate-title:after {
  content: '';
  width: 80px;
  height: 2px;
  background-color: #f37021;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
}

/* Sertifika butonları için stil */
.certificate-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 30px 0;
}

.certificate-buttons .btn {
  margin: 8px;
  min-width: 110px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  border-radius: 4px;
  flex: 1;
  max-width: 150px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.certificate-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Buton stillemeleri */
.btn.btn-theme-color {
  background-color: #f37021;
  border-color: #f37021;
  color: white !important;
}

.btn.btn-theme-color:hover {
  background-color: #e05e10;
  border-color: #e05e10;
}

/* Açıklama Bölümü */
.description {
  margin-top: 20px !important;
  line-height: 1.8;
  font-size: 16px;
  padding: 25px;
  color: #444;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  width: 100%;
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border: 1px solid #f0f0f0;
}

.description:after {
  content: '';
  position: absolute;
  width: 180px;
  height: 4px;
  background-color: #f37021;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
}

.description p:last-child {
  margin-bottom: 0;
}

/* Ürün İçerik Stilleri */
.product-body {
  clear: both;
  padding: 20px 0;
}

.product-body h2, .section-title {
  font-size: 20px;
  font-weight: 700;
  color: #444;
  margin: 30px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #f37021;
}

.product-body p {
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Ürün Uygulama Görselleri - 3'lü Grid Yapısı Revizyonu */
.application-images {
  display: flex;
  flex-wrap: wrap;
  margin: 20px -10px 30px;
}

.application-images .relative {
  padding: 0 10px;
  margin-bottom: 20px;
  float: left;
}

.application-images::after {
  content: "";
  display: table;
  clear: both;
}

/* Uygulama yöntemleri başlık */
.product-body h2.section-title {
  display: block;
  margin-top: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 25px;
  position: relative;
  color: #444;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-body h2.section-title:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: #f37021;
}

/* Kolonlu yapı - Responsive düşünülerek */
.application-images .relative.col-md-4 {
  width: 33.333%;
}

@media (max-width: 992px) {
  .application-images .relative.col-md-4 {
    width: 50%;
  }
}

@media (max-width: 576px) {
  .application-images .relative.col-md-4 {
    width: 100%;
  }
}

.application-item {
  margin: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}

.application-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.application-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: all 0.5s ease;
}

.application-item:hover img {
  transform: scale(1.03);
}

.application-item span {
  display: block;
  padding: 12px 15px;
  font-size: 14px;
  color: #555;
  background-color: #fff;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* Uygulama görseli için overlay efekti */
.application-item a {
  position: relative;
  display: block;
  overflow: hidden;
}

.application-item a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(243, 112, 33, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.application-item:hover a:before {
  opacity: 1;
}

/* Büyüteç ikonu ekleme */
.application-item a:after {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px;
  height: 50px;
  background: rgba(243, 112, 33, 0.9);
  color: #fff;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3;
}

.application-item:hover a:after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.product-imagesx {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  background-color: #f9f9f9;
  padding: 20px 10px;
  border-radius: 8px;
}

.iconItem {
  width: 150px;
  margin: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.iconItem:hover {
  transform: translateY(-3px);
}

.iconItem img {
  max-width: 60px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.iconItem:hover img {
  transform: scale(1.1);
}

.iconItem span {
  display: block;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.orange-hr {
  height: 2px;
  background-color: #f37021;
  width: 100px;
  margin: 40px auto;
}

/* Sidebar Kategoriler */
.sidebar {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 18px;
  font-weight: 700;
  color: #444;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.line-bottom:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #f37021;
}

.categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories li {
  border-bottom: 1px solid #f0f0f0;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.categories li:hover {
  background-color: #f9f9f9;
  padding-left: 5px;
}

.categories li a {
  color: #555;
  font-size: 14px;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.categories li a:hover {
  color: #f37021;
}

/* Yardımcı Sınıflar */
.mobile-show {
  display: none;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Responsive Düzenlemeler - Revizyonlu */
@media (max-width: 992px){
  .mobile-show{
    display: block;
  }
  
  .widget{
    margin-bottom: 0;
  }
  
  .mobil-margin{
    margin-bottom: 30px;
  }
  
  .desktop-show{
    display: none;
  }
  
  .product-h1 h1 .product-code,
  .product-h1 h1 .product-title {
    text-align: center;
  }
  
  /* Form ve ürün görseli alanları için revizyonlar */
  .product-main-content .row {
    display: flex;
    flex-direction: column;
  }
  
  .productCover {
    margin-bottom: 20px;
    width: 100%;
    padding: 15px;
  }
  
  /* Uygulama görsellerinin 2'li grid yapısı */
  .application-images .relative.col-md-4 {
    width: 50%; /* Tablet görünümünde 2 kolon */
  }
  
  .application-item img {
    height: 180px; /* Tablet için daha küçük yükseklik */
  }
  
  /* Form alanları alt alta gelsin */
  #callme-form .col-md-6 {
    width: 100%;
    padding: 0 10px;
  }
  
  .certificate-buttons .btn {
    max-width: 110px;
  }
  
  .product-images .relative {
    width: 50%;
  }
  
  .form-control {
    height: 40px;
  }
  
  .submit-button {
    min-width: 160px;
    padding: 10px 25px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .certificate-buttons {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .certificate-buttons .btn {
    margin: 5px;
    min-width: 90px;
    max-width: 120px;
  }
  
  .productCover {
    padding-bottom: 0;
  }
  
  .form-container {
    margin-top: 0;
  }
  
  .application-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .productCover, #callme-form {
    padding: 15px;
  }
  
  .certificate-buttons {
    display: flex !important;
  }
  
  .certificate-buttons .btn {
    margin: 5px;
    font-size: 14px;
    min-width: 80px;
    padding: 10px 15px;
    max-width: 100px;
  }
  
  h4 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .certificate-title {
    font-size: 18px;
    margin: 25px 0 20px;
  }
  
  .certificate-title:after {
    width: 60px;
    bottom: -6px;
  }
  
  .form-group > label {
    font-size: 14px;
  }
  
  .description {
    padding: 15px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .description:after {
    width: 140px;
  }
  
  .submit-button {
    width: 100%;
    max-width: 100% !important;
    padding: 10px 20px;
    font-size: 15px;
  }
  
  .product-images .relative {
    width: 100%;
  }
  
  .form-control {
    height: 38px;
    font-size: 14px;
  }
  
  .application-item {
    margin-bottom: 15px;
  }
  
  .product-h1 {
    text-align: center;
  }
  
  .product-h1 h1 {
    text-align: center;
  }
  
  .iconItem {
    width: 120px;
    margin: 10px;
  }
  
  .product-body h2, .section-title {
    font-size: 18px;
    text-align: center;
  }
  
  .product-body h2:after, .section-title:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Mobil cihazlar için uygulama görselleri tek kolon */
  .application-images .relative.col-md-4 {
    width: 100%; /* Mobil görünümde tek kolon */
  }
  
  .application-item img {
    height: 200px; /* Mobilde görsellerin yüksekliği */
  }
  
  .product-main-content .row {
    display: block;
  }
  
  .productCover, .col-md-6 {
    width: 100%;
  }
} 