/* ==========================================================================
   Logan Bruce Art — site stylesheet
   Modern, responsive rebuild (replaces Muse-generated per-page CSS)
   ========================================================================== */

:root {
	--color-text: #222;
	--color-bg: #fff;
	--color-nav-bg: #7f7f7f;
	--color-nav-item: #c4c4c4;
	--color-nav-item-hover: #999;
	--color-nav-item-active: #6b6b6b;
	--color-caption-bg: #7f7f7f;
	--color-caption-text: #fff;
	--font-heading: "Trebuchet MS", Trebuchet, Tahoma, Arial, sans-serif;
	--font-caption: Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
	--font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
	--max-width: 1100px;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.5;
}

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

a {
	color: inherit;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ------------------------- Site header / branding ------------------------ */

.site-header {
	padding: 20px 24px 0;
}

.site-title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 32px;
	line-height: 1.2;
}

.site-title a {
	text-decoration: none;
	color: var(--color-text);
}

.site-contact {
	margin: 4px 0 0;
	font-family: var(--font-heading);
	font-size: 17px;
}

.site-contact a {
	text-decoration: none;
}

.site-contact a:hover {
	text-decoration: underline;
}

.about-cta {
	margin: 14px 0 0;
}

.about-cta a {
	display: inline-block;
	padding: 10px 20px;
	background-color: var(--color-nav-bg);
	color: #fff;
	text-decoration: none;
	font-family: var(--font-heading);
	font-size: 15px;
	letter-spacing: 0.5px;
	border-radius: 3px;
}

.about-cta a:hover {
	background-color: var(--color-nav-item-active);
}

/* ---------------------------------- Nav ----------------------------------- */

.site-nav-bar {
	position: relative;
	margin-top: 16px;
	background-color: var(--color-nav-bg);
}

.nav-toggle {
	display: none;
	width: 100%;
	padding: 14px 20px;
	background: var(--color-nav-bg);
	color: #fff;
	border: 0;
	font-family: var(--font-heading);
	font-size: 18px;
	text-align: left;
	cursor: pointer;
}

.nav-toggle::after {
	content: "\2630";
	float: right;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
}

.site-nav li {
	flex: 1 1 auto;
}

.site-nav a {
	display: block;
	position: relative;
	padding: 22px 10px;
	min-height: 79px;
	background-color: var(--color-nav-item);
	background-size: cover;
	background-position: center;
	color: #fff;
	text-decoration: none;
	text-align: center;
	letter-spacing: 1px;
	font-family: var(--font-heading);
	font-size: 18px;
	line-height: 1.3;
}

.site-nav a span {
	position: relative;
	display: block;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.site-nav a:hover {
	background-color: var(--color-nav-item-hover);
}

.site-nav a:active {
	background-color: var(--color-nav-item-active);
}

.site-nav a.is-active {
	background-color: var(--color-nav-item-hover);
}

.nav-home {
	background-color: var(--color-nav-item);
}

.nav-fruit {
	background-image: url("../images/fruit%20clip.jpg");
}

.nav-flesh {
	background-image: url("../images/flesh%20clip.jpg");
}

.nav-fur {
	background-image: url("../images/other%20clip2.png");
}

.nav-bead {
	background-image: url("../images/beadclip.png");
}

.nav-other {
	background-image: url("../images/small%20clip.jpg");
}

@media (max-width: 700px) {
	.nav-toggle {
		display: block;
	}

	.site-nav {
		display: none;
		flex-direction: column;
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav a {
		min-height: 56px;
		padding: 16px;
	}
}

/* ---------------------------------- Main ----------------------------------- */

main {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* ------------------------------ About page --------------------------------- */

.about-content {
	max-width: 700px;
	margin: 40px auto 80px;
	font-size: 16px;
	line-height: 1.7;
}

.about-content h1 {
	font-family: var(--font-heading);
	font-size: 30px;
	margin: 0 0 24px;
}

.about-content h2 {
	font-family: var(--font-heading);
	font-size: 20px;
	letter-spacing: 0.5px;
	margin: 32px 0 8px;
	color: #555;
}

.about-content p {
	margin: 0 0 14px;
}

/* -------------------------------- Galleries --------------------------------- */

/* Single-column vertical gallery (used on the Fruit page) */
.fruit-gallery {
	max-width: 700px;
	margin: 0 auto;
	padding: 40px 0 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fruit-gallery-item {
	margin-bottom: 60px;
	text-align: center;
	max-width: 100%;
}

.fruit-gallery-link,
.fruit-gallery-img {
	display: block;
	margin: 0 auto;
}

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

.fruit-gallery-caption {
	display: inline-block;
	margin-top: 12px;
	background-color: var(--color-caption-bg);
	color: var(--color-caption-text);
	font-family: var(--font-caption);
	line-height: 20px;
	padding: 10px 16px;
	text-align: left;
}

.fruit-gallery-caption p {
	margin: 0;
}

/* Responsive grid gallery (used on Flesh / Fur / Bead Work / Other Work) */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 40px 30px;
	padding: 40px 0 60px;
}

.gallery-item {
	text-align: center;
}

.gallery-link,
.gallery-img {
	display: block;
	margin: 0 auto;
}

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

.gallery-caption {
	display: inline-block;
	margin-top: 12px;
	background-color: var(--color-caption-bg);
	color: var(--color-caption-text);
	font-family: var(--font-caption);
	line-height: 20px;
	padding: 10px 16px;
	text-align: left;
}

.gallery-caption p {
	margin: 0;
}

/* --------------------------------- Home page --------------------------------- */

.hero-slideshow {
	position: relative;
	max-width: 500px;
	margin: 30px auto 20px;
}

.hero-slideshow-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 451 / 465;
	background: #f4f4f4;
	overflow: hidden;
}

.hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.hero-slide img {
	max-width: 100%;
	max-height: 100%;
	display: block;
}

.hero-caption {
	position: absolute;
	left: 16px;
	bottom: 16px;
	max-width: 60%;
	background-color: var(--color-caption-bg);
	color: var(--color-caption-text);
	font-family: var(--font-caption);
	line-height: 20px;
	padding: 10px;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.hero-caption.is-active {
	opacity: 1;
}

.hero-caption p {
	margin: 0;
}

.hero-dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.hero-dots button {
	padding: 0;
	border: 2px solid transparent;
	background: none;
	cursor: pointer;
	line-height: 0;
}

.hero-dots button.is-active {
	border-color: #6b6b6b;
}

.hero-dots img {
	display: block;
	width: 60px;
	height: 45px;
	object-fit: cover;
}

@media (max-width: 600px) {
	.hero-dots img {
		width: 44px;
		height: 33px;
	}
}

/* --------------------------------- Footer ------------------------------------ */

.site-footer {
	text-align: center;
	padding: 30px 20px 40px;
	font-size: 13px;
	color: #888;
}
