/**
 * Homepage Styles
 * 
 * @package Pachamama
 * @version 1.1.0
 */

/* ========================================
   HERO SECTION
   ======================================== */

.hero-home {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 120px 40px 80px;
	position: relative;
	overflow: hidden;
	background: var(--deep-forest);
}

.hero-home::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('../images/pachamama_home_hero.jpeg');
	background-size: cover;
	background-position: center 30%;
	background-repeat: no-repeat;
	z-index: 0;
}

.hero-home::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(18, 42, 35, 0.6) 0%, rgba(18, 42, 35, 0.85) 100%);
	z-index: 1;
}

.hero-content {
	max-width: 800px;
	text-align: center;
	z-index: 2;
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 400;
	color: var(--olive);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 28px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
	content: '';
	display: block;
	width: 28px;
	height: 1px;
	background: var(--olive);
}

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

.hero-title .accent {
	color: var(--warm-sand);
}

.hero-subtitle {
	font-size: 18px;
	font-weight: 300;
	color: rgba(217, 205, 186, 0.8);
	line-height: 1.6;
	margin: 0 0 52px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.scroll-indicator {
	position: absolute;
	bottom: 36px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	z-index: 2;
}

.scroll-indicator::before {
	content: '';
	width: 1px;
	height: 40px;
	background: linear-gradient(to bottom, transparent, rgba(217, 205, 186, 0.4));
	animation: scrollLine 2s ease-in-out infinite;
}

.scroll-indicator svg {
	width: 24px;
	height: 24px;
	color: rgba(217, 205, 186, 0.4);
}

@keyframes scrollLine {
	0%, 100% {
		opacity: 0.3;
	}
	50% {
		opacity: 1;
	}
}

.hero-search {
	margin-bottom: 2rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.hero-search .search-box {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(217, 205, 186, 0.2) !important;
	border-radius: var(--radius-lg) !important;
	padding: 20px 28px !important;
	transition: all var(--transition-base);
}

.hero-search .search-box:focus-within {
	border-color: rgba(217, 205, 186, 0.5) !important;
	background: rgba(255, 255, 255, 0.16) !important;
}

.hero-search .search-icon {
	flex-shrink: 0;
	width: 36px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-search .search-icon svg {
	width: 36px;
	height: 32px;
}

.hero-search input[type="search"] {
	flex: 1;
	border: none;
	padding: 0 !important;
	font-size: 17px !important;
	color: var(--white) !important;
	background: transparent !important;
	outline: none;
}

.hero-search input[type="search"]::placeholder {
	color: rgba(217, 205, 186, 0.45) !important;
}

.hero-search button {
	background: var(--clay) !important;
	color: var(--white) !important;
	border: none;
	border-radius: 10px !important;
	padding: 10px 24px !important;
	font-family: var(--font-heading);
	font-size: 14px !important;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: all var(--transition-base);
}

.hero-search button:hover {
	background: #a16a38;
}

.hero-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.hero-tag {
	font-size: 13px;
	color: rgba(217, 205, 186, 0.6);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(217, 205, 186, 0.12);
	border-radius: 100px;
	padding: 5px 14px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s;
}

.hero-tag:hover {
	color: var(--warm-sand);
	border-color: rgba(217, 205, 186, 0.3);
	background: rgba(255, 255, 255, 0.08);
}

/* ========================================
   STATS BAR
   ======================================== */

.stats-bar {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	padding: 28px 80px;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.stat-item {
	text-align: center;
	padding: 0 20px;
	position: relative;
}

.stat-item:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 0;
	top: 10%;
	height: 80%;
	width: 1px;
	background: var(--border);
}

.stat-number {
	font-family: var(--font-heading);
	font-size: 34px;
	font-weight: 700;
	color: var(--deep-forest);
	display: block;
	margin-bottom: 6px;
	line-height: 1;
}

.stat-label {
	font-size: 0.875rem;
	color: var(--sage);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
	text-align: center;
	margin-bottom: 2rem;
}

.section-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--olive);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.section-title {
	font-family: var(--font-heading);
	font-size: 2.25rem;
	font-weight: 600;
	color: var(--deep-forest);
	margin: 0 0 0.75rem;
	line-height: 1.2;
}

.section-description {
	font-size: 1.125rem;
	color: var(--mid-text);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.7;
}

.section-header-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.section-header-actions .section-header {
	text-align: right;
	margin-bottom: 0;
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */

.categories-section {
	padding: 60px 80px;
	background: var(--bg-page);
}

.section {
	padding: 60px 80px;
}

.cat-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 16px;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.cat-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 24px 16px;
	text-align: center;
	cursor: pointer;
	transition: all 0.25s ease;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.cat-card:hover {
	border-color: var(--olive);
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(30, 59, 52, 0.09);
}

.cat-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--bg-section);
	display: flex;
	align-items: center;
	justify-content: center;
}

.cat-icon svg {
	width: 22px;
	height: 22px;
	stroke: var(--deep-forest);
}

.cat-name {
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 500;
	color: var(--deep-forest);
	line-height: 1.4;
}

.category-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.5rem 1rem;
	text-align: center;
	text-decoration: none;
	transition: all var(--transition-base);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.category-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--olive);
}

