/* =========================================================
   THRIFTY GLOW — RETHEME STYLESHEET
   Palette: deep teal + warm glow gold on soft mint-white
   Type: Fraunces (display) / Manrope (body)
   ========================================================= */

:root {
	--tg-teal-950: #0A2C29;
	--tg-teal-900: #0E3B36;
	--tg-teal-700: #185C53;
	--tg-gold: #E8B84B;
	--tg-gold-light: #F6D98A;
	--tg-mint: #F4F8F6;
	--tg-mint-deep: #E4EFEA;
	--tg-white: #FFFFFF;
	--tg-ink: #142320;
	--tg-ink-soft: #4B5D58;
	--tg-radius: 18px;
	--tg-radius-sm: 10px;
	--tg-shadow: 0 20px 50px -20px rgba(10, 44, 41, 0.35);
	--tg-font-display: 'Fraunces', Georgia, serif;
	--tg-font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.tg-retheme-active {
	font-family: var(--tg-font-body);
	color: var(--tg-ink);
}

.tg-retheme-active h1,
.tg-retheme-active h2,
.tg-retheme-active h3 {
	font-family: var(--tg-font-display);
}

/* Global gentle overrides for common WP theme elements — safe, non-destructive */
.tg-retheme-active a {
	color: var(--tg-teal-700);
}
.tg-retheme-active .button,
.tg-retheme-active button:not(.tg-quote-btn):not(.tg-modal-close):not(.tg-dot),
.tg-retheme-active input[type="submit"] {
	font-family: var(--tg-font-body);
	font-weight: 700;
	border-radius: 999px;
}

/* =========================================================
   HERO SLIDER
   ========================================================= */

.tg-hero {
	position: relative;
	width: 100%;
}

.tg-hero-slider {
	position: relative;
	width: 100%;
	min-height: 640px;
	height: 92vh;
	max-height: 820px;
	overflow: hidden;
	background: var(--tg-teal-950);
}

.tg-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.1s ease;
	z-index: 1;
}
.tg-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.tg-slide-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tg-slide-img {
	background-size: cover;
	background-position: center;
	transform: scale(1.06);
	animation: tgKenBurns 9s ease-in-out infinite alternate;
}
.tg-slide.is-active .tg-slide-img {
	animation-play-state: running;
}
@keyframes tgKenBurns {
	from { transform: scale(1.0); }
	to   { transform: scale(1.08); }
}

.tg-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,44,41,0.55) 0%, rgba(10,44,41,0.35) 40%, rgba(10,44,41,0.85) 100%);
}

.tg-hero-content {
	position: relative;
	z-index: 5;
	max-width: 780px;
	margin: 0 auto;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0 24px;
	color: var(--tg-white);
}

.tg-hero-eyebrow {
	display: inline-block;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tg-teal-950);
	background: var(--tg-gold-light);
	padding: 8px 18px;
	border-radius: 999px;
	margin-bottom: 22px;
	box-shadow: 0 8px 22px -6px rgba(232, 184, 75, 0.55);
}

.tg-hero-heading {
	font-size: clamp(34px, 5.6vw, 62px);
	line-height: 1.08;
	font-weight: 600;
	margin: 0 0 18px;
	text-wrap: balance;
}

.tg-hero-text {
	font-size: clamp(16px, 1.8vw, 19px);
	line-height: 1.55;
	color: rgba(255,255,255,0.88);
	max-width: 560px;
	margin: 0 0 34px;
}

.tg-hero-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

.tg-hero-secondary {
	color: var(--tg-white) !important;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid var(--tg-gold);
	padding-bottom: 3px;
}

.tg-hero-dots {
	position: absolute;
	bottom: 28px;
	left: 0;
	right: 0;
	z-index: 6;
	display: flex;
	gap: 10px;
	justify-content: center;
}
.tg-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,0.4);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}
.tg-dot.is-active {
	background: var(--tg-gold);
	width: 28px;
	border-radius: 999px;
}

/* =========================================================
   GET A QUOTE BUTTON (the "glow" signature)
   ========================================================= */

.tg-quote-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--tg-font-body);
	font-weight: 800;
	font-size: 16px;
	color: var(--tg-teal-950);
	background: linear-gradient(135deg, var(--tg-gold-light), var(--tg-gold));
	border: none;
	padding: 16px 30px;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 14px 34px -10px rgba(232, 184, 75, 0.7);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tg-quote-btn svg { width: 18px; height: 18px; }
.tg-quote-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 40px -8px rgba(232, 184, 75, 0.85);
}
.tg-quote-btn--large {
	font-size: 19px;
	padding: 20px 42px;
}
.tg-quote-btn--large::before {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(232,184,75,0.55), transparent 70%);
	z-index: -1;
	filter: blur(10px);
	opacity: 0.9;
}

/* =========================================================
   SERVICES
   ========================================================= */

.tg-services {
	background: var(--tg-mint);
	padding: 96px 24px;
}

.tg-section-head {
	text-align: center;
	max-width: 620px;
	margin: 0 auto 56px;
}
.tg-eyebrow {
	color: var(--tg-teal-700);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 13px;
	margin-bottom: 10px;
}
.tg-section-title {
	font-size: clamp(28px, 3.6vw, 42px);
	color: var(--tg-teal-950);
	margin: 0 0 14px;
	font-weight: 600;
}
.tg-section-sub {
	color: var(--tg-ink-soft);
	font-size: 17px;
	font-weight: 600;
}

.tg-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 26px;
	max-width: 1180px;
	margin: 0 auto;
}

.tg-service-card {
	background: var(--tg-white);
	border-radius: var(--tg-radius);
	padding: 34px 28px;
	box-shadow: var(--tg-shadow);
	border: 1px solid rgba(14,59,54,0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tg-service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 60px -18px rgba(10,44,41,0.28);
}
.tg-service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--tg-mint-deep);
	color: var(--tg-teal-700);
	margin-bottom: 20px;
}
.tg-service-icon svg { width: 28px; height: 28px; }
.tg-service-card h3 {
	font-size: 19px;
	color: var(--tg-teal-950);
	margin: 0 0 10px;
	font-weight: 600;
}
.tg-service-card p {
	color: var(--tg-ink-soft);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
}

.tg-services-cta {
	text-align: center;
	margin-top: 54px;
}

/* =========================================================
   QUOTE MODAL — loads the existing booking form untouched
   ========================================================= */

.tg-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}
.tg-modal.is-open {
	display: block;
}
.tg-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 44, 41, 0.62);
	backdrop-filter: blur(3px);
}
.tg-modal-panel {
	position: relative;
	z-index: 2;
	width: min(920px, 94vw);
	height: min(88vh, 900px);
	margin: 6vh auto 0;
	background: var(--tg-white);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 40px 90px -20px rgba(0,0,0,0.5);
	display: flex;
	flex-direction: column;
}
.tg-modal-panel iframe {
	flex: 1;
	width: 100%;
	border: none;
}
.tg-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--tg-white);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--tg-teal-950);
	box-shadow: 0 6px 18px -6px rgba(0,0,0,0.35);
}
.tg-modal-close svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
	.tg-hero-slider { min-height: 560px; }
	.tg-services { padding: 64px 18px; }
	.tg-modal-panel { height: 92vh; margin-top: 4vh; border-radius: 14px; }
}
