/*
Theme Name: Suzy Bridal (One Page)
Theme URI: https://suzysinghofficial.com
Author: Custom
Description: One-page bridal makeup artist layout with anchor navigation. Activate this theme and set a static homepage in Settings → Reading.
Version: 1.0.11
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suzy-bridal
Tags: one-column, custom-menu, custom-logo, featured-images, full-width-template, portfolio
*/

/* Fonts loaded in functions.php — Great Vibes + Montserrat */

:root {
	--color-cream: #faf8f5;
	--color-cream-dark: #f3eee8;
	--color-peach-section: #f5ebe3;
	--color-blush: #c9a7a8;
	--color-blush-deep: #b89294;
	--color-text: #3d3836;
	--color-text-soft: #6b6360;
	--color-line: #e0d8d0;
	--line-thickness: 3px;
	--hero-beige: #ebe3d8;
	--font-script: "Great Vibes", cursive;
	--font-sans: "Montserrat", system-ui, sans-serif;
	--header-height: 4.5rem;
	--shadow-soft: 0 4px 24px rgba(61, 56, 54, 0.06);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--color-text);
	background: var(--color-cream);
}

a {
	color: var(--color-blush-deep);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--color-text);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 248, 245, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 1rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-navigation {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
	gap: 0;
}

.nav-panel {
	display: flex;
	justify-content: flex-end;
	flex: 1 1 auto;
	min-width: 0;
}

.nav-burger {
	display: none;
}

.header-book.btn--header-cta {
	flex-shrink: 0;
	background: var(--color-blush);
	color: #fff !important;
	padding: 0.5rem 1.1rem;
	border-radius: 8px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.2;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.header-book.btn--header-cta:hover {
	background: var(--color-blush-deep);
	color: #fff !important;
}

body.is-nav-open {
	overflow: hidden;
}

.site-branding {
	line-height: 1;
	font-weight: 400;
	min-width: 0;
}

.site-branding a,
.site-branding__link {
	color: var(--color-text);
}

.site-branding a:hover,
.site-branding__link:hover {
	color: var(--color-blush-deep);
}

.site-branding__link {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.35em;
	row-gap: 0.08em;
	max-width: 100%;
	text-decoration: none;
}

.site-branding__primary {
	font-family: var(--font-script);
	font-size: clamp(1.65rem, 3.8vw, 2rem);
	line-height: 1.05;
	font-weight: 400;
}

.site-branding__accent {
	font-family: var(--font-sans);
	font-size: clamp(0.78rem, 2.15vw, 0.95rem);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.15;
	color: var(--color-text-soft);
	align-self: baseline;
}

.site-branding__link:hover .site-branding__accent {
	color: var(--color-blush-deep);
}

.site-branding .custom-logo-link {
	display: inline-block;
	line-height: 0;
}

.site-branding .custom-logo {
	max-height: 52px;
	width: auto;
}

.main-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-text-soft);
}

.main-nav a:hover {
	color: var(--color-text);
}

.main-nav .cta-nav a {
	background: var(--color-blush);
	color: #fff !important;
	padding: 0.5rem 1.1rem;
	border-radius: 8px;
	font-size: 0.72rem;
}

.main-nav .cta-nav a:hover {
	background: var(--color-blush-deep);
	color: #fff !important;
}

section[id] {
	scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 4.5rem 1.5rem;
}

.section-title {
	font-family: var(--font-script);
	font-size: clamp(2.2rem, 5vw, 3rem);
	font-weight: 400;
	text-align: center;
	margin: 0 0 2.5rem;
	color: var(--color-text);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	width: 100%;
	box-sizing: border-box;
}

.section-title::before,
.section-title::after {
	content: "";
	flex: 1 1 0;
	min-width: 0;
	height: var(--line-thickness);
	background: var(--color-line);
	border-radius: 1px;
}

