@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=Parisienne&display=swap');

.block-title {
	display: flex;
	justify-content: center;
	margin-bottom: 5rem;
	font-family: 'Parisienne', cursive;
	font-size: 3rem;
	line-height: 1.4;
	color: #000000ff;
}
.block-title span {
	font-weight: 600;
	text-align: center;
	position: relative;
	padding-bottom: 8px;
}
.block-title span::before,
.block-title span::after {
	content: '';
	position: absolute;
	height: 3px;
	width: 100%;
	background: var(--main-color);
	left: 0;
	bottom: 0;
}
.block-title span::after{
	bottom: -7px;
	width: 70%;
	left: 50%;
	transform: translateX(-50%);
}
.block-text {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2rem;
	line-height: 1.6;
	color: #333333ff;
}



#sanniglam-slogan {
	position: absolute;
	bottom: 5%;
	color: var(--main-color-hover) !important;
	font-size: 35px;
	font-weight: bold;
	font-family: 'Parisienne', cursive;
	text-shadow: 2px 2px 2px rgb(0 0 0 / 75%);
	transition: all 0.5s ease;
}


#header.homepage {
	position: relative;
	height: calc(100vh - 20px);
    background: url('../images/bg-index.jpg');
    background-position-x: 65%;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.header-mask {
	position: relative;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.50);
}
#navbar {
    margin: 0;
    padding: 0;
    z-index: 1000;
    -webkit-backdrop-filter: saturate(180%) blur(15px);
    backdrop-filter: saturate(180%) blur(15px);
	background-color: rgba(0, 0, 0, 0.85);
    background-color: hsla(0, 0, 0, 0.75);
    font-family: var(--main-font-family) !important;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	transition: all 0.15s ease;
}

#navbar .navbar-brand {
	color: var(--main-color) !important;
	font-weight: bold;
	font-size: 2rem;
	font-family: 'Parisienne', cursive;
	letter-spacing: 0.02em;
	line-height: 75px;
	transition: transform 0.25s ease, font-size 0.25s ease, line-height 0.25s ease, letter-spacing 0.25s ease;
}
#navbar .navbar-brand.small {
	font-size: 1.3rem;
	letter-spacing: 0.08em;
	line-height: 60px;
}

#navbar .nav-item {
	display: flex;
	align-items: center;
}
#navbar .nav-link, #navbar .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}
#navbar .nav-item .nav-link {
  font-size: 1.3rem;
  line-height: 75px; /* височината на navbar */
  transition: font-size 0.25s ease, line-height 0.25s ease;
}
#navbar .nav-item.small .nav-link {
  font-size: 1.1rem;
  line-height: 60px;
}
#navbar .nav-item .nav-link:hover {
	color: var(--main-color-hover) !important;
}
#navbar .navbar-brand, #navbar .nav-item {
  will-change: transform;
}

#navbar-main-left .nav-item, #navbar-main-right .nav-item {
	font-size: 1.1rem;
}
@media (max-width: 991.98px) {
	#navbar .navbar-brand {
		font-size: 1.75rem !important;
		letter-spacing: 0.04em !important;
		line-height: 60px !important;
	}
	#navbar .nav-item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	}
	#navbar .nav-item:last-child {
		border-bottom: none;
	}
	#navbar .nav-item .nav-link {
		font-size: 1.1rem;
		line-height: 60px;
	}
}

@media (min-width: 576px) {
	#header.homepage {
		height: 100vh;
		background-position-x: 55%;
	}
	#sanniglam-slogan {
		font-size: 40px;
		top: 30%;
		bottom: auto;
	}
}
@media (min-width: 768px) {
	#header.homepage {
		background-position-x: 55%;
	}
	#sanniglam-slogan {
		font-size: 50px;
	}
}
@media (min-width: 992px) {
	#header.homepage {
		background-position-x: center;
	}
}
@media (min-width: 1200px) {
	#sanniglam-slogan {
		font-size: 60px;
	}
}

/* ========================================================= */
/* NAVBAR TOGGLER ICON — HAMBURGER → X                       */
/* ========================================================= */
#navbar .navbar-toggler {
	border: none;
}
#navbar .navbar-toggler:focus {
	box-shadow: none;
}
/* base line (middle) */
#navbar .navbar-toggler-icon {
	background-image: none;
	position: relative;
	width: 24px;
	height: 2px;
	background-color: var(--bs-gray-500);
}
/* top & bottom lines */
#navbar .navbar-toggler-icon::before, #navbar .navbar-toggler-icon::after {
	content: '';
	position: absolute;
	left: 0;
	width: 24px;
	height: 2px;
	background-color: var(--bs-gray-500);
	transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}
