/*
Theme Name: skm
Author: Developer
Description: One-page corporate theme for a water pump company.
Version: 1.2
*/

:root {
	--primary: #4B5CD2;
	--dark: #000000;
	--light: #f9f9f9;
	--white: #ffffff;
	--grey: #666666;
	--border: #e5e5e5;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: var(--dark);
	-webkit-font-smoothing: antialiased;
}

header {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(5px);
	z-index: 1000;
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

header.scrolled {
	background: #ffffff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1600px;
	margin: 0 auto;
	padding: 15px 20px;
}

.logo img {
	max-height: 50px;
	width: auto;
	display: block;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 30px;
}

.nav-menu li a {
	color: var(--dark);
	text-decoration: none;
	font-weight: 600;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: color 0.3s ease;
}

.nav-menu li a::after {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	margin: 3px auto 0;
	background: var(--light);
	transform: scaleX(0);
	transform-origin: bottom center;
	transition: transform 0.3s ease-in-out;
}

.nav-menu li:hover a::after,
.nav-menu li .active::after {
	background: var(--primary);
	transform: scaleX(1);

}

.nav-menu li a:hover {
	color: var(--primary);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 21px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 1100;
}

.menu-toggle span {
	width: 100%;
	height: 3px;
	background-color: var(--dark);
	transition: all 0.3s ease;
}

header.scrolled .menu-toggle span {
	background-color: var(--dark);
}

@media (max-width: 767px) {
	.menu-toggle {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		background: var(--white);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 40px;
		z-index: 1050;
		transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
		box-shadow: -5px 0 15px rgba(0,0,0,0.05);
	}

	.nav-menu.is-active {
		right: 0;
	}

	.nav-menu li a {
		font-size: 20px;
	}

	.menu-toggle.is-active span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

	.menu-toggle.is-active span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle.is-active span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}
}

.hero {
	height: 95vh;
	background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('images/hero.jpg') no-repeat center center/cover;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	text-align: center;
	margin-top: 80px;
	padding: 0 20px;
}

.hero-content {
	max-width: 1600px;
}

.hero h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: 4.5rem;
	font-weight: 900;
	letter-spacing: -2px;
	margin-bottom: 10px;
	text-transform: uppercase;
	line-height: 1.1;
	background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.8rem;
	font-weight: 600;
	letter-spacing: 2px;
	color: rgba(255, 255, 255, 0.85);
	text-transform: uppercase;
	position: relative;
	display: inline-block;
	padding-top: 15px;
}

.hero h2::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: var(--primary);
}

section {
	padding: 100px 20px;
}

.section-title {
	position: relative;
	margin-bottom: 60px;
	font-size: 40px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: -0.5px;
	color: var(--dark);
}

.section-title::after {
	content: '';
	display: block;
	width: 100px;
	height: 4px;
	background: var(--primary);
	margin: 15px auto 0;
}

section, .hero {
	scroll-margin-top: 80px;
}

.section-content {
	max-width: 1600px;
	margin: 0 auto;
	font-size: 20px;
	color: var(--dark);
}

.section-content p {
	margin-bottom: 15px;
}

.section-content h3 {
	color: var(--dark);
	font-size: 22px;
	margin: 40px 0 20px;
}

.section-content ul,
.section-content ol {
	margin: 0 0 30px 25px;
}

.section-content ul li {
	list-style-type: square;
	margin-bottom: 10px;
	padding-left: 5px;
}

.section-content ol li {
	list-style-type: decimal;
	margin-bottom: 10px;
	padding-left: 5px;
}

#about {
	overflow: hidden;
	background: var(--primary);
}

#about .about-title {
	color: var(--white);
}

#about .about-title::after {
	background: var(--white);
}

#about .about-content {
	position: relative;
	color: var(--white);
}

#about .about-content::before {
	content: '';
	position: absolute;
	top: -200px;
	left: -300px;
	width: 500px;
	height: 500px;
	background-image: url('images/pump-1-bg.svg');
	background-position: top left;
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: 0.25;
}

#about .about-content::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: -200px;
	width: 500px;
	height: 500px;
	background-image: url('images/pump-2-bg.svg');
	background-position: top left;
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: 0.25;
}

#products {
	max-width: 100%;
	background-color: var(--light);
}

#products .products-title::after {
	background: var(--primary);
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
	gap: 40px;
	max-width: 1600px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.products-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 40px;
	}
}

.product-card {
	overflow: hidden;
	padding: 0;
	background: var(--white);
	border: none;
	border-radius: 10px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-card img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	display: block;
}

@media (max-width: 519px) {
	.product-card img {
		height: 200px;
	}
}

.product-info {
	padding: 30px;
}

.product-info h3 {
	position: relative;
	padding-bottom: 20px;
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 15px;
	color: var(--dark);
}

.product-info h3::before {
	content: '';
	position: absolute;
	display: block;
	bottom: 0;
	left: 50%;
	width: 100px;
	height: 4px;
	background: var(--primary);
	transform: translateX(-50%);
}

.product-info .product-content {
	font-size: 1.15rem;
	color: var(--dark);
	line-height: 1.7;
}

.product-info .product-content ul,
.product-info .product-content ol {
	color: var(--dark);
	margin-bottom: 0;
}

.frm-fluent-form .ff-btn-submit {
	background: var(--primary)!important;
	border-radius: 0!important;
}

#contact {
	overflow: hidden;
	background: var(--primary);
}

#contact .contact-title {
	color: var(--white);
}

#contact .contact-title::after {
	background: var(--white);
}

#contact .contact-content {
	position: relative;
	color: var(--white);
	z-index: 1;
}

#contact .contact-content::before {
	content: '';
	position: absolute;
	bottom: -50px;
	left: -100px;
	width: 500px;
	height: 500px;
	background-image: url('images/pump-2-bg.svg');
	background-position: top left;
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: 0.25;
	z-index: 2;
}

#contact .contact-content::after {
	content: '';
	position: absolute;
	top: -200px;
	right: -100px;
	width: 500px;
	height: 500px;
	background-image: url('images/pump-1-bg.svg');
	background-position: top left;
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: 0.25;
	z-index: 2;
}

#contact .contact-form {
	max-width: 650px;
	margin: 40px auto 0;
}

#contact .contact-form label {
	color: var(--white);
}

#contact .contact-form label:after {
	color: var(--white);
}

#contact .contact-form button {
	width: 100%;
	color: var(--white)!important;
	background-color: var(--dark)!important;
	border-radius: 10px!important;
}

.frm-fluent-form .ff-el-form-control {
	border-color: var(--border)!important;
}

footer {
	position: relative;
	background: var(--dark);
	color: #888888;
	text-align: center;
	padding: 30px 20px;
	font-size: 14px;
	border-top: 1px solid #111;
	z-index: 3;
}

.animate-on-scroll {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}