/* Hero — image layer uses cover (no stretch); gradient tuned per breakpoint */
.hero {
	--hero-h: 600px;
	padding: 0;
	width: 100%;
	height: var(--hero-h);
	min-height: var(--hero-h);
	background-color: var(--hero-beige);
	background-image:
		linear-gradient(
			90deg,
			rgba(235, 227, 216, 0.98) 0%,
			rgba(235, 227, 216, 0.93) 28%,
			rgba(235, 227, 216, 0.72) 42%,
			rgba(235, 227, 216, 0.35) 58%,
			rgba(235, 227, 216, 0.08) 72%,
			rgba(235, 227, 216, 0) 82%
		),
		var(--hero-image, none);
	background-size: 100% 100%, cover;
	background-position: 0 0, right center;
	background-repeat: no-repeat, no-repeat;
	box-sizing: border-box;
}

.hero__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2.75rem);
	height: 100%;
	min-height: var(--hero-h);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	position: relative;
	z-index: 1;
}

.hero__content {
	max-width: min(44rem, 94vw);
	padding: clamp(1.25rem, 3.5vw, 2rem) 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	box-sizing: border-box;
}

.hero__content .btn {
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	padding: 0.9rem 2.15rem;
	border-radius: 8px;
}

.hero__intro {
	margin: 0 0 1rem;
	width: 100%;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-size: clamp(1.35rem, 2.35vw, 1.85rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.55;
	color: #5a483f;
	text-align: center;
	font-style: normal;
}

.hero__intro-name {
	font-family: var(--font-script);
	font-weight: 400;
	font-size: clamp(2.05rem, 4.5vw, 3.15rem);
	line-height: 1.05;
	letter-spacing: 0.02em;
	margin-right: 0.1em;
	color: #5a483f;
	display: inline-block;
	vertical-align: -0.12em;
}

.hero__tagline {
	font-family: var(--font-sans);
	font-size: clamp(0.9rem, 1.65vw, 1.05rem);
	font-weight: 500;
	line-height: 1.55;
	color: #6e5c54;
	margin: 0 0 1.5rem;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	align-self: center;
}

.hero__tagline em {
	font-style: italic;
	font-weight: 400;
}

.btn {
	display: inline-block;
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.95rem 1.85rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
	transition: background 0.2s ease, transform 0.15s ease;
}

.btn--blush {
	background: var(--color-blush);
	color: #fff;
}

.btn--blush:hover {
	background: var(--color-blush-deep);
	color: #fff;
}

/* About */
.about__grid {
	display: grid;
	grid-template-columns: minmax(240px, 340px) 1fr;
	gap: 2.5rem 3rem;
	align-items: center;
}

.about__copy {
	padding-left: 1rem;
	padding-right: 1rem;
}

.about__photo {
	aspect-ratio: 1;
	background: var(--color-line);
	object-fit: cover;
	width: 100%;
	border-radius: 2px;
	box-shadow: var(--shadow-soft);
}

.about__photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	color: var(--color-text-soft);
	text-align: center;
	padding: 1rem;
}

.about__headline-group {
	display: inline-block;
	max-width: 100%;
	vertical-align: top;
}

.about__headline {
	font-size: 1.35rem;
	font-weight: 600;
	margin: 0;
	padding: 0 20px 0 0;
	color: var(--color-text);
}

/* Single underline matching title width (group shrinks to headline) */
.about__rule {
	width: 100%;
	height: var(--line-thickness);
	margin: 0.85rem 0 1.5rem;
	background: var(--color-line);
	border-radius: 1px;
}

.about__text {
	margin: 0;
	font-weight: 400;
	color: var(--color-text-soft);
}

.about__copy .about__text + .about__text {
	margin-top: 1.1rem;
}

.about__text-lead {
	font-weight: 500;
	color: var(--color-text);
}

/* Services */
.services-section {
	background: var(--color-peach-section);
}

.services__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1.5rem;
}

.service-card {
	background: #fff;
	padding: 1.75rem 1.25rem;
	text-align: center;
	border-radius: 2px;
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(224, 216, 208, 0.6);
}

.service-card h3 {
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0 0 0.85rem;
	letter-spacing: 0.02em;
	color: var(--color-text);
}

.service-card__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.service-card__dots::before,
.service-card__dots::after {
	content: "";
	flex: 1 1 0;
	min-width: 0;
	height: 2px;
	background: var(--hero-beige);
	border-radius: 1px;
}

.service-card__dots span {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	border-radius: 50%;
	background: #e8c4b8;
}