#navbar .navbar-toggler-icon::before {
	top: -7px;
}
#navbar .navbar-toggler-icon::after {
	top: 7px;
}
/* ========================================================= */
/* OPEN STATE — ONLY when menu is open                       */
/* ========================================================= */
#navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
	background-color: transparent;
}
#navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
	top: 0;
	transform: rotate(45deg);
}
#navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
	top: 0;
	transform: rotate(-45deg);
}




/* ******************************************************
 * Frontend > Index
 * ****************************************************** */
section#services,
section#about-me,
section#gallery,
section#testimonial,
section#google-reviews,
section#contact {

	padding-top: 5rem !important;
	padding-bottom: 5rem !important;

}
section#services {
	padding-bottom: 3rem !important;
}
@media (min-width: 768px) {
	section#services {
		padding-bottom: 5rem !important;
	}
}

.service {
	background-color: white;
	height: 100%;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2rem;
	transition: all 0.75s;
	box-shadow: 0px 5px 10px rgb(0 0 0 / 12%);
	box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.24);
}
.service:hover {
	padding-top: 5px;
	padding-bottom: 5px;
	cursor: inherit;
	border-radius: 5px;
	box-shadow: 0px 0px 20px 4px silver;
	box-shadow: 0px 0px 20px 4px var(--main-color);
}
.service-column {
	width: 100%;
}
.service-banner > .d-flex {
	flex-direction: column;
}
@media (min-width: 992px) {
	.service-banner > .d-flex {
		flex-direction: row;
	}
	.service-column {
		width: 50%;
	}
}
.background-banner {
	height: 300px !important;
	background-position-x: center !important;
	background-position-y: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background: url("../images/sanniglam/service/no-image.png");
}
@media (min-width: 768px) {
	.background-banner {
		height: 400px !important;
	}
}
@media (min-width: 992px) {
	.background-banner {
		height: 350px !important;
	}
}
@media (min-width: 1200px) {
	.background-banner {
		height: 400px !important;
	}
}
.service-banner p {
	text-align: justify;
}
.about-me-img {
	height: 100%;
	min-height: 450px;
	border-radius: 8px !important;
	object-fit: cover;
	transition: all 0.5s ease;
}
@media (min-width: 768px) {
	.about-me-img {
		min-height: auto;
		height: 650px;
	}
}

.instagram-card {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--main-color-white);
	border-radius: 0.5rem;
	display: flex;
	justify-content: center;
}

@media (min-width: 768px) {
	.instagram-card {
		height: 600px; /* еднаква височина */
	}
}
@media (min-width: 1200px) {
	.instagram-card {
		height: 650px; /* еднаква височина */
	}
}

/* Instagram embed */
.instagram-card .instagram-media {
	width: 100% !important;
	max-width: 100% !important;
	margin: 1rem !important;
	border-radius: 0.5rem !important;
}

/* iframe вътре в embed-а */
.instagram-cardsss iframess {
	width: 100% !important;
	max-width: 100% !important;
}

section#contact .contact-icon-circle {
	background-color: var(--main-color);
	color: white;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	font-size: 2.5em;
	transition: all 0.5s;
	padding-top: 0.75em;
}
section#contact .contact-icon-circle:hover {
	background-color: var(--main-color-hover);
	cursor: pointer;
}
@media (min-width: 768px) {
	section#contact .contact-icon-circle:hover {
		box-shadow: 0px 0px 6px 4px silver;
	}
}

section#contact .icon-email, section#contact .icon-instagram, section#contact .icon-phone {
    padding-top: 0.7em;
}
section#contact .textarea-message {
    height: 150px;
}


/* ******************************************************
 * Frontend > Sanniglam > Blog
 * ****************************************************** */

