/*
Theme Name: Studio Frames
Theme URI: https://example.com
Author: Your Studio
Description: A minimal, elegant theme for photography studios, built to pair with the Gallery Delivery plugin (private client galleries + favoriting). Comes with ready-made starter pages and a Customizer panel for your logo, hero text, portfolio images and social links.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: studio-frames
*/

:root {
	--sf-bg: #faf9f7;
	--sf-text: #1a1a1a;
	--sf-muted: #767167;
	--sf-accent: #a3673f;
	--sf-border: #e7e3dc;
	--sf-font-head: "Playfair Display", Georgia, serif;
	--sf-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
	font-family: var(--sf-font-head);
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 16px;
}

p { margin: 0 0 16px; }

.sf-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.sf-btn {
	display: inline-block;
	padding: 14px 32px;
	background: var(--sf-text);
	color: #fff;
	border: 1px solid var(--sf-text);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.2s ease;
}
.sf-btn:hover { background: transparent; color: var(--sf-text); }
.sf-btn.sf-btn-outline { background: transparent; color: #fff; border-color: #fff; }
.sf-btn.sf-btn-outline:hover { background: #fff; color: var(--sf-text); }

/* Header */
.sf-site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	padding: 28px 0;
}
.sf-site-header.sf-solid {
	position: relative;
	background: var(--sf-bg);
	border-bottom: 1px solid var(--sf-border);
}
.sf-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.sf-logo {
	font-family: var(--sf-font-head);
	font-size: 22px;
	letter-spacing: 0.04em;
	color: inherit;
}
.sf-site-header.sf-transparent .sf-logo,
.sf-site-header.sf-transparent .sf-nav a { color: #fff; }
.sf-site-header.sf-transparent.sf-scrolled {
	background: var(--sf-bg);
	border-bottom: 1px solid var(--sf-border);
}
.sf-site-header.sf-transparent.sf-scrolled .sf-logo,
.sf-site-header.sf-transparent.sf-scrolled .sf-nav a { color: var(--sf-text); }

.sf-nav ul {
	list-style: none;
	display: flex;
	gap: 36px;
	margin: 0;
	padding: 0;
}
.sf-nav a {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.sf-nav a:hover { opacity: 0.6; }

.sf-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: inherit;
}

@media (max-width: 760px) {
	.sf-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--sf-bg); border-bottom: 1px solid var(--sf-border); padding: 20px 24px; }
	.sf-nav.is-open { display: block; }
	.sf-nav ul { flex-direction: column; gap: 18px; }
	.sf-nav a { color: var(--sf-text) !important; }
	.sf-menu-toggle { display: block; }
	.sf-site-header.sf-transparent .sf-nav.is-open { background: var(--sf-bg); }
}

/* Hero */
.sf-hero {
	position: relative;
	min-height: 86vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	background: linear-gradient(160deg, #3a3530, #17120f);
	background-size: cover;
	background-position: center;
}
.sf-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.25);
}
.sf-hero-inner { position: relative; z-index: 2; max-width: 640px; padding: 0 24px; }
.sf-hero-eyebrow { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; margin-bottom: 18px; }
.sf-hero h1 { font-size: clamp(36px, 6vw, 64px); color: #fff; margin-bottom: 18px; }
.sf-hero p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; }

/* Section spacing */
.sf-section { padding: 100px 0; }
.sf-section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sf-section-head .sf-eyebrow { color: var(--sf-accent); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.sf-section-head h2 { font-size: 36px; }
.sf-section-head p { color: var(--sf-muted); }
.sf-section.sf-alt { background: #f2efe9; }

/* Portfolio grid (placeholders / customizer images) */
.sf-portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.sf-portfolio-item {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #e3ddd1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sf-portfolio-item img { width: 100%; height: 100%; object-fit: cover; }
.sf-portfolio-placeholder {
	color: #9c9381;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	padding: 10px;
}
@media (max-width: 760px) {
	.sf-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* About teaser */
.sf-about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sf-about-photo { aspect-ratio: 4/5; background: #e3ddd1; display: flex; align-items: center; justify-content: center; color: #9c9381; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; overflow: hidden; }
.sf-about-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
	.sf-about-teaser { grid-template-columns: 1fr; gap: 32px; }
}

/* CTA */
.sf-cta { background: var(--sf-text); color: #fff; text-align: center; padding: 100px 0; }
.sf-cta h2 { color: #fff; }
.sf-cta p { color: #cfcac2; max-width: 520px; margin: 0 auto 32px; }

/* Generic page content */
.sf-page-content { padding: 160px 0 100px; max-width: 760px; margin: 0 auto; }
.sf-page-content h1 { font-size: 42px; margin-bottom: 24px; }

/* Contact */
.sf-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.sf-contact-info p { color: var(--sf-muted); }
.sf-contact-info a.sf-link { color: var(--sf-text); border-bottom: 1px solid var(--sf-border); }
.sf-social { display: flex; gap: 18px; margin-top: 24px; }
.sf-social a { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--sf-border); padding-bottom: 2px; }

.sf-form label { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sf-muted); margin-bottom: 6px; }
.sf-form .sf-field { margin-bottom: 20px; }
.sf-form input, .sf-form textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--sf-border);
	background: #fff;
	font-family: var(--sf-font-body);
	font-size: 15px;
	color: var(--sf-text);
}
.sf-form input:focus, .sf-form textarea:focus { outline: none; border-color: var(--sf-text); }
.sf-notice { padding: 14px 16px; margin-bottom: 24px; font-size: 14px; }
.sf-notice.success { background: #eef3e8; color: #4b6b2f; }
.sf-notice.error { background: #f6e7e4; color: #a3362a; }

@media (max-width: 760px) {
	.sf-contact-grid { grid-template-columns: 1fr; gap: 32px; }
	.sf-section { padding: 64px 0; }
}

/* Footer */
.sf-footer { padding: 56px 0; border-top: 1px solid var(--sf-border); }
.sf-footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.sf-footer-text { color: var(--sf-muted); font-size: 13px; }
.sf-footer .sf-social a { color: var(--sf-muted); }
