/* 
=======================================
MAIN CSS FILE FOR JITEJI-WOSOLE
Palette:
- Primary bg: #D4ED91 (lime)
- Accents: #FF6F59 (coral), #FFD93D (yellow)
- Text: #2E2E2E (dark), #FDFDFD (light)
- Elements: #A4F6A5 (mint), #3DA9FC (turquoise)
=======================================
*/

/* === RESET & BASE === */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* Target for section anchors to account for fixed header */
section[id]::before {
	content: "";
	display: block;
	height: 80px; /* Equal to or slightly bigger than header height */
	margin-top: -80px; /* Negative of the height */
	visibility: hidden;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
	scroll-padding-top: 80px; /* Ensures headings aren't hidden under the sticky header */
}

body {
	font-family: "Poppins", sans-serif;
	line-height: 1.6;
	color: #2e2e2e;
	background-color: #d4ed91;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #3da9fc;
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover,
a:focus {
	color: #ff6f59;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 0.8em;
	line-height: 1.2;
	font-weight: 700;
}

h1 {
	font-size: 2.5rem;
	color: #ff6f59;
}

h2 {
	font-size: 2rem;
	color: #3da9fc;
	text-align: center;
	margin-bottom: 1.5rem;
	position: relative;
}

h2:after {
	content: "";
	display: block;
	width: 80px;
	height: 4px;
	background: #ffd93d;
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 2px;
}

h3 {
	font-size: 1.5rem;
	color: #ff6f59;
}

p,
ul,
ol {
	margin-bottom: 1rem;
}

/* === BUTTONS === */
.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background-color: #3da9fc;
	color: #fdfdfd;
	border-radius: 30px;
	text-align: center;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	box-shadow: 0 4px 10px rgba(61, 169, 252, 0.3);
}

.btn:hover,
.btn:focus {
	background-color: #fdfdfd;
	color: #3da9fc;
	border-color: #3da9fc;
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(61, 169, 252, 0.4);
}

.btn-primary {
	background-color: #ff6f59;
	box-shadow: 0 4px 10px rgba(255, 111, 89, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: #fdfdfd;
	color: #ff6f59;
	border-color: #ff6f59;
	box-shadow: 0 6px 15px rgba(255, 111, 89, 0.4);
}

.btn-secondary {
	background-color: #a4f6a5;
	color: #2e2e2e;
	box-shadow: 0 4px 10px rgba(164, 246, 165, 0.3);
}

.btn-secondary:hover,
.btn-secondary:focus {
	background-color: #fdfdfd;
	color: #2e2e2e;
	border-color: #a4f6a5;
	box-shadow: 0 6px 15px rgba(164, 246, 165, 0.4);
}

.btn-large {
	padding: 1rem 2rem;
	font-size: 1rem;
}

/* === HEADER & NAVIGATION === */
.site-header {
	padding: 1rem 0;
	background-color: #fdfdfd;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: block;
	max-width: 150px;
}

.menu-toggle {
	display: none;
}

.menu-icon {
	display: none;
}

.main-nav ul {
	display: flex;
	list-style: none;
	gap: 1.5rem;
}

.main-nav a {
	color: #2e2e2e;
	font-weight: 500;
	padding: 0.5rem;
	position: relative;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
	color: #ff6f59;
}

.main-nav a:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #ff6f59;
	transition: width 0.3s ease;
}

.main-nav a:hover:before,
.main-nav a:focus:before,
.main-nav a.active:before {
	width: 100%;
}

