/* Product Page Navigation Styles */

/* Ensure proper spacing after header */
.page-content {
  padding-top: 30px; /* Reduced from margin-top hack */
}

/* Product navigation header */
.quick-nav {
  background: linear-gradient(135deg, #2299ad, #1a7a8a);
  color: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(34, 153, 173, 0.3);
  margin-top: 0; /* Ensure no extra top margin */
}

.quick-nav h4 {
  margin: 0 0 15px 0;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-btn i {
  margin-right: 8px;
}

/* Product subtitle for non-navigation pages */
.product-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Product navigation arrows */
.product-nav-arrows {
  display: flex;
  gap: 10px;
  margin-left: auto;
  align-items: center;
}

.nav-arrow {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.nav-arrow i {
  font-size: 12px;
}

/* Ensure nav-buttons uses flexbox properly */
.nav-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Back to top button */
.back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #2299ad, #1a7a8a);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(34, 153, 173, 0.4);
  transition: all 0.3s ease;
  font-weight: 500;
  z-index: 1000;
}

.back-to-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 153, 173, 0.6);
}

.back-to-top-btn i {
  margin-right: 8px;
}

.product-section {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
  background: #fafafa;
  scroll-margin-top: 100px; /* For smooth scroll with fixed header */
}

.section-title {
  color: #2299ad;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 600;
  border-bottom: 2px solid #2299ad;
  padding-bottom: 10px;
}

.section-title i {
  margin-right: 10px;
}

@media (max-width: 768px) {
  .page-content {
    padding-top: 20px; /* Adjusted for mobile */
  }
  
  .nav-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .nav-btn {
    text-align: center;
  }
  
  .quick-nav h4 {
    font-size: 18px; /* Smaller title on mobile */
  }
  
  .product-nav-arrows {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    margin-top: 10px;
  }
  
  .nav-arrow {
    flex: 1;
    text-align: center;
    max-width: 120px;
  }
  
  .back-to-top-btn {
    bottom: 15px;
    right: 15px;
    padding: 10px 16px;
    font-size: 14px;
  }
}