* {
	padding: 0;
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-optical-sizing: auto;
	font-weight: 550;
	font-style: normal;
}

/* Dezactivează fundalul galben-verzui la autocompletare */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
	background-color: #fff !important; /* fundal alb */
	color: #000 !important; /* text negru */
	box-shadow: 0 0 0px 1000px #fff inset; /* suprascrie shadow-ul galben */
	transition: background-color 5000s ease-in-out 0s; /* previne flicker */
}

/* Layout pentru sticky footer */
/* Layout pentru sticky footer */
html,
body {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
}

main {
	flex: 1 0 auto; /* ocupă spațiul rămas */
}

.handwriting {
	font-family: "Dancing Script", cursive;
	font-weight: 600;
	font-style: normal;
}

a,
a:link,
a:visited,
a:hover,
a:active {
	text-decoration: none !important;
}
/* Main pallete */
.color-primary {
	background-color: #1a73e8 !important; /* Tech Blue */
}
.color-secondary {
	background-color: #ff6f61 !important; /* Creative Coral */
}
.color-dark {
	background-color: #2e2e2e !important; /* Charcoal Gray */
}
.color-light {
	background-color: #f5f5f5 !important; /* Soft Gray */
}
.color-accent {
	background-color: #ffd166 !important; /* Craft Gold */
}
.color-success {
	background-color: #06d6a0 !important; /* Mint Green */
}

.tcolor-primary {
	color: #1a73e8 !important; /* Tech Blue */
}
.tcolor-secondary {
	color: #ff6f61 !important; /* Creative Coral */
}
.tcolor-dark {
	color: #2e2e2e !important; /* Charcoal Gray */
}
.tcolor-light {
	color: #f5f5f5 !important; /* Soft Gray */
}
.tcolor-accent {
	color: #ffd166 !important; /* Craft Gold */
}
.tcolor-success {
	color: #06d6a0 !important; /* Mint Green */
}
.header {
	color: #ff6f61 !important;
}

.btn-dark {
	color: #2e2e2e !important;
}
/* Sticky navbar */
.navbar {
	backdrop-filter: blur(8px);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.navbar-container {
	max-width: 90%;
	margin: 0 auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.navbar-brand-desktop {
	color: #f5f5f5;
}
.navbar-brand-desktop:hover {
	color: #ff6f61;
}
/* Link-uri centrale: font mai mare și spacing mai mare */
.navbar-nav {
	display: flex;
	gap: 45px; /* mai mult spațiu între butoane */
}

.nav-link {
	color: #fff !important;
	font-weight: 600;
	font-size: 1.2rem; /* font mai mare */
	padding: 0.9rem 1rem;
	transition: color 0.3s;
}

.nav-item a:hover {
	color: #ff6f61 !important;
}

.navbar-nav .nav-link.active {
	color: #ff6f61 !important;
}

.dropdown-menu {
	overflow: hidden;
	transition: all 0.3s ease;
}

/* Dreapta: search, user, cart */
.navbar-right {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 15px;
}

/* HOME PAGE HERO */
section.bg-dark {
	position: relative;
	color: #fff;
}
section.bg-dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5); /* overlay negru transparent */
}
section.bg-dark .container {
	position: relative;
	z-index: 1;
}

section.cta-final {
	background: linear-gradient(90deg, #212529, #343a40);
}

/* END OF HOME PAGE */

.servicii img {
	width: 500px;
	height: 500px;
}

/* Iconițe cart */
.bi-cart-card {
	color: #f5f5f5 !important;
}

.bi {
	color: #ff6f61;
	cursor: pointer;
}

/* badge-ul coșului - stil personalizat */
/* badge-ul coșului - stil personalizat */
#cart .cart-badge {
	min-width: 24px !important; /* dimensiune fixă pe orizontală */
	height: 24px !important; /* dimensiune fixă pe verticală */
	font-size: 14px; /* mărime text constantă */
	line-height: 24px; /* centrarea pe verticală */
	padding: 0; /* eliminăm paddingul Bootstrap */
	text-align: center; /* centrarea pe orizontală */
	display: inline-block;
}

/* Carduri produse */
.card:hover {
	transform: translateY(-5px);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Burger menu alb pe mobil */
.navbar-toggler {
	border-color: #fff;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Dropdown menu burger */
.dropdown-menu.dropdown-menu-dark {
	position: absolute; /* suprapune peste content */
	top: 100%;
	left: 0;
	width: 100%;
	z-index: 1040;
	padding: 10px 0;
}

.dropdown-menu.dropdown-menu-dark .dropdown-item {
	color: #fff;
	padding: 10px 20px;
}
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active {
	background-color: #ff6f61;
	color: #fff; /* text alb */
}

/* Desktop */
@media (min-width: 768px) {
	.navbar-right {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		display: flex;
		align-items: center;
		gap: 40px; /* păstrează distanța între butoane */
	}
	.navbar-brand-desktop {
		position: absolute;
		left: 20px; /* puțin spațiu față de marginea ecranului */
		top: 50%;
		transform: translateY(-50%);
		font-family: "Dancing Script", cursive; /* font accent */
		font-size: 2rem;
		font-weight: 600;
	}

	#accountForm {
		max-width: 50%;
	}
	form #accountForm,
	#loginForm,
	#registerForm,
	#contactForm {
		max-width: 50%;
	}
	.asw-menu-btn {
		left: 15px !important;
		bottom: 70px !important;
		width: 40px !important;
		height: 40px !important;
	}
}
/* Mobil: search input centrat pe ecran */
@media (max-width: 767px) {
	.collapse.navbar-collapse {
		transition: none !important; /* dezactivează slide down */
		position: absolute; /* suprapune peste restul paginii */
		top: 100%; /* imediat sub navbar */
		left: 0;
		width: 100%;
		background-color: #000; /* păstrează bg navbar */
		z-index: 1040; /* deasupra conținutului */
		padding: 15px 0; /* spațiu intern */
	}

	.navbar-right {
		position: static;
		transform: none;
		margin-top: 5px;
		display: flex;
		align-items: flex-start;
		gap: 30px;
	}

	form #accountForm,
	#loginForm,
	#registerForm,
	#contactForm {
		min-width: 100%;
	}
	#accountForm .reset-btn {
		margin-top: 5px;
	}

	.servicii img {
		width: 300px;
		height: 300px;
	}
	.asw-menu-btn {
		left: 70px !important;
		bottom: 13px !important;
	}
}

footer {
	flex-shrink: 0;
}

/* Hover effect pentru linkuri */
footer a {
	transition: color 0.3s, transform 0.2s;
}

footer a:hover {
	color: #0d6efd; /* Bootstrap primary color */
	transform: translateY(-2px);
}

.product-card {
	border-color: #ff6f61 !important;
}

.card-orders {
	border-color: #ff6f61;
}

/* Elimină fundalul verde pentru câmpuri valide */
.was-validated input:valid,
.was-validated select:valid,
.was-validated textarea:valid {
	background-color: #fff !important; /* alb */
	border-color: #ced4da !important; /* gri standard */
	box-shadow: none !important; /* fără shadow verde */
}

.portofoliu-img {
	width: auto !important;
	height: 350px !important;
	object-fit: contain !important;
}
