/*
Theme Name: Julian Seemann
Theme URI: https://julianseemann.lovable.app
Author: Julian Seemann
Author URI: https://julianseemann.lovable.app
Description: Minimal one-page portfolio theme for photography and video. Hero film, filterable project grid, about and contact sections. No external fonts or trackers.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: julian-seemann
Tags: one-column, portfolio, photography, custom-logo, custom-menu, featured-images, theme-options
*/

:root {
	--bg: #ffffff;
	--fg: #111111;
	--muted: #777777;
	--line: #e6e6e6;
	--pad: 24px;
	--gap: 12px;
	--font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}
@media (min-width: 1024px) { :root { --pad: 64px; } }
@media (prefers-color-scheme: dark) {
	:root { --bg: #0b0b0b; --fg: #f2f2f2; --muted: #8a8a8a; --line: #222222; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: 1.3rem;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { font-size: 1.475rem; } }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .6; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 16px var(--pad);
	background: var(--bg);
}
.site-header .custom-logo { height: 28px; width: auto; }
.site-title { font-size: 1.1rem; letter-spacing: .02em; text-transform: lowercase; }
.main-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: .9rem; }

/* Category filter */
.filter {
	display: flex; gap: 20px; overflow-x: auto; white-space: nowrap;
	padding: 0 var(--pad) 16px; font-size: .9rem; scrollbar-width: none;
}
.filter::-webkit-scrollbar { display: none; }
.filter button {
	background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer;
}
.filter button.is-active { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }

/* Sections */
.section { padding: 0 var(--pad) 72px; }
.section-title { font-size: .9rem; color: var(--muted); font-weight: 400; margin: 0 0 24px; }

/* Hero */
.hero { padding: 0 var(--pad) var(--gap); }
.hero-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-sound {
	position: absolute; right: 16px; bottom: 16px;
	background: rgba(0,0,0,.5); color: #fff; border: 0; border-radius: 999px;
	padding: 8px 14px; font: inherit; font-size: .8rem; cursor: pointer;
}

/* Project grid (masonry via columns) */
.grid { columns: 1; column-gap: var(--gap); }
@media (min-width: 640px)  { .grid { columns: 2; } }
@media (min-width: 1024px) { .grid { columns: 3; } }
@media (min-width: 1920px) { .grid { columns: 4; } }
.card { break-inside: avoid; margin: 0 0 var(--gap); }
.card[hidden] { display: none; }
.card img { width: 100%; }
.card-meta { display: flex; justify-content: space-between; padding: 8px 0 0; font-size: .85rem; }
.card-meta span { color: var(--muted); }

/* About */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 2fr 1fr; } }
.about-text p { margin: 0 0 1em; }
.about-text a { text-decoration: underline; }
.about-photo img { width: 100%; }
.about-cols { display: grid; gap: 32px; margin-top: 56px; font-size: .9rem; }
@media (min-width: 768px) { .about-cols { grid-template-columns: repeat(3, 1fr); } }
.about-cols h3 { font-size: .9rem; font-weight: 400; color: var(--muted); margin: 0 0 12px; }
.about-cols ul { list-style: none; margin: 0; padding: 0; }

/* Single / page content */
.entry { padding: 24px var(--pad) 72px; max-width: 900px; }
.entry h1 { font-weight: 400; font-size: 2rem; margin: 0 0 24px; }
.entry img { margin: 0 0 var(--gap); }

/* Footer */
.site-footer {
	margin: 0 var(--pad); padding: 16px 0 48px;
	border-top: 1px solid var(--line);
	display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
	font-size: .8rem; color: var(--muted);
}
.site-footer ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
