@import url('https://fonts.googleapis.com/css2?family=Libertinus+Mono&display=swap');

body {
  margin: 0;
  font-family: var(--font-primary);
  background-color: #f9f9f9;
  color: #333;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  margin-bottom: 6rem;
}

.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.hero-content {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  margin: 0;

  text-shadow: 0px 0px 50px rgba(0, 0, 0, 1.9);
  padding: 20px 40px;


}

.breadcrumb {
  background: #fff;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
}

.breadcrumb a {
  color: #555;
  text-decoration: none;
}

.breadcrumb span {
  color: #999;
}

/* ÜRÜN BAŞLIĞI */
.product-title-section {
  text-align: center;
  padding: 3rem 0;
  border-bottom: 2px solid #eee;
  margin-bottom: 3rem;
}

.product-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  letter-spacing: -0.5px;
}

/* ANA LAYOUT - İKİ SÜTUN */
.product-content-layout {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
/* SOL TARAF - SADECE AÇIKLAMA */
.left-description {
  background: #fff;
  border-radius: 29px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  margin-left: 5%;
  margin-top: 5%;
    transition: all 0.4s ease;
}

.left-description:hover {
    transform: 
    translateY(-10px)      /* yukarı kalkma */
    scale(0.95)            /* hafif küçülerek derine kaçma hissi */
    translateZ(-20px);     /* ekstra geri atılma (perspektifle birlikte) */;
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.text-muted {
  color: #999 !important;
}
.description-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  color: #797474;
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.description-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.description-content p {
  margin: 0 0 1rem 0;
}

/* SAĞ TARAF - ÖZELLİKLER */
.right-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-section {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 5%;
}

/* 3D MODEL - KESİKLİ ÇİZGİLER */
.model-3d-wrapper {
  position: relative;
  border: 2.5px solid #9ACBD0;
  border-radius: 29px;
  margin: 1rem;
}

model-viewer {
  width: 100%;
  height: 250px;
  background: #f3f3f3;
  border-radius: 8px;
}

.label-3d,
.hint-3d {
  position: absolute;
  background: rgba(42, 44, 45, 0.9);
  color: white;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid #1c1d1f;
}

.label-3d {
  top: 20px;
  left: 20px;
}

.hint-3d {
  bottom: 20px;
  right: 20px;
}

/* GALERİ BÖLÜMÜ - SADELİK */
.product-gallery-section {
  border-radius: 20px;
  padding: 3rem 0rem;
  margin-top: 0rem;
}

.product-gallery h3 {
  font-size: 2rem;
  font-weight: 1;
  color: rgb(86, 86, 86);
  margin: 0 0 2.5rem 0;
  text-align: center;
  letter-spacing: 0.5px;
  font-family: var(--font-primary);
}

.gallery-slider-container {
  position: relative;
  max-width: 1600px;
  width: 100%;
  overflow:visible;

}

.gallery-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding: 1rem 0 2rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;

}

.gallery-slider::-webkit-scrollbar {
  display: none;
}

/* Sade Gallery Cards */
.gallery-slide {
  flex: 0 0 calc((100% - 4rem) / 3); /* 3 görsel ve 2 adet 1.5rem gap */
  height: 300px;

  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      border-radius: 29px;
}

.gallery-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(81, 126, 127, 0.15);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-slide:hover img {
  transform: scale(1.02);
}

/* Sade Image Counter */
.gallery-slide .image-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Sade Navigation Arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-slider-container:hover .slider-nav {
  opacity: 1;
}

.slider-nav:hover {
  background: rgb(187, 182, 182);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-nav.prev {
  left: 15px;
    top: 150px;
}

.slider-nav.next {
  right: 15px;
  top: 150px;
}

.slider-nav i {
  font-size: 14px;
  color: #cac7c7;
}

/* Sade Dots Navigation */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  height: 10px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(94, 93, 93, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: rgb(55, 54, 54);
  transform: scale(1.2);
}

.slider-dot:hover {
  background: rgba(68, 68, 68, 0.7);
}

/* ACCORDION */
.accordion-item {
  border-top: 1px solid #ddd;
}

.accordion-btn {
  background: none;
  border: none;
  width: 100%;
  padding: 0.5rem;
  font-size: 1.1rem;
  font-weight: 200;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.accordion-btn:hover {
  background: #f8f8f8;
  color: #25292e;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content.open {
  padding: 0 1.5rem 1.5rem;
}

.icon {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: #666;
}

.accordion-btn.active .icon {
  transform: rotate(180deg);
  color: #64696f;
}

/* TEKNİK ÖZELLİKLER */
.specs-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spec-row {
  display: flex;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-title {
  width: 120px;
  font-weight: 600;
  flex-shrink: 0;
  color: #555;
  font-size: 0.95rem;
}

.spec-values div {
  margin-bottom: 3px;
  color: #333;
  font-size: 0.95rem;
}

/* RENK SEÇENEKLERİ */
.variants-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  margin-top:10px;
}

.variant {
  text-align: center;
}

.swatch {
  aspect-ratio: 16 / 9;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swatch:hover {
  transform: scale(1.05);
  border-color: #489fe3;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.variant span {
  font-size: 0.8rem;
  display: block;
  margin-top: 0.5rem;
  color: #666;
  line-height: 1.3;
}

/* VİDEO LİSTESİ */
.video-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.video-list li {
  margin-bottom: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.video-list li:last-child {
  border-bottom: none;
}

.video-list a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.video-list a:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* MODAL STYLES */
.image-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  justify-content: center;
  align-items: center;
}

.image-modal .modal-content {
  max-width: 85vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #333;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.color-info-box {
  position: absolute;
  top: 100px;
  right: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 2;
  z-index: 1001;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.color-info-box .hex {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  margin-right: 10px;
  vertical-align: middle;
  border: 1px solid #ddd;
}

/* VIDEO MODAL */
#videoModal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

#videoModal iframe {
  width: 80vw;
  height: 45vw;
  max-width: 960px;
  max-height: 540px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* RESPONSİVE TASARIM */
@media (max-width: 1200px) {
  .product-content-layout {
    grid-template-columns: 1fr 350px;
    gap: 3rem;
  }

  .gallery-slide {
    flex: 0 0 280px;
    height: 180px;
  }
}

@media (max-width: 992px) {
  .product-content-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .right-features {
    order: -1;
  }

  .product-main-title {
    font-size: 2rem;
  }

  .gallery-slide {
    flex: 0 0 260px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .gallery-slide {
    flex: 0 0 240px;
    height: 150px;
  }

  .gallery-slider {
    gap: 1rem;
  }

  .container {
    padding: 1rem;
  }

  .product-main-title {
    font-size: 1.8rem;
  }

  .product-title-section {
    padding: 2rem 0;
  }

  .left-description,
  .feature-section,
  .product-gallery-section {
    padding: 1.5rem;
  }

  .accordion-btn {
    padding: 1rem;
    font-size: 1rem;
  }

  .accordion-content.open {
    padding: 0 1rem 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-slide {
    flex: 0 0 220px;
    height: 140px;
  }

  .product-main-title {
    font-size: 1.5rem;
  }

  .variants-list {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}
