@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Nunito:wght@700;800&family=Poppins:wght@500;600;700&display=swap');

/* =============================
   The Gathering Place Theme
   Edit variables below first.
   ============================= */
:root {
	/* Core palette */
	--bg-cream: #faf3e0;
	--text-primary: #3e2723;
	--accent-gold: #e8b76b;
	--accent-orange: #e8a76b;
	--accent-gold-active: #d4a556;
	--coffee-brown: #8b6f47;
	--soft-gray: #f5f5f5;
	--white: #ffffff;

	/* Club accents */
	--soft-pink: #e8d5d5;
	--soft-blue: #d4e8f7;
	--soft-purple: #e8d5f7;
	--soft-coral: #f7d9d4;
	--soft-green: #d5f7e8;

	/* Typography */
	--font-heading: 'Poppins', 'Segoe UI', sans-serif;
	--font-body: 'Inter', 'Open Sans', sans-serif;
	--font-display: 'Nunito', 'Trebuchet MS', sans-serif;

	/* Spacing scale */
	--space-xs: 8px;
	--space-sm: 16px;
	--space-md: 24px;
	--space-lg: 32px;
	--space-xl: 48px;
	--space-xxl: 64px;

	/* Reusable tokens */
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-pill: 999px;
	--shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.1);
	--shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
	--focus-ring: 0 0 0 3px rgba(232, 167, 107, 0.35);
	--transition: all 0.3s ease-in-out;
	--container: min(1200px, calc(100% - 40px));
}

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

html,
body {
	overflow-x: hidden;
}

body {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text-primary);
	/* background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 45%),
		radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.32), transparent 40%),
		var(--bg-cream); */
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	line-height: 1.3;
	color: var(--text-primary);
}

h1 {
	font-family: var(--font-display);
	font-size: 2rem;
}

h2 {
	font-size: 1.8rem;
}

h3 {
	font-size: 1.2rem;
}

h4 {
	font-size: 1.1rem;
}

p,
li,
label,
input,
textarea,
select,
button {
	font-family: var(--font-body);
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: var(--transition);
}

section {
	padding: 40px 0;
}

.about-container,
.clubs-container,
.contact-container,
.footer-container,
.menu,
.content {
	width: var(--container);
	margin-inline: auto;
}

.about h2,
.clubs h2,
.contact h2,
.menu h2 {
	text-align: center;
	margin-bottom: var(--space-md);
}

/* =============================
   Shared interactive elements
   ============================= */
button,
.cta-button,
.join-btn,
.suggest-btn,
.submit-btn,
.hero-section button {
	background: var(--accent-gold);
	color: #2f1f1b;
	border: none;
	border-radius: var(--radius-pill);
	padding: 12px 32px;
	min-height: 48px;
	cursor: pointer;
	font-weight: 600;
	transition: var(--transition);
	box-shadow: 0 4px 10px rgba(139, 111, 71, 0.22);
}

button:hover,
.cta-button:hover,
.join-btn:hover,
.suggest-btn:hover,
.submit-btn:hover,
.hero-section button:hover {
	background: var(--accent-orange);
	transform: scale(1.05);
	box-shadow: var(--shadow-hover);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: none;
	box-shadow: var(--focus-ring);
}

/* =============================
   Navigation
   ============================= */
.navbar {
	background: linear-gradient(135deg, var(--coffee-brown), #6f5637);
	position: sticky;
	top: 0;
	z-index: 999;
	min-height: 74px;
	box-shadow: 0 2px 14px rgba(62, 39, 35, 0.25);
}

.nav-container {
	width: var(--container);
	margin-inline: auto;
	min-height: 74px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-sm);
}

.logo {
	font-family: var(--font-display);
	font-weight: 800;
	color: #fff8eb;
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
}

.logo::before {
	content: '\2615';
	font-size: 1.2rem;
}

.logo h1 {
	color: #fff8eb;
	font-size: 1.05rem;
}

.logo-icon {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff8eb;
}

.nav-menu,
.menu-links {
	list-style: none;
	display: flex;
	align-items: center;
	gap: var(--space-md);
}

.nav-menu a,
.menu-links a,
.nav-link {
	color: #fff8eb;
	font-size: 1rem;
	position: relative;
}

.nav-menu a:hover,
.menu-links a:hover,
.nav-link:hover {
	color: var(--accent-gold);
}

.nav-menu a::after,
.menu-links a::after,
.nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 2px;
	background: var(--accent-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: var(--transition);
}

.nav-menu a:hover::after,
.menu-links a:hover::after,
.nav-link:hover::after {
	transform: scaleX(1);
}

