/*
Theme Name: Festive Designs
Theme URI: https://festivedesigns.co.za
Author: Festive Designs
Author URI: https://festivedesigns.co.za
Description: An elegant, premium WordPress block theme for Christmas décor and festive styling companies. Built with Full Site Editing (FSE) and full theme-builder support, with a dark luxury aesthetic, gold accents and demo content.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: festive-designs
Tags: block-theme, full-site-editing, christmas, festive, holiday, business, corporate, portfolio, one-column, wide-blocks
*/

/* Base refinements */
img {
	height: auto;
	max-width: 100%;
}

.wp-block-button__link {
	text-transform: uppercase;
}

a {
	transition: color 0.25s ease, opacity 0.25s ease;
}

/* Section eyebrow */
.is-style-default h1 + p,
h2 + p.has-muted-color {
	text-wrap: balance;
}

/* Header navigation */
.wp-block-navigation .wp-block-navigation-item__content {
	padding: 0.35rem 0;
}

.wp-block-navigation.is-responsive .wp-block-navigation__responsive-container-open {
	color: var(--wp--preset--color--gold);
}

/* Cover overlays */
.wp-block-cover .wp-block-cover__image-background {
	/* subtle cinematic darkening */
}

.festive-logo img {
	display: block;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.festive-logo:hover img {
	transform: scale(1.04);
	opacity: 0.92;
}

.festive-logo .custom-logo-link {
	display: inline-flex;
}

.festive-logo .custom-logo {
	height: 84px;
	width: auto;
}

/* Tighten header vertical padding on nav bar */
/* Sticky header — the header template part spans .wp-site-blocks so it can stick */
.wp-site-blocks > header.wp-block-template-part,
header.wp-block-template-part {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 300;
}


/* Tighten header vertical padding on nav bar */
header.wp-block-template-part > .wp-block-group:last-of-type {
	padding-top: 0.3rem !important;
	padding-bottom: 0.3rem !important;
	min-height: 56px;
}

/* Festive forms (light theme) */
.festive-form {
	background: #ffffff;
	padding: 2rem;
	border: 1px solid rgba(156, 116, 22, 0.25);
	border-radius: 3px;
	box-shadow: 0 12px 34px rgba(31, 26, 22, 0.06);
}

.festive-form .festive-field {
	margin-bottom: 1.2rem;
	display: flex;
	flex-direction: column;
}

.festive-form label {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: var(--wp--preset--color--cream);
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

.festive-form input[type="text"],
.festive-form input[type="email"],
.festive-form input[type="tel"],
.festive-form input[type="date"],
.festive-form input[type="time"],
.festive-form select,
.festive-form textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid rgba(156, 116, 22, 0.3);
	border-radius: 2px;
	font-size: 1rem;
	font-family: inherit;
	background: #ffffff;
	color: var(--wp--preset--color--cream);
}

.festive-form input::placeholder,
.festive-form textarea::placeholder {
	color: rgba(111, 102, 92, 0.75);
}

.festive-form input:focus,
.festive-form select:focus,
.festive-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--gold);
	box-shadow: 0 0 0 2px rgba(156, 116, 22, 0.18);
}

.festive-form select option {
	color: #111;
}

.festive-form .festive-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.festive-button {
	display: inline-block;
	background: var(--wp--preset--color--accent);
	color: #fff;
	border: none;
	padding: 1rem 2.4rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-radius: 2px;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.festive-button:hover {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--base);
	transform: translateY(-2px);
}

.festive-form-message {
	padding: 1rem 1.25rem;
	border-radius: 3px;
	margin-bottom: 1.5rem;
}

.festive-form-success {
	background: rgba(28, 77, 52, 0.10);
	border-left: 4px solid var(--wp--preset--color--green);
	color: #1c4d34;
}

.festive-form-error {
	background: rgba(193, 18, 31, 0.08);
	border-left: 4px solid var(--wp--preset--color--accent);
	color: #8f0d0d;
}

.festive-form-error ul {
	margin: 0;
	padding-left: 1.25rem;
}

/* Gallery hover */
.festive-gallery img {
	transition: transform 0.45s ease;
}

.festive-gallery figure:hover img {
	transform: scale(1.04);
}

/* Client / serve tiles hover */
.wp-block-columns .wp-block-group.has-surface-background-color:hover {
	border-color: rgba(224, 168, 46, 0.5);
}