/* === HERO SECTION === */
.hero-section {
	padding: 5rem 0;
	background: linear-gradient(135deg, #d4ed91 0%, #a4f6a5 100%);
	position: relative;
	overflow: hidden;
}

.hero-section .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.hero-content {
	flex: 1;
}

.hero-image {
	flex: 1;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	transform: rotate(2deg);
	transition: transform 0.5s ease;
}

.hero-image:hover {
	transform: rotate(0);
}

.hero-image img {
	border-radius: 15px;
	transition: transform 0.5s ease;
}

.hero-image:hover img {
	transform: scale(1.05);
}

/* === ABOUT SECTION === */
.about-section {
	padding: 5rem 0;
	background-color: #fdfdfd;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.about-text {
	flex: 1;
}

.about-image {
	flex: 1;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
	border-radius: 15px;
	transition: transform 0.5s ease;
}

.about-image:hover img {
	transform: scale(1.05);
}

/* === BENEFITS SECTION === */
.benefits-section {
	padding: 5rem 0;
	background-color: #d4ed91;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.benefit-card {
	background-color: #fdfdfd;
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.benefit-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
	margin: 0 auto 1.5rem;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* === SERVICES SECTION === */
.services-section {
	padding: 5rem 0;
	background-color: #fdfdfd;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.service-card {
	background-color: #fdfdfd;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
}

.service-card img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.service-card h3,
.service-card p,
.service-price {
	padding: 0 1.5rem;
}

.service-card h3 {
	margin-top: 1.5rem;
}

.service-price {
	font-weight: 700;
	color: #ff6f59;
	font-size: 1.2rem;
	margin: 1rem 0;
}

.service-btn {
	display: block;
	margin: 1rem 1.5rem 1.5rem;
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
	padding: 5rem 0;
	background-color: #a4f6a5;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.testimonial-card {
	background-color: #fdfdfd;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-10px);
}

.testimonial-rating {
	color: #ffd93d;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.testimonial-text {
	font-style: italic;
}

.testimonial-author {
	font-weight: 600;
	color: #3da9fc;
	margin-top: 1rem;
}

/* === FAQ SECTION === */
.faq-section {
	padding: 5rem 0;
	background-color: #fdfdfd;
}

.faq-grid {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 1rem;
	border-bottom: 1px solid #d4ed91;
}

.faq-item details {
	padding: 1rem 0;
}

.faq-item summary {
	font-weight: 600;
	color: #3da9fc;
	cursor: pointer;
	padding: 0.5rem 0;
	position: relative;
	padding-right: 30px;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	color: #ff6f59;
	transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
	content: "−";
	transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
	padding: 1rem 0;
}

/* === BOOKING FORM === */
.booking-section {
	padding: 5rem 0;
	background-color: #d4ed91;
}

.booking-form {
	max-width: 800px;
	margin: 0 auto;
	background-color: #fdfdfd;
	padding: 2.5rem;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 2px solid #d4ed91;
	border-radius: 8px;
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #3da9fc;
}

.service-options {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.service-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.service-option input[type="radio"] {
	width: auto;
	accent-color: #3da9fc;
}

.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.checkbox-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.checkbox-option input[type="checkbox"] {
	width: auto;
	accent-color: #3da9fc;
}

.form-submit {
	margin-top: 2rem;
	text-align: center;
}

.form-error {
	background-color: #ffe3e3;
	border-left: 4px solid #ff6b6b;
	color: #d63031;
	padding: 1rem;
	margin-bottom: 1.5rem;
	border-radius: 0 4px 4px 0;
}

/* === COOKIE NOTICE === */
.cookie-notice {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(46, 46, 46, 0.95);
	color: #fdfdfd;
	padding: 1rem 0;
	z-index: 9999;
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-notice .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.cookie-notice p {
	margin: 0;
	flex: 1;
}

.cookie-notice a {
	color: #ffd93d;
	text-decoration: underline;
}

.cookie-notice form {
	flex-shrink: 0;
}

/* === POLICY PAGES === */
.policy-section {
	padding: 5rem 0;
	background-color: #fdfdfd;
}

.policy-content {
	max-width: 900px;
	margin: 0 auto;
}

.policy-content h2 {
	margin-top: 2.5rem;
	text-align: left;
}

.policy-content h2:after {
	left: 0;
	transform: none;
}

.policy-content h3 {
	margin-top: 1.5rem;
}

.policy-content ul,
.policy-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
}

/* === THANK YOU PAGE === */
.thank-you-section {
	padding: 5rem 0;
	background-color: #d4ed91;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.thank-you-content {
	text-align: center;
	background-color: #fdfdfd;
	padding: 3rem;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	max-width: 600px;
	margin: 0 auto;
}

.success-icon {
	margin: 2rem auto;
	animation: bounce 1.5s ease-in-out infinite alternate;
}

@keyframes bounce {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-15px);
	}
}

.action-buttons {
	margin-top: 2rem;
}

/* === FOOTER === */
.site-footer {
	background-color: #2e2e2e;
	color: #fdfdfd;
	padding: 4rem 0 2rem;
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.footer-col h3 {
	color: #ffd93d;
	margin-bottom: 1.5rem;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 0.75rem;
}

.footer-links a {
	color: #fdfdfd;
}

.footer-links a:hover,
.footer-links a:focus {
	color: #ffd93d;
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(253, 253, 253, 0.1);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

section {
	animation: fadeIn 1s ease-out forwards;
	padding-top: 2rem; /* Extra padding to ensure content isn't too close to top */
}

section h2:first-child {
	padding-top: 1rem; /* Add padding to ensure heading is visible */
	margin-top: 0; /* Reset margin to ensure consistent positioning */
}

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
	.hero-section .container,
	.about-content {
		flex-direction: column;
	}

	.hero-content,
	.about-text,
	.hero-image,
	.about-image {
		flex: none;
		width: 100%;
	}

	.hero-image,
	.about-image {
		margin-top: 2rem;
	}

	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.8rem;
	}
}

@media (max-width: 768px) {
	html {
		font-size: 14px;
	}

	.menu-icon {
		display: block;
		cursor: pointer;
		width: 30px;
		height: 20px;
		position: relative;
		z-index: 1001;
	}

	.menu-icon span {
		display: block;
		position: absolute;
		height: 3px;
		width: 100%;
		background: #2e2e2e;
		border-radius: 3px;
		opacity: 1;
		left: 0;
		transform: rotate(0deg);
		transition: 0.25s ease-in-out;
	}

	.menu-icon span:nth-child(1) {
		top: 0;
	}

	.menu-icon span:nth-child(2) {
		top: 8px;
	}

	.menu-icon span:nth-child(3) {
		top: 16px;
	}

	.menu-toggle:checked + .menu-icon span:nth-child(1) {
		top: 8px;
		transform: rotate(135deg);
	}

	.menu-toggle:checked + .menu-icon span:nth-child(2) {
		opacity: 0;
		left: -60px;
	}

	.menu-toggle:checked + .menu-icon span:nth-child(3) {
		top: 8px;
		transform: rotate(-135deg);
	}

	.main-nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: rgba(253, 253, 253, 0.98);
		display: flex;
		align-items: center;
		justify-content: center;
		transform: translateX(100%);
		transition: transform 0.5s ease;
		z-index: 1000;
	}

	.menu-toggle:checked ~ .main-nav {
		transform: translateX(0);
	}

	.main-nav ul {
		flex-direction: column;
		align-items: center;
		padding: 2rem;
	}

	.main-nav a {
		font-size: 1.3rem;
	}

	.cookie-notice .container {
		flex-direction: column;
		align-items: stretch;
	}
}

@media (max-width: 576px) {
	.benefits-grid,
	.services-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.services-grid {
		gap: 3rem;
	}

	.booking-form {
		padding: 1.5rem;
	}

	.site-footer {
		padding: 3rem 0 1.5rem;
	}

	.footer-columns {
		grid-template-columns: 1fr;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.6rem;
	}
}