.hamburger,
#hamburger-btn,
#close-menu-btn {
	display: none;
	color: #fff8eb;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 4px 0;
	background: #fff8eb;
}

/* =============================
   Hero
   ============================= */
.hero,
.hero-section {
	min-height: 80vh;
	display: grid;
	place-items: center;
	text-align: center;
	position: relative;
	background: #ffffff;
}

.hero-section {
	background:
		linear-gradient(145deg, rgba(245, 245, 245, 0.92), rgba(247, 217, 212, 0.75)),
		radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.45), transparent 35%);
}

.hero .hero-overlay {
	display: none;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	/* background-image:
		linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px); */
	background-size: 28px 28px;
	pointer-events: none;
}

.hero-content,
.hero-section .content {
	width: min(760px, calc(100% - 40px));
	position: relative;
	z-index: 1;
	/* animation: fade-up 0.8s ease both; */
}

.hero-title,
.hero-section h2 {
	font-size: 2rem;
	margin-bottom: var(--space-sm);
}

.hero-subtitle,
.hero-section p {
	color: rgba(62, 39, 35, 0.85);
	margin-bottom: var(--space-md);
}

/* =============================
   About
   ============================= */
.about {
	background: rgba(255, 255, 255, 0.5);
}

.about-content {
	display: grid;
	gap: var(--space-md);
}

.about-intro {
	font-size: 1.05rem;
}

.highlight {
	color: var(--coffee-brown);
	font-weight: 700;
}

.about-mission,
.about-values,
.about-why {
	background: var(--white);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(232, 183, 107, 0.32);
}

.values-list,
.why-list {
	margin-top: var(--space-sm);
	padding-left: 20px;
	display: grid;
	gap: var(--space-xs);
}

/* =============================
   Clubs
   ============================= */
.clubs {
	background: linear-gradient(180deg, rgba(245, 245, 245, 0.75), rgba(250, 243, 224, 0.85));
}

.clubs-intro {
	width: min(780px, 100%);
	text-align: center;
	margin: 0 auto var(--space-lg);
}

.clubs-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
}

.club-card {
	background: var(--white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	padding: var(--space-md);
	border-top: 6px solid var(--soft-pink);
	transition: var(--transition);
	animation: fade-up 0.6s ease both;
}

.book-club {
	border-top-color: var(--soft-blue);
}

.gaming-club {
	border-top-color: var(--soft-purple);
}

.art-club {
	border-top-color: var(--soft-coral);
}

.conversation-club {
	border-top-color: var(--soft-green);
}

.baking-club {
	border-top-color: #f7e6b9;
}

.journal-club {
	border-top-color: #f3c9d5;
}

.club-card:hover {
	transform: scale(1.03);
	box-shadow: var(--shadow-hover);
	background: #fffcf8;
}

.club-header {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	margin-bottom: var(--space-sm);
}

.club-icon {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--bg-cream);
	font-size: 2rem;
}

.club-description {
	color: rgba(62, 39, 35, 0.8);
}

.club-details {
	margin: var(--space-sm) 0;
	background: var(--soft-gray);
	border-radius: var(--radius-sm);
	padding: 12px;
	font-size: 0.9rem;
	display: grid;
	gap: var(--space-xs);
}

.detail-item {
	display: flex;
	justify-content: space-between;
	gap: var(--space-sm);
}

.detail-label {
	font-weight: 600;
}

.club-experience h4 {
	margin-bottom: var(--space-xs);
}

.club-experience ul {
	padding-left: 20px;
	font-size: 0.95rem;
	display: grid;
	gap: 6px;
}

.join-btn {
	margin-top: var(--space-sm);
	width: 100%;
}

.clubs-cta {
	text-align: center;
	margin-top: var(--space-lg);
	padding: var(--space-md);
	border: 2px dashed rgba(139, 111, 71, 0.35);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.7);
}

.clubs-cta p {
	margin-bottom: var(--space-sm);
}

/* =============================
   Contact
   ============================= */
.contact {
	background: rgba(255, 255, 255, 0.65);
}

.contact-content {
	display: grid;
	gap: var(--space-lg);
}

.contact-intro {
	text-align: center;
}

.contact-methods {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
}

.contact-card {
	background: var(--white);
	border: 1px solid rgba(232, 183, 107, 0.4);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	box-shadow: var(--shadow-soft);
	transition: var(--transition);
}

.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.contact-card h3 {
	margin-bottom: var(--space-xs);
}

.contact-note {
	margin-top: 6px;
	font-size: 0.9rem;
	color: rgba(62, 39, 35, 0.72);
}

.contact-form-section {
	background: var(--soft-gray);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	border: 1px solid rgba(232, 183, 107, 0.3);
}

