/* =========================================================
   UNIVERSAL STYLING — OKIE SCHNAUZERS (Glassy / iOS-like)
   File: style-sheets/universal-styling.css

   Notes:
   - This updates your existing TMB variables/styles to Okie brand colors.
   - Keeps your current class names (.tmb-*) so you don't have to refactor
     everything at once.
   - If/when you fully migrate markup to .okie-* classes, we can duplicate
     these under .okie-* and retire the .tmb-* versions.
   ========================================================= */

/* ---------- BRAND + GLASS TOKENS ---------- */
:root{
	/* Okie Brand Colors */
	--tmb-coral: #f2635d; /* primary accent */
	--tmb-blue:  #3eadd8; /* secondary accent */
	--tmb-teal:  #5ecbd3; /* tertiary accent */
	--tmb-gold:  #f7bc40; /* warm highlight */

	/* Legacy aliases used throughout your CSS */
	/* (keeps existing selectors working) */
	--tmb-ink: #0b1220;

	/* Background + Surfaces */
	--tmb-bg: #ffffff;
	--tmb-surface: rgba(255,255,255,0.62);
	--tmb-surface-strong: rgba(255,255,255,0.78);

	/* Glass borders (more iOS-like: lighter, less colored) */
	--tmb-border: rgba(255,255,255,0.50);
	--tmb-border-strong: rgba(255,255,255,0.72);

	/* Text */
	--tmb-text: rgba(11,18,32,0.90);

	/* Shadows (soft, premium) */
	--tmb-shadow: 0 18px 50px rgba(11,18,32,0.14);
	--tmb-shadow-soft: 0 10px 30px rgba(11,18,32,0.10);

	/* Radius + Layout */
	--tmb-radius: 18px;
	--tmb-max: 1200px;
	--tmb-pad: 16px;

	/* Focus (use brand teal/blue) */
	--tmb-focus: 0 0 0 3px rgba(62,173,216,0.28);

	/* Optional: CTA gradient token */
	--tmb-cta-grad: linear-gradient(135deg, rgba(247,188,64,0.95), rgba(242,99,93,0.92));
}

