/* AstraBooths — Starry Night Theme */
:root {
	--night-deep: #0c1445;
	--night-mid: #1a237e;
	--night-soft: #2f3774;
	--sky: #4c6394;
	--sky-light: #7ea4b0;
	--star: #ffd54f;
	--star-soft: #cdd27e;
	--moon: #fff8e1;
	--text: #e8eaf6;
	--text-muted: #9fa8da;
	--font-display: "Cormorant Garamond", Georgia, serif;
	--font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--text);
	background: var(--night-deep);
	min-height: 100vh;
	overflow-x: hidden;
}

/* Starfield background */
.stars {
	position: fixed;
	inset: 0;
	background-image:
		radial-gradient(2px 2px at 20px 30px, var(--star-soft), transparent),
		radial-gradient(2px 2px at 40px 70px, var(--star), transparent),
		radial-gradient(2px 2px at 50px 160px, var(--star-soft), transparent),
		radial-gradient(2px 2px at 90px 40px, var(--star), transparent),
		radial-gradient(2px 2px at 130px 80px, var(--star-soft), transparent),
		radial-gradient(2px 2px at 160px 120px, var(--star), transparent);
	background-size: 200px 200px;
	opacity: 0.6;
	pointer-events: none;
	z-index: 0;
}

.twinkle {
	position: fixed;
	inset: 0;
	background: radial-gradient(
		ellipse 80% 50% at 50% 0%,
		rgba(76, 99, 148, 0.4),
		transparent 60%
	);
	pointer-events: none;
	z-index: 0;
}

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 2rem;
	z-index: 100;
	background: linear-gradient(to bottom, rgba(12, 20, 69, 0.95), transparent);
	transition: background 0.25s ease;
}

.header.scrolled {
	background: #ffd54f;
}

.header.scrolled .nav a {
	color: var(--night-deep);
}

.header.scrolled .nav a:hover {
	color: #b8860b;
}

.header.scrolled .menu-btn span {
	background: var(--night-deep);
}

/* Navbar logo: desktop shows center only; mobile top-bar logo hidden until scrolled */
.header .logo-mobile {
	display: none;
}
.header.scrolled .logo-mobile {
	display: flex;
	justify-content: center;
}

@media (min-width: 769px) {
	.header .logo-mobile {
		display: none !important;
	}
}

/* Desktop: centered logo with nav either side */
.nav-wrap {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.nav-left,
.nav-right {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.nav-left {
	justify-content: flex-end;
}

.nav-right {
	justify-content: flex-start;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.logo img {
	height: 11rem;
	width: auto;
	display: block;
}

/* Mobile: show only logo (left) and menu btn (right); center logo hidden */
.logo-mobile {
	display: none;
}

.logo-center {
	justify-self: center;
}

.nav a {
	color: var(--text-muted);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

.nav a:hover {
	color: var(--star);
}

.menu-btn {
	display: none;
	flex-direction: column;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

.menu-btn span {
	width: 24px;
	height: 2px;
	background: var(--text);
}

.nav-close {
	display: none;
}

@media (max-width: 768px) {
	.header {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
	}
	.header.scrolled .logo-mobile {
		grid-column: 2;
	}
	.logo-mobile img {
		height: 3.75rem;
	}
	.menu-btn {
		grid-column: 3;
		justify-self: end;
	}
	.logo-center {
		display: none;
	}
	.hero-inner .hero-logo {
		display: flex;
		justify-content: center;
		margin-bottom: 1.5rem;
	}
	.hero-inner .hero-logo img {
		height: 11rem;
		width: auto;
		display: block;
	}
	.nav-wrap .logo,
	.nav-wrap .logo-center {
		display: none !important;
	}
	.nav-wrap {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 80%;
		max-width: 280px;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		padding: 4rem 2rem 2rem;
		padding-top: 3.5rem;
		background: var(--night-mid);
		transform: translateX(100%);
		transition: transform 0.3s;
		grid-template-columns: none;
		margin: 0;
		z-index: 101;
	}
	.nav-wrap.open {
		transform: translateX(0);
	}
	.header.scrolled .nav-wrap {
		background: #ffd54f;
	}
	.header.scrolled .nav-close {
		color: var(--night-deep);
		border-color: var(--night-deep);
		background: rgba(0, 0, 0, 0.08);
	}
	.header.scrolled .nav-close:hover {
		color: #b8860b;
		border-color: #b8860b;
		background: rgba(184, 134, 11, 0.2);
	}
	.nav-close {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 0.75rem;
		right: 0.75rem;
		width: 3rem;
		height: 3rem;
		padding: 0;
		background: rgba(0, 0, 0, 0.35);
		border: 2px solid var(--text-muted);
		border-radius: 50%;
		color: var(--text);
		font-size: 1.75rem;
		line-height: 1;
		cursor: pointer;
		z-index: 10;
	}
	.nav-close:hover {
		color: var(--star);
		border-color: var(--star);
		background: rgba(255, 213, 79, 0.15);
	}
	.nav-left,
	.nav-right {
		justify-content: flex-start;
		flex-direction: column;
		align-items: flex-start;
	}
	.nav-left {
		border: none;
	}
	.menu-btn {
		display: flex;
	}
}

main {
	position: relative;
	z-index: 1;
}

/* Hero */
.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 4rem 1.5rem;
	position: relative;
}

.hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.hero-logo {
	display: none;
	text-decoration: none;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 100% 80% at 50% 20%,
		var(--night-soft) 0%,
		var(--night-deep) 70%
	);
	z-index: -1;
}

.hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 8vw, 4.5rem);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 1rem;
}

.hero-title .line {
	display: block;
}

.hero-title .accent {
	color: var(--star);
	font-style: italic;
}

.hero-tagline {
	font-size: 1.15rem;
	color: var(--text-muted);
	max-width: 480px;
	margin: 0 0 2rem;
	font-weight: 300;
}

.btn {
	display: inline-block;
	padding: 0.9rem 2rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}

.btn-primary {
	background: linear-gradient(135deg, var(--star), var(--star-soft));
	color: var(--night-deep);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255, 213, 79, 0.35);
}

