/**
 * Homepage Styles
 * Editorial layout for all 11 front-page sections
 *
 * @package Rakhi_Creation
 */

/* === HERO SECTION === */
.home-hero{
	position:relative;
	min-height:90vh;
	display:flex;
	align-items:center;
	overflow:hidden;
}

.home-hero-bg{
	position:absolute;
	inset:0;
	z-index:1;
}

.hero-bg-image{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}

.hero-bg-image.desktop{
	display:block;
}

.hero-bg-image.mobile{
	display:none;
}

.home-hero-inner{
	position:relative;
	z-index:3;
	width:100%;
}

.home-hero-content{
	position:relative;
	z-index:3;
	max-width:700px;
	color:var(--color-text);
}

.home-hero-content{
	position:relative;
	z-index:3;
	max-width:700px;
	color:var(--color-text);
}

@media(max-width:768px){

	.hero-bg-image.desktop{
		display:none;
	}

	.hero-bg-image.mobile{
		display:block;
	}

	.home-hero{
		min-height:75vh;
	}
}

/* === FEATURED PRODUCTS === */
.home-featured {
	padding: 80px 0;
	background: var(--color-surface);
}

.home-featured-header {
	text-align: center;
	margin-bottom: 48px;
}

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

.featured-product-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.featured-product-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.featured-product-image {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--cream);
}

.newsletter-privacy {
	font-size: 0.8rem;
	color: var(--bg-surface);
	margin-top: 1rem;
}

.home-newsletter-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-md);
}

/* === FINAL CTA === */
.home-cta-final {
	padding: 80px 0;
	background: var(--color-surface);
}

.home-cta-final-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.home-cta-final-image img {
	width: 100%;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
}

.home-cta-final-content {
	max-width: 480px;
}

.home-cta-final-content .section-title {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* === SCROLL ANIMATIONS === */
.animate-target {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.visible {
	opacity: 1;
	transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
	.home-hero-inner,
	.home-brand-story-inner,
	.home-cta-final-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.home-hero-image {
		max-width: 400px;
		margin: 0 auto;
	}

	.home-hero-image-secondary {
		width: 45%;
		margin-top: -16px;
	}

	.home-featured-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-testimonials-grid {
		grid-template-columns: 1fr;
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
	}

	.home-instagram-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.process-step-connector {
		display: none;
	}
}

@media (max-width: 768px) {
	.home-hero {
		padding: 60px 0 40px;
	}

	.home-featured-grid {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.home-services-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}

	.home-instagram-grid {
		grid-template-columns: repeat(2, 1fr);
	}

@media (max-width: 768px) {
	.home-newsletter-inner {
		padding: 0;
	}

	.newsletter-form-group {
		flex-direction: column;
		gap: 0.75rem;
	}

	.newsletter-form-group input[type="email"] {
		border-right: 1px solid rgba(220, 207, 194, 0.3);
		border-radius: var(--radius-sm);
	}

	.newsletter-form-group .btn {
		border-radius: var(--radius-sm);
		justify-content: center;
	}

	.process-step {
		padding-left: 36px;
	}

	.process-step-number {
		position: absolute;
		left: 0;
		width: 40px;
		height: 40px;
		font-size: 0.95rem;
	}
}

@media (max-width: 480px) {
	.home-hero-inner {
		gap: 24px;
	}

	.home-featured-grid {
		grid-template-columns: 1fr;
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}

	.home-instagram-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2px;
	}
}