/*
Theme Name: DotCom4Host Premium
Author: DotCom4Host
Description: Premium custom WordPress theme for DotCom4Host web design and hosting solutions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dotcom4host
*/

:root {
	/* Midnight Nebula — Color Palette */
	--color-deep-dark-blue: #0a0e1a;
	--color-electric-purple: #7c3aed;
	--color-liquid-gold: #d4af37;

	/* Midnight Nebula — Accents & Surfaces */
	--color-accent-purple-glow: #a78bfa;
	--color-accent-gold-soft: #f0d78c;
	--color-surface-elevated: #12182b;
	--color-border-subtle: rgba(255, 255, 255, 0.08);

	/* Typography */
	--font-arabic: 'Alexandria', sans-serif;
	--font-english: 'Plus Jakarta Sans', sans-serif;

	/* Layout & Effects */
	--hero-max-width: 1320px;
	--glass-bg: rgba(255, 255, 255, 0.06);
	--glass-border: rgba(255, 255, 255, 0.12);
	--text-primary: #f8fafc;
	--text-muted: #cbd5e1;
	--shadow-hero: 0 24px 80px rgba(0, 0, 0, 0.45);
}

/* Base */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background-color: var(--color-deep-dark-blue);
	color: var(--text-primary);
	font-family: var(--font-english);
	line-height: 1.6;
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='5' fill='none' stroke='%23d4af37' stroke-width='2'/%3E%3Ccircle cx='14' cy='14' r='1.5' fill='%237c3aed'/%3E%3C/svg%3E") 14 14, auto;
}

a,
button,
.btn {
	cursor: pointer;
}

.site-header {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	z-index: 999;
	padding: 1rem 1.5rem;
	background: transparent !important;
	border: none;
	box-shadow: none;
	overflow: visible !important;
}

.site-header__inner {
	max-width: var(--hero-max-width);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.site-logo {
	text-decoration: none;
}

.site-logo__placeholder {
	font-family: var(--font-english);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--text-primary);
}

.main-navigation {
	position: relative;
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.bubble-nav-container {
	position: relative;
	width: min(560px, 100%);
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	overflow: visible !important;
	pointer-events: none;
}

.bubble-link {
	--bubble-size: clamp(88px, calc(4.6ch + 2.9rem), 128px);
	inline-size: var(--bubble-size);
	min-inline-size: 78px;
	aspect-ratio: 1;
	border-radius: 50%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	font-family: var(--font-arabic);
	font-size: clamp(0.72rem, 1.1vw, 0.86rem);
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	text-align: center;
	text-decoration: none;
	color: #fff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.2);
	background:
		radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.05) 20%, transparent 60%),
		radial-gradient(circle at 78% 78%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 48%, transparent 72%),
		linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
	box-shadow:
		inset 0 0 20px rgba(255, 255, 255, 0.3),
		inset 10px 0 40px rgba(255, 0, 255, 0.25),
		inset -10px 0 40px rgba(0, 255, 255, 0.25),
		0 12px 24px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transform-origin: center;
	will-change: transform;
	transition: transform 0.3s ease;
	pointer-events: auto;
}

.bubble-link::before {
	content: '';
	position: absolute;
	width: 52%;
	height: 28%;
	border-radius: 50%;
	top: 12%;
	inset-inline-start: 24%;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.08) 70%, transparent 100%);
	filter: blur(0.8px);
	transform: rotate(-10deg);
	pointer-events: none;
}

.bubble-link::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	padding: 1px;
	background: linear-gradient(130deg, rgba(255, 255, 255, 0.7), rgba(124, 58, 237, 0.3), rgba(212, 175, 55, 0.45));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.bubble-link:hover,
.bubble-link:focus-visible {
	transform: scale(1.05);
}


/* Main content shell */
.site-main {
	margin-top: 0;
}

