:root {
	--social-size: 30px;
	--bg: #fbf7f2;
	--secondary: #fff9f2;
	--input-color: #fffcf9;
	--secondaryText: #757575;
}

* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
	color: #fff;
}

body {
	background-color: var(--bg);
	font-family: 'Lufga', sans-serif;
	letter-spacing: -4%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	/* overflow: hidden; */
}

.allContainer {
	overflow: hidden;
	width: 100vw;
}

.homeNav {
	display: flex;
	height: 80px;
	justify-content: space-between;
	/* background-color: aqua; */
	width: 90vw;
	position: absolute;
	z-index: 1;
	/* margin-bottom: 50px; */

}

.homeNav .linkWrapper {
	display: flex;
	justify-content: space-between;
}

.homeNav .logo {
	display: flex;
	position: relative;
	background-image: url(assets/orchidLogo.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 80px;
	height: 80px;
	margin: 0 80px;
}

.homeNav .linkWrapper {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.homeNav .links {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	width: 45%;
	/* background-color: #982929; */
}

.homeNav .socials {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	width: 35%;
	/* background-color: #982929; */
}

.socials img {
	display: flex;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: var(--social-size);
	height: var(--social-size);
	margin: 0px 20px;
}

.social img {
	width: var(--social-size);
	height: var(--social-size);
	margin: 0px 20px;
}

.dark {
	filter: invert();
}

.hamburger {
	display: none;
}

.closeBtn {
	display: none;
}

#mobileView {
	display: none;
}

.blur-box {
	display: block;
}

#nav {
	display: none;
}

.navbar {
	display: block;
}



@media (max-width: 1000px) {

	.blur-box {
		display: none !important;
	}

	#mobileView {
		display: block;
	}

	.navbar {
		display: none !important;
	}

	.main-wrapper {
		margin-top: 80px;
	}

	.details-container{
		margin-top: 80px;
	}

	#nav {
		display: block;
		position: absolute;
		top: 0;
	}

	#nav {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 20px;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 999;
	}

	#nav .logo {
		margin: 0;
	}


	/* Hide desktop links and socials */
	.linkWrapper {
		position: absolute;
		height: 100vh;
		background: rgba(0, 0, 0, 0.44);
		display: flex;
		right: -100%;
		flex-direction: column;
		align-items: center;
		padding-top: 30px;
		box-shadow: -2px 0 10px rgba(0, 0, 0, 0.455);
		transition: 0.4s ease;
	}

	#mobileMenu {
		width: 50%;
		min-width: 350px;
		top: 0px;
		align-items: center;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		/* ← FIX 1 */
		align-items: center;
	}

	.socials {
		margin-top: 20px;
		position: absolute;
		display: flex;
		top: 280px;
		right: 150px;
		justify-content: center;
		gap: 10px;
		width: 100%;
		/* background-color: #e84914; */
	}




	.hamburger {
		display: block;
		margin-right: 40px;
	}

	.closeBtn {
		width: 100%;
		display: flex;
		justify-content: flex-end;
		padding: 15px 60px;
		cursor: pointer;
		align-self: flex-end;
		/* ← FIX 2: keeps X at top-right */
	}

	.closeBtn i {
		font-size: 28px;
		color: white;
		/* or black if background is light */
	}



	/* When active → slide into view */
	.linkWrapper.active {
		right: 0px;
	}

	/* Vertical stacking */
	.links {
		margin-top: 40px;
		flex-direction: column;
		width: 100%;
	}

	.links a {
		margin: 10px 0;
		font-size: 18px;
	}

	.socials {
		width: 100%;
		justify-content: center;
	}

	.socials img {
		margin: 0 10px;
	}

	/* Show hamburger button */
	.hamburger {
		display: block;
		font-size: 28px;
		cursor: pointer;
		color: var(--input-color);
	}

	#mobileView {
		display: block;
	}

	html,
	body {
		overflow-x: hidden;
	}




	.hero-right {
		display: flex;
		flex-direction: column;
		justify-content: center;
		/* background-color: #0a9d5b; */
		width: 90%;
	}

	.hero-right .wrapper {
		width: 100%;
	}

	.title {
		font-size: 70px;
		font-weight: 700;
		color: rgba(255, 255, 255, 0.912);
		/* background-color: #000; */
	}

	#right {
		display: flex;
		text-align: right;
	}

	#tagline {
		margin-top: 20px;
		width: 80%;
		font-size: 17px;
		line-height: 1.4;
		color: rgba(255, 255, 255, 0.912);
	}

	/* .item-cards{
		transform: scale(0.7);
		background-color: #000;
		width: 100%;
	} */





}





/* Section Layout */
.why-us {
	background: var(--bg);
	padding: 80px 5%;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 70vw;
	margin: 0 auto;
}

