/* ==========================================================================
   BESTEC MARINE ENGINEERING - PRODUCTS PAGE STYLESHEET
   Clean, modern corporate architecture matching Bestec design system
   Path: css/products.css
   ========================================================================== */

:root {
  --prod-navy: #062760;
  --prod-navy-dark: #051a40;
  --prod-blue: #1c64a1;
  --prod-cyan: #00a8ff;
  --prod-green: #6bb62e;
  --prod-text-main: #1e293b;
  --prod-text-muted: #64748b;
  --prod-border: #e2e8f0;
  --prod-card-bg: #ffffff;
}

/* --------------------------------------------------------------------------
   Product Hero Banner
   -------------------------------------------------------------------------- */
.product-hero-banner {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 60px 0;
  color: #ffffff;
}

.product-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 26, 64, 0.92) 0%, rgba(9, 42, 75, 0.85) 60%, rgba(28, 100, 161, 0.72) 100%);
  z-index: 1;
}

.product-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.product-breadcrumb a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.product-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 14px;
}

.product-hero-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6bb62e;
  box-shadow: 0 0 8px #6bb62e;
}

.product-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.product-hero-title span {
  color: #38bdf8;
}

.product-hero-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1c64a1 0%, #6bb62e 100%);
  border-radius: 4px;
  margin-bottom: 16px;
}

.product-hero-desc {
  font-size: clamp(14px, 1.8vw, 16.5px);
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 24px;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-prod-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #1c64a1 0%, #062760 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(6, 39, 96, 0.35);
  transition: all 0.3s ease;
}

.btn-prod-primary:hover {
  background: linear-gradient(135deg, #0077cc 0%, #1c64a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 168, 255, 0.4);
}

.btn-prod-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.btn-prod-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Capabilities Ribbon Bar
   -------------------------------------------------------------------------- */
.product-ribbon {
  background: #ffffff;
  border-bottom: 1px solid var(--prod-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 20px 0;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ribbon-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0f7ff;
  color: var(--prod-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ribbon-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--prod-navy);
  margin-bottom: 2px;
}

.ribbon-sub {
  font-size: 12px;
  color: var(--prod-text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Main Content Layout
   -------------------------------------------------------------------------- */
.product-main-section {
  padding: 45px 0 55px 0;
  background: #f8fafc;
}

.product-feature-card {
  background: #ffffff;
  border: 1px solid var(--prod-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(9, 42, 75, 0.04);
  margin-bottom: 30px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.product-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(9, 42, 75, 0.08);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
  background: #0f172a;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-feature-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 39, 96, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-card-body {
  padding: 28px 26px;
}

.product-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--prod-blue);
  background: rgba(28, 100, 161, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--prod-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 14px;
  color: var(--prod-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Feature Spec List */
.product-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.product-spec-list li {
  font-size: 13.5px;
  color: #334155;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.product-spec-list li .spec-check {
  color: var(--prod-green);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: -1px;
}

/* Technical Specification Table */
.spec-table-wrap {
  background: #f8fafc;
  border: 1px solid var(--prod-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
}

.spec-table {
  width: 100%;
  font-size: 13px;
  margin-bottom: 0;
}

.spec-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: var(--prod-navy);
  padding: 8px 14px;
  border-bottom: 1px solid var(--prod-border);
}

.spec-table td {
  padding: 8px 14px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   Ship Spares Supply Categorized Section
   -------------------------------------------------------------------------- */
.spares-section-header {
  background: linear-gradient(135deg, #062760 0%, #092a4b 100%);
  color: #ffffff;
  border-radius: 14px 14px 0 0;
  padding: 24px 28px;
}

.spares-section-header h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.spares-section-header p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 0;
}

.spares-card-container {
  background: #ffffff;
  border: 1px solid var(--prod-border);
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(9, 42, 75, 0.04);
  margin-bottom: 30px;
}

.spares-category-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  height: 100%;
  transition: all 0.25s ease;
}

.spares-category-box:hover {
  background: #ffffff;
  border-color: var(--prod-blue);
  box-shadow: 0 6px 18px rgba(28, 100, 161, 0.08);
  transform: translateY(-2px);
}

.spares-cat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--prod-navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spares-cat-title i {
  color: var(--prod-blue);
  font-size: 17px;
}

.spares-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spares-items-list li {
  font-size: 13px;
  color: #475569;
  padding: 5px 0;
  border-bottom: 1px dashed #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.spares-items-list li:last-child {
  border-bottom: none;
}

.spares-items-list li i {
  color: var(--prod-green);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */
.product-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--prod-border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

.product-sidebar-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--prod-navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.product-sidebar-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--prod-blue);
}

.product-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-nav-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.product-nav-list li a:hover {
  background: #f0f7ff;
  color: var(--prod-blue);
  padding-left: 16px;
}

.product-nav-list li a i {
  font-size: 12px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.product-nav-list li a:hover i {
  color: var(--prod-blue);
  transform: translateX(3px);
}

/* Sidebar CTA Box */
.sidebar-cta-box {
  background: linear-gradient(135deg, #062760 0%, #1c64a1 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}

.sidebar-cta-box h5 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.sidebar-cta-box p {
  font-size: 12.5px;
  color: #cbd5e1;
  margin-bottom: 16px;
  line-height: 1.5;
}

.sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: #ffffff;
  color: var(--prod-navy) !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.sidebar-cta-btn:hover {
  background: #f8fafc;
  color: var(--prod-blue) !important;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Bottom Call to Action Banner
   -------------------------------------------------------------------------- */
.product-bottom-cta {
  background: linear-gradient(135deg, #061d35 0%, #092a4b 60%, #102e52 100%);
  color: #ffffff;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-banner-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.cta-banner-sub {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 0;
}

/* Anchorage Delivery Showcase Card */
.product-anchorage-showcase {
  background: #ffffff;
  border: 1px solid var(--prod-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(9, 42, 75, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.product-anchorage-showcase:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(9, 42, 75, 0.08);
}

.anchorage-img-wrap {
  position: relative;
  height: 100%;
  min-height: 220px;
  background: #0f172a;
  overflow: hidden;
}

.anchorage-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-anchorage-showcase:hover .anchorage-img-wrap img {
  transform: scale(1.04);
}

.anchorage-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(6, 39, 96, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.anchorage-content {
  padding: 24px 22px;
}

.anchorage-content h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--prod-navy);
  margin-bottom: 8px;
}

.anchorage-content p {
  font-size: 13.5px;
  color: var(--prod-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.anchorage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.anchorage-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--prod-blue);
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Responsive */
@media (max-width: 991px) {
  .product-img-wrap {
    min-height: 220px;
  }
  .product-img-wrap img {
    min-height: 220px;
    max-height: 280px;
  }
  .ribbon-item {
    margin-bottom: 12px;
  }
}