/* ---------- TYPE ---------- */
.tmb-font-ui{
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

/* If you still use .tmb-font-brand anywhere, keep it clean + friendly */
.tmb-font-brand{
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	letter-spacing: -0.01em;
	font-weight: 800;
}

/* ---------- LAYOUT ---------- */
.tmb-wrap{
	max-width: var(--tmb-max);
	margin: 0 auto;
	padding: 0 var(--tmb-pad);
}

/* ---------- ACCESSIBILITY ---------- */
:focus-visible{
	outline: none;
	box-shadow: var(--tmb-focus);
	border-radius: 10px;
}

/* ---------- GLASS TILE ---------- */
.tmb-glass{
	background: linear-gradient(180deg, var(--tmb-surface), rgba(255,255,255,0.48));
	border: 1px solid var(--tmb-border);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border-radius: var(--tmb-radius);
	box-shadow: var(--tmb-shadow);
}

/* ---------- GLOBAL GLOW ---------- */
.tmb-page-glow{
	position: fixed;
	inset: -22vh -14vw auto -14vw;
	height: 55vh;
	background:
		radial-gradient(closest-side at 22% 50%, rgba(94,203,211,0.30), transparent 68%),
		radial-gradient(closest-side at 72% 44%, rgba(62,173,216,0.20), transparent 70%),
		radial-gradient(closest-side at 38% 32%, rgba(247,188,64,0.18), transparent 72%),
		radial-gradient(closest-side at 82% 30%, rgba(242,99,93,0.18), transparent 72%);
	pointer-events: none;
	z-index: 0;
	filter: blur(18px);
	transform: translate3d(0,0,0);
}

/* =========================================================
   HEADER
   ========================================================= */
.tmb-header{
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 12px 0;
}

.tmb-header-bar{
	position: relative;
	z-index: 1;
	height: 74px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	border-radius: calc(var(--tmb-radius) + 8px);
}

.tmb-brand{
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 14px;
	text-decoration: none;
	transition: transform .15s ease, background .15s ease;
}

.tmb-brand:hover{
	background: rgba(255,255,255,0.50);
	transform: translateY(-1px);
}

.tmb-brand-logo{
	height: 52px;
	width: auto;
	display: block;
}

.tmb-nav{
	flex: 1;
	display: flex;
	justify-content: center;
}

.tmb-nav-list{
	display: flex;
	align-items: center;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tmb-nav-list a{
	text-decoration: none;
	color: var(--tmb-text);
	font-weight: 800;
	font-size: 0.95rem;
	padding: 10px 12px;
	border-radius: 999px;
	border: 1px solid transparent;
	transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.tmb-nav-list a:hover{
	background: rgba(255,255,255,0.55);
	border-color: rgba(255,255,255,0.70);
	transform: translateY(-1px);
}

.tmb-actions{
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.tmb-social{
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* =========================================================
   BUTTONS + ICONS
   ========================================================= */
.tmb-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid var(--tmb-border);
	background: var(--tmb-surface-strong);
	color: var(--tmb-text);
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, filter .15s ease;
	box-shadow: 0 0 0 rgba(0,0,0,0);
}

.tmb-btn:hover{
	transform: translateY(-1px);
	border-color: var(--tmb-border-strong);
	box-shadow: var(--tmb-shadow-soft);
}

/* Re-map your old "gold" CTA into Okie gradient */
.tmb-btn--gold{
	background: var(--tmb-cta-grad);
	border-color: rgba(255,255,255,0.55);
	font-weight: 900;
	color: rgba(11,18,32,0.92);
}

.tmb-icon-btn{
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid var(--tmb-border);
	background: rgba(255,255,255,0.60);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--tmb-ink);
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.tmb-icon-btn:hover{
	transform: translateY(-1px);
	border-color: var(--tmb-border-strong);
	background: rgba(255,255,255,0.72);
	box-shadow: var(--tmb-shadow-soft);
}

.tmb-badge{
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 6px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 900;
	background: var(--tmb-coral);
	color: #fff;
	border: 2px solid rgba(255,255,255,0.92);
}

/* Spacer */
.tmb-header-spacer{
	height: 96px;
	margin-top: -96px;
}

/* =========================================================
   OVERLAY MENU (Required)
   ========================================================= */
.tmb-overlay{
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none; /* critical */
	align-items: center;
	justify-content: center;
	padding: 18px;
	background: rgba(11,18,32,0.42);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.tmb-overlay.active{
	display: flex; /* critical */
}

.tmb-overlay-inner{
	width: min(720px, 100%);
	padding: 16px;
	border-radius: 26px;
}

.tmb-overlay-top{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.tmb-overlay-list{
	list-style: none;
	margin: 0;
	padding: 10px 0 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tmb-overlay-list a{
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	font-weight: 950;
	letter-spacing: -0.02em;
	font-size: clamp(1.25rem, 4.5vw, 2rem);
	padding: 14px 14px;
	border-radius: 18px;
	border: 1px solid rgba(255,255,255,0.55);
	background: rgba(255,255,255,0.60);
	color: var(--tmb-text);
	transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.tmb-overlay-list a:hover{
	border-color: rgba(255,255,255,0.78);
	background: rgba(255,255,255,0.76);
	transform: translateY(-1px);
}

.tmb-overlay-divider{
	height: 1px;
	background: rgba(11,18,32,0.12);
	border-radius: 999px;
	margin: 8px 6px;
}

.tmb-overlay-social{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,0.40);
}

/* Lock scroll when menu is open */
html.tmb-lock{ overflow: hidden; }

/* =========================================================
   FOOTER (Glassy, clean, brand-consistent)
   ========================================================= */
.tmb-footer{
	position: relative;
	z-index: 1;
	padding: 28px 0 44px;
}

.tmb-footer-shell{
	padding: 22px;
	border-radius: 26px;
}

.tmb-footer-brand{
	display: flex;
	justify-content: center;
	margin-bottom: 18px;
}

.tmb-footer-brand img{
	height: 64px;
	width: auto;
	display: block;
}

.tmb-footer-grid{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.tmb-footer-col h3{
	margin: 0 0 10px;
	font-size: 1.05rem;
	font-weight: 950;
	letter-spacing: -0.02em;
	color: var(--tmb-text);
}

.tmb-footer-col p{
	margin: 0 0 10px;
	color: rgba(11,18,32,0.68);
	line-height: 1.6;
}

.tmb-footer-col a{
	color: var(--tmb-text);
	text-decoration: none;
	border-bottom: 1px solid rgba(62,173,216,0.30);
}

.tmb-footer-col a:hover{
	border-bottom-color: rgba(242,99,93,0.55);
}

.tmb-footer-links{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tmb-footer-divider{
	height: 1px;
	background: rgba(11,18,32,0.12);
	border-radius: 999px;
	margin: 10px 0;
}

.tmb-footer-socials{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.tmb-footer-bottom{
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,0.40);
	display: flex;
	justify-content: center;
}

.tmb-footer-bottom p{
	margin: 0;
	color: rgba(11,18,32,0.60);
	font-size: 0.95rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
	.tmb-nav{ display: none; }
	.tmb-social{ display: none; }
	.tmb-cta{ display: none; }
	.tmb-brand-logo{ height: 46px; }
	.tmb-header-bar{ height: 68px; }
	.tmb-footer-grid{
		grid-template-columns: 1fr;
		text-align: center;
	}
	.tmb-footer-socials{
		justify-content: center;
	}
	.tmb-footer-col a{
		display: inline-block;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
	.tmb-btn,
	.tmb-icon-btn,
	.tmb-nav-list a,
	.tmb-overlay-list a{
		transition: none !important;
	}
}
