/*
Theme Name: Mesmerize Child (Tidy)
Theme URI: https://tidydesign.co.uk/
Description: Child theme for Mesmerize. Holds Tidy Design custom templates and tweaks safely (parent theme updates won't overwrite these files).
Author: Tidy Design
Author URI: https://tidydesign.co.uk/
Template: mesmerize
Version: 0.1.0
Text Domain: mesmerize-child-tidy
*/

/* Minimal overrides here */
.page-template-page-tidy-seo-front-page .header-wrapper {
	display: none;
}

/* ------------------------------
   Hero Video Styling
-------------------------------- */

.tidy-hero {
	position: relative;
	min-height: 100vh;
	overflow: hidden;

	/* Centre content */
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Video layer */
.tidy-hero__video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	z-index: 1;
}

/* Overlay layer */
.tidy-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.45);
	z-index: 2;
}

/* Content layer */
.tidy-hero__content {
	position: relative;
	z-index: 3;
	color: #fff;
	max-width: 1100px;
	padding: 2rem 1.5rem;
	text-align: center;
}

/* Typography */
.tidy-hero__content h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.1;
	margin: 0 0 1rem;
	color: #fff;
}

.tidy-hero__content h2 {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 400;
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.9);
}

.tidy-hero__content p {
	font-size: 1.05rem;
	max-width: 720px;
	margin: 0 auto 2rem;
	color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.tidy-hero__buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.tidy-hero__buttons .btn {
	padding: 0.75rem 1.5rem;
	font-size: 0.95rem;
	border-radius: 6px;
	text-decoration: none;
}

.tidy-hero__buttons .btn-primary {
	background: #ffffff;
	color: #000000;
}

.tidy-hero__buttons .btn-secondary {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Mobile: hide video, use background image instead */
@media (max-width: 768px) {
	.tidy-hero__video {
		display: none;
	}

	.tidy-hero {
		background-image: url('media/heard-the-beat-dj-portsmouth-mobile.jpg');
		background-size: cover;
		background-position: center;
	}

	.tidy-hero__content {
		padding: 4rem 1.25rem;
	}
}

/* ------------------------------
   Feature Icons Row
-------------------------------- */

.tidy-features {
	padding: 5rem 1.5rem;
}

.tidy-features__inner {
	max-width: 1400px;
	margin: 0 auto;

	display: flex;
	gap: 2rem;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
}

.tidy-feature {
	flex: 1 1 260px;
	text-align: center;
}

/* Icon */
.tidy-feature__icon {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0 1rem;
}

.tidy-feature__icon img,
.tidy-feature__icon svg {
	width: 150px;
	max-width: 100%;
	height: auto;
	display: block;
}

/* Text colour */
.tidy-feature__title,
.tidy-feature__text {
	color: #3C424F;
}

.tidy-feature__title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
}

.tidy-feature__text {
	margin: 0 auto;
	max-width: 320px;
}

/* Mobile: stack */
@media (max-width: 900px) {
	.tidy-features__inner {
		flex-direction: column;
		align-items: center;
	}

	.tidy-feature {
		max-width: 520px;
		width: 100%;
	}
}
/* ------------------------------
   Tidy Gallery (Float Layout)
-------------------------------- */

.tidy-gallery {
	margin: 0;
	padding: 0;
}

.tidy-gallery__inner {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

.tidy-gallery__grid {
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden; /* contains floats */
}

/* 4 across */
.tidy-gallery__grid > a.tidy-gallery__item {
	float: left;
	width: 25%;
	margin: 0;
	padding: 0;

	display: block;
	position: relative;
	overflow: hidden;
	line-height: 0;
}

/* Images */
.tidy-gallery__grid > a.tidy-gallery__item img {
	display: block;
	width: 100%;
	height: 320px;
	object-fit: cover;
	margin: 0;
	padding: 0;
	border: 0;
}

/* Overlay */
.tidy-gallery__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;

	opacity: 0;
	background: rgba(0,0,0,0.35);
	transition: opacity 0.25s ease;
}

.tidy-gallery__grid > a.tidy-gallery__item:hover .tidy-gallery__overlay {
	opacity: 1;
}

.tidy-gallery__overlay i {
	color: #fff;
	font-size: 28px;
}

/* Optional zoom */
.tidy-gallery__grid > a.tidy-gallery__item img {
	transform: scale(1);
	transition: transform 0.35s ease;
}

.tidy-gallery__grid > a.tidy-gallery__item:hover img {
	transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
	.tidy-gallery__grid > a.tidy-gallery__item {
		width: 50%;
	}
	.tidy-gallery__grid > a.tidy-gallery__item img {
		height: 260px;
	}
}

@media (max-width: 600px) {
	.tidy-gallery__grid > a.tidy-gallery__item {
		width: 100%;
	}
	.tidy-gallery__grid > a.tidy-gallery__item img {
		height: 240px;
	}
}

/* ------------------------------
   Services Section (Float Layout)
-------------------------------- */

.tidy-services {
	padding: 4rem 1.5rem;
	background-color: #f3f9fc;
}

.tidy-services__inner {
	max-width: 1400px;
	margin: 0 auto;
}

/* Header */
.tidy-services__header {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 2.5rem;
}

.tidy-services__header img,
.tidy-services__header svg
{
	width: 150px;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 20px;
}

.tidy-services__header h2 {
	margin: 0 0 0.75rem;
}

.tidy-services__header p {
	margin: 0;
}

/* Grid wrapper */
.tidy-services__grid {
	width: 100%;
	overflow: hidden; /* contains floats */
	margin: 0;
	padding: 0;
}

/* Service cards – 4 across */
.tidy-service {
	float: left;
	width: 23%;
	box-sizing: border-box;

	padding: 1.5rem;
	margin: 1%;

	border: 1px solid rgba(60, 66, 79, 0.15);
	border-radius: 12px;
	background-color: #ffffff;

	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle lift on hover */
.tidy-service:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

/* Typography */
.tidy-service__title {
	margin: 0 0 0.75rem;
}

.tidy-service__text {
	margin: 0 0 1rem;
	color: #3C424F;
}

/* Services "Read More" Buttons */
.tidy-service__link {
	display: inline-block;
	padding: 0.6rem 1.25rem;
	border: 1px solid #3C424F;
	border-radius: 6px;
	color: #3C424F;
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 1;

	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tidy-service__link:hover,
.tidy-service__link:focus {
	background-color: #3C424F;
	color: #ffffff;
	border-color: #3C424F;
}


/* Tablet: 2 across */
@media (max-width: 1100px) {
	.tidy-service {
		width: 98%;
		margin-bottom: 20px
	}
}

/* Mobile: 1 across */
@media (max-width: 650px) {
	.tidy-service {
		width: 98%;
	}
}

/* ------------------------------
   CTA Banner (Centered)
-------------------------------- */

.tidy-cta {
	padding: 5rem 1.5rem;
}

.tidy-cta__inner {
	max-width: 1400px;
	margin: 0 auto;
}

.tidy-cta__content {
	text-align: center;
	max-width: 900px;
	margin: 0 auto;

	padding: 0; /* content spacing handled by parent */
}

.tidy-cta__content h2 {
	margin: 0 0 1.25rem;
	color: #3C424F;
}

.tidy-cta__content p {
	margin: 0 auto;
	color: #3C424F;
	line-height: 1.6;
}


/* ------------------------------
   Tidy Form (Centered Card)
-------------------------------- */

.new-form {
	max-width: 700px;
	margin: 0 auto 2rem;
	width: 100%;
	box-sizing: border-box;
}

/* Fieldsets */
.new-form__fieldset {
	margin: 0 0 1rem;
	padding: 0;
	border: none;
}

/* Labels */
.new-form__label {
	display: block;
	margin: 0 0 0.45rem;
	color: #3C424F;
}

.new-form__required {
	color: #3C424F;
	font-weight: 700;
}

/* Inputs */
.new-form__input {
	width: 100%;
	box-sizing: border-box;

	padding: 0.75rem 0.9rem;
	border: 1px solid #3C424F;
	border-radius: 10px;

	color: #3C424F;
	background: #ffffff;
	outline: none;
}

/* Focus */
.new-form__input:focus {
	border-color: #3C424F;
	box-shadow: 0 0 0 3px rgba(60, 66, 79, 0.18);
}

/* Valid / invalid (works with your JS classes) */
.new-form__input--valid,
.new-form__input.valid {
	border-color: #3C424F;
}

.new-form__input--invalid,
.new-form__input.invalid {
	border-color: #ca2727;
	outline-color: #ca2727;
}
textarea.new-form__input {
	resize: none;
	min-height: 140px;
	max-height: 140px;
}

/* Submit */
.new-form__submit {
	display: block;
	width: 100%;
	margin: 1.25rem auto 0;
	border-radius: 10px;
	background: #3C424F;
	color: #ffffff;
	cursor: pointer;
	transition: opacity 0.2s ease;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.new-form__submit:hover {
	opacity: 0.9;
}

.new-form__submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Messages */
.messages {
	max-width: 700px;
	margin: 0.75rem auto 0;
}

.messages__message {
	margin: 0.75rem 0 0;
	text-align: left;
}

.messages__message--error {
	color: #ca2727;
}

.messages__message--success {
	color: #3C424F;
	padding-bottom: 5rem;
	font-weight: 600;
}

/* Responsive: 2 columns where possible */
@media (min-width: 700px) {
	.new-form {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 1rem;
	}

	.new-form__fieldset--half {
		width: calc(50% - 0.5rem);
		margin: 0;
	}

	.new-form__fieldset--full {
		width: 100%;
		margin: 0;
	}
}

/* Small screens */
@media (max-width: 699px) {
	.new-form {
		padding: 1.5rem 2rem;
		margin: 0 auto;
	}
}


/* ------------------------------
   Mobile Navigation Styling
-------------------------------- */
.main_menu_col [data-component="offcanvas"] .bubble {
	display: none !important;
}

.main_menu_col [data-component="offcanvas"] i.fa {
	font-size: 2.2rem;
	line-height: 3.2rem;
	height: 3.2rem;
	width: 3.2rem;
	text-align: center;
}