.section {
	padding: 5rem 1.5rem;
}

.container {
	max-width: 960px;
	margin: 0 auto;
}

.section-title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 600;
	text-align: center;
	margin: 0 0 2.5rem;
	color: var(--text);
}

.about-text {
	font-size: 1.2rem;
	line-height: 1.7;
	color: var(--text-muted);
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
}

.services {
	background: linear-gradient(
		180deg,
		transparent,
		rgba(26, 35, 126, 0.3),
		transparent
	);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2rem;
}

.service-card {
	background: rgba(26, 35, 126, 0.4);
	border: 1px solid rgba(126, 164, 176, 0.2);
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	transition:
		border-color 0.2s,
		transform 0.2s;
}

.service-card:hover {
	border-color: rgba(255, 213, 79, 0.4);
	transform: translateY(-4px);
}

.service-icon {
	font-size: 2rem;
	color: var(--star);
	margin-bottom: 1rem;
}

.service-card h3 {
	font-family: var(--font-display);
	font-size: 1.35rem;
	margin: 0 0 0.5rem;
	color: var(--text);
}

.service-card p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.service-card-wide {
	grid-column: 1 / -1;
}

.includes-list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 560px;
}

.includes-list li {
	position: relative;
	padding: 0.6rem 0 0.6rem 2rem;
	color: var(--text-muted);
	line-height: 1.5;
	border-bottom: 1px solid rgba(126, 164, 176, 0.15);
}

.includes-list li:last-child {
	border-bottom: none;
}

.includes-list li::before {
	content: "✦";
	position: absolute;
	left: 0;
	color: var(--star);
}

.rates-block {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
	margin: 2rem 0;
}

.rate-item {
	background: rgba(26, 35, 126, 0.4);
	border: 1px solid rgba(126, 164, 176, 0.2);
	border-radius: 12px;
	padding: 1.25rem 1.75rem;
	text-align: center;
	min-width: 180px;
}

.rate-label {
	display: block;
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-bottom: 0.35rem;
}

.rate-value {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--star);
}

.rate-note {
	display: block;
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 0.35rem;
}

.rates-cta {
	text-align: center;
	color: var(--text-muted);
	max-width: 560px;
	margin: 0 auto;
	line-height: 1.6;
}

/* Gallery */
.section.gallery {
	background: linear-gradient(
		180deg,
		transparent,
		rgba(26, 35, 126, 0.25),
		transparent
	);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-top: 1rem;
}

.gallery-item {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(126, 164, 176, 0.2);
	background: var(--night-soft);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

@media (max-width: 900px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.gallery-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
}

.tc-block {
	background: rgba(26, 35, 126, 0.3);
	border: 1px solid rgba(126, 164, 176, 0.2);
	border-radius: 10px;
	padding: 1.5rem 1.75rem;
	margin-bottom: 1rem;
}

.tc-block h3 {
	font-family: var(--font-display);
	font-size: 1.2rem;
	color: var(--star);
	margin: 0 0 0.5rem;
}

.tc-block p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
	max-width: 800px;
	margin: 0 auto;
}

.contact-info {
	color: var(--text-muted);
	line-height: 1.8;
}

.contact-info strong {
	color: var(--star);
}

.form-honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.contact-form {
	display: flex;
	flex-direction: column;
	position: relative;
	gap: 1rem;
}

.contact-form input,
.contact-form textarea {
	padding: 0.75rem 1rem;
	font-family: var(--font-body);
	font-size: 1rem;
	background: rgba(26, 35, 126, 0.5);
	border: 1px solid rgba(126, 164, 176, 0.3);
	border-radius: 8px;
	color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: var(--text-muted);
	opacity: 0.8;
}

.contact-form textarea {
	resize: vertical;
	min-height: 100px;
}

@media (max-width: 640px) {
	.contact-content {
		grid-template-columns: 1fr;
	}
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 1.25rem;
}

.social-links a {
	color: var(--text-muted);
	transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
	color: var(--star);
	transform: translateY(-2px);
}

.social-icon {
	width: 1.75rem;
	height: 1.75rem;
	display: block;
}

.footer {
	text-align: center;
	padding: 2rem;
	color: var(--text-muted);
	font-size: 0.9rem;
	border-top: 1px solid rgba(126, 164, 176, 0.15);
}
