/*
 * Prezent Sound — prezentsound.ro
 * Hand-written stylesheet replacing the original WordPress (Twenty Twenty-One)
 * theme CSS. Reproduces the previous look: white page, black text, a centred
 * content column, large headings, and a square black download button.
 */

:root {
	--fg: #000;
	--bg: #fff;
	--container-width: 1240px; /* header + footer + floating corner icons */
	--content-width: 610px;    /* text column */
	--gutter: clamp(1.25rem, 5vw, 2rem);
	--rule: 3px solid var(--fg);
	--font: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: 20px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* Visually-hidden skip link that appears on focus */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--fg);
	color: var(--bg);
	padding: 0.5rem 1rem;
	z-index: 10;
}
.skip-link:focus { left: 0; }

/* Hidden from view but available to screen readers */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---- Header ---------------------------------------------------------- */
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: var(--container-width);
	margin-inline: auto;
	padding: clamp(1.25rem, 3.5vw, 28px) var(--gutter) clamp(1.5rem, 5vw, 36px);
}

.site-logo { display: inline-block; }

.site-header .site-logo img {
	height: clamp(40px, 8.7vw, 62px);
	width: auto;
}

/* Sticky contact icons, floating in the top-right corner of the viewport */
.site-nav {
	position: fixed;
	top: clamp(1.75rem, 5vw, 56px);
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: var(--container-width);
	padding-inline: var(--gutter);
	display: flex;
	justify-content: flex-end;
	z-index: 20;
	pointer-events: none; /* invisible full-width bar must not block the page */
}
.site-nav-icons {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}
.site-nav a {
	display: inline-flex;
	padding: 0.25rem;
	line-height: 0;
}
.site-nav svg { width: 26px; height: 26px; }
.site-nav a:hover,
.site-nav a:focus { opacity: 0.6; }

/* On narrow screens the text column reaches the icons: stack them vertically
   on a solid background so page text scrolls cleanly underneath. */
@media (max-width: 900px) {
	.site-nav-icons {
		flex-direction: column;
		gap: 0.5rem;
		background: var(--bg);
		padding: 0.55rem 0.5rem;
		border-radius: 2rem;
		box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
	}
}

/* Give the header logo a little more presence on phones, where the fluid
   8.7vw size would otherwise bottom out at its 40px floor. */
@media (max-width: 600px) {
	.site-header .site-logo img { height: clamp(50px, 14.5vw, 60px); }
}

/* ---- Content column -------------------------------------------------- */
.content {
	/* add the gutter so the *text* area is exactly --content-width (border-box) */
	max-width: calc(var(--content-width) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.content h1 {
	font-size: clamp(4rem, 11vw, 6rem); /* 64px -> 96px */
	font-weight: 400;
	line-height: 1.05;
	margin: 0;
}

/* Decorative full stop — part of the wordmark, kept out of the heading's text
   content so it reads as "Prezent" to crawlers and screen readers. */
.content h1::after { content: "."; }

/* Slogan under the brand line — a paragraph, not part of the heading. Keeps the
   old 0.6em-of-h1 size (sits between the 96px brand line and 48px headings). */
.content .hero-tagline {
	font-size: clamp(2.4rem, 6.6vw, 3.6rem);
	line-height: 1.15;
	margin: 0.2em 0 24px;
}

.content h2 {
	font-size: clamp(2.25rem, 6vw, 3rem); /* 36px -> 48px */
	font-weight: 400;
	line-height: 1.3;
	margin: 24px 0;
	scroll-margin-top: 1rem;
}

.content p { margin: 20px 0; }

.content a:not(.button) {
	text-decoration: underline;
	text-underline-offset: 0.1em;
}

/* ---- Services list (mirrors the old stacked paragraphs) -------------- */
.services {
	list-style: none;
	margin: 24px 0;
	padding: 0;
}
.services li { margin: 20px 0; }

/* ---- Contact list (icon + value, no visible heading) ----------------- */
.contact-list {
	list-style: none;
	margin: 30px 0;
	padding: 0;
}
.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6em;
	margin: 0.5em 0;
}
.contact-list svg {
	width: 22px;
	height: 22px;
	flex: none;
	margin-top: 0.3em;
}

/* The address links to Google Maps but reads as plain text — no underline. */
.contact-list a.address-link { text-decoration: none; }

/* ---- Download block -------------------------------------------------- */
.file-download {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75em;
}

.file-link { font-size: 16px; }

.button {
	display: inline-block;
	background: var(--fg);
	color: var(--bg);
	font-size: 20px;
	padding: 15px 30px;
	text-decoration: none;
}
.button:hover,
.button:focus { opacity: 0.85; }

/* ---- Footer ---------------------------------------------------------- */
.site-footer {
	max-width: var(--container-width);
	margin: clamp(2rem, 6vw, 56px) auto 0;
	padding: 0 var(--gutter) 32px;
}

.social-nav {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 30px;
}
.social-nav a {
	display: inline-flex;
	padding: 0.25rem;
	line-height: 0;
}

.site-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	border-top: var(--rule);
	padding-top: 30px;
}

.site-info .site-logo img {
	height: clamp(35px, 8vw, 62px);
	width: auto;
}

/* Match the header's enlarged logo size on phones (see header block above). */
@media (max-width: 600px) {
	.site-info .site-logo img { height: clamp(50px, 14.5vw, 60px); }
}

.copyright {
	margin: 0;
	font-size: 18px;
	text-align: right;
}
