/**
 * Internal Linking & Navigation CSS
 * Breadcrumbs, related pages, comparison boxes, CTAs
 * @package GoMedWear
 */

/* ========================================================================
   BREADCRUMB NAVIGATION
   ======================================================================== */

.breadcrumb-nav {
	margin: 20px 0;
	padding: 12px 0;
}

.breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 13px;
	gap: 8px;
}

.breadcrumb-list li {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.breadcrumb-list li:not(:last-child)::after {
	content: '›';
	margin-left: 8px;
	color: #999;
}

.breadcrumb-list a {
	color: #0c5a50;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 500;
}

.breadcrumb-list a:hover {
	color: #0a433d;
	text-decoration: underline;
}

.breadcrumb-list span[aria-current="page"] {
	color: #666;
	font-weight: 600;
}

@media (max-width: 768px) {
	.breadcrumb-list {
		font-size: 12px;
	}

	.breadcrumb-list li:not(:last-child)::after {
		margin: 0 6px;
	}
}

/* ========================================================================
   RELATED PAGES WIDGET
   ======================================================================== */

.related-pages-widget {
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 30px;
	margin: 40px 0;
	border-left: 4px solid #0c5a50;
}

.related-pages-widget h3 {
	font-size: 18px;
	font-weight: 700;
	color: #000;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #ffc107;
}

.related-pages-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.related-pages-list li {
	margin: 0;
}

.related-page-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	color: #000;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: all 0.3s ease;
	gap: 12px;
}

.related-page-link:hover {
	background: #0c5a50;
	color: white;
	border-color: #0c5a50;
	transform: translateX(4px);
}

.related-page-link .arrow {
	font-size: 18px;
	opacity: 0.6;
	transition: opacity 0.3s ease;
}

.related-page-link:hover .arrow {
	opacity: 1;
}

/* ========================================================================
   REQUEST SAMPLE CTA BOX
   ======================================================================== */

.request-sample-cta {
	background: linear-gradient(135deg, #0c5a50 0%, #0a433d 100%);
	border-radius: 12px;
	padding: 40px;
	margin: 50px 0;
	color: white;
	text-align: center;
}

.request-sample-content h3 {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 12px 0;
	color: white;
}

.request-sample-content p {
	font-size: 16px;
	margin: 0 0 24px 0;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.6;
}

.request-sample-cta .btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	background: #ffc107;
	color: #000;
	font-weight: 600;
	font-size: 15px;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.request-sample-cta .btn:hover {
	background: #ffb300;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.request-sample-cta .btn--lg {
	padding: 16px 40px;
	font-size: 16px;
}

.request-sample-cta .arrow {
	font-size: 18px;
	transition: transform 0.3s ease;
}

.request-sample-cta .btn:hover .arrow {
	transform: translateX(4px);
}

@media (max-width: 768px) {
	.request-sample-cta {
		padding: 30px 20px;
	}

	.request-sample-content h3 {
		font-size: 22px;
	}

	.request-sample-content p {
		font-size: 14px;
	}

	.request-sample-cta .btn {
		padding: 12px 24px;
		font-size: 14px;
	}
}

/* ========================================================================
   COMPARISON BOX
   ======================================================================== */

.comparison-box {
	background: #f9f9f9;
	border-radius: 12px;
	padding: 40px 30px;
	margin: 50px 0;
	border: 1px solid #e0e0e0;
}

.comparison-box h3 {
	font-size: 22px;
	font-weight: 700;
	color: #000;
	margin: 0 0 30px 0;
	text-align: center;
	padding-bottom: 16px;
	border-bottom: 2px solid #ffc107;
}

.comparison-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
}

.comparison-item {
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 24px;
	text-align: center;
	transition: all 0.3s ease;
}

.comparison-item:hover {
	border-color: #0c5a50;
	box-shadow: 0 8px 24px rgba(12, 90, 80, 0.1);
	transform: translateY(-4px);
}

.comparison-item h4 {
	font-size: 16px;
	font-weight: 700;
	color: #000;
	margin: 0 0 12px 0;
}

.comparison-item p {
	font-size: 13px;
	color: #666;
	margin: 12px 0 20px 0;
	line-height: 1.6;
	min-height: 40px;
}

.comparison-item .btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	background: #0c5a50;
	color: white;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	font-size: 13px;
	transition: all 0.3s ease;
}

.comparison-item .btn:hover {
	background: #0a433d;
	transform: translateX(2px);
}

.comparison-item .btn--outline {
	background: transparent;
	border: 2px solid #0c5a50;
	color: #0c5a50;
}

.comparison-item .btn--outline:hover {
	background: #0c5a50;
	color: white;
}

@media (max-width: 768px) {
	.comparison-box {
		padding: 30px 20px;
	}

	.comparison-box h3 {
		font-size: 18px;
		margin-bottom: 24px;
	}

	.comparison-grid {
		gap: 16px;
	}

	.comparison-item {
		padding: 16px;
	}

	.comparison-item h4 {
		font-size: 14px;
	}

	.comparison-item p {
		font-size: 12px;
		min-height: auto;
	}
}

/* ========================================================================
   SERVICE SECTION LINKS
   ======================================================================== */

.service-links-section {
	margin: 50px 0;
	padding: 40px;
	background: linear-gradient(135deg, rgba(12, 90, 80, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
	border-radius: 12px;
}

.service-links-section h3 {
	font-size: 20px;
	font-weight: 700;
	color: #000;
	margin: 0 0 24px 0;
}

.service-links-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

.service-link-item {
	padding: 16px;
	background: white;
	border: 2px solid transparent;
	border-radius: 8px;
	text-align: center;
	transition: all 0.3s ease;
	cursor: pointer;
}

.service-link-item:hover {
	border-color: #0c5a50;
	box-shadow: 0 4px 12px rgba(12, 90, 80, 0.1);
}

.service-link-item a {
	display: block;
	color: #0c5a50;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: color 0.3s ease;
}

.service-link-item:hover a {
	color: #0a433d;
	text-decoration: underline;
}

/* ========================================================================
   UTILITY CLASSES
   ======================================================================== */

.internal-link {
	color: #0c5a50;
	text-decoration: underline;
	transition: color 0.3s ease;
	font-weight: 500;
}

.internal-link:hover {
	color: #0a433d;
	text-decoration-thickness: 2px;
}

.internal-link::after {
	content: ' →';
	font-size: 0.9em;
}

/* ========================================================================
   RESPONSIVE ADJUSTMENTS
   ======================================================================== */

@media (max-width: 768px) {
	.related-pages-list {
		grid-template-columns: 1fr;
	}

	.comparison-grid {
		grid-template-columns: 1fr;
	}

	.service-links-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.service-links-grid {
		grid-template-columns: 1fr;
	}

	.related-pages-widget,
	.comparison-box {
		padding: 20px;
	}
}
