/* Public CSS - Landing, Directory & Business Profile */

.p360-hero {
	padding: 80px 24px;
	text-align: center;
	background: radial-gradient(circle at 50% 20%, rgba(0, 200, 232, 0.15), transparent 60%), var(--p360-bg);
}

.p360-hero-title {
	font-size: 48px;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 20px;
	color: var(--p360-text);
}

.p360-hero-subtitle {
	font-size: 18px;
	color: var(--p360-text-muted);
	max-width: 720px;
	margin: 0 auto 36px auto;
	line-height: 1.6;
}

.p360-directory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
	margin-top: 40px;
}

.p360-biz-card {
	background: var(--p360-card);
	border: 1px solid var(--p360-border);
	border-radius: var(--p360-radius-md);
	overflow: hidden;
	transition: var(--p360-transition);
	display: flex;
	flex-direction: column;
}

.p360-biz-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--p360-shadow-lg);
	border-color: var(--p360-cyan-primary);
}

.p360-biz-cover {
	height: 140px;
	background-size: cover;
	background-position: center;
	position: relative;
	background-color: var(--p360-dark-bg);
}

.p360-biz-logo {
	width: 72px;
	height: 72px;
	border-radius: 16px;
	border: 4px solid var(--p360-card);
	position: absolute;
	bottom: -24px;
	left: 24px;
	background: var(--p360-surface);
	object-fit: cover;
	box-shadow: var(--p360-shadow-sm);
}

.p360-biz-body {
	padding: 36px 24px 24px 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Floating WhatsApp Widget */
.p360-floating-wa {
	position: fixed;
	bottom: 28px;
	right: 28px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #25D366;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
	z-index: 999;
	cursor: pointer;
	transition: var(--p360-transition);
}

.p360-floating-wa:hover {
	transform: scale(1.1);
}

/* Modal Overlay */
.p360-modal-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: var(--p360-transition);
}

.p360-modal-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.p360-modal-box {
	background: var(--p360-card);
	border-radius: var(--p360-radius-md);
	padding: 32px;
	max-width: 480px;
	width: 90%;
	border: 1px solid var(--p360-border);
	box-shadow: var(--p360-shadow-lg);
}

@media (max-width: 768px) {
	.p360-hero-title {
		font-size: 32px;
	}
	.p360-hero-subtitle {
		font-size: 15px;
	}
}

/* Responsive Public Profile Grid */
.p360-profile-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 32px;
}

@media (max-width: 768px) {
	.p360-profile-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* Modern App Segmented Control Tabs */
.p360-profile-tabs {
	display: flex;
	background: var(--p360-card);
	padding: 4px;
	border-radius: 12px;
	gap: 4px;
	width: fit-content;
	margin: 24px 0 12px 0;
	border: 1px solid var(--p360-border);
	overflow-x: auto;
	max-width: 100%;
}

.p360-tab-link {
	padding: 8px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--p360-text-muted);
	text-decoration: none;
	transition: var(--p360-transition);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	flex-shrink: 0;
}

.p360-tab-link:hover {
	color: var(--p360-text);
}

.p360-tab-link.active {
	background: var(--p360-cyan-primary);
	color: #081B2E;
	box-shadow: var(--p360-shadow-sm);
}

/* SPA Section Toggles */
.p360-spa-section {
	display: none;
}
.p360-spa-section.active {
	display: block;
	animation: p360FadeIn 0.25s ease-out;
}


