/* Custom Styles for Paint & Sip Studio */

/* Button reset for navbar toggle */
button.navbar-toggle {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: inherit;
	font: inherit;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

/* Button reset for isotope filter buttons */
.isotope-options button.nav-link {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: inherit;
	font: inherit;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	text-decoration: none;
}

/* Global full-width styles */
html, body {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

body {
	margin: 0;
	padding: 0;
}

/* Hero Section */
.hero-section {
	position: relative;
	min-height: 100vh;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	display: flex;
	align-items: center;
	overflow: hidden;
	background-attachment: fixed;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.hero-bg-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.bg-dark-60 {
	background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-title {
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-scroll-down {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.scroll-down-link {
	display: inline-block;
	animation: bounce 2s infinite;
	text-decoration: none !important;
}

.scroll-down-link:hover {
	color: var(--bs-primary) !important;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-10px);
	}
	60% {
		transform: translateY(-5px);
	}
}

/* Section Spacing */
.section-lg {
	padding: 120px 0;
	width: 100%;
}

/* Full width sections */
section {
	width: 100%;
	max-width: 100%;
}

/* Ensure container-fluid takes full width */
.container-fluid {
	max-width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}

@media (min-width: 992px) {
	.container-fluid.px-lg-5 {
		padding-left: 3rem !important;
		padding-right: 3rem !important;
	}
}

/* Feature Cards */
.feature-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Process Items */
.process-item {
	transition: transform 0.3s ease;
}

.process-item:hover {
	transform: translateY(-5px);
}

.process-icon {
	transition: all 0.3s ease;
}

.process-item:hover .process-icon {
	transform: scale(1.1);
}

/* Content Images */
.content-image img {
	border-radius: 15px;
	transition: transform 0.3s ease;
}

.content-image:hover img {
	transform: scale(1.05);
}

/*
 * Button styles (.btn, .btn-lg, .btn-with-ball, etc.) are handled by themebau.min.css
 * The .btn-ball span is dynamically added by themebau.min.js
 * Do not override button styles here to maintain consistency with the Themebau template
 */

/* Show on Scroll Animation */
.show-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.show-on-scroll.animate {
	opacity: 1;
	transform: translateY(0);
}


/* Text Utilities */
.text-primary {
	color: var(--bs-primary) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.hero-section {
		min-height: 100vh;
		text-align: center !important;
	}

	.hero-title {
		font-size: 2.5rem !important;
	}

	.hero-subtitle {
		font-size: 1.2rem !important;
	}

	.section-lg {
		padding: 80px 0;
	}

	.process-icon {
		width: 60px !important;
		height: 60px !important;
	}

	.process-icon span {
		font-size: 1.5rem !important;
	}
}

@media (max-width: 576px) {
	.hero-title {
		font-size: 2rem !important;
	}

	.hero-subtitle {
		font-size: 1.1rem !important;
	}
}

/* Custom spacing utilities */
.mb-15 {
	margin-bottom: 100px !important;
}

.mb-20 {
	margin-bottom: 120px !important;
}

.py-20 {
	padding: 120px 0 !important;
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Loading animation for images */
.content-image {
	overflow: hidden;
	border-radius: 15px;
}

/* Animation classes for better performance */
.animate-fade-up {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
}

.animate-fade-up.animate {
	opacity: 1;
	transform: translateY(0);
}

/* Themebau Blog Cards */
.card-blog {
	border: none;
	background: white;
	transition: all 0.3s ease;
	overflow: hidden;
}

.card-blog:hover {
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	transform: translateY(-5px);
}

.card-blog .card-img {
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	display: block;
	height: 250px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.4s ease;
}

.card-blog:hover .card-img {
	transform: scale(1.05);
}

/* Responsive image heights */
@media (max-width: 768px) {
	.card-blog .card-img {
		height: 200px;
	}
}

@media (max-width: 576px) {
	.card-blog .card-img {
		height: 300px;
	}
}

.card-blog.card-vertical .card-img {
	border-radius: 15px 15px 0 0;
}

.card-blog .card-body {
	padding: 30px 25px;
}

.card-blog .card-title {
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 15px;
	color: var(--bs-dark);
	text-decoration: none;
}

.card-blog .card-title:hover {
	color: var(--bs-primary);
	text-decoration: none;
}

.card-blog .card-date {
	font-size: 0.9rem;
	color: #999;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.card-blog .card-text {
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

/* Overlay Cards */
.card-overlay {
	position: relative;
	min-height: 500px;
	border-radius: 20px;
	overflow: hidden;
}

.card-overlay .card-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 20px;
}

.card-overlay .card-img {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.card-overlay .card-img-overlay {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.card-overlay .background-color {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.card-overlay .subtitle {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.8;
}

.card-hover-zoom:hover .card-img img {
	transform: scale(1.1);
}

/* Clean Button */
.btn-clean {
	background: none;
	border: none;
	color: var(--bs-primary);
	font-weight: 500;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-transform: lowercase;
	transition: all 0.3s ease;
}

.btn-clean:hover {
	color: var(--bs-dark);
	transform: translateX(5px);
}

.btn-clean .icon-arrow {
	transition: transform 0.3s ease;
}

.btn-clean:hover .icon-arrow {
	transform: translateX(5px);
}

/* Isotope Navigation */
.isotope-options {
	border-bottom: 1px solid #eee;
}

.isotope-options .nav-item {
	margin: 0 15px;
}

.isotope-options .nav-link {
	color: #999;
	border: none;
	background: none;
	padding: 15px 0;
	position: relative;
	text-decoration: none;
	text-transform: lowercase;
	font-weight: 500;
	transition: all 0.3s ease;
}

.isotope-options .nav-link:hover,
.isotope-options .nav-item.active .nav-link {
	color: var(--bs-primary);
}

.isotope-options .nav-link::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--bs-primary);
	transition: width 0.3s ease;
}

.isotope-options .nav-item.active .nav-link::after,
.isotope-options .nav-link:hover::after {
	width: 100%;
}

/* Swiper Customization */
.swiper-button-style-1 .swiper-button-prev,
.swiper-button-style-1 .swiper-button-next {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: white;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	color: var(--bs-dark);
	transition: all 0.3s ease;
}

.swiper-button-style-1 .swiper-button-prev:hover,
.swiper-button-style-1 .swiper-button-next:hover {
	background: var(--bs-primary);
	color: white;
	transform: scale(1.1);
}

.swiper-button-style-1 .swiper-button-prev::after,
.swiper-button-style-1 .swiper-button-next::after {
	display: none;
}

/* Form Group Overlay */
.form-group-overlay {
	position: relative;
	max-width: 500px;
	margin: 0 auto;
}

.form-group-overlay .form-control {
	padding-right: 140px;
	border-radius: 50px;
	border: 2px solid #eee;
	padding: 15px 25px;
	font-size: 1rem;
}

.form-group-overlay .btn {
	position: absolute;
	right: 5px;
	top: 5px;
	bottom: 5px;
	border-radius: 50px;
	padding: 0 25px;
	display: flex;
	align-items: center;
}

/* Grid Utilities */
.gh-1 {
	margin-left: -0.5rem;
	margin-right: -0.5rem;
}

.gh-1 > * {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.gv-4 {
	margin-top: -1.5rem;
}

.gv-4 > * {
	padding-top: 1.5rem;
}

/* Circle Button */
.btn-circle {
	border-radius: 50%;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
}

/* Spacing Utilities */
.mb-100 {
	margin-bottom: 100px !important;
}

.mt-100 {
	margin-top: 100px !important;
}

.pt-130 {
	padding-top: 130px !important;
}

.pb-160 {
	padding-bottom: 160px !important;
}

.mt-30 {
	margin-top: 30px !important;
}

.mb-30 {
	margin-bottom: 30px !important;
}

.mb-60 {
	margin-bottom: 60px !important;
}

.pb-30 {
	padding-bottom: 30px !important;
}

.mt-n10 {
	margin-top: -10px !important;
}

.pt-5 {
	padding-top: 5px !important;
}

/* Navigation Paint Stroke */
.navbar .nav-link {
	position: relative;
	overflow: visible;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.nav-stroke {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 80px;
	height: 30px;
	object-fit: contain;
	pointer-events: none;
	opacity: 0.8;
	z-index: -1;
}

/* Mobile menu paint stroke */
.navbar-mobile .nav-stroke {
	min-width: 100%;
	max-width: 80px;
	height: 25px;
}

/* Hide default strikethrough for active items */
.navbar .nav-item.active .nav-link-name {
	text-decoration: none !important;
}

.nav .nav-link-name::before {
	border: 0 !important;
}

.navbar .nav-item.active .nav-link::before,
.navbar .nav-item.active .nav-link::after {
	display: none !important;
}

/* Ensure nav link text is above the stroke and doesn't wrap */
.nav-link-name {
	position: relative;
	z-index: 1;
	display: inline-block;
	white-space: nowrap;
}

/* Animation for the stroke on hover */
@keyframes strokeAnimation {
	from {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.8);
	}
	to {
		opacity: 0.8;
		transform: translate(-50%, -50%) scale(1);
	}
}

.nav-stroke {
	animation: strokeAnimation 0.3s ease-out forwards;
}

/* Homepage transparent navbar text color transitions */
.navbar-top .nav-link,
.navbar-top .nav-social .nav-link {
	transition: color 0.6s cubic-bezier(.2, 1, .2, 1);
}

.navbar-top .nav-social .nav-link svg {
	transition: fill 0.6s cubic-bezier(.2, 1, .2, 1);
}

/* Homepage transparent state - white text */
.navbar-homepage-transparent .nav-link,
.navbar-homepage-transparent .nav-link-name {
	color: #fff !important;
}

.navbar-homepage-transparent .nav-social .nav-link {
	color: #fff !important;
}

.navbar-homepage-transparent .nav-social .nav-link svg path {
	fill: #fff;
	transition: fill 0.6s cubic-bezier(.2, 1, .2, 1);
}

/* Homepage transparent state - use light logo */
.navbar-homepage-transparent .navbar-brand img {
	filter: brightness(0) invert(1);
	transition: filter 0.6s cubic-bezier(.2, 1, .2, 1);
}

/* Default state (scrolled or other pages) - dark text */
.navbar-top:not(.navbar-homepage-transparent) .navbar-brand img {
	transition: filter 0.6s cubic-bezier(.2, 1, .2, 1);
}

/* Hamburger toggle white on transparent */
.navbar-homepage-transparent .navbar-toggle span {
	background-color: #fff !important;
	transition: background-color 0.6s cubic-bezier(.2, 1, .2, 1);
}

.navbar-top .navbar-toggle span {
	transition: background-color 0.6s cubic-bezier(.2, 1, .2, 1);
}