/* Modern refresh — loaded only by index.html, galeria/* pages are untouched */

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

:root {
	--accent: #f56a6a;
	--accent-dark: #e14e4e;
	--ink: #2b2f33;
	--muted: #6b7278;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(43, 47, 51, 0.08);
	--shadow-hover: 0 20px 40px rgba(43, 47, 51, 0.16);
}

html {
	scroll-behavior: smooth;
}

body {
	background: linear-gradient(180deg, #fbfbfc 0%, #ffffff 260px);
}

h1, h2, h3, h4, h5, #header .logo {
	font-family: "Poppins", "Roboto Slab", serif;
	letter-spacing: -0.01em;
}

/* Header */
#header {
	position: sticky;
	top: 0;
	z-index: 10000;
	display: flex;
	flex-wrap: wrap;
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	padding: 1.25em 0;
	border-bottom: solid 2px rgba(245, 106, 106, 0.25);
}

#header .logo strong {
	color: var(--accent);
}

/* Quick navigation */
#quicknav {
	flex-basis: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1.5em;
	margin-top: 0.75em;
	padding-top: 0.75em;
	border-top: solid 1px rgba(210, 215, 217, 0.6);
}

#quicknav a {
	font-family: "Poppins", "Roboto Slab", serif;
	font-size: 0.8em;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 0;
	transition: color 0.2s ease;
}

#quicknav a:hover {
	color: var(--accent);
}

/* Banner */
#main #banner {
	position: relative;
	align-items: center;
	padding: 4em 3em;
	margin-top: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: url("../../images/IMG_2082.jpeg") center top/cover no-repeat;
}

#banner .content {
	position: relative;
	z-index: 2;
	max-width: 560px;
	width: auto;
	text-align: left;
	background: rgba(20, 16, 18, 0.35);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-radius: var(--radius);
	padding: 2.25em 2.5em;
}

#banner h1 {
	font-size: 2.3em;
	line-height: 1.15;
	color: #ffffff;
}

#banner .content p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.05em;
	line-height: 1.7;
}

/* Emblem on the right, overlapping the top of the banner photo */
.banner-emblem {
	position: relative;
	display: flex;
	justify-content: flex-end;
	width: 100%;
	box-sizing: border-box;
	padding-right: 3em;
	margin: 1.5em 0 -90px 0;
	z-index: 3;
}

.banner-emblem img {
	display: block;
	width: 128px;
	height: auto;
	border-radius: 14px;
	box-shadow: var(--shadow-hover);
	background: #fff;
}

.banner-cta {
	text-align: center;
	margin: 1em 0 2em 0;
}

.banner-cta .actions {
	justify-content: center;
	margin: 0;
}

.banner-cta .button {
	background-color: var(--accent);
	box-shadow: 0 10px 24px rgba(245, 106, 106, 0.35);
	color: #ffffff !important;
}

.banner-cta .button:hover {
	background-color: var(--accent-dark);
}

@media screen and (max-width: 736px) {
	#banner {
		padding: 2em;
	}

	#banner .content {
		max-width: 100%;
		padding: 1.75em;
	}

	.banner-emblem {
		padding-right: 1.5em;
		margin-bottom: -45px;
	}

	.banner-emblem img {
		width: 85px;
	}
}

/* Buttons */
.button {
	border-radius: 999px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.button.primary {
	box-shadow: 0 10px 24px rgba(245, 106, 106, 0.35);
}

/* Section headers */
header.major > :last-child {
	border-bottom-width: 4px;
	border-radius: 2px;
	display: inline-block;
}

/* Feature cards */
.features article {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 2em 1.5em;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.features article:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.features article .icon:after {
	border-radius: 50%;
	transform: none;
	background: linear-gradient(135deg, rgba(245, 106, 106, 0.12), rgba(245, 106, 106, 0.04));
	border-color: transparent;
}

/* Post / gallery preview cards */
.posts article {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.posts article:before,
.posts article:after {
	display: none !important;
}

.posts article:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.posts article .image {
	margin: 0;
	overflow: hidden;
}

.posts article .image img {
	transition: transform 0.4s ease;
}

.posts article:hover .image img {
	transform: scale(1.06);
}

.posts article h3 {
	padding: 0.75em 1.25em 0 1.25em;
}

.posts article p {
	padding: 0 1.25em;
}

.posts article .actions {
	padding: 0 1.25em 1.25em 1.25em;
}

/* Archive grouped by year */
.archive-year {
	font-size: 1.1em;
	color: var(--ink);
	margin: 0 0 1em 0;
}

details.archive-year-group {
	margin: 2em 0 0 0;
}

details.archive-year-group summary {
	cursor: pointer;
	list-style: none;
	font-family: "Poppins", "Roboto Slab", serif;
	font-size: 1.1em;
	font-weight: 600;
	color: var(--ink);
	padding: 0.9em 1.25em;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: box-shadow 0.2s ease;
}

details.archive-year-group summary::-webkit-details-marker {
	display: none;
}

details.archive-year-group summary:before {
	content: '▸';
	display: inline-block;
	margin-right: 0.6em;
	color: var(--accent);
	transition: transform 0.2s ease;
}

details.archive-year-group[open] summary:before {
	transform: rotate(90deg);
}

details.archive-year-group summary:hover {
	box-shadow: var(--shadow-hover);
}

details.archive-year-group summary .count {
	color: var(--muted);
	font-weight: 400;
	font-size: 0.85em;
}

details.archive-year-group > .posts {
	margin-top: 2em;
}

/* Back to top */
#back-to-top {
	position: fixed;
	right: 1.5em;
	bottom: 1.5em;
	width: 2.75em;
	height: 2.75em;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent);
	color: #fff;
	border-radius: 50%;
	font-size: 1.2em;
	box-shadow: var(--shadow);
	text-decoration: none;
	border-bottom: 0;
	z-index: 9999;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#back-to-top:hover {
	background: var(--accent-dark);
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
}
