/*
Theme Name: GeneratePress Child
Template: generatepress
*/


/* =========================================================
   1. FOOTER / COPYRIGHT
   ========================================================= */
.site-info,
.site-info .inside-site-info {
    text-align: left !important;
    justify-content: flex-start !important;
}

.footer-copyright-main {
    font-size: 1.05em;
    color: inherit;
}

.footer-copyright-by,
.footer-copyright-by:visited,
.footer-copyright-by:hover,
.footer-copyright-by:focus,
.footer-copyright-by:active {
    color: inherit;
    text-decoration: none;
    font-size: 0.9em;
}

/* =========================================================
   2. LANGUAGE SWITCHER
   ========================================================= */

/* Reset spacing and list styling for the Polylang language switcher */
.main-navigation .menu-item-language-switcher,
.main-navigation .menu-item-language-switcher ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Basic layout for language switcher links */
.main-navigation .menu-item-language-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    height: 100%;
    text-decoration: none;
}

/* Flag image styling if flags are used */
.main-navigation .menu-item-language-switcher img {
    display: block;
    width: 18px;
    height: auto;
    border-radius: 2px;
}

/* Remove extra spacing from language list items */
.main-navigation .menu-item-language-switcher .lang-item {
    margin: 0;
}

/* Language switcher container inside the main menu */
.menu-item-language-switcher {
    display: flex;
    align-items: center;
    margin-left: 12px;
}

/* Language text link styling */
.menu-item-language-switcher .language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    min-width: 34px;
    height: 28px;
    padding: 0 9px;

    color: #222;
    text-decoration: none;
    opacity: 0.72;
    background: transparent;

    transition:
        opacity 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

/* Language link hover and focus state */
.menu-item-language-switcher .language-link:hover,
.menu-item-language-switcher .language-link:focus {
    opacity: 1;
    border-color: rgba(0, 0, 0, 0.32);
    background-color: rgba(0, 0, 0, 0.035);
    transform: translateY(-1px);
}

/* Desktop adjustments for the language switcher */
@media (min-width: 769px) {
    .menu-item-language-switcher {
        margin-left: 18px;
    }

    .menu-item-language-switcher .language-link {
        font-size: 12px;
        min-width: 32px;
        height: 26px;
        padding: 0 8px;
    }
}

/* Mobile adjustments for the language switcher */
@media (max-width: 768px) {
    .menu-item-language-switcher {
        margin-left: 0;
        margin-top: 14px;
    }

    .menu-item-language-switcher .language-link {
        font-size: 14px;
        min-width: 42px;
        height: 34px;
        padding: 0 12px;
        letter-spacing: 0.1em;
    }
}


/* =========================================================
   3. MAIN MENU LINK STYLING
   ========================================================= */

/* Underline menu item on hover and for active/current pages */
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a {
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    text-underline-offset: 2.5px;
}


/* =========================================================
   4. HEADER / NAVIGATION
   ========================================================= */

/* Sticky header:
   Keeps the whole GeneratePress header visible while scrolling.
   Your menu is inside the header, so this also keeps the menu sticky. */

.site-header {
    position: relative;
    width: 100%;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Transparent header inner wrappers */
#masthead,
.inside-header {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Transparent main navigation */
.main-navigation,
.main-navigation .inside-navigation,
.main-navigation ul,
.main-navigation li,
.main-navigation a {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Transparent mobile header/navigation if used */
.mobile-header-navigation,
.mobile-header-navigation .inside-navigation,
.menu-toggle,
.main-navigation.toggled .main-nav > ul {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Remove header/navigation shadow and border */
.site-header,
.main-navigation {
    box-shadow: none !important;
    border: none !important;
    border-bottom: none !important;
}


/* =========================================================
   5. PAGE BACKGROUND IMAGES
   Background visible everywhere: body, header, content, footer.
   Image comes from functions.php variable:
   --innovationweb-page-bg-image
   ========================================================= */
html,
/* Keep the paper framed to the viewport even on long pages. A fixed
   layer also avoids mobile browsers' background-attachment limitations. */
body {
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
    isolation: isolate;
    background-image: none !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--innovationweb-page-bg-image, none);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#content {
    width: 100%;
    min-height: calc(100vh - 100px);
    min-height: calc(100svh - 100px);
    background: transparent !important;
}

/* Do not force too many elements if not needed */
.site,
.site-content,
.inside-article,
#page,
.entry-content,
main,
article,
.site-header,
.inside-header,
.site-footer,
.site-info,
.inside-site-info {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* =========================================================
   6. MAIN CONTENT WIDTH
   ========================================================= */

/* Keep the main content centered.
   This repeats your existing 1200px content width setting. */
#content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
/* =========================================================
   INTRO LOADER OVERLAY
   ========================================================= */

	body.intro-is-active .site-header,
	body.intro-is-active .main-navigation {
		visibility: hidden !important;
		opacity: 0 !important;
	}

	body:not(.intro-is-active) .site-header {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	body:not(.intro-is-active) .main-navigation {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
	.intro-loader { 
		position: fixed; 
		inset: 0; 
		z-index: 999999; 
		width: 100vw; 
		height: 100vh; 
		background-image: url("../../uploads/2026/05/Intro_Website-scaled.webp"); 
		background-repeat: no-repeat; 
		background-position: center center; 
		background-size: cover; 
		opacity: 1; 
		visibility: visible; 
		transition: opacity 0.4s ease, 
			visibility 0.4s ease; 
	} 
	@media (max-width: 768px) { 
		.intro-loader { 
			background-image: url("../../uploads/2026/05/Intro_Mobile-scaled.webp"); 
		} 
	} 
		.intro-loader.is-hidden { 
			opacity: 0; 
			visibility: hidden; 
			pointer-events: none; 
	} 
		.intro-enter-button { 
			position: absolute; 
			top: 30px; 
			right: 30px; 
			display: inline-flex; 
			align-items: center; 
			justify-content: center; 
			padding: 14px 34px; 
			font-size: 16px; 
			line-height: 1; 
			text-transform: uppercase; 
			letter-spacing: 0.08em; 
			text-decoration: none; 
			color: #ffffff; 
			border: 1px solid #ffffff; 
			background: rgba(0, 0, 0, 0.25); 
			cursor: pointer; 
			transition: all 0.25s ease; 
	} 
		.intro-enter-button:hover, 
		.intro-enter-button:focus { 
			color: #000000; 
			background: #ffffff; 
	} 
	@media (max-width: 768px) { 
		.intro-enter-button { 
			top: 20px; 
			right: 20px; 
			padding: 12px 26px; 
			font-size: 14px; 
		} 
	}

/* =========================================================
   8. TRANSPARENT FOOTER
   Shows the body background image behind the footer
   ========================================================= */

/* Transparent footer */
.site-footer,
.site-info,
.inside-site-info,
.footer-widgets,
.inside-footer-widgets,
.footer-bar,
.footer-bar-align-right,
.footer-bar-align-left {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Remove footer border/shadow */
.site-footer,
.site-info,
.footer-widgets {
    box-shadow: none !important;
    border: none !important;
}