/* === GENERAL STYLES === */
html,
body {
	overflow-x: hidden;
}

/* === NAVBAR STYLES === */
#navbar .navbar {
	background-color: #000;
	transition: top 0.3s ease-in-out;
}

/* Brand (logo) */
#navbar .navbar-brand {
	font-family: 'Pacifico', cursive;
	color: #855ba6;
	font-size: 1.8rem; /* bigger logo text */
}

/* Nav links */
#navbar .nav-link {
	color: #fff;
	font-size: 1.1rem; /* bigger nav links */
	transition: color 0.2s ease;
}

#navbar .nav-link:hover {
	color: #6d3695;
}

/* Dropdown menu */
#navbar .dropdown-menu {
	background-color: #a271c7; /* lighter purple */
	border: none;
	border-radius: 0;
}

#navbar .dropdown-item {
	color: #fff;
	font-size: 1.05rem; /* bigger dropdown items */
	transition: background-color 0.2s ease;
}

#navbar .dropdown-item:hover {
	background-color: #6d3695; /* darker purple */
	color: #fff;
}

/* Remove Bootstrap focus outline/blue stroke */
#navbar .nav-link:focus,
#navbar .dropdown-toggle:focus,
#navbar .dropdown-item:focus {
	outline: none !important;
	box-shadow: none !important;
}

/* === Hero STYLES === */
#hero {
	position: relative;
	height: 100vh;
	color: #fff;
	text-align: center;
	background-image: url('../images/healthy_purple_butterflies_header_image.png');
	background-size: cover;
	background-position: center;
	background-attachment: fixed; /* makes the parallax effect */
	display: flex;
	align-items: center;
	justify-content: center;
}

#hero .hero-logo {
	max-width: 300px;
	width: 100%;
	height: auto;
	margin-bottom: 1.5rem;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.10); /* subtle overlay for readability */
	z-index: 1;
}

#hero .container {
	position: relative;
	z-index: 2;
}

.hero-title {
	font-family: 'Pacifico', cursive;
	color: #855ba6;
	font-size: 4rem;
	letter-spacing: 3px;
	margin-bottom: 20px;
}

.hero-subtitle {
	color: purple;
	margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
	#hero .hero-logo {
		max-width: 250px;
	}

	.hero-title {
		font-size: 3rem;
	}

	.hero-subtitle {
		font-size: 1.5rem;
	}
}

@media (max-width: 576px) {
	#hero .hero-logo {
		max-width: 180px;
	}

	.hero-title {
		font-size: 2.2rem;
	}

	.hero-subtitle {
		font-size: 1.2rem;
	}
}

/* === About STYLES === */
#about {
	font-family: 'Lato', Helvetica, Arial, sans-serif;
}

.about-title {
	color: #6d3695;
	margin-bottom: 1.5rem;
}

.about-text {
	color: #333;
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 1rem;
	position: relative;
	padding-left: 1.8rem; /* space for bullet */
}

/* Modifier: when no bullet needed */
.about-text.no-bullet {
	padding-left: 0;
}

.about-text .bullet {
	position: absolute;
	left: 0;
	top: 0.2rem;
	color: #6d3695;
	font-size: 1.2rem;
	line-height: 1;
}

.about-img {
	border-radius: 1rem;
	max-width: 100%;
	height: auto;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Read More link */
.read-more {
	display: inline-flex;
	align-items: center;
	color: #6d3695;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
	margin-top: 1rem;
	margin-left: 0;
}

.read-more i {
	margin-left: 0.5rem;
	transition: transform 0.3s ease;
}

.read-more:hover {
	color: #4a1d78;
}

.read-more:hover i {
	transform: translateX(5px); /* arrow movement effect */
}

/* Responsive adjustments */
@media (max-width: 992px) {
	.about-text {
		font-size: 1rem;
	}

	.read-more {
		margin-left: 0;
		margin-bottom: 1rem;
	}
}

@media (max-width: 576px) {
	.about-text {
		font-size: 0.95rem;
	}

	.read-more {
		margin-bottom: 1rem;
	}
}

/* === Facebook Section Styles === */
.facebook-section {
	background: url("../images/footer.png") center center/cover no-repeat;
	position: relative;
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	padding: 4rem 1rem;
	color: #fff;
	text-align: center;
}

/* Add a dark overlay for readability */
.facebook-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.15);
	z-index: 0;
}

.facebook-section .container {
	position: relative;
	z-index: 1;
}

/* Logo */
.facebook-logo {
	max-width: 120px;
	height: auto;
	margin-bottom: 1rem;
}

/* Title */
.facebook-title {
	color: #6d3695;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 2.5rem;
	margin-bottom: 2rem;
}

