      :root {
	/* === PRIMARY PURPLE SYSTEM === */
	--purple-main: #7e17d1;
	--purple-dark: #5f0fb0;
	--purple-light: #d6b8f4;
	--accent: var(--purple-main);
	--accent-glow: rgba(126, 23, 209, 0.45);
	--muted: #6b7280;
	--card: #ffffff;
	--text: #0f172a;
	--bg: #f5f7fb;
	--radius: 14px;
	--max-width: 1100px;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto;
}

* {box-sizing: border-box}

body {
	margin: 0;
	background: linear-gradient(180deg, #fbfbfd, #f5f7fb);
	color: var(--text);
	line-height: 1.45;
	transition: background .4s, color .4s;
	overflow-x: hidden; /* hides accidental horizontal scroll */
}

body.dark {
	background: #050607;
	color: #e5e7eb;
}

.dark {
	--card: #111827;
	--text: #e5e7eb;
	--bg: #020617;
	--muted: #9ca3af;
	--accent-glow: rgba(167, 86, 255, 0.6);
}

.container {
	max-width: var(--max-width);
	margin: auto;
	padding: 32px
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap; /* allows items to wrap instead of overflowing */
}

/*Socials*/
.facebook-logo-button {/* Remove default link styling */
	text-decoration: none;
	display: inline-block;
	padding: 0; /* Optional: Add some margin around the button */
	margin: 5px;
}

.facebook-logo-button img {/* Control the size of the logo */
	width: 30px; /* Adjust size as needed */
	height: auto; /* Ensure the image itself doesn't have a border if you are using image borders elsewhere */
	border: none; /* Optional: Add a smooth transition effect on hover */
	transition: transform 0.2s;
}

.fa-instagram {
	background:#e1306c; /* Standard IG color */
	color: white;
	padding: 20px;
	font-size: 30px;
	border-radius: 50%; /* Makes it a round button */
	text-decoration: none;
}

/* Header */
/* NAV HOVER EFFECTS */
nav a {
	color: var(--muted);
	text-decoration: none;
	font-weight: 600;
	position: relative;
	transition:
		color 0.25s ease, transform 0.25s ease;
}

/* Text links hover */
nav a:hover {
	color: var(--accent);
	transform: translateY(-1px);
	animation: purpleShine 4s linear infinite;
}

/* Book button hover */
nav a.book-btn {
	background: linear-gradient(120deg, var(--purple-dark), var(--purple-main), var(--purple-light));
	background-size: 200% auto;
	color: #ffffff;
	padding: 10px 16px;
	border-radius: 10px;
	font-weight: 700;
	box-shadow: 0 0 40px var(--accent-glow);
}

@keyframes purpleShine {
	0% {
		background-position: 0%
	}

	100% {
		background-position: 200%
	}
}

/* Social icon hover (Instagram & Facebook) */
nav a img {
	transition: transform 0.25s ease, filter 0.25s ease;
}

nav a:hover img {
	transform: scale(1.12);
	filter:
		brightness(1.1);
}

.logo-img {
  width: 20vw;          /* responsive width */
  max-width: 150px;     /* prevent it from being huge */
  height: auto;         /* maintain aspect ratio */
  border-radius: 20px;
}


.brand {
	display: flex;
	align-items: center;
	gap: 12px
}

.logo {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--accent), #ec4899);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 700;
	font-size: 22px
}

nav {
	display: flex;
	gap: 18px;
	align-items: center
}

nav a {
	color: var(--muted);
	text-decoration: none;
	font-weight: 600
}

.book-btn {
	background: var(--accent);
	color: white;
	padding: 10px 16px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700
}

/* Hero */
.hero {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 36px;
	align-items: center;
	padding: 28px 0
}

.hero-left h1 {
	font-size: 36px;
	margin: 0 0 12px
}

.hero-left p {
	color: var(--muted);
	margin: 0 0 18px
}

.features {
	display: flex;
	gap: 12px;
	flex-wrap: wrap
}

.feature {
	background: var(--card);
	padding: 10px 12px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	gap: 10px
}

.hero-card {
	max-width: 100%; /* never overflow parent */
	width: 100%; /*take full width of its container */
	box-sizing: border-box;
	background: linear-gradient(180deg, #fff,#fbfbff);
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .06)
}

.hero-card img {
	width: 100%;
	height: auto;
	max-width: 100%; /* prevent forcing width */
}

.hero-card h3 {
	margin: 0 0 8px
}

.price {
	font-weight: 700;
	font-size: 22px
}

/* Services */
.services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 36px 0
}

.service {
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}

.service h4 {
	margin: 0 0 8px
}

.service p {
	margin: 0;
	color: var(--muted)
}

