/* Photography — Avada demo rebuild. Dark, image-first portfolio. */

:root {
	--bg: #282a2d;
	--footer: #212326;
	--text: #777777;
	--white: #ffffff;
	--container: 1200px;
	--wide: 1333px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.container.wide { max-width: var(--wide); }

.skip-link {
	position: absolute;
	left: -9999px;
	background: #fff;
	color: #000;
	padding: 8px 16px;
	z-index: 999;
}
.skip-link:focus { left: 8px; }

/* ---------------------------------------------------------------- header */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 130px;
	z-index: 60;
}
.header-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 50px;
	height: 100%;
	display: flex;
	align-items: center;
}
.brand img { height: 50px; width: auto; max-width: none; }
.header-tools {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}
.icon-btn {
	width: 46px;
	height: 46px;
	border: 0;
	background: none;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
}
.icon-btn:hover { opacity: 0.65; }
.icon-btn svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

/* fullscreen menu */
.menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(24, 26, 29, 0.97);
	z-index: 90;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-overlay .menu-inner {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 15px;
	position: relative;
}
.menu-close {
	position: absolute;
	top: -80px;
	right: 15px;
	width: 46px;
	height: 46px;
	border: 0;
	background: none;
	color: #fff;
}
.menu-close svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2; fill: none; }
.full-menu a {
	display: block;
	font-family: "Open Sans", sans-serif;
	font-size: 30px;
	line-height: 1;
	padding: 22px 0;
	color: rgba(255, 255, 255, 0.5);
	transition: color 0.2s, padding-left 0.2s;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.full-menu a:hover { color: #fff; padding-left: 12px; }
.full-menu .current a { color: #fff; }

/* search panel */
.search-panel {
	position: fixed;
	inset: 0;
	background: rgba(20, 22, 25, 0.98);
	z-index: 95;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}
body.search-open .search-panel { opacity: 1; visibility: visible; }
.search-panel form { width: min(720px, 88vw); display: flex; }
.search-panel input {
	flex: 1;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	font-family: "Raleway", sans-serif;
	font-size: 28px;
	padding: 12px 4px;
}
.search-panel input:focus { outline: none; border-color: #fff; }
.search-panel button {
	background: none;
	border: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.search-close {
	position: absolute;
	top: 30px;
	right: 40px;
	background: none;
	border: 0;
	color: #fff;
	font-size: 30px;
	line-height: 1;
}

/* ------------------------------------------------------------------ hero */
.hero {
	position: relative;
	min-height: 900px;
	background: #1c1e21 url("../img/photo-home.jpg") center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 130px 0 80px;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 12, 14, 0.28);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow {
	font-family: "Raleway", sans-serif;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 1.98px;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 6px;
}
.hero h1 {
	font-family: "Megrim", cursive;
	font-size: 115px;
	line-height: 1.3;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 34px;
}
.btn-outline {
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, 0.55);
	padding: 13px 30px;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #cccccc;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-outline:hover { background: #fff; color: #111; border-color: #fff; }

/* ----------------------------------------------------------------- intro */
.intro { padding: 92px 0 96px; text-align: center; }
.intro h2 {
	font-family: "Raleway", sans-serif;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 18px;
}
.intro p { max-width: 819px; margin: 0 auto; font-size: 16px; color: var(--text); }

/* ----------------------------------------------------------- collections */
.collections { padding: 0 0 110px; }
.collections-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}
.collection {
	position: relative;
	display: block;
	overflow: hidden;
}
.collection img {
	width: 100%;
	height: 228px;
	object-fit: cover;
	transition: transform 0.5s ease, filter 0.3s;
}
.collection:hover img { transform: scale(1.05); filter: brightness(0.7); }
.collection h3 {
	position: absolute;
	left: 0;
	right: 0;
	top: 20px;
	text-align: center;
	font-family: "Raleway", sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 5.4px;
	text-transform: uppercase;
	color: #fff;
	z-index: 2;
}
.collection::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.18);
	transition: background 0.3s;
}
.collection:hover::after { background: rgba(0, 0, 0, 0.05); }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--footer); padding: 60px 0 56px; }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 0 60px; }
.footer-logo img { height: 44px; width: auto; }
.copyright {
	margin-top: 20px;
	font-size: 14px;
	color: #777;
	max-width: 966px;
}
.copyright a { color: #999; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.copyright a:hover { color: #fff; }

/* -------------------------------------------------------------- lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(8, 9, 11, 0.94);
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; }
.lightbox-close {
	position: absolute;
	top: 22px;
	right: 26px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 22px;
}
body.lightbox-open { overflow: hidden; }

/* ------------------------------------------------------------- fallback */
.entry-content { padding: 180px 0 90px; }
.entry-content h1, .page-title {
	font-family: "Raleway", sans-serif;
	font-size: 38px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 18px;
}
.entry-content h2 { font-family: "Raleway", sans-serif; color: #fff; font-size: 24px; margin: 26px 0 10px; }
.entry-content p { margin-bottom: 14px; }
.entry-content a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1023px) {
	.site-header { height: 100px; }
	.header-inner, .footer-inner { padding: 0 24px; }
	.brand img { height: 40px; }
	.hero { min-height: 760px; }
	.hero h1 { font-size: 72px; }
	.collections-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.collection img { height: 260px; }
	.intro { padding: 70px 0 72px; }
	.collections { padding-bottom: 80px; }
}

@media (max-width: 639px) {
	.hero { min-height: 640px; }
	.hero h1 { font-size: 44px; line-height: 1.25; margin-bottom: 24px; }
	.hero-eyebrow { font-size: 15px; letter-spacing: 1.4px; }
	.btn-outline { font-size: 12px; padding: 12px 22px; }
	.intro { padding: 52px 0; }
	.intro h2 { font-size: 17px; letter-spacing: 1.4px; }
	.collections-grid { grid-template-columns: 1fr; gap: 20px; }
	.collection img { height: 240px; }
	.full-menu a { font-size: 22px; padding: 16px 0; }
	.search-panel input { font-size: 20px; }
	.copyright { font-size: 13px; }
}
