/*
Theme Name: DJ Przemo Mielec
Theme URI: https://dj.mielec.pl
Author: Ireneusz Drózd
Description: Indywidualny motyw WordPress dla DJ Przemo — oprawa muzyczna wesel, urodzin, osiemnastek i imprez firmowych w Mielcu i okolicy.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: djprzemo
*/

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #0b0b10;
	color: #f5f0e6;
	font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
	font-weight: 300;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 .5em;
	color: #fff;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; font-family: 'Poppins', sans-serif; font-weight: 600; color: #fff; }
p { margin: 0 0 1em; color: #cfc9bf; }

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed;
	top: 10px; left: 10px;
	width: auto; height: auto;
	background: #d4af37;
	color: #0b0b10;
	padding: 10px 16px;
	z-index: 9999;
	border-radius: 4px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; }

.eyebrow {
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: .78rem;
	color: #d4af37;
	font-weight: 600;
	margin-bottom: .6em;
}

.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 26px;
	border-radius: 999px;
	font-size: .95rem;
	font-weight: 500;
	border: 1px solid transparent;
	transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
	white-space: nowrap;
}
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }
.btn-primary { background: #d4af37; color: #0b0b10; }
.btn-primary:hover { background: #e8c358; transform: translateY(-1px); }
.btn-outline { border-color: rgba(245, 240, 230, .35); color: #f5f0e6; }
.btn-outline:hover { border-color: #d4af37; color: #d4af37; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(11, 11, 16, .88);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 14px 24px;
}
.site-logo { display: flex; align-items: center; margin-right: auto; }
.site-logo-img, .site-logo img { max-height: 56px; width: auto; }

.nav-menu { display: flex; gap: 28px; }
.nav-menu a {
	font-size: .95rem;
	color: #e7e2d8;
	padding: 6px 2px;
	border-bottom: 2px solid transparent;
	transition: border-color .2s ease, color .2s ease;
}
.nav-menu a:hover { color: #d4af37; border-color: #d4af37; }

.site-header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px; height: 40px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 8px;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	height: 2px;
	width: 20px;
	margin: 0 auto;
	background: #f5f0e6;
	transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center top;
	background-attachment: scroll;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11,11,16,.55) 0%, rgba(11,11,16,.75) 55%, #0b0b10 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; margin: 0 auto; max-width: 760px; }
.hero-lead { font-size: 1.15rem; color: #e7e2d8; margin-bottom: 2em; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- About ---------- */
.about-inner {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 60px;
	align-items: center;
}
.about-image img { border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }

/* ---------- Offer ---------- */
.offer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}
.offer-card {
	background: #14141c;
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 14px;
	overflow: hidden;
	padding-bottom: 22px;
	transition: transform .2s ease, border-color .2s ease;
}
.offer-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.4); }
.offer-card-img { aspect-ratio: 4/3; overflow: hidden; }
.offer-card-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-card h3, .offer-card p { padding: 0 20px; }
.offer-card h3 { margin-top: 18px; }
.offer-card p { font-size: .92rem; margin-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.gallery-grid img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; height: 100%; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #14141c, #1c1a12); text-align: center; }
.cta-band-inner p { max-width: 480px; margin-inline: auto; }

/* ---------- Blog fallback ---------- */
.blog-card { padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.error-404 { text-align: center; padding: 60px 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0e0e13; border-top: 1px solid rgba(255,255,255,.06); padding-top: 60px; }
.footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 50px;
}
.footer-logo { max-height: 44px; width: auto; margin-bottom: 14px; }
.footer-col h3 { font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #cfc9bf; transition: color .2s ease; }
.footer-col a:hover { color: #d4af37; }
.social-links { flex-direction: row !important; gap: 16px !important; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; }
.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	font-size: .82rem;
	color: #8a857c;
}
.powered-by { color: #55514a; }

/* ---------- Floating social icons ---------- */
.social-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 200;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.social-float a {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 20, 28, .9);
	border: 1px solid rgba(255, 255, 255, .12);
	backdrop-filter: blur(6px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
	transition: transform .2s ease, border-color .2s ease;
	color: #f5f0e6;
}
.social-float a:hover { transform: translateY(-3px) scale(1.05); border-color: #d4af37; color: #d4af37; }
.social-float svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.about-inner { grid-template-columns: 1fr; }
	.offer-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
	.nav-toggle { display: flex; }
	.site-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #0e0e13;
		border-bottom: 1px solid rgba(255,255,255,.08);
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
	}
	.site-nav.is-open { max-height: 320px; }
	.nav-menu { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
	.nav-menu a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
	.site-header-cta .btn-outline { display: none; }
	.gallery-grid { grid-template-columns: 1fr 1fr; }
	.offer-grid { grid-template-columns: 1fr; }
	.section { padding: 60px 0; }
	.footer-inner { grid-template-columns: 1fr; }
	.social-float { right: 14px; bottom: 14px; gap: 10px; }
	.social-float a { width: 40px; height: 40px; }
	.social-float svg { width: 19px; height: 19px; }
}