/* CTA Button */
.btn-join {
	display: inline-block;
	background: #6d3695;
	color: #fff;
	font-weight: 600;
	font-size: 1.1rem;
	padding: 0.75rem 2rem;
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.btn-join:hover {
	background: #4a1d78;
	transform: translateY(-3px);
	box-shadow: 0 0.7rem 1.4rem rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
	.facebook-title {
		font-size: 1.6rem;
	}

	.btn-join {
		font-size: 1rem;
		padding: 0.65rem 1.5rem;
	}
}

@media (max-width: 576px) {
	.facebook-logo {
		max-width: 90px;
	}

	.facebook-title {
		font-size: 1.4rem;
	}

	.btn-join {
		width: 100%;
		max-width: 250px;
	}
}

/* === Divider Section Styles === */
.divider-section {
	background: linear-gradient(135deg, #ffffff, #e8e8e8);
	border-radius: 1rem;
	padding: 2rem; /* breathing space around the image */
}

.divider-img {
	max-width: 100%;
	height: auto;
	border-radius: 0.75rem; /* optional: soft rounding for the image itself */
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* subtle depth */
}

/* === Book Section Styles === */
.section-title {
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	color: #6d3695;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

/* Subtitle */
.section-subtitle {
	color: #333;
	font-size: 1.1rem;
	margin-bottom: 2rem;
}

/* Book Text */
.book-text {
	color: #333;
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 1rem;
	position: relative;
	padding-left: 1.8rem;
}

/* Bullets */
.book-text .bullet {
	position: absolute;
	left: 0;
	color: #6d3695;
	font-size: 1.2rem;
	font-weight: bold;
}

/* Book Image */
.book-img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

/* Responsiveness */
@media (max-width: 768px) {
	.section-title {
		font-size: 1.75rem;
	}

	.section-subtitle {
		font-size: 1rem;
	}

	.book-text {
		font-size: 1rem;
		line-height: 1.6;
	}
}

/* === Blog Home Styles === */
.blog-page {
	background-color: #ebe8fc;
}

/* Blog Title */
.blog-title {
	font-family: 'Pacifico', cursive;
	color: #855ba6;
}

/* Blog Categories */
.blog-categories .category-link {
	font-weight: 500;
	color: #855ba6;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-categories .category-link:hover {
	color: #6d3695; /* darker purple */
}

.blog-categories .separator {
	color: #999; /* subtle separator dot */
	font-weight: 400;
}

/* Card container */
.custom-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
	cursor: pointer; /* show hand cursor */
}

/* Hover shadow */
.custom-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Image section */
.card-img {
	position: relative;
	overflow: hidden;
	height: 200px;
	/* you can adjust height */
}

.card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

/* Zoom + overlay effect */
.card-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.2);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.custom-card:hover .card-img img {
	transform: scale(1.1);
}

.custom-card:hover .card-img::after {
	opacity: 1;
}

/* Text section */
.card-text {
	padding: 20px;
	text-align: center;
}

/* Title */
.card-title {
	font-family: 'Pacifico', cursive;
	font-size: 2rem;
	color: #855ba6;
	margin-bottom: 10px;
	font-weight: 600;
}

/* Description */
.card-desc {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	margin: 0;
}

/* Make card clickable */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit; /* keep text colors as styled */
}

/* === Book Store Styles === */
/* Section title */
.section-title {
	font-family: 'Pacifico', cursive;
	color: #855ba6;
	font-size: 2rem;
}

/* Small purple divider just under title, centered */
.title-divider {
	width: 100px;
	border-top: 3px solid #855ba6;
	margin: 0.5rem auto 2rem auto;
	border-radius: 2px;
}

/* Book card */
.book-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Book image */
.book-img {
	overflow: hidden;
	border-radius: 8px;
}

.book-img img {
	width: 100%;
	height: auto;
	transition: transform 0.4s ease;
}

.book-card:hover .book-img img {
	transform: scale(1.1);
}

/* Book title */
.book-title {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	color: #855ba6;
	font-weight: 600;
}

/* Gradient Transition */
.transition-section {
	background-color: #ebe8fc;
}

/* === Legal Section Styles === */
a.legal-links {
	color: #6a0dad;
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

a.legal-links:hover {
	color: #4b0082;
	/* Darker purple on hover */
	text-decoration: underline;
}

/* === Footer Section Styles === */
/* Footer Base */
.footer {
	background: url("../images/footer.png") no-repeat center center/cover;
	color: #7d6298;
	font-family: 'Lato', Helvetica, Arial, sans-serif;
}

/* Logo */
.footer-logo {
	max-width: 150px;
	height: auto;
}

/* Brand Title */
.footer-brand {
	font-family: 'Pacifico', cursive;
	color: #6d3695;
	margin-bottom: 0.5rem;
}

/* Mission Text */
.footer-mission {
	font-size: 1rem;
	color: #7d6298;
	margin-bottom: 1rem;
	line-height: 1.6;
}

/* Headings (Shortcuts / Legal Stuff) */
.footer-heading {
	color: #6d3695;
	margin-bottom: 1rem;
}

/* Footer Links */
.footer-link {
	color: #7d6298;
	text-decoration: none;
	display: block;
	margin-bottom: 0.5rem;
	transition: color 0.3s ease;
}

.footer-link:hover {
	color: #6d3695;
}

/* Location */
.footer-location {
	color: #6d3695;
	font-weight: 600;
	margin-bottom: 1rem;
}

/* Footer Buttons */
.footer .btn-join {
	font-size: 0.85rem;
	padding: 0.35rem 0.75rem;
	text-align: center;
	display: inline-block;
	border-radius: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
	.footer-logo {
		max-width: 120px;
	}

	.footer {
		text-align: center;
	}

	.footer .row>div {
		margin-bottom: 2rem;
	}
}