/**
 * Boom Boom Room Theme - Main Styles
 */

/**
 * Color tokens are defined in PHP and printed in the document head
 * (Appearance → Theme Colors). Values here are not used for the palette.
 */

body {
	background: var(--bbroom-color-bg-section);
	color: var(--bbroom-color-text-light);
	font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =============================================
   HEADER - Red background, left logo + menu
   ============================================= */

.bbroom-header {
	background: transparent;
	padding: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	transition: background-color 0.35s ease;
}

.bbroom-header.bbroom-header-scrolled {
	background: var(--bbroom-color-bg-dark);
}

.bbroom-nav {
	background: transparent !important;
	padding: 0.9rem 0 0.75rem;
	transition: background-color 0.35s ease;
}

.bbroom-brand {
	margin-right: 1.75rem;
	display: inline-flex;
	align-items: center;
}

.bbroom-brand img,
.bbroom-brand .custom-logo {
	width: 80px;
	height: 80px;
	object-fit: contain;
}

.bbroom-brand .site-title {
	color: var(--bbroom-color-text-inverse);
	font-weight: 700;
	font-size: 1.15rem;
	text-decoration: none;
}

.bbroom-menu {
	gap: 0.1rem;
}

.bbroom-nav .nav-link {
	color: var(--bbroom-color-nav-link);
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	padding: 0.5rem 1rem;
	transition: color 0.25s;
}

.bbroom-header .bbroom-nav .nav-link:hover,
.bbroom-header .bbroom-header-social-link:hover {
	color: var(--bbroom-color-hover-hero);
}

.bbroom-header.bbroom-header-scrolled .bbroom-nav .nav-link:hover,
.bbroom-header.bbroom-header-scrolled .bbroom-header-social-link:hover {
	color: var(--bbroom-color-hover-header);
}

.bbroom-header-social {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.bbroom-header-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--bbroom-color-nav-icon);
	font-size: 1.15rem;
	transition: color 0.25s;
	text-decoration: none;
}

/* =============================================
   HERO BANNER - Full-width featured image
   ============================================= */

.bbroom-hero {
	position: relative;
	overflow: hidden;
	background: var(--bbroom-color-brand-red);
}

