/*
Theme Name: Adlook
Author: Konrad Bukański
Author URI: 
Theme URI: 
Tags: full-site-editing, editor-style, block-styles, block-patterns
Text Domain: adlook
Requires at least: 6.3
Requires PHP: 7.4
Tested up to: 6.3
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	overflow-x: hidden;
}

/* Lenis smooth scroll styles */
html.lenis {
	height: auto;
}

*{
	margin-block-start: unset;
    margin-block-end: unset;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

.lenis.lenis-scrolling iframe {
	pointer-events: none;
}

html, body {
	max-width: 100%;
	overflow-x: hidden;
}

/* Sections full width */
section {
	max-width: none;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	/* background-color: #edeee9; */
}

/* Global parallax effect styles - removed transform to prevent body shifting */
main {
	backface-visibility: hidden;
	perspective: 1000px;
}

/* Prevent orphans (single words at end of line) */
p, li, h1, h2, h3, h4, h5, h6, span, div, a, label, button {
	orphans: 3;
	widows: 3;
	hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	text-wrap: pretty;
}


main{
	padding: 0!important;
	background-color: transparent;
}

nav a{
	text-decoration: none!important;
}

header{
	z-index: 100;
	position: relative;
}

*{
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--lexend);
	position: relative;
}


.custom-logo-link{
	max-width: 7rem;
}

footer{
	margin-top: 0;
}

/* Custom background for page-insights */
body.page-insights {
	position: relative;
}

body.page-insights::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 200vh;
	background-color: #fff0;
	background-image: radial-gradient(circle at 0% calc(50% - 30px), #23ab5d70, #fff 23%);
	background-clip: border-box;
	z-index: -999;
	pointer-events: none;
	overflow: visible;
}

/* Custom background for page-careers */
body.page-careers {
	position: relative;
}

body.page-careers::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 200vh;
	background-color: #fff0;
	background-image: radial-gradient(circle at 0% calc(50% - 30px), #23ab5d70, #fff 23%);
	background-clip: border-box;
	z-index: -999;
	pointer-events: none;
	overflow: visible;
}

/* Custom background for single post */
body.single-post {
	position: relative;
}

body.single-post::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 200vh;
	background-color: #fff0;
	background-image: radial-gradient(circle at 0% calc(50% - 30px), #23ab5d70, #fff 23%);
	background-clip: border-box;
	z-index: -999;
	pointer-events: none;
	overflow: visible;
}

/* Custom gradients for page-about */
body.page-about {
	position: relative;
}

body.page-about::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 50vw;
	height: 50vh;
	background: radial-gradient(70% 107% at 0% 47%, rgba(37, 211, 102, 0.25) 0%, rgba(255, 255, 255, 0) 40%);
	z-index: -999;
	pointer-events: none;
}

body.page-about::after {
	content: '';
	position: fixed;
	top: 0;
	right: 0;
	width: 50vw;
	height: 50vh;
	background: radial-gradient(70% 107% at 100% 47%, rgba(37, 211, 102, 0.25) 0%, rgba(255, 255, 255, 0) 40%);
	z-index: -999;
	pointer-events: none;
}

/* Additional gradients for bottom part using body background */
body.page-about {
	background-image: 
		radial-gradient(70% 107% at 0% 100%, rgba(37, 211, 102, 0.25) 0%, rgba(255, 255, 255, 0) 40%),
		radial-gradient(70% 107% at 100% 100%, rgba(37, 211, 102, 0.25) 0%, rgba(255, 255, 255, 0) 40%);
	background-attachment: fixed;
	background-size: 50% 50%, 50% 50%;
	background-position: left bottom, right bottom;
	background-repeat: no-repeat;
}