/* =========================================================
   Smith Point Fish and Hunt Club - site styles
   Colors are set once here. Change them and the whole site follows.
   ========================================================= */
:root {
	/* colors taken from the club logo */
	--green: #141b18;        /* logo black - menu bar, footer */
	--green-dark: #0d1210;   /* deeper black - banner, photos */
	--green-soft: #e9ebe0;   /* pale shark gray */
	--tan: #f6f4ea;          /* light background */
	--tan-dark: #e2dfcc;
	--accent: #e0d02a;       /* logo yellow - buttons, highlights */
	--accent-dark: #c4b51b;
	--on-accent: #141b18;    /* text on yellow */
	--shark: #767e5f;        /* shark gray-green */
	--shark-dark: #4f5640;
	--blue: #4f5640;         /* links */
	--text: #1d221e;
	--muted: #5d6253;
	--white: #ffffff;
	--radius: 10px;
	--shadow: 0 2px 10px rgba(20, 38, 25, 0.10);
	--bar-height: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-height) + 12px); }

body {
	margin: 0;
	font-family: "Source Sans 3", "Source Sans Pro", Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
}

h1, h2, h3 {
	font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	margin: 0 0 0.6em;
}

a { color: var(--blue); }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1150px; margin: 0 auto; padding: 0 20px; }
.small { font-size: 0.9rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	padding: 0.7em 1.3em;
	border-radius: 999px;
	border: 2px solid transparent;
	font-weight: 700; font-size: 1rem;
	text-decoration: none; cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-dark); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.75); }
.btn-ghost:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-block { width: 100%; margin-top: 0.75rem; }
[hidden] { display: none !important; }

