/* 
 * Yijijo-Cetezi - Styles
 * Color Palette:
 * - Background: mints to amber gradient (#A0F1DB to #F5D078)
 * - Accent: coral (#FF6F61)
 * - Headings: graphite (#2D2D2D)
 * - Text: gray-brown (#5E5E5E)
 * - Buttons: white with coral border
 */

/* Reset & Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #5e5e5e;
	background: linear-gradient(135deg, #a0f1db 0%, #f5d078 100%);
	background-attachment: fixed;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	color: #2d2d2d;
	margin-bottom: 1rem;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	text-align: center;
	margin-bottom: 2rem;
	position: relative;
}

h2:after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	background-color: #ff6f61;
	margin: 1rem auto 0;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
}

/* Layout */
.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

section {
	padding: 5rem 0;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	background-color: #fff;
	color: #ff6f61;
	border: 2px solid #ff6f61;
	border-radius: 30px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn:hover {
	background-color: #ff6f61;
	color: white;
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
	background-color: #ff6f61;
	color: white;
}

.btn-primary:hover {
	background-color: #ff5a4b;
}

.btn-outline {
	background-color: transparent;
	color: #ff6f61;
}

.btn-cookie {
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
}

.btn-menu {
	color: #ff6f61;
	font-weight: 600;
}

/* Header & Navigation */
.site-header {
	background-color: rgba(255, 255, 255, 0.95);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
}

.logo {
	z-index: 1001;
}

.menu-toggle {
	display: none;
}

.menu-icon {
	display: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 1001;
}

.menu-icon span {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px 0;
	background-color: #2d2d2d;
	transition: all 0.3s ease;
}

.menu {
	display: flex;
	align-items: center;
}

.menu li {
	margin: 0 1rem;
}

.menu a {
	font-weight: 500;
	padding: 0.5rem 0;
	position: relative;
}

.menu a:hover {
	color: #ff6f61;
}

.menu a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #ff6f61;
	transition: width 0.3s ease;
}

.menu a:hover::after {
	width: 100%;
}

/* Cookie Popup */
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	padding: 1rem 0;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index: 999;
}

.cookie-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.cookie-content p {
	margin: 0;
	flex: 1;
	min-width: 200px;
}

.cookie-content a {
	color: #ff6f61;
	text-decoration: underline;
}

/* Main Content */
main {
	margin-top: 80px; /* Header height offset */
}

/* Hero Section */
.hero {
	height: 80vh;
	min-height: 500px;
	display: flex;
	align-items: center;
	background: url("../img/dlCLPH.jpg") no-repeat center center/cover;
	position: relative;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(160, 241, 219, 0.7) 0%, rgba(245, 208, 120, 0.7) 100%);
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 600px;
	text-align: center;
	margin: 0 auto;
	padding: 2rem;
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero h1 {
	margin-bottom: 1.5rem;
}

.hero p {
	margin-bottom: 2rem;
	font-size: 1.2rem;
}

/* About Section */
.about-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.about-text {
	max-width: 800px;
	text-align: center;
}