/* CTA Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 1.75rem;
	font-family: var(--font-arabic);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0.5rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
	background: linear-gradient(135deg, var(--color-electric-purple), #5b21b6);
	color: var(--text-primary);
	border-color: var(--color-accent-purple-glow);
	box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
}

.btn--primary:hover,
.btn--primary:focus-visible {
	background: linear-gradient(135deg, var(--color-accent-purple-glow), var(--color-electric-purple));
	box-shadow: 0 12px 40px rgba(124, 58, 237, 0.55);
	transform: translateY(-2px);
	color: var(--text-primary);
}


.btn--secondary {
	background: transparent;
	color: var(--color-accent-gold-soft);
	border-color: var(--color-liquid-gold);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
	background: rgba(212, 175, 55, 0.12);
	color: var(--color-accent-gold-soft);
	border-color: var(--color-accent-gold-soft);
	transform: translateY(-2px);
}

.btn:focus-visible {
	outline: 2px solid var(--color-accent-purple-glow);
	outline-offset: 3px;
}


/* Site Footer */
.site-footer {
	background: linear-gradient(
		180deg,
		var(--color-surface-elevated) 0%,
		var(--color-deep-dark-blue) 100%
	);
	border-top: 1px solid var(--color-border-subtle);
	color: var(--text-primary);
}

.site-footer__top {
	padding: 3rem 1.5rem 2.5rem;
}

.site-footer__inner {
	max-width: var(--hero-max-width);
	margin: 0 auto;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.5rem;
	direction: rtl;
	text-align: start;
}

.site-footer__column-title {
	margin: 0 0 1.25rem;
	font-family: var(--font-arabic);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--color-accent-gold-soft);
}

.site-footer__logo {
	display: inline-block;
	margin-bottom: 1rem;
	text-decoration: none;
}

.site-footer__logo-text {
	font-family: var(--font-english);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	background: linear-gradient(135deg, var(--color-accent-gold-soft), var(--color-electric-purple));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.site-footer__description,
.site-footer__newsletter-text {
	margin: 0;
	font-family: var(--font-arabic);
	font-size: 0.95rem;
	color: var(--text-muted);
	line-height: 1.7;
}

.site-footer__menu,
.site-footer__contact-list,
.site-footer__social {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu li,
.site-footer__contact-list li {
	margin-bottom: 0.65rem;
}

.site-footer__menu a,
.site-footer__contact-list a {
	font-family: var(--font-arabic);
	font-size: 0.95rem;
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus-visible,
.site-footer__contact-list a:hover,
.site-footer__contact-list a:focus-visible {
	color: var(--color-accent-purple-glow);
}

.site-footer__contact-label {
	display: block;
	font-family: var(--font-arabic);
	font-size: 0.8rem;
	color: var(--text-muted);
	opacity: 0.85;
	margin-bottom: 0.2rem;
}

.site-footer__support-highlight {
	margin: 1.25rem 0 0;
	padding: 0.65rem 1rem;
	font-family: var(--font-arabic);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-accent-gold-soft);
	background: rgba(124, 58, 237, 0.15);
	border: 1px solid rgba(212, 175, 55, 0.25);
	border-radius: 0.5rem;
}

.site-footer__newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1rem;
}

.site-footer__newsletter-input {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: var(--font-arabic);
	font-size: 0.95rem;
	color: var(--text-primary);
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: 0.5rem;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__newsletter-input::placeholder {
	color: var(--text-muted);
	opacity: 0.7;
}

.site-footer__newsletter-input:focus {
	outline: none;
	border-color: var(--color-accent-purple-glow);
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}

.site-footer__newsletter-submit {
	width: 100%;
	cursor: pointer;
}

.site-footer__bottom {
	border-top: 1px solid var(--color-border-subtle);
	padding: 1.5rem;
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	direction: rtl;
}

.site-footer__copyright {
	margin: 0;
	font-family: var(--font-arabic);
	font-size: 0.9rem;
	color: var(--text-muted);
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.site-footer__social-link {
	font-family: var(--font-english);
	font-size: 0.85rem;
	color: var(--text-muted);
	text-decoration: none;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--color-border-subtle);
	border-radius: 0.35rem;
	transition:
		color 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
	color: var(--text-primary);
	border-color: var(--color-electric-purple);
	background: rgba(124, 58, 237, 0.12);
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}


/* Responsive */
@media (max-width: 900px) {
	.site-header__inner {
		flex-direction: column;
	}

	.main-navigation {
		width: 100%;
		justify-content: center;
	}

	.bubble-nav-container {
		min-height: 94px;
		justify-content: center;
		flex-wrap: wrap;
	}

	.bubble-link {
		--bubble-size: clamp(72px, calc(3.3ch + 2.2rem), 96px);
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}

	.site-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
	}

	.site-footer__social {
		justify-content: center;
	}

	.site-footer__newsletter-form {
		max-width: 320px;
		margin-inline-start: auto;
		margin-inline-end: auto;
	}

	.site-footer__logo {
		display: block;
	}
}