/* Title Styling */
.section-title {
	font-size: 1.8rem;
	margin-bottom: 40px;
	font-weight: 600;
	color: var(--accent-dark);
	position: relative;
	text-align: center;
}

.section-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	background: var(--accent-dark);
	margin: 8px auto 0;
}

/* Card Container (Flexbox) */
.why-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5vw;
	width: 100%;
	max-width: 1200px;
}

/* Individual Card */
.why-card {
	/* background: var(--bg); */
	background-color: #fff;
	border: 1px solid var(--card-border);
	border-radius: 16px;
	padding: 30px;
	width: 300px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 0 4px 12px var(--secondaryText);
	transition: 0.3s ease;
}

.why-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Icon Styling */
.why-card i {
	font-size: 2.2rem;
	margin-bottom: 12px;
	color: var(--accent-dark);
}

/* Text Styling */
.why-card h3 {
	margin-bottom: 10px;
	font-size: 1.2rem;
	color: var(--text-dark);
}

.why-card p {
	font-size: 0.95rem;
	color: var(--text-dark);
	opacity: 0.8;
}






/* ================================================== */









/* ========== NAVBAR ========== */

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 50px;
	width: 90vw;
}

.nav-left {
	display: flex;
	gap: 80px;
}

.nav-link {
	text-decoration: none;
	color: #000;
	font-size: 16px;
	transition: 0.3s;
}

.nav-link:hover {
	opacity: 0.6;
}

/* LOGO */
.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-img {
	width: 80px;
	height: auto;
}

.logo-text {
	font-size: 18px;
	font-weight: 600;
}




/* ========== SEARCH BAR SECTION ========== */
.search-section {
	color: var(--secondaryText);
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	align-items: center;
	gap: 50px;
	margin-left: 80px;
	/* ← Add this */
	margin-top: 30px;
	/* optional */
}


.search-box {
	width: 200px;
	padding: 10px 15px;
	border-radius: 15px;
	border: 1px solid var(--secondary);
	outline: none;
	box-shadow: 0px 0px 2.5px var(--secondaryText);
}

.main-wrapper {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	/* aligns to left */
}


.select-box {
	width: 160px;
	padding: 10px;
	background-color: var(--input-color);
	border: none;
	box-shadow: 0px 0px 2.5px var(--secondaryText);
	border-radius: 15px;
	overflow: hidden;
}

.dropdown {
	width: 100%;
	border: none;
	outline: none;
	background-color: transparent;
	font-size: 14px;

}

option {
	background-color: var(--input-color);
}

.search-btn {
	background-color: var(--secondary);
	box-shadow: 0px 0px 2.5px var(--secondaryText);
	padding: 10px;
	border-radius: 50px;
	border: none;
	cursor: pointer;
	font-size: 18px;
}

.search-btn img {
	width: var(--social-size);
}






/* ============================================ */



/* MAIN CARD CONTAINER */
.card-container {
	width: 330px;
	background: var(--bg);
	border-radius: 40px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
	font-family: sans-serif;
	margin: 20px auto;
}

/* IMAGE AREA */
.card-image {
	position: relative;
	width: 100%;
	height: 350px;
	border-radius: 30px;
	overflow: hidden;
	/* Crop the image nicely */
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* TAG "Available" */
.status-tag {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #0a9d5b;
	color: #fff;
	padding: 6px 18px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 600;
}

/* TEXT AREA */
.card-content {
	margin-top: 20px;
}

.card-content h2 {
	font-size: 1.6rem;
	margin-bottom: 8px;
}

.card-content p {
	font-size: 0.95rem;
	color: #555;
}

/* PRICE + BUTTON */
.card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
}

.price {
	font-size: 1.4rem;
	color: #f46a98;
	font-weight: bold;
}

.book-btn {
	background: #000;
	color: #fff;
	padding: 10px 25px;
	font-size: 1rem;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	transition: 0.3s ease;
}

.book-btn:hover {
	opacity: 0.8;
}

.item-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 50px 0px;
}

.red {
	background-color: #EF0000;
}



.desc {
	overflow: hidden;
	text-overflow: ellipsis;
	/* Adds "..." if text is too long */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	/* Limits to 3 lines – change as needed */
	-webkit-box-orient: vertical;
	max-height: 45px;
	/* <- ADD THIS */
}



/* ================================================= */

.admin-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 80%;
	margin: 20px;
}

.add-btn {
	padding: 15px 35px;
	background: #000000;
	color: #fff;
	border: none;
	cursor: pointer;
	border-radius: 10px;
}


/* ======================================= */

/* edit form */


/* POPUP OVERLAY */
#formSection {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	background-color: var(--secondary);
	width: 500px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
	padding: 20px;
	border-radius: 30px;
	display: none;
	z-index: 9999;
}

/* Optional dark background overlay */
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	z-index: 9998;
}


.formWrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

#formSection input {
	border: none;
	background-color: var(--input-color);
	width: fit-content;
	box-shadow: 0px 0px 2.5px var(--secondaryText);
	padding: 10px;
	border-radius: 10px;
}

#formSection textarea {
	min-width: 490px;
	min-height: 150px;
	box-shadow: 0px 0px 2.5px var(--secondaryText);
}

.formWrapper .select-box {
	width: 120px;
}


.dropdown option:nth-child(odd) {
	background: #f6e2ca;
}


.buttons {
	display: flex;
	width: 90%;
	justify-content: space-around;
	margin-top: 20px;
}

.buttons button {
	padding: 15px 50px;
	border: none;
	box-shadow: 0px 0px 2.5px var(--secondaryText);
	/* background-color: var(--secondary); */
	border-radius: 10px;
}

.save {
	color: #fff;
	font-size: 16px;
	background-color: #0a9d5b;
}

.cancel {
	color: #fff;
	font-size: 16px;
	background-color: #e84914;
}



/* =================== */


.form-container {
	width: 40%;
	margin: auto;
	padding: 20px;
	border-radius: 10px;
	background: #f5f5f5;
	text-align: center;
}


.green {
	background: green;
	color: white;
}

.red {
	background: #EF0000;
	color: white;
}

.edit-btn {
	padding: 15px 30px;
	border: none;
	background: orange;
	cursor: pointer;
}






/* HERO SECTION */
.hero {
	width: 100%;
	height: 100vh;
	background: url('/assets/Bg.png') center/cover no-repeat fixed;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-content {
	width: 100%;
	max-width: 1400px;
	display: flex;
	gap: 40px;
	justify-content: space-between;
}

/* LEFT SIDE  */
.hero-left {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
}

.hero-img {
	width: 350px;
	height: max-content;
	border: 1px solid #ffff;

}

.hero-left .wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.hero-left .wrapper h1 {
	font-size: 48px;
	font-weight: 500;
	line-height: 0.9;
}

.hero-left .sub {
	font-size: 32px;
	font-weight: 400;
	line-height: 0.9;
}


.blur-box {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(14px);
	padding: 20px;
	border: 1px solid #ffff;
	color: white;
	font-family: 'Poppins', sans-serif;
	display: flex;
	width: 95%;
	height: 90%;
}

/* RIGHT SIDE */
.hero-right {
	/* flex: 1; */
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* background-color: #0a9d5b; */
}

.title {
	font-size: 70px;
	font-weight: 700;
	line-height: 0.9;
	color: white;
}

.tagline {
	margin-top: 20px;
	max-width: 450px;
	font-size: 17px;
	line-height: 1.4;
	color: white;
}

/* RESPONSIVE */
@media (max-width: 900px) {
	.hero-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.title {
		font-size: 55px;
	}
}




/* ============================================ */

/* details page */



.details-container {
	display: flex;
	gap: 30px;
	padding: 40px;
}

.image-gallery {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.profile-img {
	width: 350px;
	height: 350px;
	object-fit: cover;
	border-radius: 10px;
}

.small-images {
	display: flex;
	gap: 10px;
}

.small-images img {
	width: 150px;
	height: 150px;
	object-fit: cover;
	border-radius: 8px;
}

.info-section {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 400px;
}

#bookBtn {
	padding: 10px 20px;
	border: none;
	font-size: 16px;
	cursor: pointer;
	border-radius: 5px;
}



/* ====== Force-remove any transform scaling and set responsive card sizes ====== */
/* Put this AFTER your other rules so it overrides them */

.item-cards {
	/* ensure it's a normal flex container */
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
	justify-content: center !important;
	align-items: flex-start !important;
	transform: none !important;
	/* remove any previous scale() that left layout space */
	margin: 24px auto;
	padding: 12px;
	box-sizing: border-box;
}

/* make card size actually smaller (reduces real layout space) */
.card-container {
	width: 260px;
	/* base mobile-friendly card width */
	padding: 14px;
	box-sizing: border-box;
	/* ensure padding doesn't add to width */
	margin: 10px;
}

/* reduce image area height to shrink each card */
.card-image {
	height: 240px;
}

/* slightly smaller typography inside small cards (optional) */
.card-content h2 {
	font-size: 1.2rem;
}

.card-content p {
	font-size: 0.9rem;
}

/* smaller gaps and widths for small phones */
@media (max-width: 600px) {
	.card-container {
		width: 200px;
		padding: 10px;
	}

	.card-image {
		height: 200px;
	}

	.item-cards {
		gap: 10px;
	}
}

/* medium screen tweaks (tablets / small laptops) */
@media (min-width: 601px) and (max-width: 1000px) {
	.card-container {
		width: 220px;
	}

	.card-image {
		height: 220px;
	}
}