.service-card p {
	margin: 0;
	font-size: 0.82rem;
	color: var(--color-text-soft);
	line-height: 1.5;
}

.services__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.1rem;
	margin-top: 2.75rem;
}

.services__note {
	margin: 0 auto;
	width: 100%;
	max-width: 32rem;
	padding: 0.15rem 0;
	box-sizing: border-box;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.55;
	color: var(--color-text-soft);
	text-align: center;
}

/* Press (homepage — same band color as Services) */
.press-section {
	background: var(--color-peach-section);
}

.press__sub {
	text-align: center;
	font-size: 0.88rem;
	color: var(--color-text-soft);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: -1.5rem 0 1rem;
}

.press__intro {
	max-width: 36rem;
	margin: 0 auto 2rem;
	text-align: center;
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--color-text-soft);
}

.press__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	max-width: 960px;
	margin: 0 auto;
}

.press__item {
	aspect-ratio: 4 / 3;
	background: linear-gradient(160deg, #f0ebe6 0%, #e5ddd6 100%);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.press__item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	background: #faf8f5;
}

.press__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 12rem;
	padding: 1rem;
	font-size: 0.8rem;
	color: rgba(61, 56, 54, 0.35);
	text-align: center;
}

@media (max-width: 700px) {
	.press__grid {
		grid-template-columns: 1fr;
		max-width: 420px;
	}
}

/* Portfolio */
.portfolio__sub {
	text-align: center;
	font-size: 0.88rem;
	color: var(--color-text-soft);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: -1.5rem 0 2rem;
}

.portfolio__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.portfolio__item {
	aspect-ratio: 3 / 4;
	background: linear-gradient(160deg, #e8ddd8 0%, #d4c9c2 100%);
	border-radius: 2px;
	overflow: hidden;
}

.portfolio__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.portfolio__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	color: rgba(61, 56, 54, 0.35);
	text-align: center;
	padding: 0.5rem;
}

.section-cta-row {
	text-align: center;
	margin-top: 2.5rem;
}

/* Contact */
.contact__sub {
	text-align: center;
	font-size: 1rem;
	color: var(--color-text-soft);
	margin: -1rem 0 2rem;
}

.contact__intro {
	max-width: 520px;
	margin: 0 auto 1.75rem;
	padding: 0.15rem 0;
	box-sizing: border-box;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--color-text-soft);
	text-align: center;
}

.contact-form {
	max-width: 520px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-form label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-text-soft);
	display: block;
	margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-line);
	border-radius: 8px;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	background: #fff;
	color: var(--color-text);
}

.contact-form textarea {
	min-height: 140px;
	resize: vertical;
}

.contact-form__row2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.contact-form .btn {
	margin-top: 0.5rem;
	width: 100%;
}

.form-notice {
	max-width: 520px;
	margin: 0 auto 1.5rem;
	padding: 1rem 1rem 1rem 1.25rem;
	border-left: 3px solid var(--color-line);
	font-size: 0.95rem;
	color: var(--color-text-soft);
}

.form-notice--success {
	border-left-color: #8a9e8a;
	color: var(--color-text);
}

.form-notice--error {
	border-left-color: #c98a8a;
}

.site-footer {
	text-align: center;
	padding: 2rem 1.5rem 3rem;
	font-size: 0.8rem;
	color: var(--color-text-soft);
	border-top: 1px solid var(--color-line);
	background: var(--color-cream);
}

