/* ============================================
   PRODUCT DETAIL PAGE - INDUSTRIAL MODERN DESIGN
   ============================================ */

/* ─── BREADCRUMB ─── */
.breadcrumb-wrapper {
  background: #f3f4f6;
  padding: 6rem 2rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.breadcrumb-inner a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-inner a:hover {
  color: #111827;
}

.breadcrumb-separator {
  color: #d1d5db;
}

.breadcrumb-current {
  color: #111827;
  font-weight: 600;
}

/* ─── PRODUCT HERO ─── */
.product-hero {
  background: 
    linear-gradient(135deg, rgba(15,23,42,0.75) 0%, rgba(30,41,59,0.65) 100%),
    url('tupian/bg-marine.jpg') center/cover no-repeat;
  padding: 5rem 2rem;
  padding-top: calc(5rem + 70px);
  min-height: 320px;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.product-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.product-hero-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out;
}

.product-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-icon {
  font-size: 1.125rem;
  color: #60a5fa;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.product-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  font-family: 'Inter', system-ui, sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.product-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.6;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 6rem 2rem;
  }
  
  .product-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .product-subtitle {
    font-size: 1.125rem;
  }
}

/* ─── PRODUCT SHOWCASE ─── */
.product-showcase {
  padding: 4rem 2rem;
  background: #ffffff;
}

.product-showcase-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

/* ─── GALLERY ─── */
.product-gallery {
  position: sticky;
  top: 100px;
}

.gallery-main {
  position: relative;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  transition: all 0.3s;
}

.gallery-main:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-main:hover img {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-main:hover .gallery-overlay {
  opacity: 1;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e5e7eb;
  font-size: 1.25rem;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  opacity: 0;
  visibility: hidden;
}

.gallery-main:hover .gallery-nav {
  opacity: 1;
  visibility: visible;
}

.gallery-nav.prev {
  left: 1rem;
}

.gallery-nav.next {
  right: 1rem;
}

.gallery-nav:hover {
  background: #111827;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #e5e7eb;
  transition: all 0.2s;
  background: #f9fafb;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  border-color: #9ca3af;
}

.thumb.active {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

/* ─── PRODUCT INFO ─── */
.product-info {
  padding: 1rem 0;
}

.info-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1.5rem;
}

.product-category {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: -2px;
}

.rating-text {
  font-size: 0.875rem;
  color: #6b7280;
}

.info-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-family: 'Inter', system-ui, sans-serif;
}

.info-description {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ─── SPEC BLOCK ─── */
.info-spec-block {
  background: #f0f4ff;
  border-left: 4px solid #2563EB;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.spec-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.spec-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563EB;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 70px;
  padding-top: 2px;
}

.spec-value {
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.6;
}

.spec-value small {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: #64748b;
  margin-top: 2px;
}

/* ─── FEATURES GRID ─── */
.info-features {
  margin-bottom: 3rem;
}

.info-features h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-features h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: #3b82f6;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s;
}

.feature-item:hover {
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: #3b82f6;
}

.feature-text {
  flex: 1;
}

.feature-text strong {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  display: block;
  margin-bottom: 0.25rem;
}

.feature-text span {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ─── ACTIONS ─── */
.info-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: #111827;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-secondary {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

/* ─── META INFO ─── */
.info-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.meta-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

/* ─── PRODUCT TYPES SECTION ─── */
.product-types {
  padding: 6rem 2rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 100%;
}

.section-header .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: center;
  width: 100%;
}

.section-desc {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

.section-label {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  padding: 0.375rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-header .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  font-family: 'Inter', system-ui, sans-serif;
}

.section-desc {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.type-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #d1d5db;
}

.type-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f3f4f6;
}

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

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

.type-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.type-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
}

.type-content p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.type-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.type-specs li {
  font-size: 0.8125rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.type-specs li::before {
  content: '•';
  color: #3b82f6;
  font-weight: 700;
  font-size: 1rem;
}

/* ─── TECH HIGHLIGHTS ─── */
.tech-highlights {
  padding: 6rem 2rem;
  background: #111827;
  color: #ffffff;
}

.highlights-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.highlight-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  transition: all 0.3s;
}

.highlight-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.highlight-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b82f6;
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
}

.highlight-label {
  font-size: 1rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.highlight-card p {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.5;
}

/* ─── CTA SECTION ─── */
.product-cta {
  background: #f3f4f6;
  padding: 6rem 2rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.product-cta .cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.product-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  font-family: 'Inter', system-ui, sans-serif;
}

.product-cta p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  color: #111827;
  border: 2px solid #d1d5db;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .product-showcase-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .product-gallery {
    position: relative;
    top: 0;
  }
  
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 3rem 1.5rem;
  }
  
  .product-showcase {
    padding: 2rem 1.5rem;
  }
  
  .info-actions {
    flex-direction: column;
  }
  
  .btn-large {
    width: 100%;
    justify-content: center;
  }
  
  .types-grid {
    grid-template-columns: 1fr;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .gallery-thumbs {
    gap: 0.5rem;
  }
  
  .thumb {
    width: 64px;
    height: 64px;
  }
}

/* ─── ANIMATIONS ─── */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-hero-inner,
.product-gallery,
.product-info,
.type-card,
.highlight-card {
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
}

.product-hero-inner {
  animation-delay: 0.1s;
}

.product-gallery {
  animation-delay: 0.2s;
}

.product-info {
  animation-delay: 0.3s;
}

.type-card:nth-child(1) {
  animation-delay: 0.1s;
}

.type-card:nth-child(2) {
  animation-delay: 0.2s;
}

.type-card:nth-child(3) {
  animation-delay: 0.3s;
}

.highlight-card:nth-child(1) {
  animation-delay: 0.1s;
}

.highlight-card:nth-child(2) {
  animation-delay: 0.15s;
}

.highlight-card:nth-child(3) {
  animation-delay: 0.2s;
}

.highlight-card:nth-child(4) {
  animation-delay: 0.25s;
}

/* ─── UTILITY CLASSES ─── */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

/* ─── FOCUS STYLES ─── */
*:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── SCROLL BEHAVIOR ─── */
html {
  scroll-behavior: smooth;
}

/* ─── SELECTION STYLES ─── */
::selection {
  background: #3b82f6;
  color: #ffffff;
}

::-moz-selection {
  background: #3b82f6;
  color: #ffffff;
}