/* ---------- Menu bar ---------- */
.topbar {
	position: sticky; top: 0; z-index: 50;
	background: var(--green);
	border-bottom: 3px solid var(--accent);
	color: var(--white);
	box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.topbar-inner {
	max-width: 1150px; margin: 0 auto; padding: 0 20px;
	height: var(--bar-height);
	display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; }
.brand-text { font-family: "Oswald", sans-serif; font-size: 1.15rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.04em; }
.brand-text small { font-size: 0.72rem; letter-spacing: 0.12em; opacity: 0.85; }

.mainnav { display: flex; align-items: center; gap: 0.25rem; }
.mainnav a {
	white-space: nowrap;
	color: var(--white); text-decoration: none; font-weight: 600; font-size: 1rem;
	padding: 0.45em 0.8em; border-radius: 6px;
}
.mainnav a:hover, .mainnav a.active { background: rgba(255,255,255,0.12); color: var(--white); }
.mainnav .nav-cta { background: var(--accent); color: var(--on-accent); margin-left: 0.4rem; }
.mainnav .nav-cta:hover { background: var(--accent-dark); color: var(--on-accent); }
.mainnav a.active:not(.nav-cta) { box-shadow: inset 0 -3px 0 var(--accent); }

.menu-toggle {
	display: none; background: none; border: 0; color: var(--white);
	font-size: 1.5rem; padding: 0.4rem 0.6rem; cursor: pointer;
}

/* ---------- Calendar panel (opens under the menu bar) ---------- */
.calendar-panel {
	position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
	top: calc(var(--bar-height) + 3px);
	background: var(--white); display: flex; flex-direction: column;
	box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}
.calendar-panel[hidden] { display: none; }
.calendar-bar {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 10px 20px; background: var(--tan); border-bottom: 1px solid var(--tan-dark);
}
.calendar-bar h2 { margin: 0; font-size: 1.3rem; text-transform: uppercase; color: var(--green); }
.calendar-bar h2 i { color: var(--shark); margin-right: 0.3em; }
.calendar-actions { display: flex; align-items: center; gap: 0.6rem; }
.calendar-newtab { font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--shark-dark); padding: 0.4em 0.6em; }
.calendar-newtab:hover { text-decoration: underline; }
.calendar-close {
	background: var(--green); color: var(--accent); border: 0; border-radius: 999px;
	padding: 0.5em 1.1em; font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer;
}
.calendar-close:hover { background: #000; }
.calendar-panel iframe { flex: 1; width: 100%; border: 0; background: var(--white); }
.mainnav .nav-cta.is-open { box-shadow: inset 0 0 0 2px var(--green), 0 0 0 2px var(--accent); }
body.calendar-open { overflow: hidden; }

/* ---------- Banner ---------- */
.hero {
	position: relative;
	display: flex; align-items: center;
	background: radial-gradient(circle at 75% 50%, #2a3126 0%, var(--green-dark) 60%);
	color: var(--white);
	border-bottom: 6px solid var(--accent);
}
.hero-inner {
	position: relative; max-width: 1150px; width: 100%; margin: 0 auto; padding: 48px 20px;
	display: flex; align-items: center; gap: 48px; flex-direction: row-reverse; justify-content: space-between;
}
.hero-logo { width: min(380px, 38vw); height: auto; flex-shrink: 0; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6)); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 12em; text-transform: uppercase; margin-bottom: 0.15em; color: var(--accent); }
.hero-sub { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.12em; color: #c9cdb8; margin: 0 0 0.6rem; }
.tagline { font-size: 1.35rem; margin: 0 0 1.5rem; opacity: 0.95; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-dark { background: var(--green-dark); color: var(--white); }
.section-dark .section-title { color: var(--accent); }
.section-tan { background: var(--tan); }
.section-title { font-size: 2rem; text-transform: uppercase; position: relative; padding-bottom: 0.35em; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--accent); border-radius: 2px; }
.section-intro { margin-top: -0.2rem; opacity: 0.85; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.card {
	background: var(--white);
	border: 1px solid var(--tan-dark);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 22px 24px;
}
.card-label {
	font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.06em;
	font-size: 0.95rem; color: var(--shark-dark); margin-bottom: 0.6rem;
}
.card-label i { margin-right: 0.3em; }
.card-feature { border-top: 5px solid var(--accent); }

.meeting-date { font-family: "Oswald", sans-serif; font-size: 1.6rem; line-height: 1.2; margin: 0; color: var(--green); }
.meeting-time { font-size: 1.25rem; font-weight: 700; margin: 0.1rem 0 0.5rem; }
.meeting-place { margin: 0; }
.meeting-place i { color: var(--shark); margin-right: 0.2em; }
.meeting-past { display: none; }
.card-feature.is-past > :not(.card-label):not(.meeting-past) { display: none; }
.card-feature.is-past .meeting-past { display: block; }

.howto { margin-top: 0.9rem; border-top: 1px solid var(--tan-dark); padding-top: 0.6rem; }
.howto summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.howto ol { padding-left: 1.2em; margin: 0.6rem 0; }
.howto li { margin-bottom: 0.35rem; }

.schedule, .news { list-style: none; padding: 0; margin: 0 0 0.5rem; }
.schedule li { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; padding: 0.45rem 0; border-bottom: 1px solid var(--tan); }
.news li { padding: 0.55rem 0 0.55rem 1.1rem; border-bottom: 1px solid var(--tan); position: relative; }
.news li:last-child, .schedule li:last-child { border-bottom: 0; }
.news li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pill { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.15em 0.65em; border-radius: 999px; color: var(--white); }
.pill-green { background: var(--green); }
.pill-blue { background: var(--shark); }

/* ---------- Photos ---------- */
.album-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 1.5rem; }
.album-tab {
	background: rgba(255,255,255,0.08); color: var(--white);
	border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
	padding: 0.45em 1em; font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
}
.album-tab:hover { background: rgba(255,255,255,0.18); }
.album-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.album-tab .count { opacity: 0.75; font-weight: 400; margin-left: 0.3em; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.photo-grid button {
	position: relative; padding: 0; border: 0; cursor: zoom-in;
	aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; background: #2a3a2f;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-grid button:hover img, .photo-grid button:focus-visible img { transform: scale(1.05); }
.photo-grid .tile-caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4em 0.6em 0.45em;
	background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: var(--white);
	font-size: 0.85rem; text-align: left;
}
.grid-more { text-align: center; margin-top: 1.5rem; }
.photo-error { background: rgba(255,255,255,0.1); padding: 1rem; border-radius: 8px; border-left: 4px solid var(--accent); margin: 0 0 1rem; }
.photo-error code { background: rgba(0,0,0,0.35); padding: 0.1em 0.4em; border-radius: 4px; }

/* Full-size viewer */
.lightbox {
	position: fixed; inset: 0; z-index: 100;
	background: rgba(5, 10, 7, 0.94);
	display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 92vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: var(--white); margin-top: 0.75rem; text-align: center; display: flex; flex-direction: column; gap: 0.2rem; }
.lb-count { font-size: 0.85rem; opacity: 0.7; }
.lightbox button {
	position: absolute; background: rgba(255,255,255,0.12); color: var(--white);
	border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; cursor: pointer;
}
.lightbox button:hover { background: var(--accent); color: var(--on-accent); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Divisions ---------- */
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.division { text-align: left; }
.division-icon {
	width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--accent); border: 2px solid var(--accent);
	display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 0.8rem;
}
.division h3 { font-size: 1.5rem; text-transform: uppercase; color: var(--green); }
.division { border-top: 5px solid var(--shark); }
.division ul { padding-left: 1.1em; margin: 0; }
.division li { margin-bottom: 0.3rem; }
.family-note {
	margin-top: 24px; display: flex; gap: 1rem; align-items: center;
	background: var(--green-soft); border-radius: var(--radius); padding: 16px 22px;
}
.family-note i { font-size: 1.8rem; color: var(--green); }
.family-note p { margin: 0; }

/* ---------- Duck hunting checklist ---------- */
/* Click-to-open banner */
.section-collapsible { padding: 28px 0; }
.collapsible > summary {
	list-style: none; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 4px 0;
}
.collapsible > summary::-webkit-details-marker { display: none; }
.collapsible > summary .section-title { margin: 0; }
.collapse-toggle {
	display: inline-flex; align-items: center; gap: 0.5rem; flex-shrink: 0;
	font-weight: 700; font-size: 0.95rem; color: var(--green);
	border: 2px solid var(--green); border-radius: 999px; padding: 0.4em 1em;
	transition: background 0.15s, color 0.15s;
}
.collapsible > summary:hover .collapse-toggle { background: var(--green); color: var(--accent); }
.collapse-toggle i { transition: transform 0.2s; }
.collapsible[open] .collapse-toggle i { transform: rotate(180deg); }
.collapsible .when-open, .collapsible[open] .when-closed { display: none; }
.collapsible[open] .when-open { display: inline; }
.collapsible[open] > summary { margin-bottom: 0.8rem; }

.checklist { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.checklist li {
	counter-increment: step; position: relative;
	background: var(--white); border: 1px solid var(--tan-dark); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 20px 22px 20px 70px;
}
.checklist li::before {
	content: counter(step); position: absolute; left: 18px; top: 18px;
	width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
	background: var(--green); color: var(--accent); font-family: "Oswald", sans-serif; font-size: 1.1rem; font-weight: 600;
}
.checklist h3 { font-size: 1.2rem; text-transform: uppercase; color: var(--green); margin-bottom: 0.35rem; }
.checklist p { margin: 0 0 0.5rem; }
.checklist a { font-weight: 600; }
.checklist a[target]::after { content: " \2197"; font-size: 0.85em; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about h3 { font-size: 1.3rem; margin-top: 1.2rem; color: var(--green); text-transform: uppercase; }
.about-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4 / 3; background: var(--tan-dark); }

/* ---------- Links ---------- */
.link-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.link-list a {
	display: flex; align-items: center; gap: 0.8rem;
	padding: 14px 18px; border: 1px solid var(--tan-dark); border-radius: var(--radius);
	text-decoration: none; color: var(--text); font-weight: 600; background: var(--white);
}
.link-list a:hover { border-color: var(--shark); color: var(--shark-dark); background: var(--green-soft); }
.link-list i { color: var(--green); font-size: 1.2rem; width: 1.4em; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--green); color: var(--white); text-align: center; padding: 56px 0 32px; border-top: 6px solid var(--accent); }
.footer h2 { color: var(--accent); }
.footer h2 { font-size: 2rem; text-transform: uppercase; }
.social { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; justify-content: center; gap: 0.8rem; }
.social a {
	width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
	border: 2px solid rgba(255,255,255,0.5); color: var(--white); text-decoration: none; font-size: 1.1rem;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.copyright { font-size: 0.9rem; opacity: 0.8; margin-top: 1.5rem; }
.copyright a { color: var(--white); }

/* ---------- Menu folds into the ☰ button on smaller screens ---------- */
@media (max-width: 1100px) {
	.menu-toggle { display: block; }
	.mainnav {
		display: none;
		position: absolute; top: var(--bar-height); left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--green); padding: 8px 12px 16px;
		box-shadow: 0 8px 16px rgba(0,0,0,0.3);
	}
	.mainnav.open { display: flex; }
	.mainnav a { padding: 0.85em 0.8em; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
	.mainnav .nav-cta { margin: 0.6rem 0 0; text-align: center; border-bottom: 0; }
}

/* ---------- Phones and small tablets ---------- */
@media (max-width: 900px) {
	.about { grid-template-columns: 1fr; }
	.about-image { order: -1; }
	.hero-inner { flex-direction: column; text-align: center; gap: 24px; padding: 32px 20px 40px; }
	.hero-logo { width: min(260px, 62vw); }
	.hero h1 { margin-left: auto; margin-right: auto; }
	.hero-buttons { justify-content: center; }
}
@media (max-width: 600px) {
	body { font-size: 17px; }
	.hero-sub { letter-spacing: 0.05em; font-size: 0.95rem; }
	.collapsible > summary .section-title { font-size: 1.45rem; }
	.collapse-toggle { padding: 0.35em 0.8em; }
	.calendar-bar { padding: 8px 12px; }
	.calendar-bar h2 { font-size: 1.05rem; }
	.calendar-newtab span, .calendar-close span { display: none; }
	.calendar-newtab, .calendar-close { font-size: 1.1rem; padding: 0.45em 0.75em; }
	.section { padding: 44px 0; }
	.photo-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
	.photo-grid button { border-radius: 3px; }
	.photo-grid .tile-caption { display: none; }
	.lightbox button.lb-prev, .lightbox button.lb-next { top: auto; bottom: 18px; transform: none; }
	.lb-prev { left: 25%; } .lb-next { right: 25%; }
	.lightbox img { max-height: 72vh; }
}