/* Benefits Section */
.benefits {
	background-color: rgba(255, 255, 255, 0.7);
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.benefit-card {
	background-color: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	text-align: center;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.benefit-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
	margin-bottom: 1.5rem;
}

/* Classes Section */
.classes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.class-card {
	background-color: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.class-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.class-details {
	margin-top: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.price {
	font-weight: 700;
	color: #ff6f61;
	font-size: 1.2rem;
	margin: 0;
}

/* Instructors Section */
.instructors {
	background-color: rgba(255, 255, 255, 0.7);
}

.instructors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.instructor-card {
	background-color: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.instructor-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.instructor-image {
	height: 250px;
	overflow: hidden;
}

.instructor-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.instructor-card:hover .instructor-image img {
	transform: scale(1.1);
}

.instructor-card h3,
.instructor-card p {
	padding: 0 1.5rem;
}

.instructor-card h3 {
	margin-top: 1.5rem;
}

.instructor-card p {
	margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.testimonial-card {
	background-color: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	position: relative;
}

.testimonial-card::before {
	content: '"';
	position: absolute;
	top: 10px;
	left: 20px;
	font-size: 5rem;
	color: rgba(255, 111, 97, 0.1);
	font-family: Georgia, serif;
	line-height: 1;
}

.testimonial-content {
	position: relative;
	z-index: 1;
}

.testimonial-author {
	margin-top: 1.5rem;
	text-align: right;
}

/* Booking Form Section */
.booking {
	background: url("../img/0xEiXF.jpg") no-repeat center center/cover;
	position: relative;
}

.booking::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(160, 241, 219, 0.85) 0%, rgba(245, 208, 120, 0.85) 100%);
}

.booking .container {
	position: relative;
	z-index: 1;
}

.form-container {
	max-width: 600px;
	margin: 0 auto;
	background-color: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.booking-form .form-group {
	margin-bottom: 1.5rem;
}

.booking-form label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.booking-form input,
.booking-form select {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: inherit;
	font-size: inherit;
}

.booking-form input:focus,
.booking-form select:focus {
	outline: none;
	border-color: #ff6f61;
}

.booking-form .checkbox {
	display: flex;
	align-items: flex-start;
}

.booking-form .checkbox input {
	width: auto;
	margin-right: 10px;
	margin-top: 5px;
}

.booking-form .checkbox label {
	margin: 0;
	font-weight: normal;
}

.booking-form .checkbox a {
	color: #ff6f61;
	text-decoration: underline;
}

.form-submit {
	text-align: center;
	margin-top: 2rem;
}

.form-error {
	background-color: #ffe5e5;
	color: #d63031;
	padding: 1rem;
	border-radius: 5px;
	margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.map-container {
	height: 300px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
	border-radius: 10px;
}

/* Footer */
.site-footer {
	background-color: #2d2d2d;
	color: #fff;
	padding: 4rem 0 2rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-info {
	max-width: 350px;
}

.footer-logo {
	margin-bottom: 1.5rem;
}

.company-description {
	font-size: 0.9rem;
	opacity: 0.8;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 2rem;
}

.footer-nav h3,
.footer-legal h3,
.footer-contact h3 {
	color: #fff;
	margin-bottom: 1.5rem;
	font-size: 1.2rem;
}

.footer-nav ul,
.footer-legal ul {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.footer-nav a,
.footer-legal a {
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
	opacity: 1;
	color: #ff6f61;
}

.footer-contact p {
	margin-bottom: 0.8rem;
	opacity: 0.8;
}

.copyright {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
	opacity: 0.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	section {
		padding: 4rem 0;
	}

	.hero {
		height: 70vh;
	}
}

@media (max-width: 768px) {
	.menu-icon {
		display: block;
	}

	.menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		max-width: 300px;
		height: 100vh;
		background-color: white;
		flex-direction: column;
		justify-content: flex-start;
		padding-top: 5rem;
		transition: right 0.3s ease;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	}

	.menu li {
		width: 100%;
		margin: 0;
	}

	.menu a {
		display: block;
		padding: 1rem 2rem;
		border-bottom: 1px solid #f0f0f0;
	}

	.menu a::after {
		display: none;
	}

	.menu-toggle:checked ~ .menu {
		right: 0;
	}

	.menu-toggle:checked ~ .menu-icon span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.menu-toggle:checked ~ .menu-icon span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle:checked ~ .menu-icon span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -7px);
	}

	.hero-content {
		max-width: 100%;
	}

	.benefits-grid,
	.classes-grid,
	.instructors-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.cookie-content {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 576px) {
	h1 {
		font-size: 1.8rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	section {
		padding: 3rem 0;
	}

	.hero {
		height: 60vh;
	}

	.hero-content {
		padding: 1.5rem;
	}
}
