/* Google Fonts: Noto Sans KR & Playfair Display */
:root {
	--primary-color: #81cac7;
	/* Custom Mint Theme */
	--primary-color-dark: #6eb3b0;
	--text-main: #333333;
	--text-muted: #888888;
	--bg-light: #f8f9fa;
	--bg-dark: #212529;
	--nav-bg: rgba(255, 255, 255, 0.98);
}

body {
	font-family: 'Noto Sans KR', sans-serif;
	color: var(--text-main);
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
	letter-spacing: -0.02em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
	font-family: 'Playfair Display', 'Noto Sans KR', serif;
}

/* Utilities */
.text-primary {
	color: var(--primary-color) !important;
}

.bg-primary {
	background-color: var(--primary-color) !important;
}

.tracking-wide {
	letter-spacing: 2px;
}

.transition-all {
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.text-shadow-sm {
	text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
}

.img-cover {
	object-fit: cover;
	object-position: center;
}

/* Typography Helpers */
.section-heading {
	font-size: 2.75rem;
	font-weight: 700;
	color: var(--text-main);
}

.divider {
	height: 3px;
	width: 60px;
	background-color: var(--primary-color);
	margin: 1.5rem auto;
	border-radius: 3px;
}

/* Navigation */
#mainNav {
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	background-color: transparent;
	transition: padding-top 0.3s, padding-bottom 0.3s, background-color 0.3s, box-shadow 0.3s;
}

#mainNav .navbar-brand {
	font-weight: 700;
	color: #fff;
	font-size: 1.5rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#mainNav .nav-link {
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 1px;
	transition: color 0.3s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
	color: #fff;
}

#mainNav .nav-link.active {
	color: var(--primary-color) !important;
}

#mainNav .navbar-toggler {
	background-color: rgba(255, 255, 255, 0.9);
}

/* Scrolled Navbar State */
#mainNav.navbar-scrolled {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	background-color: rgba(0, 0, 0, 0.35) !important;
	/* 투명하면서 배경보다 살짝 어둡게 */
	backdrop-filter: blur(15px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#mainNav.navbar-scrolled .navbar-brand {
	/* color: var(--text-main); */
	color: #FFF;
	text-shadow: none;
}

#mainNav.navbar-scrolled .navbar-brand img {
	/* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

#mainNav.navbar-scrolled .nav-link {
	/* color: var(--text-main); */
	color: #FFF;
}

#mainNav.navbar-scrolled .nav-link:hover {
	color: var(--primary-color);
}

#mainNav.navbar-scrolled .navbar-toggler {
	background-color: transparent;
	border-color: rgba(0, 0, 0, 0.1);
}

/* Hero Section */
header.masthead {
	position: relative;
	padding-top: 10rem;
	padding-bottom: calc(10rem - 4.5rem);
	/* Using the webp as background for Hero */
	background: url('../images/beauty_salon_bg.png') no-repeat center center;
	background-attachment: fixed;
	/* Parallax effect */
	background-size: cover;
	height: 100vh;
	min-height: 650px;
}

header.masthead .overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-logo {
	width: 170px;
	height: 170px;
	object-fit: cover;
}

.hero-content {
	animation: fadeInUp 1s ease-out;
}

/* Scroll Indicator */
.scroll-indicator {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	animation: bounce 2s infinite;
	z-index: 10;
}

@keyframes bounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0) translateX(-50%);
	}

	40% {
		transform: translateY(-20px) translateX(-50%);
	}

	60% {
		transform: translateY(-10px) translateX(-50%);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translate3d(0, 40px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

/* Sections */
.page-section {
	padding: 7rem 0;
}

/* Buttons */
.btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: #fff;
	transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background-color: var(--primary-color-dark) !important;
	border-color: var(--primary-color-dark) !important;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4) !important;
}

/* Special Event Button Animation */
.special-event-btn {
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(129, 202, 199, 0.7);
	}
	70% {
		transform: scale(1.05);
		box-shadow: 0 0 0 15px rgba(129, 202, 199, 0);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(129, 202, 199, 0);
	}
}

/* Effects & Hover */
.image-hover,
.service-card,
.gallery-item {
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-hover:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.service-card {
	border-radius: 1.5rem;
}

.service-card:hover {
	transform: translateY(-15px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-card:hover .card-img-top {
	transform: scale(1.05);
}

/* Gallery Hover Effect */
.gallery-item {
	position: relative;
	cursor: pointer;
}

.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.4s ease;
	padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

.gallery-overlay span {
	transform: translateY(20px);
	transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay span {
	transform: translateY(0);
}

.gallery-item:hover img {
	transform: scale(1.1);
}

/* Modal Blur Effect */
.modal-backdrop.show {
	opacity: 0.85;
	backdrop-filter: blur(10px);
	background-color: rgba(0, 0, 0, 0.8);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: #cccccc;
	border-radius: 10px;
	border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--primary-color);
}

/* Responsive adjust */
@media (max-width: 991.98px) {
	header.masthead {
		background-attachment: scroll;
		/* Disable parallax on mobile for performance */
	}

	#mainNav {
		/* background-color: var(--nav-bg); */
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}

	#mainNav .navbar-brand {
		color: var(--text-main);
		text-shadow: none;
	}

	#mainNav .nav-link {
		color: var(--text-main);
		text-align: center;
		padding: 0.75rem 0;
	}
}