.category-icon {
	width: 32px;
	height: 32px;
	color: var(--teal);
}

.category-icon svg {
	width: 100%;
	height: 100%;
}

.category-name {
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--deep-forest);
	line-height: 1.3;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.events-section,
.practitioners-section,
.articles-section {
	padding: 80px 0;
	background: var(--bg-page);
}

.practitioners-section {
	background: var(--bg-section);
}

/* ========================================
   JOIN CTA SECTION
   ======================================== */

.join-cta {
	background: var(--deep-forest);
	color: var(--white);
	padding: 80px 0;
}

.join-cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.join-cta-content h2 {
	font-family: var(--font-heading);
	font-size: 2.25rem;
	font-weight: 600;
	color: var(--white);
	margin: 0 0 1.5rem;
	line-height: 1.2;
}

.join-cta-content p {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.7;
	margin-bottom: 2rem;
}

.join-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.join-cta-actions .btn {
	flex: 1 1 calc(50% - 0.5rem);
	min-width: 200px;
	background: var(--white);
	color: var(--deep-forest);
	border: none;
}

.join-cta-actions .btn:hover {
	background: rgba(255, 255, 255, 0.9);
	color: var(--deep-forest);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.join-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.feature-card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-md);
	padding: 1.5rem;
}

.feature-icon {
	width: 24px;
	height: 24px;
	margin-bottom: 1rem;
	color: var(--sage);
}

.feature-title {
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--white);
	margin: 0 0 0.5rem;
}

.feature-description {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.7;
}


/* ========================================
   CARD STYLES FOR HOMEPAGE
   ======================================== */

/* Event Card */
.event-card {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all 0.25s ease;
	cursor: pointer;
	text-decoration: none;
	display: block;
	background: var(--white);
}

.event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 48px rgba(30, 59, 52, 0.12);
	border-color: var(--olive-light);
}

.event-img {
	height: 240px;
	background: var(--bg-section);
	position: relative;
	overflow: hidden;
}

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

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

.event-type-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--white);
	border-radius: 100px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: var(--weight-semibold);
	color: var(--clay);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.event-card-title {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	color: var(--deep-forest);
	line-height: 1.3;
	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;
}

/* Practitioner Card */
.practitioner-card {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all 0.25s ease;
	cursor: pointer;
	text-decoration: none;
	display: block;
	background: var(--white);
}

.practitioner-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 48px rgba(30, 59, 52, 0.12);
	border-color: var(--olive-light);
}

.prac-img {
	height: 240px;
	background: var(--bg-section);
	position: relative;
	overflow: hidden;
}

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

.practitioner-card:hover .prac-img-bg {
	transform: scale(1.04);
}

.prac-verified {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: var(--white);
	border-radius: 100px;
	padding: 4px 12px;
	font-size: 11px;
	font-weight: var(--weight-semibold);
	color: var(--teal);
	display: flex;
	align-items: center;
	gap: 5px;
}

.prac-body {
	padding: 20px 22px 24px;
}

.prac-name {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: var(--weight-bold);
	color: var(--deep-forest);
	margin-bottom: 8px;
}

.prac-excerpt {
	font-size: 13px;
	color: var(--mid-text);
	line-height: 1.5;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.prac-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.prac-tag {
	font-size: 11px;
	padding: 4px 10px;
	border-radius: 100px;
	font-weight: var(--weight-medium);
}

.prac-tag-method {
	background: var(--bg-section);
	color: var(--teal);
}

.prac-tag-specialty {
	background: rgba(184, 122, 75, 0.1);
	color: var(--clay);
}

.prac-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid var(--border);
	margin-top: 14px;
}

.prac-footer-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.prac-location {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: var(--light-text);
}

.prac-location svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	flex-shrink: 0;
}

.prac-rating {
	display: flex;
	align-items: center;
	gap: 6px;
}

.prac-stars {
	display: flex;
	gap: 2px;
}

.star {
	width: 13px;
	height: 13px;
	fill: var(--clay);
}

.prac-review-count {
	font-size: 12px;
	color: var(--light-text);
	font-weight: var(--weight-medium);
}

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

@media (max-width: 1100px) {
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
	
	.cat-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 12px;
	}
	
	.grid-4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.grid-3 {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.join-cta-grid {
		grid-template-columns: 1fr;
		gap: 60px;
	}
}

@media (max-width: 700px) {
	.hero-home {
		padding: 100px 20px 60px;
	}
	
	.hero-title {
		font-size: 2.25rem;
	}
	
	.hero-subtitle {
		font-size: 1rem;
	}
	
	.hero-search .search-box {
		flex-direction: column;
		padding: 16px 20px !important;
	}
	
	.hero-search button {
		width: 100%;
	}
	
	.scroll-indicator {
		bottom: 20px;
	}
	
	.stats-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.stat-number {
		font-size: 2rem;
	}
	
	.cat-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	
	.grid-4,
	.grid-3 {
		grid-template-columns: 1fr !important;
		gap: 16px;
	}
	
	.section-title {
		font-size: 1.75rem;
	}
	
	.section,
	.categories-section {
		padding: 40px 20px;
	}
	
	.join-cta-actions {
		flex-direction: column;
	}
	
	.join-features {
		grid-template-columns: 1fr;
	}
}
