/*
* Theme Name: Vendserve
* Author: Asiqur Rahman <asiq.webdev@gmail.com>
* Author URI: https://asique.net/
* Description: A WordPress theme for Vendserve.
* Version: 1.0.0
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: vendserve

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

html {
	box-sizing: border-box;
	font-size: 16px;
}

body {
	font-family: "Noto Sans", Sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
	margin: 0;
	padding: 0;
	font-weight: normal;
}

ol,
ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

/* Start From Hello Elementor */
.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*="elementor-page-"]) .entry-content {
	margin-inline-end: auto;
	margin-inline-start: auto;
	width: 100%;
}

@media (max-width: 575px) {
	.page-header .entry-title,
	.site-footer .footer-inner,
	.site-footer:not(.dynamic-footer),
	.site-header .header-inner,
	.site-header:not(.dynamic-header),
	body:not([class*="elementor-page-"]) .entry-content {
		padding-inline-end: 10px;
		padding-inline-start: 10px;
	}
}

@media (min-width: 576px) {
	.page-header .entry-title,
	.site-footer .footer-inner,
	.site-footer:not(.dynamic-footer),
	.site-header .header-inner,
	.site-header:not(.dynamic-header),
	body:not([class*="elementor-page-"]) .entry-content {
		max-width: 500px;
	}

	.site-footer.footer-full-width .footer-inner,
	.site-header.header-full-width .header-inner {
		max-width: 100%;
	}
}

@media (min-width: 768px) {
	.page-header .entry-title,
	.site-footer .footer-inner,
	.site-footer:not(.dynamic-footer),
	.site-header .header-inner,
	.site-header:not(.dynamic-header),
	body:not([class*="elementor-page-"]) .entry-content {
		max-width: 600px;
	}

	.site-footer.footer-full-width,
	.site-header.header-full-width {
		max-width: 100%;
	}
}

@media (min-width: 992px) {
	.page-header .entry-title,
	.site-footer .footer-inner,
	.site-footer:not(.dynamic-footer),
	.site-header .header-inner,
	.site-header:not(.dynamic-header),
	body:not([class*="elementor-page-"]) .entry-content {
		max-width: 800px;
	}

	.site-footer.footer-full-width,
	.site-header.header-full-width {
		max-width: 100%;
	}
}

@media (min-width: 1200px) {
	.page-header .entry-title,
	.site-footer .footer-inner,
	.site-footer:not(.dynamic-footer),
	.site-header .header-inner,
	.site-header:not(.dynamic-header),
	body:not([class*="elementor-page-"]) .entry-content {
		max-width: 1140px;
	}

	.site-footer.footer-full-width,
	.site-header.header-full-width {
		max-width: 100%;
	}
}

.site-header + .elementor {
	min-height: calc(100vh - 320px);
}

/* End From Hello Elementor */

.site-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9;
	background-color: #00000077;
}

body.admin-bar .site-header {
	top: 32px;
}

.site-header .main-navigation ul {
	display: flex;
	gap: 30px;
	align-items: center;
	justify-content: center;
	margin: 30px 0;
}

.site-header .main-navigation ul a {
	color: #fff;
	text-decoration: none;
}

body.page-template-default .site-main {
	padding: 0 0 40px;
}

body.page-template-default .site-main .page-header,
body.single-product .site-main .page-header {
	padding: 60px 20px;
	background: #101828;
	margin-bottom: 40px;
	background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Header with background image styles */
.page-header.page-header-with-bg {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 350px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-header-with-bg .page-header-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(16, 24, 40, 0.7); /* Semi-transparent overlay using the theme's dark color */
	z-index: 1;
}

.page-header-with-bg .page-header-content {
	position: relative;
	z-index: 2;
	text-align: center;
	width: 100%;
}
body.admin-bar .page-header-with-bg .page-header-content {
	top: 32px;
}

.page-header-with-bg .page-header-content .entry-title {
    color: #fff;
}

.site-footer {
    padding: 30px 0;
    text-align: center;
    background: #000;
    color: #fff;
}

/* Responsive adjustments for header with background */
@media (max-width: 767px) {
	.page-header.page-header-with-bg {
		min-height: 200px;
		padding: 40px 20px;
	}
}

@media (min-width: 768px) {
	.page-header.page-header-with-bg {
		padding: 80px 20px;
	}

	.page-header-with-bg h1.entry-title {
		font-size: 2.5em;
	}
}

@media (min-width: 992px) {
	.page-header.page-header-with-bg {
		padding: 100px 20px;
	}

	.page-header-with-bg h1.entry-title {
		font-size: 3em;
	}
}

body.page-template-default .site-main h1.entry-title {
	margin-bottom: 0;
	margin-top: 0;
	color: #fff;
}

h2.wp-block-heading {
	margin-bottom: 10px;
}

.wp-block-heading:not(:first-of-type) {
	margin-top: 20px;
}
