/*
 * Component: Mobile Sticky Nav Bar (Call / Contact / Search).
 *
 * Matches Figma node 328:2749 — white bottom nav with 3 icon+label buttons.
 * Slides up after hero scroll. Mobile-only (hidden at ≥768px).
 *
 * @package Azuri_Group
 */

/* ==========================================================================
   Bar wrapper
   ========================================================================== */

.azuri-sticky-bar {
	bottom: 0;
	display: none;       /* hidden everywhere by default */
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	transform: translateY(100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
	            opacity  0.3s ease;
	width: 100%;
	z-index: 9999;
}

/* Only visible on mobile */
@media (max-width: 767px) {
	.azuri-sticky-bar {
		display: block;
	}
}

/* JS activates this class after scroll threshold */
.azuri-sticky-bar.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

/* ==========================================================================
   Inner — white surface with top border + shadow
   ========================================================================== */

.azuri-sticky-bar__inner {
	background-color: #ffffff;
	border-top: 0.505px solid #e5e7eb;
	box-shadow: 0 -4px 7.5px rgba(0, 0, 0, 0.1),
	            0 -1.5px 3px   rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	height: 64px;
	width: 100%;
	/* safe-area padding for iOS home indicator */
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ==========================================================================
   Individual icon buttons (3 equal columns)
   ========================================================================== */

.azuri-sticky-bar__btn {
	align-items: center;
	background: none;
	border: none;
	border-radius: 10px;
	color: #4a5565;
	cursor: pointer;
	display: flex;
	flex: 1 1 0%;
	flex-direction: column;
	font-family: var(--azuri-font-family-base, 'DM Sans', sans-serif);
	font-size: 12px;
	font-weight: 500;
	gap: 4px;
	justify-content: center;
	line-height: 1.33;
	margin: 10px 0;
	padding: 0 8px;
	text-align: center;
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.azuri-sticky-bar__btn:hover,
.azuri-sticky-bar__btn:focus-visible {
	color: #2aadb5;
}

.azuri-sticky-bar__btn:focus-visible {
	outline: 2px solid #2aadb5;
	outline-offset: 2px;
}

/* Icon svg */
.azuri-sticky-bar__btn-icon {
	display: block;
	flex-shrink: 0;
	height: 24px;
	width: 24px;
}

/* Label */
.azuri-sticky-bar__btn-label {
	display: block;
	white-space: nowrap;
}
