/* Updated to match main website (colors + fonts only). Layout/spacing untouched. */

.guide-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

/* Global font + base colors to match main site */
body {
	font-family: 'Georgia', 'Times New Roman', serif;
	background-color: #f5f1eb;
	color: #2d2d2d;
}

.guide-section,
.blog-content {
	h4 {
		padding-top: 0.5em;
		padding-bottom: 1em;
	}
	
	a {
		color: #3E5F8A;
		text-decoration: none;
		font-weight: 500;
		position: relative;
		transition: color 0.25s ease;
	}

	a::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -2px;
		width: 100%;
		height: 1px;
		background-color: #3E5F8A;
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.25s ease;
	}

	a:hover {
		color: #281a11;
	}

	a:hover::after {
		transform: scaleX(1);
	}

	/* Focus (keyboard accessibility) */
	a:focus-visible {
		outline: none;
		color: #5a4d44;
	}

	a:focus-visible::after {
		transform: scaleX(1);
	}
	
}

.guide-header {
	text-align: center;
	background: linear-gradient(135deg, #6b5d52 0%, #d9d3ca 100%);
	color: white;
	padding: 30px;
	border-radius: 15px;
	margin-bottom: 30px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.guide-header h1 {
	font-size: 2.5em;
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.guide-header p {
	font-size: 1.2em;
	opacity: 0.9;
}

.guide-nav-container {
	background: white;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 20px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	position: sticky;
	top: 20px;
	z-index: 80;
	transition: all 0.3s ease;
}

.guide-nav-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
}

.guide-nav-toggle {
	display: none;
	background: linear-gradient(135deg, #6b5d52 0%, #5a4d44 100%);
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	text-align: center;
	font-size: 16px;
}

.guide-nav-toggle:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(107, 93, 82, 0.3);
}

.guide-nav-item {
	background: linear-gradient(135deg, #6b5d52 0%, #5a4d44 100%);
	color: white;
	padding: 15px;
	border-radius: 8px;
	text-decoration: none;
	text-align: center;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
}

.guide-nav-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(107, 93, 82, 0.3);
}

.guide-section {
	background: white;
	margin-bottom: 30px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	scroll-margin-top: 15rem;
}

.guide-section:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.guide-section-header {
	background: linear-gradient(135deg, #6b5d52 0%, #d9d3ca 100%);
	color: white;
	padding: 20px 30px;
	font-size: 1.5em;
	font-weight: 600;
}

.guide-section-content {
	padding: 30px;
}

.guide-subsection {
	margin-bottom: 25px;
	padding: 20px;
	background: #f5f1eb;
	border-radius: 10px;
	border-left: 4px solid #6b5d52;
	scroll-margin-top: 15rem;
}

.guide-subsection-img-w-legend {
	display: flex;
	column-gap: 1em;
	.middle-align {
		align-content: center;
	}
	img{
		max-height: 14em;
	    max-width: 8em;
	}
}

.guide-subsection h3 {
	color: #2d2d2d;
	margin-bottom: 15px;
	font-size: 1.2em;
	display: flex;
	align-items: center;
	gap: 10px;
}

.guide-subsection h3::before {
	content: "▶";
	color: #6b5d52;
	font-size: 0.8em;
}

.guide-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
	margin-top: 15px;
}

.guide-info-card {
	background: white;
	padding: 15px;
	border-radius: 8px;
	border: 1px solid #d9d3ca;
	transition: all 0.3s ease;
	
	ul {
		margin-left: 20px; 
		padding-bottom: 1rem;
	}
}

.guide-info-card:hover {
	border-color: #6b5d52;
	transform: translateY(-1px);
}

.guide-emergency-contact {
	background: linear-gradient(135deg, #8a5a44 0%, #5a4d44 100%);
	color: white;
	padding: 20px;
	border-radius: 10px;
	margin: 20px 0;
	text-align: center;
}

.guide-emergency-contact h3 {
	margin-bottom: 10px;
}

.guide-back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: linear-gradient(135deg, #6b5d52 0%, #5a4d44 100%);
	color: white;
	padding: 12px 16px;
	border-radius: 50%;
	text-decoration: none;
	font-size: 18px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
	z-index: 90;
}

.guide-back-to-top:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.guide-highlight {
	background: rgba(217, 211, 202, 0.45);
	border: 1px solid #d9d3ca;
	padding: 15px;
	border-radius: 8px;
	margin: 15px 0;
}

.guide-steps {
	counter-reset: step-counter;
}

.guide-step {
	counter-increment: step-counter;
	padding-left: 40px;
	position: relative;
	margin-bottom: 15px;
}

.guide-step::before {
	content: counter(step-counter);
	position: absolute;
	left: 0;
	top: 0;
	background: #6b5d52;
	color: white;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
}

.guide-nav-item.active {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 12px 30px rgba(107, 93, 82, 0.4);
}

.list-w-padding {
	padding-left: 1em;
}

/*+--------------------------------------------------------------------------------------+
	Modal
+--------------------------------------------------------------------------------------+*/
.modal {
  display: none; 
  position: fixed; 
  z-index: 100; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.9);
  
  img {
	  object-fit: contain;
	  max-width: 75vw;
	  max-height: 75vh;
  }
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)}
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/*+--------------------------------------------------------------------------------------+
	Mobile
+--------------------------------------------------------------------------------------+*/
@media (max-width: 768px) {
	.guide-nav-container {
		padding: 15px;
		top: 10px;
	}
	
	.guide-nav-toggle {
		display: block;
	}
	
	.guide-nav-grid {
		display: none;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		margin-top: 15px;
	}
	
	.guide-nav-grid.show {
		display: grid;
	}
	
	.guide-nav-item {
		padding: 10px 8px;
		font-size: 14px;
		text-align: center;
	}
	
	.guide-header h1 {
		font-size: 2em;
	}
	
	.guide-header {
		padding: 20px;
	}
	
	.guide-section {
		scroll-margin-top: 22rem;
	}
	
	.guide-section-content {
		padding: 20px;
	}
	
	.guide-back-to-top {
		bottom: 20px;
		right: 20px;
	}
	
	.guide-info-grid {
		grid-template-columns: 1fr;
	}
	
	.guide-info-card {
		ul{
			margin-left: 1rem;
		}
	}
	
	.guide-subsection-img-w-legend{
		padding-left: 1em;
		flex-wrap: wrap;
	}
	
	.guide-container {
		padding: 10px;
	}
	
	.modal-content {
		width: 100%;
	}
	
	.list-w-padding {
		padding-left: 0.5em;
	}
}
