@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teachers:ital,wght@0,400..800;1,400..800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
	--selection-color: #ffffff;
	--selection-bg: #ffb44a;
	--text-body: #3d3d3d;
	--bg-body: #ffffff;
	--href-color: #f39819;

	--font-title:  "Amatic SC", sans-serif;
	/* --font-title: "Quicksand", sans-serif; */
	/* --title-transform: uppercase; */
	--tile-wheight: 500;

	--navbar-border-bottom: #00000000;
	--navbar-bg: #ffffff;
	--navbar-text: #231f20;
	--nav-link-text: #231f20;
	--nav-link-hover-active: #ffffff;

	--nav-elements-bg: #0f172a;

	--footer-bg: #f3f3f3;
	--footer-border: #cccccc7a;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

#despre {
	scroll-margin-top: 70px;
}

#pret {
	scroll-margin-top: 70px;
}

#contact {
	scroll-margin-top: 70px;
}

::selection {
	color: var(--selection-color);
	background: var(--selection-bg);
}

body {
	font-family: "Teachers", sans-serif;
	background-color: var(--bg-body);
	margin: 0;
	padding: 0;
	position: relative;
}

a {
	color: var(--href-color);
	text-decoration: none;
}

p {
	color: var(--text-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
}

h1 {
	font-size: 45px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 21px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 15px;
}

h6 {
	font-size: 13px;
}

.container {
	padding-right: 20px;
	padding-left: 20px;
	margin-right: auto;
	margin-left: auto;
	max-width: 1200px;
}

.container-login {
	padding-right: 20px;
	padding-left: 20px;
	margin-right: auto;
	margin-left: auto;
	max-width: 400px;
}

/* DESKTOP NAV MENU START */
.navbar-fixed {
	position: sticky;
	top: 0;
	z-index: 100;
}

.navbar {
	background-color: var(--navbar-bg);
	color: var(--navbar-text);
	min-height: 80px;
	border-bottom: 1px solid var(--navbar-border-bottom);
}

.menu {
	min-height: 80px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.container-nav {
	padding-right: 20px;
	padding-left: 20px;
	margin-right: auto;
	margin-left: auto;
	max-width: 1350px;
}

.logo {
	display: flex;
	height: 80px;
	max-width: 207px;
	align-items: center;
}

.logo-link {
	display: inline-block;
	line-height: 0;
}

.logo-img {
	height: 50px;
	width: 100%;
	font-size: 40px;
	font-weight: 700;
	line-height: 50px;
	text-transform: uppercase;
	color: #c4d0e3;
}

.navbar-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}

.nav-link {
	color: var(--nav-link-text);
	font-weight: 550;
	letter-spacing: .3px;
	font-size: 15px;
	height: 80px;
	line-height: 80px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 3px;
	padding-bottom: 3px;
}

.nav-link:hover {
	color: var(--nav-link-hover-active);
	background-color: #ffb44a;
	border-radius: 15px;
}

.navbar-icons {
	display: none;
	height: 25px;
	gap: 25px;
}

.navbar-menu-icon {
	height: 25px;
	width: 25px;
	cursor: pointer;

}

.mobile-navbar {
	display: none;
}

.mobile-navbar-list {
	display: none;
}

/* DESKTOP NAV MENU END */

.header-section {
	margin-top: 50px;
}

.header-section-text h1 {
	text-align: center;
	color: #413e3e;
	font-size: 50px;
	font-family: var(--font-title);

	text-transform: var(--title-transform);
	font-weight: var(--tile-wheight);
	font-style: normal;
}

.header-section-text h1 b {
	color: #ffb44a;
	font-weight: 900;
}

.header-section-text p {
	margin-top: 15px;
	text-align: center;
	font-size: 15px;
	font-family: "Teachers", sans-serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0.9px;
}

.header-section-images {
	margin-top: 25px;
	width: 100%;
	display: flex;
	justify-content: center;

}

.header-section-images img {

	width: calc(50% - 8px);
	border-radius: 7px;
}

.header-section-images img:first-child {
	margin-right: 16px;
}

.why-section {
	margin-top: 50px;
	margin-bottom: 50px;
}


.why-section h1 {
	margin-bottom: 20px;
	text-align: center;
	color: #413e3e;
	font-size: 50px;
	font-family: var(--font-title);
	text-transform: var(--title-transform);
	font-weight: var(--tile-wheight);

	font-style: normal;
	position: relative;

}

.why-section h1::after {
	content: "";
	display: block;
	width: 180px;
	height: 3px;
	background-color: #ffb44a;
	margin: 0px auto 0;
}

.why-section p {
	text-align: center;
	margin-bottom: 20px;
}

.why-section p b {
	font-family: var(--font-title);
	text-transform: var(--title-transform);
	font-weight: var(--tile-wheight);

	font-style: normal;
	font-size: 35px;
	color: #413e3e;

}

.price-section {
	width: 100%;
}

.price-cards {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.price-card {
	width: 48%;
	text-align: center;
	border: solid 1px #8f8f8f94;
	padding: 10px 5px 15px 5px;
}

.price-card h2 {
	font-family: var(--font-title);
	text-transform: var(--title-transform);
	font-weight: var(--tile-wheight);

	font-style: normal;
	font-size: 35px;

}

.card-price-span span {
	font-size: 14px;
	margin-right: 5px;
}

.price-card ul {
	margin-top: 13px;
}

.price-card li {
	list-style: none;
	margin-bottom: 3px;
	color: var(--text-body);
}

.price-card li b {
	font-weight: 500;
}

.price-section h1 {
	margin-bottom: 30px;
	text-align: center;
	color: #413e3e;
	font-size: 50px;
	font-family: var(--font-title);
	text-transform: var(--title-transform);
	font-weight: var(--tile-wheight);

	font-style: normal;
	position: relative;
}

.price-section h1::after {
	content: "";
	display: block;
	width: 180px;
	height: 3px;
	background-color: #ffb44a;
	margin: 0px auto 0;
}

.price-section-span {
	text-align: center;
	margin-top: 15px;
	font-size: 14px;
}

.contact-section h1 {
	margin-top: 30px;
	margin-bottom: 20px;
	text-align: center;
	color: #413e3e;
	font-size: 50px;
	font-family: var(--font-title);
	text-transform: var(--title-transform);
	font-weight: var(--tile-wheight);
	font-style: normal;
	position: relative;
}

.contact-section h1::after {
	content: "";
	display: block;
	width: 180px;
	height: 3px;
	background-color: #ffb44a;
	margin: 0px auto 0;
}

.contact-list {
	font-family: var(--font-title);
	text-transform: var(--title-transform);
	font-weight: var(--tile-wheight);

	font-style: normal;
	font-size: 35px;
	display: flex;
	justify-content: space-between;
	width: 100%;
	flex-wrap: wrap;
}

.contact-list p {
	width: 50%;
	text-align: center;
}

.gallery {
	display: flex;
	/* justify-content: space-between; */
	flex-wrap: wrap;
	width: 100%;
	margin-top: 40px;
}

.gallery img {
	width: calc(100% / 3 - 7.5px);
	height: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 10px;
	margin-right: 10px;
	object-fit: cover;
}

.gallery img:nth-child(3n + 3) {
	margin-right: 0;
	/* Elimină margin-right pentru fiecare al treilea element, pentru a menține alinierea corectă */
}

.gallery img:nth-last-child(-n+2) {
	margin-bottom: 0;
	/* Elimină margin-bottom pentru ultimele două elemente, pentru a evita spațiile suplimentare */
}

.thumbnail {
	cursor: pointer;
	transition: transform 0.2s;
}

.thumbnail:hover {
	transform: scale(1.02);
}

.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.lightbox-content {
	max-width: 80%;
	max-height: 80%;
}

.close {
	position: absolute;
	top: 20px;
	right: 30px;
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	cursor: pointer;
}


/* LOGIN CSS */



.container-login form {
	display: flex;
	flex-direction: column;
}

.container-login input[type="text"],
.container-login input[type="password"],
.container-login button {
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.container-login input[type="text"],
.container-login input[type="password"] {
	font-size: 16px;
	padding-left: 10px;
}

.container-login button {
	background-color: #ffb44a;
	color: white;
	font-size: 16px;
	cursor: pointer;
}

.container-login button:hover {
	background-color: #fa9d1b;
	color: #ffffff;
}

input[type="text"]:focus,
input[type="password"]:focus {
	outline: none;
	border-color: #fa9d1b;
	box-shadow: 0 0 5px rgba(251, 255, 0, 0.5);
}



/* OTHER CSS ADMIN */

.user-info-admin {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.user-info-admin b {
	color: #ffb44a;
}

.logout-button {
	background-color: #ffb44a;
	padding: 6px 8px;
	color: #ffffff;
	border-radius: 5px;
	font-weight: 600;
}

.logout-button:hover {
	background-color: #2e2e2e;
	color: #ffb44a;
}

.upload-image-form {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.upload-image-form label {
	background-color: #ffb44a;
	padding: 6px 8px;
	color: #ffffff;
	border-radius: 5px;
	font-weight: 600;
	cursor: pointer;
	margin-right: 15px;
	margin-bottom: 10px;
}

.upload-image-form #file-name {
	font-style: italic;
	color: #333;
	margin-right: 15px;
	margin-bottom: 10px;

}

.upload-image-form button[type="submit"] {
	all: initial;
	/* Resetare toate stilurile */
	font-family: "Teachers", sans-serif;
	background-color: #00a745;
	padding: 6px 8px;
	color: #ffffff;
	border-radius: 5px;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 10px;

}

.upload-image-form button[type="submit"]:hover,
.upload-image-form label:hover {
	background-color: #2e2e2e;
	color: #ffb44a;
}

/* GALERY ADMIN */
.gallery-admin {
	display: flex;
	/* justify-content: space-between; */
	flex-wrap: wrap;
	width: 100%;
	margin-top: 40px;
}



.gallery-item-admin {
	width: calc(100% / 3 - 7.5px);
	height: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 10px;
	position: relative;
	margin-right: 10px;
}


.gallery-item-admin:nth-child(3n + 3) {
	margin-right: 0;
	/* Elimină margin-right pentru fiecare al treilea element, pentru a menține alinierea corectă */
}

.gallery-item-admin:nth-last-child(-n+2) {
	margin-bottom: 0;
	/* Elimină margin-bottom pentru ultimele două elemente, pentru a evita spațiile suplimentare */
}

.gallery-admin img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.gallery-admin .delete-image-gallery {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #ad0000c4;
	color: #ffffff;
	padding: 10px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 500;
}

.gallery-admin .delete-image-gallery:hover {
	background-color: #ffffffce;
	color: #252525;
}

.thumbnail-admin {
	cursor: pointer;
}

.lightbox-admin {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.lightbox-content-admin {
	max-width: 80%;
	max-height: 80%;
}

.close-admin {
	position: absolute;
	top: 20px;
	right: 30px;
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	cursor: pointer;
}


/* FOOTER START */
footer {
	width: 100%;
	min-height: 50px;
	background-color: var(--bg-body);
	border-top: 1px solid var(--footer-border);
	margin-top: 30px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.footer-copyright-container {
	display: flex;
	align-items: center;
	min-height: 50px;
	flex-wrap: wrap;
	width: 100%;
}

.footer-copyright {
	font-size: 15px;
	color: var(--nav-link-text);
	width: 100%;
}

.footer-copyright p {
	text-align: center;
}

/* FOOTER END */


@media screen and (max-width: 1200px) {}

@media screen and (max-width: 992px) {}


@media screen and (max-width: 890px) {
	.container {
		max-width: 738px;
	}

	/* MOBILE MENU START */
	.navbar {
		min-height: 70px;
	}

	.menu {
		min-height: 70px;
	}

	.logo {
		height: 50px;
		max-width: 145px;
	}

	.logo-img {
		height: 35px;
	}

	.navbar-list {
		display: none;
	}

	.navbar-icons {
		display: block;
	}

	.mobile-navbar {
		display: none;
		z-index: 100;
		background-color: var(--navbar-bg);
		border-bottom: 1px solid var(--navbar-border-bottom);
		text-align: center;
	}

	.mobile-navbar-list {
		display: block;
		list-style: none;
		padding-top: 15px;
		padding-bottom: 15px;
		letter-spacing: .3px;
		font-size: 15px;
		border-bottom: 1px solid #cacaca;
	}

	.mobile-navbar-list li {
		padding-top: 3px;
		padding-bottom: 3px;
		letter-spacing: .3px;
	}

	.nav-link {
		height: 30px;
		line-height: 30px;
		padding-left: 14px;
		padding-right: 14px;
	}

	/* MOBILE MENU END */

	#despre {
		scroll-margin-top: 210px;
	}

	#pret {
		scroll-margin-top: 210px;
	}

	#contact {
		scroll-margin-top: 210px;
	}

}

@media screen and (max-width: 768px) {
	.container {
		max-width: 630px;
	}

	.price-cards {
		display: flex;
		flex-direction: column;
	}

	.price-card {
		width: 100%;
		margin-bottom: 20px;
	}

	.contact-list {
		display: flex;
		flex-direction: column;
	}

	.contact-list p {
		width: 100%;

	}

}

@media screen and (max-width: 630px) {
	.container {
		max-width: 580px;
	}

	/* FOOTER START */

	.footer-copyright-container {
		flex-direction: column;
		justify-content: center;
	}

	.footer-copyright {
		font-size: 14px;
		text-align: center;
	}
}

@media screen and (max-width: 510px) {
	.header-section-images {
		margin-top: 25px;
		width: 100%;
		display: flex;
		flex-direction: column;

	}

	.header-section-images img {
		width: 100%;
		margin-bottom: 10px;
	}

	.header-section-images img:first-child {
		margin-right: 0px;
	}

	.header-section-images img:last-child {
		display: none;
	}


}

@media screen and (max-width: 375px) {
	.footer-copyright {
		font-size: 13px;
	}
}

@media (hover: none) {
	.thumbnail:hover {
		transform: scale(1.0);
	}
}