.bbroom-hero-image {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

/* =============================================
   STICKY CTA TABS - Fixed on right side
   ============================================= */

.bbroom-sticky-cta {
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 1050;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.bbroom-cta-btn {
	display: inline-block;
	padding: 1.25rem 0.75rem;
	color: var(--bbroom-color-text-inverse);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}

.bbroom-cta-book {
	background: var(--bbroom-color-brand-blue);
}

.bbroom-cta-subscribe {
	background: var(--bbroom-color-bg-white);
	color: var(--bbroom-color-text-black);
}

.bbroom-cta-btn:hover {
	color: var(--bbroom-color-hover-header);
}

.bbroom-cta-book:hover,
.bbroom-cta-book:focus-visible {
	background: var(--bbroom-color-text-inverse);
	color: var(--bbroom-color-brand-blue);
	box-shadow: inset 0 0 0 1px var(--bbroom-color-brand-blue);
}

.bbroom-cta-subscribe:hover,
.bbroom-cta-subscribe:focus-visible {
	background: var(--bbroom-color-text-black);
	color: var(--bbroom-color-text-inverse);
	box-shadow: inset 0 0 0 1px var(--bbroom-color-text-inverse);
}

/* =============================================
   SECTIONS - General
   ============================================= */

.bbroom-section {
	padding: 3rem 0;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.bbroom-section.bbroom-revealed {
	opacity: 1;
	transform: translateY(0);
}

.bbroom-section-title {
	font-size: 2.25rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: -0.014rem;
	text-align: center;
	margin-bottom: 2rem;
	position: relative;
}

.bbroom-section-content {
	font-size: 1rem;
	line-height: 1.8;
}

.bbroom-section-content p:last-child {
	margin-bottom: 0;
}

.bbroom-section-lead {
	font-size: 1rem;
	margin-bottom: 1.5rem;
}

/* =============================================
   BIO SECTION - White background
   ============================================= */

.bbroom-section-bio {
	background: var(--bbroom-color-bg-white);
	color: var(--bbroom-color-text-dark);
}

/* =============================================
   GALLERY SECTION - Dark background
   ============================================= */

.bbroom-section-gallery {
	background: var(--bbroom-color-bg-section);
	color: var(--bbroom-color-text-light);
}

.bbroom-section-gallery .bbroom-section-title {
	color: var(--bbroom-color-text-light);
}

.bbroom-gallery-wrapper {
	margin-top: 1.5rem;
}

/* =============================================
   LET'S TALK SECTION - Red background, left-aligned
   ============================================= */

.bbroom-section-lets-talk {
	background: linear-gradient(to bottom, var(--bbroom-color-brand-red) 0%, var(--bbroom-color-brand-red-deep) 100%);
	color: var(--bbroom-color-text-inverse);
	padding: 0;
}

.bbroom-section-lets-talk .bbroom-lets-talk-content .bbroom-lets-talk-inner-container {
	margin: 2rem auto 5rem;
	width: 75%;
}

.bbroom-section-lets-talk .bbroom-lets-talk-image {
	position: relative;
}

.bbroom-section-lets-talk .bbroom-lets-talk-image > img {
	bottom: 0;
	position: absolute;
	height: 98%;
}

.bbroom-section-lets-talk .bbroom-section-title {
	text-align: left;
	color: var(--bbroom-color-text-inverse);
}

.bbroom-section-lets-talk .bbroom-section-title::after {
	margin: 0.75rem 0 0;
}

.bbroom-section-lets-talk .bbroom-section-content {
	color: var(--bbroom-color-section-on-red);
	margin-bottom: 2rem;
}

.bbroom-section-lets-talk .bbroom-section-content p {
	font-weight: 500;
}

.bbroom-section-lets-talk .bbroom-btn-light {
	background: var(--bbroom-color-brand-blue);
	color: var(--bbroom-color-text-inverse);
	border: 0;
	border-radius: 0;
}

.bbroom-section-lets-talk .bbroom-btn-light:hover,
.bbroom-section-lets-talk .bbroom-btn-light:focus {
	background: var(--bbroom-color-text-inverse);
	color: var(--bbroom-color-brand-blue);
	border: 0;
	box-shadow: inset 0 0 0 1px var(--bbroom-color-brand-blue);
}

.bbroom-btn-light {
	color: var(--bbroom-color-text-inverse);
	border-color: var(--bbroom-color-text-inverse);
}

.bbroom-btn-light:hover {
	color: var(--bbroom-color-bg-dark);
	border-color: var(--bbroom-color-text-inverse);
	background: var(--bbroom-color-text-inverse);
}

/* =============================================
   RHYTHM SESSIONS - Dark background
   ============================================= */

.bbroom-section-rhythm {
	background: var(--bbroom-color-bg-white);
	color: var(--bbroom-color-text-dark);
}

.bbroom-rhythm-header {
	text-align: center;
	margin-bottom: 2rem;
}

.bbroom-rhythm-logo {
	max-width: 450px;
	height: auto;
}

.bbroom-rhythm-intro {
	color: var(--bbroom-color-text-dark);
	max-width: 800px;
	margin: 0 auto 2rem;
	text-align: center;
}

.bbroom-video-title {
	margin-top: 0.75rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--bbroom-color-text-dark);
	text-align: left;
}

.bbroom-video-wrapper iframe {
	max-width: 100%;
}

/* =============================================
   SUBSCRIBE / SIGN UP - Light gray background
   ============================================= */

.bbroom-section-subscribe {
	background: var(--bbroom-color-bg-black);
	color: var(--bbroom-color-text-light);
}

.bbroom-section-subscribe .bbroom-section-title {
	color: var(--bbroom-color-text-light);
}

.bbroom-section-subscribe .bbroom-section-lead {
	color: var(--bbroom-color-text-muted);
	text-transform: uppercase;
}

.bbroom-section-subscribe .mc4wp-form label[for="email"] {
	font-size: 0;
	line-height: 0;
}

.bbroom-section-subscribe .mc4wp-form label[for="email"] input[type='email'] {
	font-size: 1rem;
	line-height: 1.5;
	padding: 0.75rem;
	width: min(470px, 100%);
	max-width: 100%;
	box-sizing: border-box;
}

.bbroom-section-subscribe .mc4wp-form input[type='email']::placeholder {
	color: var(--bbroom-color-input-placeholder);
	opacity: 1;
}

.bbroom-section-subscribe .mc4wp-form input[type='submit'] {
	background: var(--bbroom-color-brand-red);
	border: 0;
	color: var(--bbroom-color-text-inverse);
	text-transform: uppercase;
	padding: 0.75rem 4rem;
	font-weight: 600;
	font-size: 1.1rem;
	letter-spacing: 0.08em;
	border-radius: 0;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.bbroom-section-subscribe .mc4wp-form input[type='submit']:hover,
.bbroom-section-subscribe .mc4wp-form input[type='submit']:focus-visible {
	background: var(--bbroom-color-text-inverse);
	color: var(--bbroom-color-brand-red);
	box-shadow: inset 0 0 0 1px var(--bbroom-color-brand-red);
}

.bbroom-section-subscribe .mc4wp-form .mc4wp-form-fields p {
	margin: 0;
}

.bbroom-section-subscribe .mc4wp-form .mc4wp-form-fields p + p {
	margin-top: 2rem;
}

/* =============================================
   INSTAGRAM - White background
   ============================================= */

.bbroom-section-instagram {
	background: var(--bbroom-color-bg-white);
	color: var(--bbroom-color-text-dark);
}

.bbroom-instagram-wrapper {
	margin-top: 1.5rem;
}

/* =============================================
   CONTACT - Dark background, centered
   ============================================= */

.bbroom-section-contact {
	background: var(--bbroom-color-bg-dark);
	color: var(--bbroom-color-text-light);
	text-align: center;
	padding-bottom: 1rem;
}

.bbroom-section-contact .bbroom-section-title {
	color: var(--bbroom-color-text-light);
	margin: 0 0 0.25rem;
}

.bbroom-section-contact .bbroom-section-content {
	color: var(--bbroom-color-text-muted);
}

/* =============================================
   PRIMARY BUTTON
   ============================================= */

.bbroom-btn-primary {
	background: transparent;
	color: var(--bbroom-color-text-light);
	border: 2px solid var(--bbroom-color-text-light);
	padding: 0.75rem 4rem;
	font-weight: 600;
	font-size: 1.10rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	display: inline-block;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bbroom-btn-primary:hover {
	color: var(--bbroom-color-hover-header);
	border-color: var(--bbroom-color-hover-header);
	background: var(--bbroom-color-surface-hover-tint);
}

/* =============================================
   PLACEHOLDER TEXT
   ============================================= */

.bbroom-placeholder {
	color: inherit;
	opacity: 0.6;
	font-style: italic;
}

/* =============================================
   MODAL
   ============================================= */

.bbroom-modal .modal-content {
	background: var(--bbroom-color-bg-black);
	color: var(--bbroom-color-text-light);
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.bbroom-modal .modal-header {
	border: 0;
	position: relative;
	justify-content: center;
	padding: 1rem 1rem 0.5rem;
}

.bbroom-modal .modal-title {
	color: var(--bbroom-color-text-light);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.bbroom-modal-logo {
	max-width: 110px;
	height: auto;
	display: block;
}

.bbroom-modal .btn-close {
	filter: invert(1);
	position: absolute;
	top: 1rem;
	right: 1rem;
	margin: 0;
}

.bbroom-modal .form-control,
.bbroom-modal .form-select {
	background: var(--bbroom-color-bg-white);
	border-color: var(--bbroom-color-input-border);
	color: var(--bbroom-color-text-dark);
}

.bbroom-modal .form-control:focus,
.bbroom-modal .form-select:focus {
	background: var(--bbroom-color-bg-white);
	border-color: var(--bbroom-color-hover-header);
	color: var(--bbroom-color-text-dark);
	box-shadow: 0 0 0 0.25rem var(--bbroom-color-focus-ring);
}

.bbroom-modal .form-control::placeholder {
	color: var(--bbroom-color-input-placeholder);
	opacity: 1;
}

.bbroom-modal label {
	color: var(--bbroom-color-text-light);
}

.bbroom-modal .wpcf7-form p {
	margin: 0;
}

.bbroom-modal .wpcf7-form input[type="text"],
.bbroom-modal .wpcf7-form input[type="email"],
.bbroom-modal .wpcf7-form input[type="tel"],
.bbroom-modal .wpcf7-form input[type="date"],
.bbroom-modal .wpcf7-form textarea {
	width: 100%;
	background: var(--bbroom-color-bg-white);
	border: 1px solid var(--bbroom-color-input-border);
	color: var(--bbroom-color-text-dark);
	border-radius: 0;
	padding: 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	margin-bottom: 0.5rem;
}

.bbroom-modal .wpcf7-form textarea {
	min-height: 220px;
	resize: vertical;
}

.bbroom-modal .wpcf7-form input[type="text"]::placeholder,
.bbroom-modal .wpcf7-form input[type="email"]::placeholder,
.bbroom-modal .wpcf7-form input[type="tel"]::placeholder,
.bbroom-modal .wpcf7-form input[type="date"]::placeholder,
.bbroom-modal .wpcf7-form textarea::placeholder {
	color: var(--bbroom-color-input-placeholder);
	opacity: 1;
}

.bbroom-modal .wpcf7-form input[type="text"]:focus,
.bbroom-modal .wpcf7-form input[type="email"]:focus,
.bbroom-modal .wpcf7-form input[type="tel"]:focus,
.bbroom-modal .wpcf7-form input[type="date"]:focus,
.bbroom-modal .wpcf7-form textarea:focus {
	border-color: var(--bbroom-color-hover-header);
	outline: none;
	box-shadow: 0 0 0 0.2rem var(--bbroom-color-focus-ring-soft);
}

.bbroom-modal .wpcf7-form input[type="date"]::-webkit-calendar-picker-indicator {
	filter: invert(11%) sepia(99%) saturate(7350%) hue-rotate(4deg) brightness(92%) contrast(118%);
}

.bbroom-modal .wpcf7-submit,
.bbroom-modal input[type="submit"] {
	background: var(--bbroom-color-brand-red);
	color: var(--bbroom-color-text-inverse);
	border: 0;
	border-radius: 0;
	padding: 0.75rem 4rem;
	font-weight: 600;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
	display: block;
	margin: 0 auto;
}

.bbroom-modal .wpcf7-submit:hover,
.bbroom-modal input[type="submit"]:hover,
.bbroom-modal .wpcf7-submit:focus-visible,
.bbroom-modal input[type="submit"]:focus-visible {
	background: var(--bbroom-color-text-inverse);
	color: var(--bbroom-color-brand-red);
	box-shadow: inset 0 0 0 1px var(--bbroom-color-brand-red);
}

/* =============================================
   SOCIAL ICONS
   ============================================= */

.bbroom-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0 0.4rem;
	color: var(--bbroom-color-text-muted);
	font-size: 1.1rem;
	transition: color 0.25s;
	text-decoration: none;
}

.bbroom-social-link:hover {
	color: var(--bbroom-color-hover-header);
}

/* =============================================
   FOOTER
   ============================================= */

.bbroom-footer {
	background: var(--bbroom-color-bg-dark);
	padding: 0 0 2rem;;
	text-align: center;
	color: var(--bbroom-color-text-muted);
}

.bbroom-social {
	margin-bottom: 1rem;
}

.bbroom-copyright {
	margin: 0;
	font-size: 0.85rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 991.98px) {
	.bbroom-nav.bbroom-nav-expanded {
		background: var(--bbroom-color-bg-dark) !important;
	}

	.bbroom-nav .navbar-collapse {
		background: transparent;
		width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
		margin-top: 0.5rem;
		min-height: calc(100dvh - 120px);
		align-items: stretch;
	}

	.bbroom-nav .navbar-collapse.show {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.bbroom-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0.35rem;
	}

	.bbroom-nav .nav-link {
		font-size: 1rem;
		padding: 0.85rem 0.25rem;
		line-height: 1.3;
		letter-spacing: 0.08em;
	}

	.bbroom-header-social {
		width: 100%;
		margin-top: auto;
		padding-top: 1.25rem;
		padding-bottom: 0.25rem;
		justify-content: flex-end;
		gap: 1rem;
	}

	.bbroom-header-social-link {
		font-size: 1.35rem;
		padding: 0.35rem;
	}

	.bbroom-sticky-cta {
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		transform: none;
		display: flex;
		flex-direction: row;
		justify-content: center;
		gap: 0;
	}

	.bbroom-cta-btn {
		writing-mode: horizontal-tb;
		padding: 0.9375rem 1.875rem;
		font-size: 1rem;
	}

	.bbroom-cta-subscribe {
		display: none;
	}

	.bbroom-cta-book {
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}

	.bbroom-nav.bbroom-nav-expanded + .bbroom-sticky-cta {
		display: none !important;
	}

	.bbroom-footer {
		padding-bottom: 7rem;
	}

	.bbroom-section {
		padding: 3rem 0;
	}

	.bbroom-section-title {
		font-size: 1.5rem;
	}

	.bbroom-rhythm-logo {
		max-width: 220px;
	}
}

@media (max-width: 575.98px) {
	.bbroom-section {
		padding: 2.5rem 0;
	}

	.bbroom-section-title {
		font-size: 1.3rem;
	}

	.bbroom-brand {
		margin-right: 0;
	}

	.bbroom-brand img,
	.bbroom-brand .custom-logo {
		width: 80px;
		height: 80px;
	}
}
