/* =================================================================
   Tea & Tumbles - Shared Stylesheet
   Pastel, playful theme based on the logo colours.
   ================================================================= */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

/* ---- Colour palette (from logo) ---- */
:root {
	--mint: #8fd9c4;
	--mint-dark: #5cb9a0;
	--pink: #f6a8c4;
	--pink-dark: #ef7da9;
	--yellow: #ffd97a;
	--blue: #8fc7ec;
	--blue-dark: #5fa8da;
	--lilac: #c3aede;

	--cream: #fff9f0;
	--ink: #4a4458;
	--ink-soft: #7a7488;
	--white: #ffffff;

	--shadow: 0 8px 24px rgba(74, 68, 88, 0.12);
	--radius: 22px;

	--font-head: 'Baloo 2', cursive;
	--font-body: 'Quicksand', sans-serif;
}

/* ---- Base / reset ---- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	color: var(--ink);
	background-color: var(--cream);
	line-height: 1.65;
	font-size: 17px;
}

h1, h2, h3 {
	font-family: var(--font-head);
	line-height: 1.2;
	color: var(--ink);
}

a {
	color: var(--blue-dark);
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.container {
	width: 90%;
	max-width: 1100px;
	margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1rem;
	color: var(--white);
	background-color: var(--pink-dark);
	padding: 12px 26px;
	border-radius: 999px;
	box-shadow: var(--shadow);
	transition: transform 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
	transform: translateY(-3px);
	background-color: var(--pink);
}

/* =================================================================
   Header
   ================================================================= */
.site-header {
	background-color: var(--white);
	box-shadow: 0 2px 16px rgba(74, 68, 88, 0.08);
	position: sticky;
	top: 0;
	z-index: 50;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
}

.site-logo img {
	width: 222px;
	height: 52px;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 26px;
}

.main-nav a {
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--ink);
	transition: color 0.18s ease;
}

.main-nav a:hover,
.main-nav a.active {
	color: var(--pink-dark);
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.8rem;
	color: var(--ink);
	line-height: 1;
}

/* =================================================================
   Hero / welcome
   ================================================================= */
.hero {
	text-align: center;
	padding: 70px 0 60px;
	background:
		radial-gradient(circle at 20% 30%, rgba(143, 217, 196, 0.35), transparent 40%),
		radial-gradient(circle at 80% 20%, rgba(246, 168, 196, 0.35), transparent 40%),
		radial-gradient(circle at 50% 90%, rgba(143, 199, 236, 0.35), transparent 45%);
}

.hero h1 {
	font-size: clamp(2.4rem, 6vw, 3.8rem);
	margin-bottom: 16px;
}

.hero p {
	max-width: 600px;
	margin: 0 auto 28px;
	color: var(--ink-soft);
	font-size: 1.15rem;
}

/* =================================================================
   Section headings
   ================================================================= */
.section {
	padding: 60px 0;
}

.section-title {
	text-align: center;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin-bottom: 40px;
}

/* =================================================================
   3 column info cards
   ================================================================= */
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.card {
	background-color: var(--white);
	border-radius: var(--radius);
	padding: 34px 28px;
	text-align: center;
	box-shadow: var(--shadow);
	transition: transform 0.2s ease;
}

.card:hover {
	transform: translateY(-6px);
}

.card-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
}

/* give each card a different pastel circle */
.card:nth-child(1) .card-icon {
	background-color: var(--mint);
}

.card:nth-child(2) .card-icon {
	background-color: var(--pink);
}

.card:nth-child(3) .card-icon {
	background-color: var(--blue);
}

.card h3 {
	font-size: 1.4rem;
	margin-bottom: 10px;
}

.card p {
	color: var(--ink-soft);
}

/* =================================================================
   Location / map
   ================================================================= */
.location {
	background-color: var(--white);
}

.location-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 36px;
	align-items: center;
}

.location-info h2 {
	font-size: 2rem;
	margin-bottom: 14px;
}

.location-info address {
	font-style: normal;
	color: var(--ink-soft);
	margin-bottom: 20px;
}

.map-embed {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	line-height: 0;
}

.map-embed iframe {
	width: 100%;
	height: 340px;
	border: 0;
}

/* =================================================================
   Gallery
   ================================================================= */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 180px;
	gap: 16px;
}

.gallery-item {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	cursor: pointer;
}

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

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

/* make a few tiles bigger for a playful layout */
.gallery-item.wide {
	grid-column: span 2;
}

.gallery-item.tall {
	grid-row: span 2;
}

/* Lightbox */
.lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(74, 68, 88, 0.85);
	z-index: 100;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.lightbox.open {
	display: flex;
}

.lightbox img {
	max-width: 90%;
	max-height: 85vh;
	border-radius: var(--radius);
}

.lightbox-close {
	position: absolute;
	top: 24px;
	right: 30px;
	font-size: 2.4rem;
	color: var(--white);
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
}

/* =================================================================
   Terms page
   ================================================================= */
.terms-page {
	padding: 60px 0;
}

.terms-content {
	background-color: var(--white);
	border-radius: var(--radius);
	padding: 40px 44px;
	box-shadow: var(--shadow);
	max-width: 820px;
	margin: 0 auto;
}

.terms-content h1 {
	font-size: 2.4rem;
	margin-bottom: 8px;
}

.terms-content .updated {
	color: var(--ink-soft);
	font-size: 0.95rem;
	margin-bottom: 30px;
}

.terms-content h2 {
	font-size: 1.4rem;
	margin: 28px 0 10px;
	color: var(--pink-dark);
}

.terms-content p,
.terms-content li {
	color: var(--ink-soft);
	margin-bottom: 12px;
}

.terms-content ul {
	padding-left: 22px;
}

/* =================================================================
   Full image / feature page
   ================================================================= */
.feature-page {
	min-height: calc(100vh - 80px);
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	text-align: center;
}

.feature-card {
	background-color: rgba(255, 249, 240, 0.92);
	border-radius: var(--radius);
	padding: 40px 48px;
	box-shadow: var(--shadow);
	max-width: 560px;
}

.feature-card h1 {
	font-size: clamp(2rem, 5vw, 3rem);
	margin-bottom: 14px;
}

.feature-card p {
	color: var(--ink-soft);
	margin-bottom: 24px;
}

/* =================================================================
   Footer
   ================================================================= */
.site-footer {
	background-color: var(--ink);
	color: var(--cream);
	text-align: center;
	padding: 30px 0;
	margin-top: 20px;
}

.site-footer a {
	color: var(--yellow);
}

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 880px) {
	.cards {
		grid-template-columns: 1fr;
	}

	.location-grid {
		grid-template-columns: 1fr;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Mobile nav */
	.nav-toggle {
		display: block;
	}

	.main-nav {
		display: none;
		position: absolute;
		top: 80px;
		left: 0;
		right: 0;
		background-color: var(--white);
		flex-direction: column;
		gap: 0;
		box-shadow: var(--shadow);
		padding: 10px 0;
	}

	.main-nav.open {
		display: flex;
	}

	.main-nav a {
		padding: 12px 20px;
		width: 100%;
		text-align: center;
	}

	.site-logo img {
		width: 180px;
		height: auto;
	}
}