.img-blog-wrapper {
	position: relative;
	overflow: hidden;
}
#img-sanniglam-blog-post {
	display: block;
	width: 100%;
	height: auto;
	min-height: 400px;
	object-fit: cover;
	cursor: pointer;
}
.sg-copyright {
	display: flex;
	flex-direction: column;
}
.sg-copyright > div:first-child {
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
}
.meta-line {
	display: flex;
	flex-direction: column;
	white-space: nowrap;
}
.meta-line > span:first-child {
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
}
#sg-blog-post-modal .btn-close {
	width: 32px;
	height: 32px;

	background-color: var(--main-color-hover) !important;
	border-radius: 50%;

}
.modal-backdrop.show {
	background-color: #000;
	opacity: 0.75;
}
#sg-blog-post-modal .btn-close:hover {
	opacity: 1;
	transform: scale(1.1);
}

@media (min-width: 576px) {

	.sg-copyright {
		flex-direction: row;
		justify-content: space-between;
	}

	.sg-copyright > div:first-child {
		border-bottom: none !important;
	}

	.meta-line {
		flex-direction: row;
	}

	.meta-line span + span::before {
		content: "|";
		margin: 0 10px;
		color: #999;
	}

	.meta-line > span:first-child {
		border-bottom: none !important;
	}

}

@media (min-width: 992px) {

	/* overlay за "черно-бял" / тъмен ефект */
	.img-blog-wrapper::after {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.25);
		opacity: 1;
		transition: opacity 0.45s ease;
		pointer-events: none;
	}

	.img-blog-wrapper:hover::after {
		opacity: 0;
	}

}

/* ******************************************************
 * Frontend > Sanniglam > Gallery
 * ****************************************************** */

/* LEFT */
.gallery-main {
	display: flex;
	flex-direction: column;
}
.gallery-main-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	max-width: 600px;
	object-fit: cover;
	cursor: pointer;
	border-radius: 0.5rem;
}
.gallery-main-description-header {
    --bs-border-opacity: 1;
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    border-color: var(--main-color) !important;
}
.gallery-main-description {
	text-wrap: initial;
}

/* RIGHT */

.thumb-grid {
	margin: 0 60px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr); /* ← ФИКСИРАН РАЗМЕР */
	gap: 1rem;
}

.thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  border-radius: 0.5rem;
  display: block;              /* ← маха inline gap */
  background: #eee;            /* ← placeholder */
  transition: none !important;
  transform: none !important;
}

._gallery-thumbs {
  position: relative;   /* КРИТИЧНО */
  padding: 0 50px;      /* място за стрелките */
}
.gallery-thumbs .swiper-button-next,
.gallery-thumbs .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 20;          /* НАД СНИМКИТЕ */
}
.gallery-thumbs .swiper-button-prev {
  left: 5px;
}

.gallery-thumbs .swiper-button-next {
  right: 5px;
}
.gallery-thumbs .swiper-button-next::after,
.gallery-thumbs .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}
.gallery-thumbs .swiper-button-next:hover,
.gallery-thumbs .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.05);
}


/* ============================
   FULLSCREEN MODAL
============================ */

#gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#gallery-modal img {
  max-width: 90%;
  max-height: 90%;
}

#gallery-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* ******************************************************
 * Frontend > Sanniglam > Pricelist
 * ****************************************************** */
section#pricelist {
	padding: 3rem 0;
}
.pricelist-img-background {
	border-radius: 0.25rem;
	min-height: 300px !important;
	background-position-x: center !important;
	background-position-y: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}
.pricelist:not(:last-of-type) {
	border-bottom: var(--bs-border-width) var(--bs-border-style) var(--main-color) !important;
}
.pricelist-nav {
	padding: 0;
	margin-bottom: 1rem;
}
.pricelist-item {
	display: flex;
	flex-direction: row;
	margin-bottom: 0.25rem;
}
.pricelist-item.title {
	margin: 0.5rem 0;
	font-weight: bold;
}
.pricelist-item > span {
	display: flex;
	text-align: start;
	width: 50%;
	font-weight: 400;
}
.pricelist-item::before {
    content: "\f101";
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* solid */
    display: inline-block;
    margin-right: 0.5rem;
    color: var(--main-color); 
    vertical-align: middle;
}
.pricelist-item.title::before {
    content: "";
    margin-right: 0;
}
@media (min-width: 768px) {
	section#pricelist {
		padding: 5rem 0;
	}
	.pricelist-nav {
		margin-bottom: 0;
	}
}





/* ******************************************************
 * Admin > Sanniglam > About Me
 * ****************************************************** */
.service-table-img {
    object-fit: cover;
    width: 60px;
    height: 60px;
    border-radius: 0.25rem;
}
#about-me .cke_contents {
    min-height: 450px !important;
}
