/* css/detail-layout.css */

body {
   background-color: #f7f7f9;
   color: #2b2b2b;
   margin: 0;
   font-family: 'Inter', sans-serif;
   overflow-x: hidden;
}

.detail-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 16px;
}

/* Top Bar */
.product-top-bar {
   background: #ffffff;
   border-bottom: 1px solid #eaeaea;
   padding: 14px 0;
   position: sticky;
   top: 0;
   z-index: 100;
}

.btn-back-modern {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   color: #333;
   font-weight: 700;
   font-size: 0.9rem;
   text-decoration: none;
   transition: all 0.2s ease;
}

.btn-back-modern svg {
   width: 18px;
   height: 18px;
}

.btn-back-modern:hover {
   color: var(--color-maroon, #9c0004);
   transform: translateX(-3px);
}

/* Hero Section */
.detail-hero {
   background:
      linear-gradient(rgba(18, 18, 22, 0.82), rgba(18, 18, 22, 0.88)),
      url('../asset-gambar/img/about/volume.jpg') center/cover no-repeat;
   padding: 55px 20px;
   text-align: center;
   color: #ffffff;
}

.hero-brand {
   font-size: 0.8rem;
   font-weight: 700;
   letter-spacing: 2px;
   color: #c9c9c9;
   display: block;
   margin-bottom: 8px;
}

#detail-title {
   font-family: 'Montserrat', sans-serif;
   font-size: 2.3rem;
   font-weight: 900;
   margin: 0 0 8px 0;
}

.hero-tagline {
   color: #e5e5e5;
   font-size: 0.9rem;
   letter-spacing: 1px;
   margin: 0;
}

/* Split Intro Grid */
.product-intro-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 35px;
   padding: 40px 0;
   min-width: 0;
}

.main-preview-wrap {
   position: relative;
   height: 340px;
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
   background-color: #eee;
}

.main-preview-wrap img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

.preview-badge {
   position: absolute;
   bottom: 12px;
   right: 12px;
   background: rgba(0, 0, 0, 0.7);
   color: #fff;
   font-size: 0.75rem;
   padding: 4px 10px;
   border-radius: 4px;
}

.thumb-strip {
   display: flex;
   gap: 10px;
   margin-top: 12px;
   overflow-x: auto;
   padding-bottom: 5px;
}

.thumb-box {
   width: 75px;
   height: 55px;
   flex-shrink: 0;
   border-radius: 6px;
   overflow: hidden;
   cursor: pointer;
   border: 2px solid transparent;
   opacity: 0.6;
   transition: all 0.2s ease;
}

.thumb-box.active,
.thumb-box:hover {
   opacity: 1;
   border-color: var(--color-maroon, #9c0004);
}

.thumb-box img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.product-badge {
   display: inline-block;
   background: rgba(156, 0, 4, 0.08);
   color: var(--color-maroon, #9c0004);
   font-weight: 700;
   font-size: 0.8rem;
   padding: 6px 14px;
   border-radius: 20px;
   margin-bottom: 12px;
}

.desc-text-wrapper p {
   font-size: 0.92rem;
   line-height: 1.75;
   color: #555;
   text-align: justify;
   margin-bottom: 12px;
}

.product-cta-box {
   margin-top: 20px;
   padding: 16px;
   background: #ffffff;
   border-left: 4px solid var(--color-maroon, #9c0004);
   border-radius: 6px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.product-cta-box p {
   margin: 0 0 8px 0;
   font-weight: 600;
   font-size: 0.88rem;
}

.btn-consult {
   display: inline-block;
   background: var(--color-maroon, #9c0004);
   color: #ffffff;
   font-weight: 700;
   font-size: 0.85rem;
   padding: 9px 20px;
   border-radius: 30px;
   text-decoration: none;
}

/* Section Titles */
.section-title-wrap {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-bottom: 24px;
}

.red-bar {
   width: 5px;
   height: 24px;
   background: var(--color-maroon, #9c0004);
   border-radius: 2px;
}

.section-heading {
   font-family: 'Montserrat', sans-serif;
   font-size: 1.35rem;
   font-weight: 800;
   color: #1a1a1a;
   margin: 0;
}

/* Fitur 3 Kolom */
.features-section {
   padding: 35px 0;
}

.features-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
}

.feature-card {
   background: #ffffff;
   border-radius: 10px;
   padding: 20px;
   box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.feature-card-header {
   display: flex;
   align-items: center;
   gap: 8px;
   margin-bottom: 15px;
}

.header-indicator {
   width: 4px;
   height: 18px;
   background: var(--color-maroon, #9c0004);
}

.feature-card-header h3 {
   font-family: 'Montserrat', sans-serif;
   font-size: 0.95rem;
   font-weight: 800;
   margin: 0;
   color: #111;
}

.feature-items {
   list-style: none;
   padding: 0;
   margin: 0;
}

.feature-items li {
   font-size: 0.82rem;
   color: #4b5563;
   padding: 7px 0;
   border-bottom: 1px dashed #edf0f2;
   display: flex;
   align-items: center;
   gap: 8px;
}

.feature-items li i {
   color: var(--color-maroon, #9c0004);
}

/* Related Projects */
.related-projects-section {
   padding: 40px 0;
   border-top: 1px solid #e5e5e5;
}

.related-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
}

.related-card {
   background: #ffffff;
   border-radius: 8px;
   overflow: hidden;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.related-card img {
   width: 100%;
   height: 180px;
   object-fit: cover;
   display: block;
}

.related-card-body {
   padding: 14px;
}

.related-card-body h4 {
   font-size: 0.9rem;
   font-weight: 700;
   margin: 0 0 4px 0;
}

.related-card-body span {
   font-size: 0.78rem;
   color: #888;
}

.detail-footer {
   background: #18181b;
   color: #a1a1aa;
   text-align: center;
   padding: 22px 0;
   font-size: 0.82rem;
}

/* Responsiveness Ponsel */
@media (max-width: 860px) {
   .product-intro-grid,
   .features-grid,
   .related-grid {
      grid-template-columns: 1fr;
   }

   .main-preview-wrap {
      height: 260px;
   }

   #detail-title {
      font-size: 1.8rem;
   }
}