/* About */
.about {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 32px 0
}

.about img {
	width: 340px;
	border-radius: 12px;
	object-fit: cover
}

/* Testimonials*/
.testimonials {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin: 28px 0
}

.testimonial {
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}

.stars {
	color: var(--accent);
	font-weight: 700;
	font-size: 22px
}

/* Reviews*/
.reviews {
	background: #ffffff;
	color: white;
	border-radius: 12px;
	padding: 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 36px 0
}

.reviews h3 {
	margin: 0:color:var(--accent)
}

/* CTA */
.cta {
	background: linear-gradient(180deg, var(--purple-dark), var(--purple-main));
	color: #111;
	border-radius: 12px;
	padding: 28px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 0 40px var(--accent-glow);
}

.cta h3 {
	margin: 0
}

/* Dark mode toggle floating */
.dark-toggle {
	position: fixed; /* float above content */
	bottom: 18px;
	right: 18px;
	background: #000;
	color: var(--purple-main);
	border: 1px solid var(--purple-main);
	border-radius: 50px;
	padding: 10px 14px;
	cursor: pointer;
	z-index: 9999;
	transition: transform 0.25s;
}

/*
      Optional: little pop animation on hover */
.dark-toggle:hover {
	transform:
		scale(1.1);
}

/* Footer */
footer {
	padding: 28px 0;
	border-top: 1px solid #eef2ff;
	color: var(--muted)
}

.footer-grid {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap
}

/* Hamburger button */
.menu-toggle {
	display: none;
	font-size: 28px;
	background:
		none;
	border: none;
	cursor: pointer;
	color: var(--accent);
}

/* Small screens
      */
@media(max-width:600px) {
	#contact>div {
		display: flex;
		flex-direction:
			column;
		/* stack form and aside */
		gap: 20px;
	}

	.hero-card {
		width: 100%;
		max-width: 100%;
	}

	header {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		/* optional spacing */
	}

	.brand {
		flex-shrink:
			1;
		/* allow logo to shrink */
	}

	.logo-img {
		max-height: 50px;
		/* smaller
      logo on mobile */
		max-width: 50%;
		/* limit width */
	}

	.hero {
		grid-template-columns: 1fr
	}

	.services,
	.testimonials {
		grid-template-columns: 1fr
	}

	.menu-toggle {
		display: block
	}

	nav {
		display: none;
		position: absolute;
		top: 90px;
		right: 32px;
		background: white;
		border-radius: 14px;
		padding: 18px;
		box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
		flex-direction: column;
		gap: 14px;
		z-index: 1000;
	}

	nav.active {
		display: flex;
	}

	nav a {
		font-size: 16px;
	}
}

body,
input,
textarea,
select {
	touch-action: manipulation;
	-webkit-user-drag: none;
	user-select: none;
}

/* Form Elements*/
input,
textarea,
select {
	width: 100%;
	max-width: 100%;
	padding: 10px;
	border-radius: 10px;
	border: 1px solid #e6e9f2;
	font-size: 14px;
	box-sizing: border-box;
	touch-action: manipulation;
	/* prevents accidental dragging */
}

.form-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;/* allow inputs to wrap instead of overflowing*/
}

.form-row .field {
	flex: 1;
	min-width: 0;/* prevents overflow inside flex */
}

.small {
	font-size: 13px;
	color: var(--muted)
}

/* Pricing Section*/
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 18px;
	margin-bottom: 24px;
	color: #ffffff;
}

.price-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
	text-align: center;
}

.price-card h4 {
	margin: 0 0 8px;
	color: var(--accent);
	font-size: 16px;
}

.price-card p {
	margin: 4px 0;
	color: var(--muted)
}

/*Dark Mode */
body.dark .service,
body.dark .price-card,
body.dark .contact,
body.dark .nav,
body.dark .testimonial,
body.dark .hero-card {
	background: #0f1013;
	color: #e5e7eb;
}
body.dark .feature {
	background: #24262e;
	color: #e5e7eb;
}
/* Dark mode for all form elements */
body.dark .textinput,
body.dark .input,
body.dark .textarea,
body.dark .select,
body.dark input[type="datetime-local"] {
    background: #0f1013 !important;  /* dark background */
    color: #e5e7eb !important;       /* light text */
    border: 1px solid #333 !important; /* dark border */
    border-radius: 4px;
    padding: 10px;
}

/* Placeholder text in dark mode */
body.dark .textinput::placeholder,
body.dark .textarea::placeholder,
body.dark .input::placeholder,
body.dark .select::placeholder,
body.dark input[type="datetime-local"]::placeholder {
    color: #aaa !important;
}

/* Make datetime-local calendar icon visible in Edge/Chrome */
body.dark input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1) !important;
}
