/**
 * Al-Tawba Travel — Islamic Design & Geometric Patterns Layer
 *
 * @package Al_Tawba_Travel
 * @version 1.1.0
 */

/* =====================================================================
 * 1. Geometric Backgrounds (SVG Zellige & Arabesque)
 * ===================================================================== */

/* Moroccan 8-Point Star Zellige Tilework */
.at-pattern-zellige,
.at-pattern-overlay {
	background-image: radial-gradient(circle, rgba(185, 145, 45, 0.12) 1px, transparent 1px),
	                  linear-gradient(45deg, rgba(185, 145, 45, 0.04) 25%, transparent 25%, transparent 75%, rgba(185, 145, 45, 0.04) 75%),
	                  linear-gradient(-45deg, rgba(185, 145, 45, 0.04) 25%, transparent 25%, transparent 75%, rgba(185, 145, 45, 0.04) 75%);
	background-size: 32px 32px, 64px 64px, 64px 64px;
	background-position: 0 0, 0 0, 32px 32px;
}

/* Burgundy Pattern Variant */
.at-pattern-zellige--burgundy {
	background-image: radial-gradient(circle, rgba(183, 37, 47, 0.15) 1px, transparent 1px),
	                  linear-gradient(45deg, rgba(183, 37, 47, 0.06) 25%, transparent 25%, transparent 75%, rgba(183, 37, 47, 0.06) 75%),
	                  linear-gradient(-45deg, rgba(183, 37, 47, 0.06) 25%, transparent 25%, transparent 75%, rgba(183, 37, 47, 0.06) 75%);
	background-size: 32px 32px, 64px 64px, 64px 64px;
}

/* =====================================================================
 * 2. Pointed Islamic Arch Framing (Moorish / Andalusian style)
 * ===================================================================== */
.at-arch-frame {
	position: relative;
}

.at-arch-frame::after {
	content: '';
	position: absolute;
	top: -1px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0,0 Q20,14 40,0 Z' fill='%23B9912D'/%3E%3C/svg%3E") center/contain no-repeat;
	opacity: 0.8;
}

/* Pointed Arch Card Shape on Top */
.at-arch-card-top {
	clip-path: polygon(
		0% 30px,
		20% 15px,
		50% 0%,
		80% 15px,
		100% 30px,
		100% 100%,
		0% 100%
	);
}

/* =====================================================================
 * 3. Section Dividers (Pointed Arch / Mosque Silhouette)
 * ===================================================================== */
.at-arch-divider {
	width: 100%;
	height: 60px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,60 L0,20 Q360,20 540,5 C660,-5 720,-5 720,-5 C720,-5 780,-5 900,5 Q1080,20 1440,20 L1440,60 Z' fill='%23FBF8F1'/%3E%3C/svg%3E") bottom center/100% 100% no-repeat;
}

.at-arch-divider--white {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,60 L0,20 Q360,20 540,5 C660,-5 720,-5 720,-5 C720,-5 780,-5 900,5 Q1080,20 1440,20 L1440,60 Z' fill='%23FFFFFF'/%3E%3C/svg%3E") bottom center/100% 100% no-repeat;
}

.at-arch-divider--gold {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,60 L0,20 Q360,20 540,5 C660,-5 720,-5 720,-5 C720,-5 780,-5 900,5 Q1080,20 1440,20 L1440,60 Z' fill='%23B9912D'/%3E%3C/svg%3E") bottom center/100% 100% no-repeat;
}

/* =====================================================================
 * 4. Calligraphic & Decorative Accents
 * ===================================================================== */
.at-crescent-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 18px;
	background: rgba(185, 145, 45, 0.12);
	border: 1px solid var(--at-gold);
	border-radius: var(--at-radius-full);
	color: var(--at-gold);
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.at-crescent-badge i {
	font-size: 1rem;
}

/* Arabesque Corner Flourishes */
.at-flourish-corner-tl {
	position: absolute;
	top: 15px;
	left: 15px;
	width: 30px;
	height: 30px;
	border-top: 2px solid var(--at-gold);
	border-left: 2px solid var(--at-gold);
	opacity: 0.5;
}

.at-flourish-corner-br {
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 30px;
	height: 30px;
	border-bottom: 2px solid var(--at-gold);
	border-right: 2px solid var(--at-gold);
	opacity: 0.5;
}
