/**
 * Single Event Page Styles
 * 
 * @package Pachamama
 * @version 1.1.0
 */

/* ========================================
   EVENT HERO
   ======================================== */

.event-hero {
	margin-top: 68px;
	background: var(--deep-forest);
	position: relative;
	overflow: hidden;
}

.hero-image {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hero-img-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.hero-img-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(30, 59, 52, 0.4) 0%, rgba(30, 59, 52, 0.8) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 1400px;
	margin: 0 auto;
	padding: 380px 80px 60px;
}

.event-hero .breadcrumbs {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 24px;
}

.event-hero .breadcrumbs a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s;
}

.event-hero .breadcrumbs a:hover {
	color: var(--warm-sand);
}

.event-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(217, 205, 186, 0.15);
	border: 1px solid rgba(217, 205, 186, 0.3);
	color: var(--warm-sand);
	font-size: 12px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 100px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.event-badge svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
}

.event-title {
	font-family: var(--font-heading);
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 700;
	color: var(--white);
	line-height: 1.2;
	letter-spacing: -1px;
	margin-bottom: 20px;
}

.event-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin-bottom: 32px;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(217, 205, 186, 0.9);
	font-size: 15px;
}

.meta-icon {
	width: 18px;
	height: 18px;
	color: var(--olive-light);
	stroke: currentColor;
	flex-shrink: 0;
}

.event-cta {
	display: flex;
	gap: 12px;
}

.btn-event-primary {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 600;
	color: var(--deep-forest);
	background: var(--warm-sand);
	border: none;
	border-radius: 100px;
	padding: 16px 36px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.btn-event-primary:hover {
	background: var(--white);
}

.btn-event-secondary {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	color: var(--warm-sand);
	background: transparent;
	border: 1px solid rgba(217, 205, 186, 0.4);
	border-radius: 100px;
	padding: 16px 36px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.btn-event-secondary:hover {
	border-color: var(--warm-sand);
	background: rgba(217, 205, 186, 0.1);
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-content {
	max-width: 1400px;
	margin: 0 auto;
	padding: 80px 80px 100px;
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 60px;
}

.content-section {
	margin-bottom: 60px;
}

.section-title {
	font-family: var(--font-heading);
	font-size: 28px;
	font-weight: 700;
	color: var(--deep-forest);
	margin-bottom: 20px;
	letter-spacing: -0.5px;
}

.section-text {
	font-size: 16px;
	color: var(--mid-text);
	line-height: 1.8;
}

.section-text p {
	margin-bottom: 16px;
}

.section-text p:last-child {
	margin-bottom: 0;
}

.section-text ul {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.section-text li {
	position: relative;
	padding-right: 24px;
	margin-bottom: 12px;
}

.section-text li::before {
	content: '';
	position: absolute;
	right: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--clay);
}

.organizer-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.organizer-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: linear-gradient(160deg, #D9CDBA 0%, #c4b39a 100%);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.organizer-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.organizer-name {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--deep-forest);
	margin-bottom: 4px;
}

.organizer-title {
	font-size: 14px;
	color: var(--clay);
	font-weight: 500;
	margin-bottom: 8px;
}

.organizer-link {
	font-size: 14px;
	color: var(--teal);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

.organizer-link:hover {
	color: var(--teal-light);
}

/* ========================================
   SIDEBAR
   ======================================== */

.sidebar-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px;
	margin-bottom: 24px;
	position: sticky;
	top: 100px;
}

.sidebar-title {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--deep-forest);
	margin-bottom: 20px;
}

.info-list {
	display: grid;
	gap: 18px;
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.info-icon {
	width: 20px;
	height: 20px;
	color: var(--olive);
	flex-shrink: 0;
	margin-top: 2px;
	stroke: currentColor;
}

.info-label {
	font-size: 12px;
	color: var(--light-text);
	margin-bottom: 4px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.info-value {
	font-size: 15px;
	color: var(--dark-text);
	font-weight: 500;
}

.price-box {
	background: var(--bg-section);
	border-radius: var(--radius-md);
	padding: 20px;
	text-align: center;
	margin-top: 24px;
}

.price-label {
	font-size: 13px;
	color: var(--mid-text);
	margin-bottom: 8px;
}

.price-value {
	font-family: var(--font-heading);
	font-size: 36px;
	font-weight: 700;
	color: var(--deep-forest);
	line-height: 1;
}

.price-currency {
	font-size: 20px;
	margin-right: 4px;
}

.register-btn {
	width: 100%;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 600;
	color: var(--white);
	background: var(--clay);
	border: none;
	border-radius: 100px;
	padding: 16px 32px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
}

.register-btn:hover {
	background: var(--clay-light);
}

.spots-left {
	font-size: 13px;
	color: var(--clay);
	font-weight: 600;
	text-align: center;
	margin-top: 12px;
}

/* ========================================
   RELATED EVENTS
   ======================================== */

.related-section {
	padding: 80px 80px;
	background: var(--bg-section);
}

.related-header {
	max-width: 1400px;
	margin: 0 auto;
	margin-bottom: 40px;
}

.related-title {
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	color: var(--deep-forest);
	letter-spacing: -0.5px;
}

.related-grid {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.event-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	cursor: pointer;
	text-decoration: none;
	display: block;
}

.event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 48px rgba(30, 59, 52, 0.1);
}

.event-img {
	height: 180px;
	position: relative;
	overflow: hidden;
}

.event-img-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.4s ease;
}

.event-card:hover .event-img-bg {
	transform: scale(1.05);
}

.event-type-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(30, 59, 52, 0.82);
	color: var(--warm-sand);
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 100px;
	letter-spacing: 0.04em;
}

.event-body {
	padding: 18px 20px 22px;
}

.event-date {
	font-size: 12px;
	color: var(--clay);
	font-weight: 600;
	letter-spacing: 0.05em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.event-card-title {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	color: var(--deep-forest);
	line-height: 1.35;
	margin-bottom: 10px;
}

.event-card-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--light-text);
}

.event-card-meta svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	flex-shrink: 0;
}

/* ========================================
   RECURRING SCHEDULE (for classes)
   ======================================== */

.recurring-schedule {
	background: var(--bg-section);
	border-radius: var(--radius-md);
	padding: 20px;
	margin-top: 16px;
}

.recurring-schedule-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--deep-forest);
	margin-bottom: 12px;
}

.recurring-schedule-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--mid-text);
	margin-bottom: 8px;
}

.recurring-schedule-item:last-child {
	margin-bottom: 0;
}

.recurring-schedule-item svg {
	width: 16px;
	height: 16px;
	color: var(--olive);
	flex-shrink: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1100px) {
	.hero-content {
		padding: 0 40px 40px;
	}
	
	.main-content {
		padding: 60px 40px 80px;
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.sidebar-card {
		position: static;
	}
	
	.related-section {
		padding: 60px 40px;
	}
	
	.related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 700px) {
	.hero-content {
		padding: 0 20px 32px;
	}
	
	.main-content {
		padding: 40px 20px 60px;
	}
	
	.event-cta {
		flex-direction: column;
	}
	
	.btn-event-primary,
	.btn-event-secondary {
		width: 100%;
		justify-content: center;
	}
	
	.related-section {
		padding: 48px 20px;
	}
	
	.related-grid {
		grid-template-columns: 1fr;
	}
}