@media (max-width: 900px) {
	.hero {
		--hero-h: clamp(400px, 62vmin, 600px);
		background-image:
			linear-gradient(
				180deg,
				rgba(235, 227, 216, 0.98) 0%,
				rgba(235, 227, 216, 0.94) 18%,
				rgba(235, 227, 216, 0.82) 34%,
				rgba(235, 227, 216, 0.45) 52%,
				rgba(235, 227, 216, 0.12) 70%,
				rgba(235, 227, 216, 0) 88%
			),
			var(--hero-image, none);
		background-size: 100% 100%, cover;
		background-position: 0 0, center 35%;
	}

	.hero__inner {
		justify-content: flex-start;
		align-items: center;
		min-height: var(--hero-h);
		padding-top: clamp(0.5rem, 2vh, 1rem);
	}

	.hero__content {
		max-width: min(28rem, 100%);
		align-items: center;
		text-align: center;
		padding-top: clamp(0.85rem, 3vh, 1.75rem);
		padding-bottom: clamp(1rem, 3.5vh, 2rem);
	}

	.hero__intro,
	.hero__tagline {
		text-align: center;
	}

	.hero__intro {
		font-size: clamp(1.28rem, 5.1vw, 1.78rem);
		font-weight: 600;
		line-height: 1.48;
		margin-bottom: 0.95rem;
	}

	.hero__intro-name {
		font-size: clamp(2.35rem, 10.5vw, 3.35rem);
		vertical-align: -0.1em;
		margin-right: 0.06em;
	}

	.hero__tagline {
		align-self: center;
		font-size: clamp(0.8rem, 3.35vw, 0.92rem);
		font-weight: 400;
		line-height: 1.5;
		color: #7a6f6a;
	}

	.hero__content .btn {
		align-self: center;
	}

	.about__grid {
		grid-template-columns: 1fr;
		max-width: none;
		margin: 0;
		width: 100%;
	}

	.about__photo,
	.about__photo--placeholder {
		max-width: min(300px, 72vw);
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	.about__copy {
		width: 100%;
		max-width: none;
	}

	.services__cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.portfolio__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.site-header__inner {
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.65rem;
	}

	.site-branding {
		display: flex;
		flex: 1 1 auto;
		min-width: 0;
		order: 1;
		justify-content: flex-start;
		align-items: flex-start;
		text-align: left;
	}

	.site-branding__link {
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		text-align: center;
		column-gap: 0;
		row-gap: 0.12em;
		width: fit-content;
		max-width: 100%;
	}

	.site-branding__accent {
		align-self: center;
		text-align: center;
	}

	.header-book.btn--header-cta {
		order: 2;
		flex-shrink: 0;
		padding: 0.45rem 0.85rem;
		font-size: 0.68rem;
	}

	.site-navigation {
		order: 3;
		flex: 0 0 auto;
		position: relative;
		justify-content: flex-end;
		min-width: auto;
	}

	.nav-burger {
		display: flex;
		flex-shrink: 0;
		flex-direction: column;
		justify-content: center;
		align-items: stretch;
		gap: 5px;
		width: 2.5rem;
		height: 2.5rem;
		padding: 0.35rem 0.25rem;
		border: none;
		background: transparent;
		cursor: pointer;
		color: var(--color-text);
		border-radius: 6px;
	}

	.nav-burger:hover {
		color: var(--color-blush-deep);
	}

	.nav-burger:focus-visible {
		outline: 2px solid var(--color-blush);
		outline-offset: 2px;
	}

	.nav-burger__bar {
		display: block;
		height: 2px;
		width: 100%;
		background: currentColor;
		border-radius: 1px;
		transition: transform 0.2s ease, opacity 0.15s ease;
		transform-origin: center;
	}

	.site-header--nav-open .nav-burger__bar:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.site-header--nav-open .nav-burger__bar:nth-child(2) {
		opacity: 0;
	}

	.site-header--nav-open .nav-burger__bar:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.nav-panel {
		display: block;
		flex: none;
		position: fixed;
		left: 0;
		right: 0;
		top: var(--header-height);
		background: rgba(250, 248, 245, 0.98);
		backdrop-filter: blur(10px);
		border-bottom: 1px solid var(--color-line);
		box-shadow: var(--shadow-soft);
		padding: 0.75rem 1.25rem 1.1rem;
		max-height: min(70vh, calc(100dvh - var(--header-height)));
		overflow-y: auto;
		transform: translateY(-120%);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
		z-index: 99;
	}

	.site-header--nav-open .nav-panel {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.main-nav {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 0.15rem;
	}

	.main-nav a {
		display: block;
		padding: 0.65rem 0.35rem;
		font-size: 0.82rem;
	}
}

@media (max-width: 540px) {
	.services__cards {
		grid-template-columns: 1fr;
	}

	.contact-form__row2 {
		grid-template-columns: 1fr;
	}
}