.contact-form {
	display: grid;
	gap: var(--space-sm);
}

.form-group {
	display: grid;
	gap: 6px;
}

label {
	color: var(--text-primary);
	font-weight: 600;
	font-size: 0.95rem;
}

input,
textarea,
select {
	width: 100%;
	border: 2px solid var(--accent-gold);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	background: var(--white);
	font-size: 1rem;
	color: var(--text-primary);
	transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--accent-orange);
}

textarea {
	min-height: 120px;
	resize: vertical;
}

.submit-btn {
	width: fit-content;
}

/* =============================
   Menu page
   ============================= */
.menu {
	width: var(--container);
	margin: 0 auto;
	padding-top: var(--space-xl);
	padding-bottom: var(--space-xxl);
	position: relative;
}

.menu::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 10% 10%, rgba(232, 183, 107, 0.16), transparent 32%),
		radial-gradient(circle at 90% 90%, rgba(212, 232, 247, 0.2), transparent 34%);
	pointer-events: none;
	z-index: -1;
}

.menu > h2 {
	margin-bottom: var(--space-xl);
	font-size: clamp(2rem, 3.2vw, 3rem);
	position: relative;
}

.menu > h2::after {
	content: '  Cafe Favorites';
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(62, 39, 35, 0.65);
	display: block;
	margin-top: 6px;
	letter-spacing: 0.04em;
}

.menu-category {
	margin-bottom: var(--space-xl);
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(212, 165, 86, 0.24);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	box-shadow: var(--shadow-soft);
}

.menu-category > h3 {
	margin-bottom: var(--space-sm);
	color: var(--coffee-brown);
	padding-left: var(--space-xs);
	border-left: 4px solid var(--accent-gold);
	letter-spacing: 0.01em;
}

.menu-category:nth-of-type(even) {
	background: rgba(250, 243, 224, 0.85);
}

.menu-items {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-sm);
}

.menu-item {
	background: var(--white);
	border: 1px solid rgba(212, 165, 86, 0.38);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	box-shadow: var(--shadow-soft);
	transition: var(--transition);
	display: grid;
	grid-template-columns: 1fr auto;
	column-gap: var(--space-sm);
	row-gap: 4px;
	align-items: start;
	border-left: 5px solid rgba(232, 183, 107, 0.62);
}

.menu-item:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
	border-left-color: var(--accent-orange);
}

.menu-item h4 {
	margin-bottom: 0;
	font-size: 1.15rem;
}

.menu-item p {
	grid-column: 1 / -1;
	color: rgba(62, 39, 35, 0.82);
}

.price {
	display: inline-block;
	margin-top: 0;
	font-weight: 700;
	color: var(--coffee-brown);
	background: rgba(232, 183, 107, 0.22);
	border-radius: var(--radius-pill);
	padding: 6px 12px;
	justify-self: end;
}

/* =============================
   Footer
   ============================= */
.footer {
	background: linear-gradient(160deg, #3e2723, #5a3d2f);
	color: #faf3e0;
	padding: 40px 0;
}

.footer-container {
	width: var(--container);
	margin-inline: auto;
	display: grid;
	gap: var(--space-md);
}

.footer-links,
.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
}

.footer a {
	color: #faf3e0;
}

.footer a:hover {
	color: var(--accent-gold);
}

.footer-bottom {
	opacity: 0.9;
	font-size: 0.9rem;
}

/* =============================
   bwd.html specific mobile menu
   ============================= */
header.show-mobile-menu .menu-links {
	right: 0;
}

/* =============================
   Responsive breakpoints
   ============================= */
@media (min-width: 768px) {
	section {
		padding: 60px 0;
	}

	h2 {
		font-size: 2.5rem;
	}

	h3 {
		font-size: 1.5rem;
	}

	.hero-title,
	.hero-section h2 {
		font-size: 3rem;
	}

	.contact-methods {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.menu-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-container {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: start;
	}

	.footer-bottom {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1200px) {
	h1 {
		font-size: 3.5rem;
	}

	.hero-title,
	.hero-section h2 {
		font-size: 3.5rem;
	}

	.clubs-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.contact-methods {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.menu-items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.nav-menu {
		display: none;
	}

	.hamburger,
	#hamburger-btn,
	#close-menu-btn {
		display: block;
	}

	.menu-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 260px;
		height: 100vh;
		padding: 84px var(--space-md) var(--space-md);
		background: #533b26;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-sm);
		transition: var(--transition);
		z-index: 1100;
	}

	#close-menu-btn {
		position: absolute;
		top: var(--space-sm);
		right: var(--space-sm);
		font-size: 1.6rem;
	}
}

@keyframes fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
