/* =====================================================
   🌸 FLOATING DECORATIVE ELEMENTS
===================================================== */
.floating-berry {
	position: absolute;
	width: 30px;
	height: 30px;
	background: #e91e63;
	border-radius: 50%;
	opacity: 0.3;
	animation: float 6s ease-in-out infinite;
	z-index: 0;
}

.floating-berry:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-berry:nth-child(2) { top: 60%; right: 15%; animation-delay: 2s; }
.floating-berry:nth-child(3) { bottom: 30%; left: 30%; animation-delay: 4s; }
.floating-berry:nth-child(4) { bottom: 45%; left: 15%; animation-delay: 3s; }
.floating-berry:nth-child(5) { bottom: 64%; left: 89%; animation-delay: 6s; }
.floating-berry:nth-child(6) { bottom: 70%; left: 35%; animation-delay: 1s; }

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-20px); }
}

/* =====================================================
   🌸 HERO SECTION
===================================================== */
.hero {
	padding: 80px 0;
	display: flex;
	align-items: center;
	min-height: 55vh;
	position: relative;
	overflow: hidden;
}

.hero .container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

.hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.hero-text h1 {
	font-size: 48px;
	font-weight: 700;
	color: #e91e63;
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero-text p {
	font-size: 16px;
	color: #666;
	margin-bottom: 30px;
	max-width: 400px;
}

.cta-button {
	background: #e91e63;
	color: white;
	padding: 15px 30px;
	border: none;
	border-radius: 25px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	text-decoration: none;
	display: inline-block;
}

.cta-button:hover {
	background: #c2185b;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.hero-image {
	position: relative;
}

.hero-image img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   🌸 FEATURED SECTION (Our Cake Collection)
===================================================== */
.featured {
	text-align: center;
	padding: 60px 20px;
	background-color: var(--light-bg);
}

.featured h2 {
	font-size: 32px;
	color: var(--primary-color);
	margin-bottom: 40px;
	font-weight: 700;
}

/* =====================================================
   🌸 CAKES GRID & CARD STYLES
===================================================== */
.cakes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 1rem;
}

.profile-card1 {
	width: 100%;
	max-width: 320px;
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	margin: 10px auto;
	display: flex;
	flex-direction: column;
	padding: 5px;
	transition: var(--transition);
}

.profile-card1:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
}

.RoundCakeImg1 {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 20px;
}

.profile-footer1 {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.profile-row1 {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.profile-name1 {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin: 5px;
}

.profile-desc {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	padding: 0 5px;
}

.follow-button1 {
	background: #ff5c8a;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 16px;
	font-size: 14px;
	cursor: pointer;
	transition: var(--transition);
}

.follow-button1:hover {
	background: #e91e63;
}

/* Products Section */
.products-section {
	padding: 4rem 2rem;
	background: white;
	/*background: linear-gradient(135deg, #7dd3c0 0%, #e8b4c8 100%);*/
}

.section-label {
	text-align: center;
	color: #999;
	font-size: 0.9rem;
	letter-spacing: 2px;
	margin-bottom: 1rem;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 300;
	margin-bottom: 3rem;
	color: #333;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	max-width: 90%;
	margin: 0 auto;
}

.product-card {
	position: relative;
	overflow: hidden;
	/*border-radius: 5px;*/
	cursor: pointer;
	transition: transform 0.3s;
}

.product-card:hover {
	transform: translateY(-5px);
}

.product-image {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

.product-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
	padding: 2rem 1.5rem 1.5rem;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.product-info h3 {
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.product-category {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #333;
	color: white;
	padding: 0.4rem 0.8rem;
	font-size: 0.75rem;
	letter-spacing: 1px;
}

.product-icon {
	width: 35px;
	height: 35px;
	background: #d4a5a5;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	font-size: 1.2rem;
	cursor: pointer;
	transition: background 0.3s;
}

.product-icon:hover {
	background: #c89494;
}


/* =====================================================
   🌸 RESPONSIVE DESIGN
===================================================== */

/* ✅ Tablets (≤768px) */
@media (max-width: 768px) {
	.hero {
		flex-direction: column;
		padding: 60px 0;
		text-align: center;
	}

	.hero-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.hero-text h1 {
		font-size: 40px;
	}

	.hero-text p {
		max-width: 100%;
		margin: 0 auto 25px;
		font-size: 15px;
	}

	.hero-image img {
		width: 90%;
		margin: 0 auto;
		border-radius: 15px;
	}

	.featured h2 {
		font-size: 28px;
	}

	.cakes-grid {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		gap: 1.5rem;
	}

	.products-grid {
		grid-template-columns: 1fr;
	}
}

/* ✅ Mobile (≤480px) */
@media (max-width: 480px) {
	.hero {
		padding: 40px 15px; /* Adjusted padding */
		text-align: center;
		display: block; /* Default stacking */
	}

	.hero-content {
		display: block; /* Stack text and image naturally */
		width: 100%;
	}

	.hero-text h1 {
		font-size: 28px;
		line-height: 1.3;
		margin-bottom: 15px;
	}

	.hero-text p {
		font-size: 14px;
		margin: 0 auto 15px;
		max-width: 95%; /* Prevent text overflow */
	}

	.hero-image img {
		width: 100%;
		height: auto;
		margin-top: 15px;
		border-radius: 12px;
	}

	.cakes-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 0 10px;
	}

	.profile-card1 {
		max-width: 100%;
		margin: 10px auto;
		padding: 8px;
		border-radius: 16px;
	}

	.RoundCakeImg1 {
		height: 220px;
		border-radius: 14px;
	}

	.profile-name1 {
		font-size: 18px;
	}

	.profile-desc {
		font-size: 13px;
		line-height: 1.4;
	}

	.follow-button1 {
		padding: 6px 12px;
		font-size: 13px;
		border-radius: 12px;
	}

	/* Products grid adjustments */

	.products-section {
		padding: 2rem 0;
		background: white;
		/*background: linear-gradient(135deg, #7dd3c0 0%, #e8b4c8 100%);*/
	}

	.products-grid {
		grid-template-columns: 1fr !important; /* 1 product per row */
		gap: 1rem;
		width: 100%;
		padding: 0 10px;
	}

	.product-card { width: 100%; }

	.product-image {
		width: 100%;
		height: auto; /* allow image to scale naturally */
		max-height: 250px; /* optional: limit tall images */
		/*border-radius: 12px;*/
	}

	.product-overlay {
		padding: 1rem 0.8rem 0.8rem; /* smaller overlay padding for mobile */
	}

	.product-info h3 { font-size: 1rem; }
	.product-category { font-size: 0.7rem; padding: 0.3rem 0.6rem; }
	.product-icon { width: 30px; height: 30px; font-size: 1rem; }
}
